1) Period_Selected = EndValue( BarIndex() ) - BeginValue( BarIndex() );
When we run the AFL for the first time then obviously we have not selected the range in chart. Then will there be no error as "Period_Selected" is not initialised? Because we have not yet selected range.
In that case, how to assign a defalut value to Period_Selected if no range selected?
2) After above code, i am adding the below code:
Market_Cap_ROC_S = ROC(Market_Cap_S , Period_Selected);
But i get error:
Error 52. Invalid argument value for ROC () function. Argument range must be positive (and not Null).
How to fix it??
__._,_.___
Posted by: meanomalist@yahoo.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade today!
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon