
and now on the tick by tick scale....

The order log....
And the relevant ultrasimple strategy code.....
protected override void Initialize()
{
CalculateOnBarClose = true;
ExitOnClose = false;
TraceOrders = true;
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Condition set 1
if (DefaultInput[0] > ChandelierSAR(5, 4).Chandelier[0])
{
EnterShortStopLimit(DefaultQuantity, ChandelierSAR(5, 4).Chandelier[0], ChandelierSAR(5, 4).Chandelier[0], "");
DrawDot("My dot" + CurrentBar, false, 0, ChandelierSAR(5, 4).Chandelier[0], Color.Blue);
}
// Condition set 2
if (DefaultInput[0] < ChandelierSAR(5, 4).Chandelier[0])
{
ExitShortStopLimit(ChandelierSAR(5, 4).Chandelier[0], ChandelierSAR(5, 4).Chandelier[0], "", "");
DrawDot("My dot" + CurrentBar, false, 0, ChandelierSAR(5, 4).Chandelier[0], Color.Blue);
}
Print(CurrentBar + " " + Time[0] + " " + ChandelierSAR(5, 4).Chandelier[0]);
}

Comment