How to prevent EA from drawing arrows on opening new trades

 

hi friends,

I searched a lot for a code to prevent the EA from drawing arrow objects on opening new trades, without any success.

I think it is compulsory to prevent the EA from drawing arrows on opening new trades as it is highly source intensive and would slow the process of back-testing.

So I'd appreciate if anyone could guide me on how to stop drawing new arrow objects on opening new trades.

thanking in advance,

 
  1. And you couldn't find a ObjectCreate because the EA isn't drawing any.
  2. Think again.
  3. It is the tester that draws the opening arrow, the closing arrow and the line between.
 

I know that there is an easy solution to tackle the issue using the ObjectsDeleteAll function and remove all objects drawn on each tick, but I think this may not be the best solution as it is also too source intensive. I'm looking for a code such as "ChartSetInteger(0,CHART_SHOW_TRADE_LEVELS,false)" but for not drawing the arrows objects.

 

You missed the point, ignore the arrows. It is the tester that draws them. It is not " highly source intensive."