For some reason I do not want to my strategy to trigger an order (generated yesterday), therefore I am using if(Historical) return;
But as my strategy set some variable X at 9:31.00 and I am running the strategy now. X gets the value 0, and my strategy triggers unwanted orders.
Hoe can one deal with this problem?? Can I only run my stratgey in If (Historical) mode before opening bell???
Comment