i think the only way to deal with it is by deleting it
example: (guidelines)
if (OrderSend(...) > -1) { for(...) { if(ObjectFind(...)) ObjectDelete(...); } }
Hi All,
The OrderDelete() & OrderSend() functions displays arrows on the chart even when clrNone option is used.
Below are the parameters which i have been using:
OrderSend(Symbol(),OP_BUYSTOP,0.1,Price,Slippage,Price-(MyPoint*StopLoss),Price+(MyPoint*TakeProfit),NULL,0,0,clrNONE);
OrderDelete(OrderTicket(),clrNONE);
I have even tried NULL, CLR_NONE and even without this parameter, Still the arrows are displayed.
Any suggestions??
FYI: Client Version: 4 Build: 670
Arrows aren't draw on a live chart if you are using clrNONE.
You are talking about the Strategy Tester I guess ? Indeed, the arrows are always drawn there. You can follow qjol's advice.
i think the only way to deal with it is by deleting it
example: (guidelines)
Thanks qjol..
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi All,
The OrderDelete() & OrderSend() functions displays arrows on the chart even when clrNone option is used.
Below are the parameters which i have been using:
OrderSend(Symbol(),OP_BUYSTOP,0.1,Price,Slippage,Price-(MyPoint*StopLoss),Price+(MyPoint*TakeProfit),NULL,0,0,clrNONE);
OrderDelete(OrderTicket(),clrNONE);
I have even tried NULL, CLR_NONE and even without this parameter, Still the arrows are displayed.
Any suggestions??
FYI: Client Version: 4 Build: 670