I use the VOLMA function in my script to check if the current volume is larger or smaller than the average.
var color = Volume[0] > VOLMA(14)[0] ? Positive : Negative;
Why can't VOLMA do the calculation on every price change, only OnBarClose or OnEachTick?
I don't understand the Calculate methods correctly. Could someone please explain this to me? The NT Help Guide doesn't help me.
Thanks a lot!
Comment