Here is what I want to do and want to know if it can be done.
I want to plot an upper band and lower band to each bar by adding
ATR (average true range, which is standard ninja indicator) to high of the bar
to create an upper band and by subtracting ATR to the low of the bar
to create a lower band.
Question is that can I just simply call standard ATR indicator in new indicator or do I have to write ATR function in my code? If I can call, could you show
me an example?
Thanks.
Don
Comment