Download MetaTrader 5

Need help coding this EA

To add comments, please log in or register
Use MQL5 Cloud Network. Test robots at a super speed!
Mohamed Elkurdi
Mohamed Elkurdi 2016.01.16 17:45 

Hellow guys,

Could anyone help me coding an EA that does the following;

1- The first trade is to Open Buy trade when price crosses lower Bollinger Band (or) a Sell trade when price crosses the upper Bollinger Band.

2- Setting a TP to 60 pips and the SL to 20 pips ( external variable).

3- Every time it hits the SL it reverses the trade direction with same TP and SL pips, and so on and so on till it hits the TP, then it restarts with condition 1 again.

4- every further trade added to the loss, its lot size should be doubled, or manually put ( external variable ; Trade_1_lot= 0.01,Trade_2_lot= 0.02, Trade_3_lot= 0.04 ... etc).

5- putting time filter for the EA to start ( external variable ; Start hour= 11 GMT , End Hour= 18 GMT).

Thanks in advance.

whroeder1 2016.01.16 18:14  
elkurdiforex: Could anyone help me coding
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
To add comments, please log in or register