ANYONE GOT THIS SORT OF EA ?

ericsagi

Trader
Apr 27, 2016
3
0
6
41
EA conditions

if the present candle is a bear candle, then sell at market and keep a stop ( 20 pips ) with target ( 50 pips ).

same condition for a buy entry.

incase if the candle is a doji (open and close is same, consider the previous candle )

stop loss and target must be customisable.

incase if stoploss is hit, it has to reverse the position with the same stoploss and target.

this reversal of trades must happen x times ( which should be a custom value ) or untill the target hits.

Need this with time management and money management.
 

ericsagi

Trader
Apr 27, 2016
3
0
6
41
The stoploss and target point remain the same at the time of entry, the new candles are not to be taken into consideration
 

ericsagi

Trader
Apr 27, 2016
3
0
6
41
i have got a similar one , but certain conditions are missing

missing conditions :
It makes a buy on open , but if the present candle is a bear candle, then sell at market and keep a stop ( 20 pips ) with target ( 50 pips ). same for a buy.

this reversal of trades must happen x times ( which should be a custom value ) or untill the target hits.

Need this with time management and money management.

Can anyone add this to the code.

Thanks
 

Attachments

  • 6.mq4
    9.2 KB · Views: 39