Folls
05-15-2007, 01:15 PM
I have a strategy with two symbols. Each uses a 1m timeframe. So, each bar prints at the same time. On which bar should I see the order executed? It appears the order is getting placed two bars after the diamond is drawn. Shouldn't it be placed one bar after? Isn't the order like saying, "place order next bar at market?"
Code summary. The actual code is much longer.
if (BarsInProgress == 0)
{
placeLong = true;
DrawDiamond(....);
}
if (BarsInProgress == 1 && placeLong)
{
EnterLong();
}
Thanks,
Folls
Code summary. The actual code is much longer.
if (BarsInProgress == 0)
{
placeLong = true;
DrawDiamond(....);
}
if (BarsInProgress == 1 && placeLong)
{
EnterLong();
}
Thanks,
Folls