I have put Print("Here") in the State.Change and it shows in the Output window. But I have the Print("here2") in the BarsInProgress == 1, and it does not show in the output window.
In my code, I need BarsInProgress == 1 occurs before BarsInProgress == 0. I dont know if that makes a difference.
I have checked the Help Guide, but I cannot figure out why the bars in progress one is not being activated.
I appreciate your advice. Thanks.
-Stearno


Comment