I'm using Position.Quantity, but it seems that this doesn't work for me. In my strategy I only let it buy 1 long and then wait for profit or stop loss. If I have one long, then it will not buy anymore. But it seems like that's not the case when I try:
if (Position.Quantity == 0) { EnterLong(1); }
Please help!
Comment