8326835:
Do not double post.
I have deleted your duplicate topic.
8326835:
Good day, I want to be safe and make the expert to move the stop loss from negetives [e.g -75 points] to positives [e.g +75 points] as soon as the profit is higher than a certain points [e.g +100 points].
request.tp = SymbolInfoDouble(Symbol(),SYMBOL_ASK)+0.00100; request.sl =SymbolInfoDouble(Symbol(),SYMBOL_ASK)-0.00070;
- Profit will never be higher than 100 points because it will be closed at that point.
- You haven't stated a problem, you stated a want. If you have the code, show us your attempt (using the CODE button)
and
state the nature of your problem.
No free help
urgent help. -
Using Point means code breaks on 4 digit brokers, exotics (e.g. USDZAR
where spread is over 500 points,) and metals. Compute what a PIP is and use it,
not points.
How to manage JPY pairs with parameters? - MQL4 programming forum
Slippage defined in index points - Currency Pairs - Expert Advisors and Automated Trading - MQL5 programming forum

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
Good day, I want to be safe and make the expert to move the stop loss from negetives [e.g -75 points] to positives [e.g +75 points] as soon as the profit is higher than a certain points [e.g +100 points].
my code is simple at this moment and is incomplete, please dont criticize some functions, would pretty much appreciate is if you helped with the code to modify stop_loss .Thank you