View Single Post
  #6 (permalink)  
Old 02-27-2006, 10:55 PM
keris2112's Avatar
keris2112 keris2112 is offline
Senior Member
 
Join Date: Dec 2005
Location: California, US
Posts: 130
keris2112 is on a distinguished road
#MTF_Average Range

I've attached #MTF_Average Range.mq4

It will give you the average range (high-low) for whatever period it is attached to. If you want the see the average range of a different timeframe, change the TimeFrame input to whatever timeframe you want. (1,5,15,30,60,240,1440,10080,43200)

The TimeFrame value must be greater than the current timeframe.

keris

BTW, unlike other MTF versions of custom indicators I've done, all the code is incorporated in this one file.
Attached Files
File Type: mq4 #MTF_Average Range.mq4 (3.4 KB, 445 views)
Reply With Quote