public PointFigureBars(SymbolInfo symbolInfo, long boxSize, long reversal) { this.minimumTick = symbolInfo.MinimumTick.ToLong(); this.boxSize = boxSize * minimumTick; this.reversal = reversal; IntervalDefault = Intervals.Define(BarUnit.Tick, 100); }
public void TestEmptyMethods() { Strategy logic = new Strategy(); logic.OnEndHistorical(); if (logic.OnIntervalOpen(Intervals.Define(BarUnit.Minute, 1))) { Assert.Fail("NotImplementedException expected"); } if (logic.OnIntervalClose(Intervals.Define(BarUnit.Minute, 1))) { Assert.Fail("NotImplementedException expected"); } }
public SRRetraceHourly() { ExitStrategy.ControlStrategy = false; IntervalDefault = Intervals.Define(BarUnit.Change,50); }