View Full Version : Stateful OnBarUpdate
05-29-2007, 05:29 PM
I need to persist and change "state" between calls to OnBarUpdate. Is there some way for me to know when or if I no longer have an active Long or Short?
05-29-2007, 08:08 PM
I am likely missing the point of your question but could you not use Position.MarketPosition ?
05-30-2007, 11:01 AM
Just what I needed... thanks for the quick reply.