Beispiel #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);
 }
Beispiel #2
0
 public ExitTiming(ExitCommon now, ExitCommon nextBar)
 {
     this.activeNow = now;
     this.nextBar   = nextBar;
 }