Hello everyone, in my EA the user informs the Stop Loss value in a field, and when the trade opens, the Stop Loss line is placed on the chart automatically.
I use the "trade" Class and the "Trade.Buy(...)" command where I inform the Take Profit and Stop Loss position, but after opening the operation the user can drag the Stop Loss line, I didn't find how to block this, could someone help me? it's possible?
Thanks!
- How to add the profit in the take profit line and the loss in the stop loss line of an open trade.
- I can not place Stop Loss and not Take Profit to open an order.
- MQL4 Learning
Murilo Junqueira:
Hello everyone, in my EA the user informs the Stop Loss value in a field, and when the trade opens, the Stop Loss line is placed on the chart automatically.
I use the "trade" Class and the "Trade.Buy(...)" command where I inform the Take Profit and Stop Loss position, but after opening the operation the user can drag the Stop Loss line, I didn't find how to block this, could someone help me? it's possible?
Thanks!
ChartSetInteger(0,CHART_DRAG_TRADE_LEVELS,false);

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