It’s a choice. UpdateOnCLose is a feature you can you use or not. Maybe some people don’t understand it, but I understand it pretty well what it does. Sometimes I use it, but I deliberately omit it as well.
The reason I sometimes don’t want updateOnClose is that I want my code be triggered more that the timeframe normally would do.
For example I have a 15s scalping strategy, but I want evaluation before the bar closes. Then I put in a 5s Timeframe(sometimes without code in it). The result is that my 15s strategy get evaluated every 5 seconds.
Again, this is a choice. It all depends on what kind of strategy you are running. For some strategies this pays, others not.
1 user thanked author for this post.