public OrderHandlers(EnterCommon enterNow, EnterCommon enterNextBar, ExitCommon exitNow, ExitCommon exitNextBar, ReverseCommon reverseNow, ReverseCommon reverseNextBar, ChangeCommon changeNow, ChangeCommon changeNextBar) { this.enter = new EnterTiming(enterNow, enterNextBar); this.exit = new ExitTiming(exitNow, exitNextBar); this.reverse = new ReverseTiming(reverseNow, reverseNextBar); this.change = new ChangeTiming(changeNow, changeNextBar); }
public ChangeTiming(ChangeCommon now, ChangeCommon nextBar) { this.activeNow = now; this.nextBar = nextBar; }