attached is a t-bond day bar strategy in which the profitgoal and stoploss values are each 16 ticks. on most days the price moves far beyond 16 ticks in one or both directions. therefore when goal or stop is hit, position goes flat so i expect condition set 3 to set Variable0 to 0 ... and therefore, when OnBarUpdate is called on the next tick, that a new position will be entered. However, the strategy is taking only one position per day????
i have begun trying to learn how to use the debugger so i can set breakpoints, etc but that is going to take me a while. in the meantime maybe someone can advise me on this issue. Condition Set 3 is:
If (Position.MarketPosition == MarketPosition.Flat)
{
Variable0 = 0;
}

Comment