Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
I need an indicator and EA that takes signals from that indicator.
All parameters should be numeric.
The indicator should Paint an arrow on ENTRY and EXIT points and also give an audible alert.
The EA should be capable of being tested and Optimized (all parameters) on Strategy Tester
Parameters:
MA Periods: Number of periods to calculate MA
MA Method: SMA,EMA, Smoothed, Linear weighted (number): Default: SMA
Distance Percentage: Used to calculate Price Distance from MA, the distance will be calculated as a Percentage of Average Candle size (High - Low). Default: 200%
Candle Size periods: Number of periods to calculate average candle size
Min Candles touch: Minimum number of candles since price touched the MA
Max Candles touch: Maximum number of candles since price touched the MA
Candles to Close: Exact number of candles to close the trade.
The indicator and EA will give a signal when following conditions are met:
-Price Distance from MA is Equal or greater than Price Distance from MA calculation
-The price should have touched MA a minimum of [Min Candles touch]
-The price should have touched MA a maximum of [Max Candles touch]
The indicator and EA will close the previous trade when [Candles to Close] has passed.