PureBytes Links
Trading Reference Links
|
I am trying to calculate a running median that starts at bar 0.
Code:
RM = Median(Close, BarIndex() + 1);
Then I get the following error message:
Error 5. Argument #2 has incorrect type (the function expects different argument type here)
I am using "Barindex() + 1" to get a running count at each bar to be used in the median's lookback period. Is there a way to implement this?
Thanks.
__._,_.___
**** 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
*********************************
__,_._,___
|