PureBytes Links
Trading Reference Links
|
Title: Re[2]: [amibroker] How to detect Parameter change
Thanks Dennis,
Yes, these are ways. i was looking for something tricky, like seeing if the broker.params file was modified but the file isn't updated with each change. I suggested a Status("ParamChanged") on the feedback site.
I thought of wrapping the functions however I wanted something a quick solution. For now I'll just add all params to a string and check whether the string changes.
Thanks!
herman
Saturday, November 22, 2008, 2:23:13 PM, you wrote:
>
|
Herman,
Here are a couple of ways:
_Param_Values() will give you a string for each section. You will have to save the last values and test them in each section
I use Flexible Parameters (Beta) and the FP_ParamsChanged() does it all. It does it by creating a function for each parameter statement that can do additional things.
BR,
Dennis
On Nov 22, 2008, at 1:24 PM, Herman wrote:
Hello,
I have many parameter statements and want to know when any one has changed.
Is there a trick to do this without OR-ing all the values and looking for a change? I prefer a method that doesn't need to be revised each time I add/remove param()s.
TIA,
herman
|
__._,_.___
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
*********************************
__,_._,___
|