- And you couldn't find a ObjectCreate because the EA isn't drawing any.
- Think again.
- 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."
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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,