thx for all answers, solves questions for me I coldn't resolve with the research results I found in Ninja help and MS CSharp, VS sites etc. Google / YouTube. Sometimes, especially when new to it, its great to get an answer in the given context of specific code.
for the question about the OnBarUpdate(), I wanted to figure if it is triggered also during the lifetime of a bar.
4exmpl if i have a 1 minute bar, and the price is moving within that minute, is that each an update of the bar per price change ?
Or is a bar update only periodically after the bar duration, here 1 minute ?