Just testing a simple strategy, using the wizard.
Nothing special
protected override void Initialize() { SetStopLoss("", CalculationMode.Ticks, 5, false); CalculateOnBarClose = true; } /// <summary> /// Called on each bar update event (incoming tick) /// </summary> protected override void OnBarUpdate() { // Condition set 1 if (Close[0] < Close[1]) { EnterShort(DefaultQuantity, ""); } }
I am using this on range[5] charts on YM
Comment