Not showing trade-related arrows in EA

 

Hi friends,

I would appreciate if anyone could help me how to stop my EA from drawing "Arrows" when sending order or modifying an order in EA.

Thanking in advance

 
parham.trader:

Hi friends,

I would appreciate if anyone could help me how to stop my EA from drawing "Arrows" when sending order or modifying an order in EA.

Thanking in advance

The last parameters of OrderSend() is "arrow_color", set it to clrNone...

and read the documentation please.

OrderSend - Trade Functions - MQL4 Reference
OrderSend - Trade Functions - MQL4 Reference
  • docs.mql4.com
OrderSend - Trade Functions - MQL4 Reference
 

Hi friends

i have issue in drawing Arrows in MT4. i used below code to open the orders, its opening orders and showing Arrow in Strategy Tester but when i add EA to live MT4 order opening but Arrow not showing. Appropriate anyone can help me on this..below is my code.


 bool Sucess = OrderSend(Symbol(),OP_SELL,tradeVolume,Bid,0,Ask + Sl*Point,Ask - Tp*Point,"BBBBBBBB",9876543210,0,clrDarkRed);

 
The arrows are drawn in the tester. If you want to see them live, have your EA draw them, like my EA does.
          Indicators: Money Manager Graphic Tool - Risk Management - Articles, Library comments - MQL5 programming forum - Page 6