Работа завершена
Техническое задание
The EA will use the Heiken Ashi (HA) T3 indicator and the moving average crossover indicator.
1. When a red sell arrow appears and the HA candle is still green, the EA should wait for the next 3 candles for the HA candle to change to red. If the candles change to red within the next 3 candles, open a sell stop at x pips from the low of the first red HA candle. If x=0, open a market order.
2. The stop loss of the sell trade should be placed at x pips plus the high of the signal candle. That is the candle where the MA Crossover arrow appeared. If x = 0, place the stop loss at the high of the candle.
3. When a green buy arrow appears and the HA candle is still red, the EA should wait for the next 3 candles for the HA candle to change to green. If the candles change to green within the next 3 candles, open a buy stop at x pips from the high of the first green HA candle. If x=0, open a market order.
4. The stop loss of the buy trade should be placed at x pips minus the low of the signal candle. That is the candle where the MA Crossover arrow appeared. If x = 0, place the stop loss at the low of the candle.
5. When a buy trade is ongoing, ignore other buy signals.
6. When a sell trade is ongoing, ignore other sell signals.
7. The EA should have the following features: close on opposite order, number of trades a day, partial close, trailing stop, % risk, take profit, trading time, break even, stop loss, take profit
8. If a sell arrow appears when the HA is red, ignore the signal. If a buy arrow appears when HA is green, ignore the signal.
9. The EA should have the option of adjusting the indicator values.