Retrieve highest value for
-
I am looking to Retrieve the highest value for a 30 candle period for the MACD line.
So I wnat to look back and retrive the highest value within a certain period.
Is there already an easy way within fxdreema? Or do I have to try my luck in wriing value to variables?
Any advice welcome
Gideon
-
There is nothing about this in "Condition" or as a block. I was thinking about this many times, to add something in "Condition" or to do it as a separate block, but there are downsides for both cases, so I don't know

The best way is to have a custom indicator that does this calculation and also draws the values you want to use. Indicators do their job better. Doing indicator's job in an EA is not very efficient in most cases. Just imagine - getting and checking the same 30 values on every tick.