- Research OnTrade.
-
Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
No free help 2017.04.21Or pay someone. Top of every page is the link Freelance.
Hiring to write script - General - MQL5 programming forum 2018.05.12How To Ask Questions The Smart Way. 2004
Prune pointless queries.
@William Roeder i have stated the problem. The problem is that i don't know how to start a function exactly when a stoploss gets triggered.
And i can't really find information on how to do that with OnTrade.
@William Roeder i have stated the problem. The problem is that i don't know how to start a function exactly when a stoploss gets triggered.
And i can't really find information on how to do that with OnTrade.
In mql5, i made an ea that places multiple pending orders.
Now when the stoploss of one of those gets triggered, i want to run a function that gets the input parameters (open price, stoploss and takeprofit) from that trade.
I don't know how to start that funktion exactly when a stoploss gets triggered and also i dont know how to get those informations of that trade that was just closed.
Can you help me with that?
Thank you very much!
Tobias
- 2020.09.17
- www.mql5.com
OnTakeProfit & OnStopLoss instead of OnTradeTransaction() - Trading Online - Expert Advisors and Automated Trading - MQL5 programming forum #10 (2019)
OnTakeProfit & OnStopLoss instead of OnTradeTransaction() - Trading Online - Expert Advisors and Automated Trading - MQL5 programming forum - Page 2 #11 (2019)
How to track the triggering of Stop Loss or Take Profit in a MML5 Expert Advisor - General - MQL5 #111 (2020)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
In mql5, i made an ea that places multiple pending orders.
Now when the stoploss of one of those gets triggered, i want to run a function that gets the input parameters (open price, stoploss and takeprofit) from that trade.
I don't know how to start that funktion exactly when a stoploss gets triggered and also i dont know how to get those informations of that trade that was just closed.
Can you help me with that?
Thank you very much!
Tobias