예제 #1
0
        protected override void OnStart()
        {
            label    = "The Major V2 " + Symbol.Code + " " + TimeFrame.ToString() + " / " + HighOrderTimeFrame.ToString();
            tendency = Indicators.GetIndicator <CandlestickTendency>(HighOrderTimeFrame);
            index    = MarketSeries.Close.Count - 1;
            _hmaslow = Indicators.GetIndicator <HMAslow>(SlowPeriods);
            _macd    = Indicators.MacdHistogram(LongCycle, ShortCycle, Period);
            rsi      = Indicators.RelativeStrengthIndex(Source, Periods);
            _SSR     = Indicators.GetIndicator <SinewaveSupportResistance>(MarketSeries, Alpha);

            Positions.Opened += PositionsOnOpened;
            Positions.Closed += PositionsOnClosed;
        }
예제 #2
0
        protected override void OnStart()
        {
            label    = "Bladerunner Major" + Symbol.Code + " " + TimeFrame.ToString() + " / " + HighOrderTimeFrame.ToString();
            tendency = Indicators.GetIndicator <CandlestickTendency>(HighOrderTimeFrame);
            index    = MarketSeries.Close.Count - 1;
            _hmaslow = Indicators.GetIndicator <HMAslow>(31);
            _macd    = Indicators.MacdHistogram(LongCycle, ShortCycle, Period);
            rsi      = Indicators.RelativeStrengthIndex(Source, Periods);
            _emaFast = Indicators.ExponentialMovingAverage(Price, FastPeriods);

            Positions.Opened += PositionsOnOpened;
            Positions.Closed += PositionsOnClosed;
        }
예제 #3
0
        protected override void OnStart()
        {
            label      = "TheMajorV2PSarMulti" + Symbol.Code + " " + TimeFrame.ToString() + " / " + HighOrderTimeFrame.ToString();
            tendency   = Indicators.GetIndicator <CandlestickTendency>(HighOrderTimeFrame);
            index      = MarketSeries.Close.Count - 1;
            _macd      = Indicators.MacdHistogram(LongCycle, ShortCycle, Period);
            rsi        = Indicators.RelativeStrengthIndex(Source, Periods);
            _SSR       = Indicators.GetIndicator <SinewaveSupportResistance>(MarketSeries, Alpha);
            _zigzag    = Indicators.GetIndicator <ZigZag>(ZzDepth, ZzDeviation, ZzBackStep);
            _moneyFlow = Indicators.MoneyFlowIndex(MFIPeriod);
            _parabolic = Indicators.ParabolicSAR(minaf, maxaf);

            Positions.Opened += PositionsOnOpened;
            Positions.Closed += PositionsOnClosed;
        }
예제 #4
0
        protected override void OnStart()
        {

            label = "Mechanic " + Symbol.Code + " " + TimeFrame.ToString() + " / " + HighOrderTimeFrame.ToString();
            tendency = Indicators.GetIndicator<CandlestickTendency>(HighOrderTimeFrame);
            index = MarketSeries.Close.Count - 1;
        }
예제 #5
0
 protected override void OnStart()
 {
     label    = "Mechanic " + Symbol.Code + " " + TimeFrame.ToString() + " / " + HighOrderTimeFrame.ToString();
     tendency = Indicators.GetIndicator <CandlestickTendency>(HighOrderTimeFrame);
     index    = MarketSeries.Close.Count - 1;
 }