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