if (Position.MarketPosition != MarketPosition.Flat)
but not
if (Position.MarketPosition == "Long")
even though
Print("Position = "+Position.MarketPosition );
prints "Long"
1. is there a method which returns direction of position?
2. is there a method which returns the number of lots in the position?
3. does OnPositionUpdate not update when a stop is hit?

Comment