MarketPosition.Short and MarketPosition.Long
that I could use later as a condition.
It works for the most part except that instead of entering at the 0 position size,
NT8 enters at 1 which I assume is the minimum.
Is there any way to have those reference points of Long/Short
without actually entering with the quantity of 1?
Is there another way I could do something similar?
If (CrossBelow(SMA2, SMA1, 1)) { EnterShort(0, 0,"DummyShort"); } if (PositionAccount.Quantity >= 1) && (Position.MarketPosition == MarketPosition.Short) { EnterShort(0, Quantity,"RealShort"); }
Comment