protected override void Create() { m_counter = new VariableObject <Int32>(this); m_yestopen = new VariableObject <Double>(this); m_todaysopen = new VariableObject <Double>(this); m_yesthigh = new VariableObject <Double>(this); m_todayshigh = new VariableObject <Double>(this); m_yestlow = new VariableObject <Double>(this); m_todayslow = new VariableObject <Double>(this); m_yestclose = new VariableObject <Double>(this); Plot1 = AddPlot(new PlotAttributes("YestOpen", EPlotShapes.LeftTick, Color.Magenta, Color.Empty, 2, 0, true)); Plot2 = AddPlot(new PlotAttributes("YestHigh", EPlotShapes.LeftTick, Color.Blue, Color.Empty, 2, 0, true)); Plot3 = AddPlot(new PlotAttributes("YestLow", EPlotShapes.LeftTick, Color.Yellow, Color.Empty, 2, 0, true)); Plot4 = AddPlot(new PlotAttributes("YestClose", EPlotShapes.LeftTick, Color.Cyan, Color.Empty, 2, 0, true)); }
protected override void Create(){ m_mypercentr = new VariableSeries<Double>(this); m_avg = new VariableSeries<Double>(this); m_PctRLE = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "PctRLE", EOrderAction.Buy)); m_setupl = new VariableObject<bool>(this); }
protected override void Create(){ m_AverageFC = new AverageFC(this); m_LowerBand = new VariableSeries<Double>(this); m_KltChSE = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "KltChSE", EOrderAction.SellShort)); m_bSetupSE = new VariableObject<bool>(this); m_CrossingLow = new VariableObject<double>(this); }
protected override void Create(){ m_AverageFC = new AverageFC(this); m_MACrossSE = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "MACrossSE", EOrderAction.SellShort)); m_Counter = new VariableObject<int>(this); }
protected override void Create(){ m_lowestlo = new VariableObject<Double>(this); Plot1 = AddPlot(new PlotAttributes("NewLo-W", EPlotShapes.Point, Color.Blue, Color.Empty, 4, 0, true)); }
protected override void Create() { m_rsi1 = new Function.RSI(this); m_barnum = new VariableObject <int>(this); m_formulaopen = new VariableObject <Double>(this); m_formulahigh = new VariableObject <Double>(this); m_formulalow = new VariableObject <Double>(this); Plot1 = AddPlot(new PlotAttributes("FormulaOpen", EPlotShapes.LeftTick, Color.Blue, Color.Empty, 0, 0, true)); Plot2 = AddPlot(new PlotAttributes("FormulaHigh", EPlotShapes.BarHigh, Color.Blue, Color.Empty, 0, 0, true)); Plot3 = AddPlot(new PlotAttributes("FormulaLow", EPlotShapes.BarLow, Color.Blue, Color.Empty, 0, 0, true)); Plot4 = AddPlot(new PlotAttributes("FormulaClose", EPlotShapes.RightTick, Color.Blue, Color.Empty, 0, 0, true)); Plot5 = AddPlot(new PlotAttributes("Baseline1", 0, Color.Green, Color.Empty, 0, 0, true)); Plot6 = AddPlot(new PlotAttributes("Baseline2", 0, Color.Green, Color.Empty, 0, 0, true)); }
protected override void Create() { m_barnumber1 = new BarNumber(this); m_swinglowbar1 = new SwingLowBar(this); m_swinglowbar2 = new SwingLowBar(this); m_swinghighbar1 = new SwingHighBar(this); m_swinghighbar2 = new SwingHighBar(this); m_barnum = new VariableSeries <Double>(this); m_neckswbar = new VariableObject <Int32>(this); m_hnsswbar = new VariableObject <Int32>(this); m_neckswprice = new VariableSeries <Double>(this); m_hnsswprice = new VariableSeries <Double>(this); m_vertorder_hvss = new VariableObject <Boolean>(this); m_vertorder_nvss = new VariableObject <Boolean>(this); m_necklinelimit = new VariableObject <Double>(this); m_maxnecktoheaddist = new VariableObject <Double>(this); m_vertproportion = new VariableObject <Boolean>(this); m_color = new VariableObject <Color>(this); m_confirmbarnum = new VariableObject <Double>(this); m_lastcrossedtl = new VariableObject <int>(this); m_neckswings = new Array2DSimple <Double>(this, 2, 4); m_hnsswings = new Array2DSimple <Double>(this, 3, 5); Plot1 = AddPlot(new PlotAttributes("H&S", EPlotShapes.Point, Color.White, Color.Empty, 4, 0, true)); }
protected override void Create() { m_rs_dailydataarray1 = new RS_DailyDataArray(this); m_rs_extremes1 = new RS_Extremes(this); m_index = new VariableObject <Int32>(this); m_oprevhighest = new VariableObject <Double>(this); m_oprevhighestday = new VariableObject <Double>(this); m_oprevlowest = new VariableObject <Double>(this); m_oprevlowestday = new VariableObject <Double>(this); m_qualhi = new VariableObject <Boolean>(this); m_quallo = new VariableObject <Boolean>(this); m_prevnewhidate = new VariableObject <DateTime>(this); m_prevnewlodate = new VariableObject <DateTime>(this); m_dataarray = new Array2DSimple <Double>(this, 13, 101); m_subarray = new ArraySimple <Double>(this, 4); Plot1 = AddPlot(new PlotAttributes("NewNDayHi", EPlotShapes.Point, Color.Cyan, Color.Empty, 4, 0, true)); Plot2 = AddPlot(new PlotAttributes("NewNDayLo", EPlotShapes.Point, Color.Yellow, Color.Empty, 4, 0, true)); Plot3 = AddPlot(new PlotAttributes("HiLine", 0, Color.Blue, Color.Empty, 0, 0, true)); Plot4 = AddPlot(new PlotAttributes("LoLine", 0, Color.Magenta, Color.Empty, 0, 0, true)); }
protected override void Create(){ m_rsi1 = new Function.RSI(this); m_barnum = new VariableObject<int>(this); m_formulaopen = new VariableObject<Double>(this); m_formulahigh = new VariableObject<Double>(this); m_formulalow = new VariableObject<Double>(this); Plot1 = AddPlot(new PlotAttributes("FormulaOpen", EPlotShapes.LeftTick, Color.Blue, Color.Empty, 0, 0, true)); Plot2 = AddPlot(new PlotAttributes("FormulaHigh", EPlotShapes.BarHigh, Color.Blue, Color.Empty, 0, 0, true)); Plot3 = AddPlot(new PlotAttributes("FormulaLow", EPlotShapes.BarLow, Color.Blue, Color.Empty, 0, 0, true)); Plot4 = AddPlot(new PlotAttributes("FormulaClose", EPlotShapes.RightTick, Color.Blue, Color.Empty, 0, 0, true)); Plot5 = AddPlot(new PlotAttributes("Baseline1", 0, Color.Green, Color.Empty, 0, 0, true)); Plot6 = AddPlot(new PlotAttributes("Baseline2", 0, Color.Green, Color.Empty, 0, 0, true)); }
protected override void Create(){ m_AverageFC = new AverageFC(this); m_UpperBand = new VariableSeries<Double>(this); m_bSetupLE = new VariableObject<bool>(this); m_CrossingHigh = new VariableObject<double>(this); m_KltChLE = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "KltChLE", EOrderAction.Buy)); }
protected override void Create() { m_rs_dailydataarray1 = new RS_DailyDataArray(this); m_rs_trueextremes1 = new RS_TrueExtremes(this); m_rs_priceextension1 = new RS_PriceExtension(this); m_rs_reversalpatterns1 = new RS_ReversalPatterns(this); m_barnumber1 = new BarNumber(this); m_value3 = new VariableObject <int>(this); m_index = new VariableObject <Int32>(this); m_prevtrhighest = new VariableObject <Double>(this); m_prevtrlowest = new VariableObject <Double>(this); m_prevatr = new VariableObject <Double>(this); m_osetup = new VariableObject <int>(this); m_otrigger = new VariableObject <Double>(this); m_dataarray = new Array2DSimple <Double>(this, 13, 101); m_subarray = new ArraySimple <Double>(this, 4); Plot1 = AddPlot(new PlotAttributes("Ext", EPlotShapes.Point, Color.Blue, Color.Empty, 3, 0, true)); Plot2 = AddPlot(new PlotAttributes("Setup", EPlotShapes.Point, Color.Yellow, Color.Empty, 4, 0, true)); Plot3 = AddPlot(new PlotAttributes("Trigger", EPlotShapes.Point, Color.Cyan, Color.Empty, 5, 0, true)); Plot4 = AddPlot(new PlotAttributes("HiLoLines", EPlotShapes.Point, Color.Yellow, Color.Empty, 1, 0, true)); }
protected override void Create() { m_SwingHigh = new SwingHigh(this); m_PivRevLE = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "PivRevLE", EOrderAction.Buy)); m_Setup = new VariableObject <bool>(this); m_PivotHigh = new VariableObject <double>(this); }
protected override void Create(){ m_pennant1 = new Pennant(this); m_otlhistartpr = new VariableObject<Double>(this); m_otlhiendpr = new VariableObject<Double>(this); m_otllostartpr = new VariableObject<Double>(this); m_otlloendpr = new VariableObject<Double>(this); m_color = new VariableObject<Color>(this); m_tlhi = new VariableObject<ITrendLineObject>(this); m_tllo = new VariableObject<ITrendLineObject>(this); Plot1 = AddPlot(new PlotAttributes("PenBrkoutUp", EPlotShapes.Point, Color.Cyan, Color.Empty, 5, 0, true)); Plot2 = AddPlot(new PlotAttributes("PenBrkoutDn", EPlotShapes.Point, Color.Yellow, Color.Empty, 5, 0, true)); Plot3 = AddPlot(new PlotAttributes("HiExt", EPlotShapes.Point, Color.Silver, Color.Empty, 3, 0, true)); Plot4 = AddPlot(new PlotAttributes("LoExt", EPlotShapes.Point, Color.Silver, Color.Empty, 3, 0, true)); }
protected override void Create(){ m_rs_dailydataarray1 = new RS_DailyDataArray(this); m_rs_trueextremes1 = new RS_TrueExtremes(this); m_rs_priceextension1 = new RS_PriceExtension(this); m_rs_reversalpatterns1 = new RS_ReversalPatterns(this); m_barnumber1 = new BarNumber(this); m_value3 = new VariableObject<int>(this); m_index = new VariableObject<Int32>(this); m_prevtrhighest = new VariableObject<Double>(this); m_prevtrlowest = new VariableObject<Double>(this); m_prevatr = new VariableObject<Double>(this); m_osetup = new VariableObject<int>(this); m_otrigger = new VariableObject<Double>(this); m_dataarray = new Array2DSimple<Double>(this, 13, 101); m_subarray = new ArraySimple<Double>(this, 4); Plot1 = AddPlot(new PlotAttributes("Ext", EPlotShapes.Point, Color.Blue, Color.Empty, 3, 0, true)); Plot2 = AddPlot(new PlotAttributes("Setup", EPlotShapes.Point, Color.Yellow, Color.Empty, 4, 0, true)); Plot3 = AddPlot(new PlotAttributes("Trigger", EPlotShapes.Point, Color.Cyan, Color.Empty, 5, 0, true)); Plot4 = AddPlot(new PlotAttributes("HiLoLines", EPlotShapes.Point, Color.Yellow, Color.Empty, 1, 0, true)); }
protected override void Create() { m_AverageFC = new AverageFC(this); m_MACrossLE = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "MACrossLE", EOrderAction.Buy)); m_Counter = new VariableObject <int>(this); }
protected override void Create(){ m_counter = new VariableObject<Int32>(this); m_yestopen = new VariableObject<Double>(this); m_todaysopen = new VariableObject<Double>(this); m_yesthigh = new VariableObject<Double>(this); m_todayshigh = new VariableObject<Double>(this); m_yestlow = new VariableObject<Double>(this); m_todayslow = new VariableObject<Double>(this); m_yestclose = new VariableObject<Double>(this); Plot1 = AddPlot(new PlotAttributes("YestOpen", EPlotShapes.LeftTick, Color.Magenta, Color.Empty, 2, 0, true)); Plot2 = AddPlot(new PlotAttributes("YestHigh", EPlotShapes.LeftTick, Color.Blue, Color.Empty, 2, 0, true)); Plot3 = AddPlot(new PlotAttributes("YestLow", EPlotShapes.LeftTick, Color.Yellow, Color.Empty, 2, 0, true)); Plot4 = AddPlot(new PlotAttributes("YestClose", EPlotShapes.LeftTick, Color.Cyan, Color.Empty, 2, 0, true)); }
protected override void Create(){ m_rs_dailydataarray1 = new RS_DailyDataArray(this); m_barnumber1 = new BarNumber(this); m_rs_extremes1 = new RS_Extremes(this); m_rs_average1 = new RS_Average(this); m_rs_average2 = new RS_Average(this); m_rs_average3 = new RS_Average(this); m_index = new VariableObject<Int32>(this); m_qualhi = new VariableSeries<Boolean>(this); m_quallo = new VariableSeries<Boolean>(this); m_oprevhighest = new VariableObject<Double>(this); m_oprevhighestday = new VariableObject<Double>(this); m_oprevlowest = new VariableObject<Double>(this); m_oprevlowestday = new VariableObject<Double>(this); m_revgapup = new VariableObject<Boolean>(this); m_revgapdn = new VariableObject<Boolean>(this); m_dataarray = new Array2DSimple<Double>(this, 13, 101); m_subarray = new ArraySimple<Double>(this, 4); Plot1 = AddPlot(new PlotAttributes("NewHiLo", EPlotShapes.Point, Color.Cyan, Color.Empty, 5, 0, true)); Plot2 = AddPlot(new PlotAttributes("RevGap", EPlotShapes.Point, Color.Yellow, Color.Empty, 2, 0, true)); Plot3 = AddPlot(new PlotAttributes("HiLine", 0, Color.Blue, Color.Empty, 0, 0, true)); Plot4 = AddPlot(new PlotAttributes("LoLine", 0, Color.Magenta, Color.Empty, 0, 0, true)); }
protected override void Create() { m_pennant1 = new Pennant(this); m_otlhistartpr = new VariableObject <Double>(this); m_otlhiendpr = new VariableObject <Double>(this); m_otllostartpr = new VariableObject <Double>(this); m_otlloendpr = new VariableObject <Double>(this); m_color = new VariableObject <Color>(this); m_tlhi = new VariableObject <ITrendLineObject>(this); m_tllo = new VariableObject <ITrendLineObject>(this); Plot1 = AddPlot(new PlotAttributes("PenBrkoutUp", EPlotShapes.Point, Color.Cyan, Color.Empty, 5, 0, true)); Plot2 = AddPlot(new PlotAttributes("PenBrkoutDn", EPlotShapes.Point, Color.Yellow, Color.Empty, 5, 0, true)); Plot3 = AddPlot(new PlotAttributes("HiExt", EPlotShapes.Point, Color.Silver, Color.Empty, 3, 0, true)); Plot4 = AddPlot(new PlotAttributes("LoExt", EPlotShapes.Point, Color.Silver, Color.Empty, 3, 0, true)); }
protected override void Create() { m_rs_dailydataarray1 = new RS_DailyDataArray(this); m_barnumber1 = new BarNumber(this); m_rs_extremes1 = new RS_Extremes(this); m_rs_average1 = new RS_Average(this); m_rs_average2 = new RS_Average(this); m_rs_average3 = new RS_Average(this); m_index = new VariableObject <Int32>(this); m_qualhi = new VariableSeries <Boolean>(this); m_quallo = new VariableSeries <Boolean>(this); m_oprevhighest = new VariableObject <Double>(this); m_oprevhighestday = new VariableObject <Double>(this); m_oprevlowest = new VariableObject <Double>(this); m_oprevlowestday = new VariableObject <Double>(this); m_revgapup = new VariableObject <Boolean>(this); m_revgapdn = new VariableObject <Boolean>(this); m_dataarray = new Array2DSimple <Double>(this, 13, 101); m_subarray = new ArraySimple <Double>(this, 4); Plot1 = AddPlot(new PlotAttributes("NewHiLo", EPlotShapes.Point, Color.Cyan, Color.Empty, 5, 0, true)); Plot2 = AddPlot(new PlotAttributes("RevGap", EPlotShapes.Point, Color.Yellow, Color.Empty, 2, 0, true)); Plot3 = AddPlot(new PlotAttributes("HiLine", 0, Color.Blue, Color.Empty, 0, 0, true)); Plot4 = AddPlot(new PlotAttributes("LoLine", 0, Color.Magenta, Color.Empty, 0, 0, true)); }
protected override void Create() { m_pricew = new VariableObject <Double>(this); m_sharew = new VariableObject <Double>(this); prior_bar_final = new VariableObject <Boolean>(this); prior_bar_final.Value = false; // initialize }
protected override void Create() { m_AverageFC = new AverageFC(this); m_UpperBand = new VariableSeries <Double>(this); m_bSetupLE = new VariableObject <bool>(this); m_CrossingHigh = new VariableObject <double>(this); m_KltChLE = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "KltChLE", EOrderAction.Buy)); }
protected override void Create() { m_SwingLow = new SwingLow(this); m_Setup = new VariableObject <bool>(this); m_PivotLow = new VariableObject <double>(this); m_PivRevSE = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "PivRevSE", EOrderAction.SellShort)); }
protected override void Create() { m_blocktrades = new VariableObject <Double>(this); m_barnum = new VariableObject <int>(this); plot1 = AddPlot(new PlotAttributes("BlockTrds", EPlotShapes.Histogram, Color.Blue, Color.Empty, 1, 0, true)); }
protected override void Create(){ m_ParabolicSAR = new ParabolicSAR(this); m_oparcl = new VariableObject<Double>(this); m_oparop = new VariableObject<Double>(this); m_oposition = new VariableObject<int>(this); m_otransition = new VariableObject<int>(this); m_ParSE = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "ParSE", EOrderAction.SellShort)); }
protected override void Create() { m_AverageFC = new AverageFC(this); m_LowerBand = new VariableSeries <Double>(this); m_KltChSE = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "KltChSE", EOrderAction.SellShort)); m_bSetupSE = new VariableObject <bool>(this); m_CrossingLow = new VariableObject <double>(this); }
protected override void Create(){ m_MP = new VariableSeries<int>(this); m_PftClsSX = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "PftClsSX", EOrderAction.BuyToCover, OrderExit.FromAll)); m_EntryPrice = new VariableObject<double>(this); m_cnt = new VariableObject<int>(this); }
protected override void Create(){ m_highesthi = new VariableObject<Double>(this); Plot1 = AddPlot(new PlotAttributes("NewHi-W", EPlotShapes.Point, Color.Yellow, Color.Empty, 4, 0, true)); }
protected override void Create() { m_mypercentr = new VariableSeries <Double>(this); m_avg = new VariableSeries <Double>(this); m_PctRLE = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "PctRLE", EOrderAction.Buy)); m_setupl = new VariableObject <bool>(this); }
protected override void Create() { m_vwapresettable1 = new vwapSession(this); m_price = new VariableSeries <Double>(this); m_it = new VariableSeries <Double>(this); m_color = new VariableObject <Color>(this); Plot1 = AddPlot(new PlotAttributes("vwap_reset", EPlotShapes.Point, Color.Blue, Color.Empty, 0, 0, true)); }
protected override void Create() { m_lowestlo = new VariableObject <Double>(this); Plot1 = AddPlot(new PlotAttributes("NewLo-M", EPlotShapes.Point, Color.Blue, Color.Empty, 4, 0, true)); }
protected override void Create() { m_highesthi = new VariableObject <Double>(this); Plot1 = AddPlot(new PlotAttributes("NewHi-Y", EPlotShapes.Point, Color.Yellow, Color.Empty, 4, 0, true)); }
private void colorPickerControlValueChanged(object sender, RoutedPropertyChangedEventArgs <Color?> e) { Type var_type = VariableObject.GetType(); System.Windows.Media.Color ctrlClr = (System.Windows.Media.Color)((ColorPicker)sender).SelectedColor; Aurora.Utils.RealColor clr = (Aurora.Utils.RealColor)VariableObject; clr.SetMediaColor(ctrlClr); VariableObject = clr; }
protected override void Create(){ m_ConsUpLE = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "ConsUpLE", EOrderAction.Buy)); m_ConsDnSE = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "ConsDnSE", EOrderAction.SellShort)); m_ups_cnt = new VariableObject<int>(this); m_downs_cnt = new VariableObject<int>(this); }
protected override void Create() { m_MP = new VariableSeries <int>(this); m_PftClsSX = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "PftClsSX", EOrderAction.BuyToCover, OrderExit.FromAll)); m_EntryPrice = new VariableObject <double>(this); m_cnt = new VariableObject <int>(this); }
protected override void Create(){ m_mycurrentbar = new VariableObject<Int32>(this); m_crossovers = new VariableObject<Double>(this); m_lastbelow = new VariableObject<Boolean>(this); Plot1 = AddPlot(new PlotAttributes("Crossovers", EPlotShapes.Histogram, Color.Cyan, Color.Empty, 0, 0, true)); }
protected override void Create() { m_ParabolicSAR = new ParabolicSAR(this); m_oparcl = new VariableObject <Double>(this); m_oparop = new VariableObject <Double>(this); m_oposition = new VariableObject <int>(this); m_otransition = new VariableObject <int>(this); m_ParSE = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "ParSE", EOrderAction.SellShort)); }
protected override void Create(){ m_MP = new VariableSeries<int>(this); m_TradeHH = new VariableSeries<Double>(this); m_ParTrSX = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "ParTrSX", EOrderAction.BuyToCover, OrderExit.FromAll)); m_StopPrice = new VariableObject<double>(this); m_AF = new VariableObject<double>(this); }
protected override void Create() { m_ConsUpLE = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "ConsUpLE", EOrderAction.Buy)); m_ConsDnSE = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "ConsDnSE", EOrderAction.SellShort)); m_ups_cnt = new VariableObject <int>(this); m_downs_cnt = new VariableObject <int>(this); }
protected override void Create(){ m_linearregvalue1 = new LinearRegValue(this); m_linearregvalue2 = new LinearRegValue(this); m_linearregvalue3 = new LinearRegValue(this); m_linearregvalue4 = new LinearRegValue(this); m_linearregvalue5 = new LinearRegValue(this); m_linearregvalue6 = new LinearRegValue(this); m_tllrv = new VariableObject<ITrendLineObject>(this); m_flag = new VariableObject<int>(this); }
protected override void Create(){ m_vwapresettable1 = new vwapResettable(this); m_price = new VariableSeries<Double>(this); m_it = new VariableSeries<Double>(this); m_color = new VariableObject<Color>(this); Plot1 = AddPlot(new PlotAttributes("vwap_reset", EPlotShapes.Point, Color.Blue, Color.Empty, 0, 0, true)); }
protected override void Create(){ m_mp = new VariableSeries<int>(this); m_PosLow = new VariableObject<Double>(this); m_AtrSX = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "AtrSX", EOrderAction.BuyToCover, OrderExit.FromAll)); m_AtrSX_eb = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "AtrSX-eb", EOrderAction.BuyToCover, OrderExit.FromAll)); }
protected override void Create(){ m_mp = new VariableSeries<int>(this); m_ATTSX_Tgt = OrderCreator.Limit(new SOrderParameters(Contracts.Default, "ATTSX-Tgt", EOrderAction.BuyToCover, OrderExit.FromAll)); m_ATTSX_Trl = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "ATTSX-Trl", EOrderAction.BuyToCover, OrderExit.FromAll)); m_TargetPrice = new VariableObject<double>(this); }
protected override void Create(){ m_pivotreversalgen1 = new PivotReversalGen(this); m_opivotprice = new VariableObject<Double>(this); m_opivotrstren = new VariableObject<Double>(this); m_opivotlstren = new VariableObject<Double>(this); Plot1 = AddPlot(new PlotAttributes("PivRev_Up", EPlotShapes.Point, Color.Cyan, Color.Empty, 4, 0, true)); }
protected override void Create() { m_MP = new VariableSeries <int>(this); m_TradeHH = new VariableSeries <Double>(this); m_ParTrLX = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "ParTrLX", EOrderAction.Sell, OrderExit.FromAll)); m_StopPrice = new VariableObject <double>(this); m_AF = new VariableObject <double>(this); }
public void Constructor_WhenCalled_ValueIsSet() { //Arrange //Act var result = new VariableObject(); //Assert Assert.AreEqual(result.Value, "x"); Assert.AreEqual(result.GraphObjectType, GraphObjectType.Variable); }
protected override void Create() { m_mycurrentbar = new VariableObject <Int32>(this); m_crossovers = new VariableObject <Double>(this); m_lastbelow = new VariableObject <Boolean>(this); Plot1 = AddPlot(new PlotAttributes("Crossovers", EPlotShapes.Histogram, Color.Cyan, Color.Empty, 0, 0, true)); }
protected override void Create() { m_pivotreversalgen1 = new PivotReversalGen(this); m_opivotprice = new VariableObject <Double>(this); m_opivotrstren = new VariableObject <Double>(this); m_opivotlstren = new VariableObject <Double>(this); Plot1 = AddPlot(new PlotAttributes("PivRev_Dn", EPlotShapes.Point, Color.Cyan, Color.Empty, 4, 0, true)); }
protected override void Create(){ m_swinghigh1 = new SwingHigh(this); m_swinglow1 = new SwingLow(this); m_swingprice = new VariableSeries<Double>(this); m_swingtime = new VariableSeries<DateTime>(this); m_tldir = new VariableObject<int>(this); m_saveswing = new VariableObject<Boolean>(this); m_addtl = new VariableObject<Boolean>(this); m_updatetl = new VariableObject<Boolean>(this); m_tlref = new VariableObject<ITrendLineObject>(this); }
protected override void Create() { m_mp = new VariableSeries <int>(this); m_PosLow = new VariableObject <Double>(this); m_AtrSX = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "AtrSX", EOrderAction.BuyToCover, OrderExit.FromAll)); m_AtrSX_eb = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "AtrSX-eb", EOrderAction.BuyToCover, OrderExit.FromAll)); }
protected override void Create(){ m_haveprevlines = new VariableObject<Boolean>(this); m_tlopen = new VariableObject<ITrendLineObject>(this); m_tlhigh = new VariableObject<ITrendLineObject>(this); m_tllow = new VariableObject<ITrendLineObject>(this); m_dayopen = new VariableObject<Double>(this); m_dayhigh = new VariableObject<Double>(this); m_daylow = new VariableObject<Double>(this); m_currbartime = new VariableObject<DateTime>(this); m_lastdiffbartime = new VariableObject<DateTime>(this); }
protected override void Create() { m_mp = new VariableSeries <int>(this); m_ATTSX_Tgt = OrderCreator.Limit(new SOrderParameters(Contracts.Default, "ATTSX-Tgt", EOrderAction.BuyToCover, OrderExit.FromAll)); m_ATTSX_Trl = OrderCreator.Stop(new SOrderParameters(Contracts.Default, "ATTSX-Trl", EOrderAction.BuyToCover, OrderExit.FromAll)); m_TargetPrice = new VariableObject <double>(this); }
protected override void Create() { m_parabolicsar1 = new ParabolicSAR(this); m_oparcl = new VariableObject <Double>(this); m_oparop = new VariableObject <Double>(this); m_oposition = new VariableObject <int>(this); m_otransition = new VariableObject <int>(this); Plot1 = AddPlot(new PlotAttributes("ParCl", EPlotShapes.Point, Color.Blue, Color.Empty, 1, 0, true)); }
protected override void Create() { m_linearregvalue1 = new LinearRegValue(this); m_linearregvalue2 = new LinearRegValue(this); m_linearregvalue3 = new LinearRegValue(this); m_linearregvalue4 = new LinearRegValue(this); m_linearregvalue5 = new LinearRegValue(this); m_linearregvalue6 = new LinearRegValue(this); m_tllrv = new VariableObject <ITrendLineObject>(this); m_flag = new VariableObject <int>(this); }
protected override void Create(){ m_hpi1 = new Function.HPI(this); m_normgradientcolor1 = new Function.NormGradientColor(this); m_applicationtype = new VariableObject<Int32>(this); m_hpivalue = new VariableSeries<Double>(this); Plot1 = AddPlot(new PlotAttributes("HPI", 0, Color.Yellow, Color.Empty, 0, 0, true)); Plot2 = AddPlot(new PlotAttributes("ZeroLine", 0, Color.Green, Color.Empty, 0, 0, true)); }
protected override void Create(){ m_c_morndoji_evedoji1 = new Function.C_MornDoji_EveDoji(this); m_omorningdojistar = new VariableObject<int>(this); m_oeveningdojistar = new VariableObject<int>(this); Plot1 = AddPlot(new PlotAttributes("MornDoji", EPlotShapes.Point, Color.Cyan, Color.Empty, 4, 0, true)); Plot2 = AddPlot(new PlotAttributes("EveDoji", EPlotShapes.Point, Color.Blue, Color.Empty, 4, 0, true)); }
protected override void Create(){ m_c_hammer_hangingman1 = new Function.C_Hammer_HangingMan(this); m_ohammer = new VariableObject<int>(this); m_ohangingman = new VariableObject<int>(this); Plot1 = AddPlot(new PlotAttributes("Hammer", EPlotShapes.Point, Color.Cyan, Color.Empty, 4, 0, true)); Plot2 = AddPlot(new PlotAttributes("HangMan", EPlotShapes.Point, Color.Blue, Color.Empty, 4, 0, true)); }
protected override void Create(){ m_c_bullhar_bearhar1 = new Function.C_BullHar_BearHar(this); m_obullishharami = new VariableObject<int>(this); m_obearishharami = new VariableObject<int>(this); Plot1 = AddPlot(new PlotAttributes("BullHar", EPlotShapes.Point, Color.Cyan, Color.Empty, 4, 0, true)); Plot2 = AddPlot(new PlotAttributes("BearHar", EPlotShapes.Point, Color.Blue, Color.Empty, 4, 0, true)); }
protected override void Create(){ m_massindex1 = new MassIndex(this); m_massx = new VariableSeries<Double>(this); m_setupstatus = new VariableObject<Boolean>(this); Plot1 = AddPlot(new PlotAttributes("MassX", 0, Color.Yellow, Color.Empty, 0, 0, true)); Plot2 = AddPlot(new PlotAttributes("Setup", 0, Color.Cyan, Color.Empty, 0, 0, true)); Plot3 = AddPlot(new PlotAttributes("Trigger", 0, Color.Lime, Color.Empty, 0, 0, true)); }
protected override void Create(){ m_c_pierceline_dkcloud1 = new Function.C_PierceLine_DkCloud(this); m_opiercingline = new VariableObject<int>(this); m_odarkcloud = new VariableObject<int>(this); Plot1 = AddPlot(new PlotAttributes("PierceLine", EPlotShapes.Point, Color.Yellow, Color.Empty, 4, 0, true)); Plot2 = AddPlot(new PlotAttributes("DkCloud", EPlotShapes.Point, Color.Magenta, Color.Empty, 4, 0, true)); }
protected override void Create(){ m_c_3whsolds_3blkcrows1 = new Function.C_3WhSolds_3BlkCrows(this); m_o3whitesoldiers = new VariableObject<int>(this); m_o3blackcrows = new VariableObject<Int32>(this); Plot1 = AddPlot(new PlotAttributes("3WhSolds", EPlotShapes.Point, Color.Yellow, Color.Empty, 4, 0, true)); Plot2 = AddPlot(new PlotAttributes("3BlkCrows", EPlotShapes.Point, Color.Magenta, Color.Empty, 4, 0, true)); }