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 EnterTiming(EnterCommon now, EnterCommon nextBar) { this.activeNow = now; this.nextBar = nextBar; }