Chart - Hide trades, stop loss and take profit

 
Is there a way to hide the trade arrow icon and SL/TP horizontal lines on a chart which are automatically added if you call OrderSend?
 
goocreations :
Is there a way to hide the trade arrow icon and SL/TP horizontal lines on a chart which are automatically added if you call OrderSend?
Yes, it is. You are necessary to change the terminal settings: "Tools" -> "Options" -> "Trade" -> "Show realtime history of deals on chart" and right click on the chart -> "Properties" -> "Show" -> "Show trade levels".
 
Karputov Vladimir:
Yes, it is. You are necessary to change the terminal settings: "Tools" -> "Options" -> "Trade" -> "Show realtime history of deals on chart" and right click on the chart -> "Properties" -> "Show" -> "Show trade levels".
Thanks, can't really test it, since the market is currently closed. However, during backtesting in visual mode, the objects still display, even with the option disabled. Isn't there a programtical way by calling one of MQL's functions to simply not add these objects to the chart? In MQL4 the OrderSend function had a last parameter that could be used not to show the arrow icon. Anything similar in MQL5?
 
goocreations:
Thanks, can't really test it, since the market is currently closed. However, during backtesting in visual mode, the objects still display, even with the option disabled. Isn't there a programtical way by calling one of MQL's functions to simply not add these objects to the chart? In MQL4 the OrderSend function had a last parameter that could be used not to show the arrow icon. Anything similar in MQL5?
In the Strategy Tester, you cannot disable trade levels and  arrow objects "buy" and "sell".
 
Ah. Thanks for the help.
 
I've tested it now. The trade icons can be hidden, but the annoying SL/TP lines and the line showing the price of the placed order still shows. They also do not show under the object list. Anyway to remove them?
 
Never mind: right-click on chart -> properties -> show.
Reason: