|
Any Genius out there?
Hi,
I would like to create an EA or indicator that can find a local minimum of a moving average of PRICE_HIGH and the local maximum value of a moving average of the PRICE_LOW.
For example on the chart in attachment, I've drawn the EMA(5) of the highs and the EMA(5) of the lows. In blue, there are the maxima or minima I would like the system to find. In violet, those are the maxima or minima the system should discard.
Is it possible to code something like that? I've no ideas on how to do it.
|