Need Help with imomentum - page 2

 
5577 wrote >>

I don't know what I'm doing wrong. It is still not working. Both High and low now give the same value. I have attached the EA so you can test it on your chart.

Can someone please take a look at this Code and tell me what I'm doing wrong.

I am trying to calculate the HIGEST and LOWEST imomentum value over a set period on a given timeframe.

For example how do I get the higest imomentum value that was reached on EUR/USD on the 1 hour time frame over the last 50 bars.

Any help would be much appreciated.

Thanks,

Knewday

Files:
Reason: