@trdjb3 said in Best practices to improve EA speed (Backtesting):
Como posso verificar o lucro do dia mais rápido do que o bloco feito para esse fim?
ou, como verificar o patrimônio das posições abertas mais rapidamente do que usar o balde de posições?
How can I check the day's profit faster than the block made for this purpose?
The answer is in:
What is the need for you to have to watch the day's profit at every tick of the market?
Wouldn't it be more interesting to know this after each trade is closed?
or, how to check equity of open positions faster than using position bucket?
I give the same answer to this question.
You just need to know the balance of open positions "if there was any open position", so put an "if position" block above.