Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
Hello everyone, first let me begin by saying please make sure you understand everything, this is a simple EA and you should not make it complicated. I have already paid someone before to do this EA and they failed to get a major part to work properly.
Without wasting time, I want this EA for Entry purpose only, meaning I should be able to attach the EA to any chart and tell the EA to either BUY only or Sell only (so I have to select the bias)
Entry rules: there are 2 rules for entry and 1 exception to entry
Buy
1- At the close of a doteki heikin ashi candle if its a different color than the previous candle than it is a signal ( if the previous candle is red and the close of this new candle is green then this rule is satisfied)
2- TDI green line must be above ( or crossing) the EMA19 (ema applied to indicator)
* Stop loss is at donchian level
EA must enter all encountered signal EXCEPT to this RULE
if the stop loss of this new encountered signal (X2) is lower than the ENTRY level of the last entered trade (X1) then the new encountered trade (X2) is not initiated
Sell
1- At the close of a doteki heikin ashi candle if its a different color than the previous candle than it is a signal ( if the previous candle is green and the close of this new candle is red then this rule is satisfied)
2- TDI green line must be below ( or crossing) the EMA19 (ema applied to indicator)
* Stop loss is at donchian level
EA must enter all encountered signal EXCEPT to this RULE
if the stop loss of this new encountered signal (X2) is higher than the ENTRY level of the last entered trade (X1) then the new encountered trade (X2) is not initiated
Settings:
- Doteki heikin ashi: average period:10
- TDI: we use green line only + EMA19 (applied to TDI)
- donchian: Periods:15
Pic for Example for entry is attached: in the picture I show a proper trade represented by green vertical line and I also show a failed setup because it does not follow the EXCEPTION rule
all indis are attached. Please only respond if you can make this 100%