In some cases when using calculate On Price Change instead of On Bar Close, some drawn objects such as buy/sell signals are not correct and are not updated if there is no price change on the last tick of the bar.
I am thinking that using The ForceRefresh() on bar update will clean up any object created on price change and recalculate that object for previous bar. Some questions please:
1. Is that a correct approach to use ForceRefresh() to cleanup wrong signal objects?
2. Does using ForcRefresh() impact performance, specially if that indicator is used in Market Analyzer to scan a list of symbols (SP500) for that buy/sell signal?
3. The issue is, for example, that after the market close on Friday the bar will not close until Sunday or Monday when a new bar opens, thus making On Price Change the preferred option to see the last trading day signal before Sunday or Monday open. Would using SessionIterator() help generating signals on market close if calculate on Bar Close is used?
Please advise if this is a performance issue for a Market Analyzer scan of watchlists and if there is an alternative method other than using ON Bar Close. I know I can use Calculate On Each Tick, but that is a real performance issue for scanning a long watchlist.
Many Thanks.

Comment