Hi, @ambrogio not working fine.
Hello friends, @roar @l-andorrà it didn't work in any way that you guided me or that I tried.
I don't know if I'm doing it exactly the right way.
Explaining again what I want to do.
There is a "variable" block that obtains custom indicator values that mark tops and bottoms.
I need this block to work at some point and at other times it stops working.
The correct thing is the following:
- When the EA is placed on the chart, the indicator has to locate a top and bottom and plot on the chart and then be disabled.
- A buy or sell position is opened, and it happens when the candle crosses and closes above the top or bottom of this indicator.
- When the position is closed, either by take profit or stoploss, or even manually, the "variable" block has to be rehabilitated and make a new calculation and then be closed again.
0_1585834632111_dynamicresistancesupport.mq5
Indicator used in project in UP
My project --> https://fxdreema.com/shared/XWGPklfxc