Is there any way that I can hide the line on the chart when put the SELL/BUY stop/limit and the the stop loss/take profit line when there is a position. What function of mql5 can I use, any hint, thanks
I am using a Ctrade object for trade execution: trade_obj.Buy(trade_volume, _Symbol ,trade_price,stop_loss,take_profit); the volume, stop loss, take profit is OK, but the price execution , no matter how I set, it always trade at the current price. Is
Some functions require datetime expiration parameter. I don't really understand what is it for, example I want to create condition to open a long position: bool CExpertSignal::CheckOpenLong(double &price,double &sl,double &tp,datetime