Can anybody help me with a new code?
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.
- Is this possible?
- Close all open orders when first order TP hit
- [ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3.
Ah . . . Martingale ? why not just burn your money ?
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 ;)
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?
Comments that do not relate to this topic, have been moved to "Off Topic Posts".

You are missing trading opportunities:
- Free trading apps
- Free Forex VPS for 24 hours
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register