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?
- I will write an advisor free of charge
- [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 ;)
Comments that do not relate to this topic, have been moved to "Off Topic Posts".
You are missing trading opportunities:
- Free trading apps
- 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