if ((GetCurrentBid() >=SMA[0]))
{
EnterLongLimit(GetCurrentBid(),"LONG");
}
Draw.ArrowUp(this, @"SMABuy" + CurrentBars[0].ToString(), true, 0, GetCurrentBid(0), Brushes.Lime);
I see the arrows drawn but no executions...
also, I tried to force an execution by putting in this, thinking that on the next onBarUpdate if the order is not filled, and thus position still flat, i'll send a market order.
Both ways does not show any executions
if (Position.MarketPosition == MarketPosition.Flat)
{
EnterLong();
}
Comment