명시
1. I want the EA to have two modes of trading.
2. A buy signal occurs when a blue up arrow appears and a sell signal occurs when a red down arrow appears.
3. The first mode (single trade mode) will trade only the first signal when the arrow changes from red to blue or blue to red.
4. In the single trade mode, when a trade hits take profit or stop loss, the EA should wait for the opposite signal before it trades again.
5. In the single trade mode, when the EA is placed on the chart if the last signal was a sell signal, the ea should wait for a buy signal before it will start trading. If the last signal was a buy signal, the ea should wait for a sell signal before it starts trading.
6. The second mode (Multiple Trade Mode) the EA will trade every arrow that the indicator shows
7. In both Modes, when a buy signal occurs, the ea should place a buy stop at x pips from the HIGH of the signal candle. If x = 0, the ea should open a market order.
8. When a sell signal Occurs, The EA should open a sell stop at x Pips from the LOW of the signal candle. If x = 0, the EA should open a sell market order.
9. The EA should have trading time, stop loss, take profit, lot size, %risk, trailing stop, partial close, and close on opposite signal, number of trades in a day, breakeven. These functions should have a true or false option.
10. If a pending order is not triggered and an opposite signal appears, the pending order should be deleted.
11. The ea should have an option for adjusting the indicator values.