Spécifications
Hello, Everyone. I need a coder who can help me to build a new mql4 indicator , The details as follow.
There will be no higher price than the Y candle on the previous "x" candles (20 candles by default).
--- Filter for the trend (60 candles by default)
When a potential alert is detected, it must meet the following condition to be validated :
Between the lowest of the Y candle and the highest of the previous "x" candles, the difference must be greater than "x" (modifiable parameters) pips.
If this is not the case, the alert should not take place.
This calculation should be done only with the candle values of the current window.
--- Filter by level (on / off)
1 level of support and 1 level of resistance will be created automatically when the indicator will be installed on the graph and this filter will be activated. These 2 levels will be positioned at the current price level.
These levels will be horizontal lines (solid) plotted on the graph.
These levels must be able to be moved manually.
When this option is activated :
- only bullish alerts are allowed only when the lowest of the Y candle is below the support
- only bearish alerts are allowed only when the highest of the Y candle is above the resistance.