Auftrag beendet
Spezifikation
Hello, I need a simple EA to place pending orders for the DAX30. Here is the description:
Dax EA
1. Pending order with 2 options: a. buy stop, b. sell stop. Possibility to enter numeric value for buy stop/sell stop, e.g. 10.500 (at this value the buy/sell shall be executed). If only a value is entered, e.g. for a buy stop and no value for the sell stop -> only place the buy stop.
2. SYMBOL: GER30, i.e. 1 digit after the comma (e.g., 9,500.0)
3. Lot size: manual entry of lot size, e.g. 0,01
4. Take Profit: entry manual in points. If 0 = close by STOP time
5. Stop Loss: entry manual in points. If 0 = close by STOP time
6. START TIME: Pending order shall be executed after the start time. Time shall be the terminal time. If the current price is higher than the buy stop at the start time = immediate opening of a position; if the current price is lower than the sell stop at the start time = immediate opening of a position. If there is a buy AND a sell stop, the other pending order shall be deleted.
8. EXP. TIME: delete pending order after EXP. TIME (in minutes, e.g. 120 min = 2 hours after start time pending order(s) will be deleted if not filled)
9. STOP TIME: Any open order shall be closed at the STOP time (terminal time) if there is no T/P or S/L specified
10. Please include usual standard parameters – magic number, comment etc.
Thanks!