Работа завершена
Техническое задание
I'll provide the source code of my indicator. It simply draw levels on the chart. I want to have little EA that to place pending orders using the settings:
--- Main settings ---
- Symbols list: EURUSD, USDCAD, AUDUSD
- Start time: 10:00 - time to place pending orders
- End time: 20:00 - remove all pending orders
- Lot size for Long: 0.01
- Lot size for Short: 0.01
- Previous day high/low as TP min distance: 300 points
--- Longs ---
- Long Stop Limit Buy Entry: Level 2
- Long Entry shift: -100 points
- Long TP: Level 5
- Long TP shift: -150 points
- Long SL: Level -2
- Long SL shift: 120
--- Shorts ---
...
--- Zone settings from indicator ---
...
--- Filtering setting ---
- Use previous day high/low as TP - True/False/None. Means if previous day high for longs and low for shorts drawn between entry and TP, then if True use it as TP. If False ignore it, if None then do not place order.
- New Zero check True/False. Means that if new zero lower than previous day one and setting is True then place only short entry. If higher then long. If False then ignore and place both ways.
EA logic: EA must calculate Zones (levels) for every selected pair. On time EA must place 1 long with tp and sl and 1 short same way on selected symbols. Then wait and remove pending orders. If there are any positions on Start Time check then do nothing for that symbol.
EA must have 1 button: Remove PO - remove all pending orders.
* if current price is higher or lower and it is impossible to place pending orders then do nothing and wait for next Start time.
* EA must use indicator as external this way (#define rWF "\\Indicators\\WF_Zones_v2.0.ex5" #define cWF "::Indicators\\WF_indicator_v2.0.ex5")
Please note: I need only experienced fluent english speaking coder. This is simple test task, so the budget and the deadlines are static.