Thank you for the answer and useful tips. I familiar with these examples.
Zachary, I do not ask you to recommend me how to implement the code. I am not new in programming!
I think, you don't clearly get the point of the question.
My question is how to use one part (= looking for the sygnal) of logic with CalculateOnBarClose = true and another part (=managing orders) of logic with CalculateOnBarClose = false at the same time inside OnBarUpdate() method?
Comment