Simple coding help in metastock

#1
Hi,

I want to find the average of High - low for last 21 or 55 candles in 5 mins time frame. What is the command to use in Indicator instead of using the ref function.

Help appreciated.

Sri
 

Similar threads