|
Igor daily average
Hi all
Somewhere in this forum, IGOR wrote this definition of the daily range:
Ok first how does this indicator work?: the indicator calculates the previous daily range. It takes the High minus the Low (Yesterday High - Yesterday Low). Then it does the very same for the last 5 previous days. It does that for each seperate day and then makes an average of those 5 days. Then it does the same for the last 10 previous days. And as last it does the same for the last 20 previous days. Of those 4 results it makes a new average. It calculates the averages as a exponential moving average ....
Attached please find an indicator giving this definition. But, the problem is it gives only the data for the last day. If somebody can help to modify it to produce historical data in order to use it for historical testing.
Zeinoun
|