protected override void OnStart() { cBotLabel = "La Tortuga V2" + Symbol.Code + " " + TimeFrame.ToString(); hmafast = Indicators.GetIndicator <HMAfast>(FastPeriods); hmaslow = Indicators.GetIndicator <HMAslow>(SlowPeriods); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; }
protected override void OnStart() { cBotLabel = "Colonel V1 " + Symbol.Code + " " + TimeFrame.ToString() + " / "; _hmaslow = Indicators.GetIndicator <HMAslow>(SlowPeriods); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; }
protected override void OnStart() { _hmaslow = Indicators.GetIndicator <HMAslow>(SlowPeriod); _macd = Indicators.MacdHistogram(LongCycle, ShortCycle, Period); rsi = Indicators.RelativeStrengthIndex(Source, Periods); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; }
protected override void OnStart() { hmafast = Indicators.GetIndicator <HMAfast>(5); hmaslow = Indicators.GetIndicator <HMAslow>(31); HmaDaySeries = MarketData.GetSeries(TimeFrame.Daily); hmaSignal = Indicators.GetIndicator <HMAHTF>(HmaDaySeries, 21, false, false, 3, false, 24); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; }
protected override void OnStart() { hmafast = Indicators.GetIndicator <HMAfast>(5); hmaslow = Indicators.GetIndicator <HMAslow>(31); _macd = Indicators.MacdHistogram(LongCycle, ShortCycle, Period); HmaDaySeries = MarketData.GetSeries(TimeFrame.Hour4); hmaSignal = Indicators.GetIndicator <HMAHTF>(HmaDaySeries, 21, false, false, 3, false, 24); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; }
protected override void OnStart() { label = "Conejo V3 " + Symbol.Code + " " + TimeFrame.ToString(); hmafast = Indicators.GetIndicator <HMAfast>(FastPeriods); hmaslow = Indicators.GetIndicator <HMAslow>(SlowPeriods); _macd = Indicators.MacdHistogram(LongCycle, ShortCycle, Period); rsi = Indicators.RelativeStrengthIndex(Source, Periods); _SSR = Indicators.GetIndicator <SinewaveSupportResistance>(MarketSeries, 0.07); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; }
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; }
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; }
protected override void OnStart() { hmafast = Indicators.GetIndicator <HMAfast>(5); hmaslow = Indicators.GetIndicator <HMAslow>(31); _macd = Indicators.MacdHistogram(LongCycle, ShortCycle, Period); HmaDaySeries = MarketData.GetSeries(TimeFrame.Hour4); hmaSignal = Indicators.GetIndicator <HMASignals>(HmaDaySeries, 21, false, false, 3, false, 24); var dailySeries = MarketData.GetSeries(TimeFrame.Daily); atr = Indicators.AverageTrueRange(dailySeries, 20, MovingAverageType.Simple); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; }
protected override void OnStart() { cBotLabel = "Jaws V1" + " " + Symbol.Code; hmafast = Indicators.GetIndicator <HMAfast>(FastPeriods); hmaslow = Indicators.GetIndicator <HMAslow>(SlowPeriods); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; // Start Time is the same day at 08:00:00 Server Time _startTime = Server.Time.Date.AddHours(StartTime); // Stop Time is the same day at 21:00:00 _stopTime = Server.Time.Date.AddHours(StopTime); Print("Start Time {0},", _startTime); Print("Stop Time {0},", _stopTime); }
protected override void OnStart() { cBotLabel = "La Tortuga V3 Slow" + Symbol.Code + " " + TimeFrame.ToString(); hmafast = Indicators.GetIndicator <HMAfast>(FastPeriods); hmaslow = Indicators.GetIndicator <HMAslow>(SlowPeriods); HmaDaySeries = MarketData.GetSeries(TimeFrame.Hour); hmaSignal = Indicators.GetIndicator <HMASignals>(HmaDaySeries, 21, false, false, 3, false, 24); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; // Start Time is the same day at 07:00:00 Server Time _startTime = Server.Time.Date.AddHours(StartTime); // Stop Time is the same day at 20:00:00 _stopTime = Server.Time.Date.AddHours(StopTime); Print("Start Time {0},", _startTime); Print("Stop Time {0},", _stopTime); }
protected override void OnStart() { cBotLabel = "Jaws V1" + " " + Symbol.Code; hmafast = Indicators.GetIndicator <HMAfast>(5); hmaslow = Indicators.GetIndicator <HMAslow>(31); HmaDaySeries = MarketData.GetSeries(TimeFrame.Minute15); hmaSignal = Indicators.GetIndicator <HMAHTF>(HmaDaySeries, 21, false, false, 3, false, 24); Positions.Opened += PositionsOnOpened; Positions.Closed += PositionsOnClosed; _macd = Indicators.MacdHistogram(LongCycle, ShortCycle, Period); _emaFast = Indicators.ExponentialMovingAverage(Price, FastPeriods); // Start Time is the same day at 08:00:00 Server Time _startTime = Server.Time.Date.AddHours(StartTime); // Stop Time is the same day at 21:00:00 _stopTime = Server.Time.Date.AddHours(StopTime); Print("Start Time {0},", _startTime); Print("Stop Time {0},", _stopTime); }
protected override void OnStart() { hmafast = Indicators.GetIndicator <HMAfast>(FastPeriods); hmaslow = Indicators.GetIndicator <HMAslow>(SlowPeriods); }