예제 #1
0
 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);
 }
예제 #2
0
 public EnterTiming(EnterCommon now, EnterCommon nextBar)
 {
     this.activeNow = now;
     this.nextBar   = nextBar;
 }