Ejemplo n.º 1
0
 public FXCommodityClose(QREBridgeBase bridge, Symbol symbol)
     : base(bridge, symbol, bars => commoditySignal(bridge.arguments().parameters.get <int>("signal"), bars))
 {
     maFX             = new Average(bars.close, maDays);
     currencyReversed = symbol.name.StartsWith("USD");
     maxBarsHeld      = parameter <int>("MaxBarsHeld");
     addToPlot(upperBand, "UpperBand", Color.Blue, "Commodity");
     addToPlot(lowerBand, "LowerBand", Color.Blue, "Commodity");
     addToPlot(ma, "commodMovingAverage", Color.Red, "Commodity");
 }
Ejemplo n.º 2
0
 public MultipleSymbolsExample(QREBridgeBase bridge) : this(bridge, bridge.arguments().symbols)
 {
 }
Ejemplo n.º 3
0
 public SectorRotationShort(QREBridgeBase bridge) : this(bridge, bridge.arguments().symbols)
 {
 }
Ejemplo n.º 4
0
 public void writeCurveFiles(QDirectory directory)
 {
     bridge.statistics().writeCurveFiles(bridge.arguments().liveSystem(), directory);
 }