How to remove the dotted line that shows your opened buy/sell positions in the chart?
- Draw line on chart in a EA on Buy and Sell
- get email from an indicator
- Set up EA for indicator that I don't have the code for.
I don't mean the stop level line, I mean the dotted line that shows your opened buy/sell position #1231243254 in the chart - here I have uploaded a snapshot to show you, there is no such option to modify it's color in chart -> properties ->
tools --> option --> uncheck "Show Trade Levels"

Thanks.yijomza
How to make the "show trade levels" invisible in mql coding "EA"
How to make the "show trade levels" invisible in mql coding "EA"
ChartSetInteger(0,CHART_SHOW_TRADE_LEVELS,false);
Hi,
Setting CHART_SHOW_TRADE_LEVELS to false still draws this green dotted line. For Instance, at the same place in the code CHART_COLOR_BACKGROUND works. I put this Code in the OnInit() function. In the OnTick() function the first order is opened. Any ideas?
hello.
I am looking for exactly the same. Have you found a solution about that?
Thanks.
