Download MetaTrader 5
To add comments, please log in or register
Examine the Top MetaTrader 5 signals. Choose the best one and subscribe to it!
Mohamed Elkurdi
28
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
13619
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