Job finished
Specification
Hi coders,
I have an MT4 indicator and want to change it an EA with following modifications.
1. The ea should open a buy or sell trades based on the Indicator arrows.
2. At buying side: the stop loss will be placed when the market price will be below the arrow price and the candle should be closed at the low of the arrow price (at buying side). And if the stop loss hit, the initial trade should be closed, and a hedged trade will be open (on closing of the candle at lower side) with the same lot size/stop loss and taking profits.
3. If the hedged trade triggered and the price was once again touching the initial trade price than the hedge trade will be closed, and the initial trade will be re-opened.
4. The same will be apply in selling side (price and candle should be closed above the arrow).
5. Second type of stop loss: EA should close if the initial trade (market price) touch below the arrow price. But hedged trade will be open when the candle should close below the arrow price. Same in sell side (price touch the above arrow closed the initial trade but hedged will be open price and candle should be below the arrow).
6. EA should be open two trades.
7. First trade will be closed on profit of certain pips i.e.(see the 5 thpoint example if EA suggested 50 pips for stop loss than the first trade will be closed in profit of 50 pips.)
8. The second trade will be closed on specific market price as given. means Taking profit in specific market price must.
9. Worked on all pairs including gold
10. Magic number
11. Slippage
12. Fixed lot size option
13. risk money management option ( based on the stop loss (pips) suggested in 5 thpoint the same pips will be taken to determine the risk management )
14. Stealth mode hidden stop loss and taking profit etc from broker.
15. Taking profit 1,2,3
16. Trailing stop (for first trade and second trade separately)
17. Taking profit in money
18. Stop less in money
19. Start/Closed by specific time (Hour to open and closed)
20. No Friday trades
If any additional improvement in your knowledge, pl guide me.