Can anybody help me with a new code?

gserbezan
143
gserbezan  
I need a code to work like this:
When a BUY order is closed at Stop Loss, a new SELL market order is opened at a double amount of the just closed order with the same SL and TP in PIPS like just closed order.
When a SELL order is closed at Stop Loss, a new BUY market order is opened at a double amount of the just closed order with the same SL and TP in PIPS like just closed order.
When any order is closed at TP, than it has to do nothing.
For any opened order I need to receive an email.
Thank you.

Simon Gniadkowski
17393
Simon Gniadkowski  
Ah . . . Martingale ? why not just burn your money ?
Point Zero
799
Point Zero  
gserbezan:
I need a code to work like this:
When a BUY order is closed at Stop Loss, a new SELL market order is opened at a double amount of the just closed order with the same SL and TP in PIPS like just closed order.
When a SELL order is closed at Stop Loss, a new BUY market order is opened at a double amount of the just closed order with the same SL and TP in PIPS like just closed order.
When any order is closed at TP, than it has to do nothing.
For any opened order I need to receive an email.
Thank you.

You can use: https://www.mql5.com/en/code/10561

Or give all your money to charity ;)

onewithzachy
1863
onewithzachy  
gserbezan
143
gserbezan  

Thank you,

The initial order is open manually and not randomly. I hope I'll not burn my money. Manually I do some pips daily.

I try to load the above code but after the message LOADED SUCCESSFULLY it is REMOVED.

Why?

Keith Watford
Moderator
31229
Keith Watford  
Comments that do not relate to this topic, have been moved to "Off Topic Posts".