|
You are computing an array, which is what usually happens so just use… LastValue(Array); -- Terry -----Original Message-----
I am trying to display in an interpretation how many bars have passed since the close crossed a moving average, but I want to use the reference point of the last bar at all times. Using BarsSince, its calculating the bars since the SelectedValue (see my below snippet). Can anyone tell me how to get this to reference bars since last cross relative to the last bar? "bars since c> wma long (blue) = "+BarsSince(Cross(C,WMA(C,period)));
Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [amibroker] barssince question Chris DePuy
- RE: [amibroker] barssince question Terry
- Re: [amibroker] barssince question Chris DePuy
- [amibroker] Re: barssince question Fred
- Re: [amibroker] Re: barssince question Chris DePuy
