I have a strategy that works exactly as I intended when I run it in Market Replay. I went to put it on a live Sim account and it is not functioning anywhere near where it should be.
{
CurrentOrder = EnterLong(Convert.ToInt32(DefaultQuantity), @"LONG");
ATRReached = false;
CurrentATR = ATR1[0] * ATRmulti;
LongMarker = 1000000;
EntryPrice = CurrentOrder.AverageFillPrice;
ATRcheckpoint = EntryPrice + CurrentATR;
Draw.Text(this, @"atrLine", @"ATR Checkpoint", 0, ATRcheckpoint);
PositionHigh = EntryPrice + CurrentATR;
RemoveDrawObject(@"Long1");
RemoveDrawObject(@"Long1Text");
Draw.HorizontalLine(this, @"checkpoint", false, ATRcheckpoint, Brushes.Green, DashStyleHelper.Solid, 2);
}
What could be causing this? I dont even have the beginnings of a clue for whats going on here considering it works so well on Market Replay.
Comment