/// <summary>
        /// Changes the quantity of an order by clicking on the chart.
        /// </summary>
        public ChangeQuantity ChangeQuantity(IDataSeries input)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.ChangeQuantity(input));
        }
Beispiel #2
0
        /// <summary>
        /// Enter the description for the new custom indicator here
        /// </summary>
        public RunningWithTheWolves_Indicator RunningWithTheWolves_Indicator(IDataSeries input, System.Boolean shouldIGoLong, System.Boolean shouldIGoShort)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.RunningWithTheWolves_Indicator(input, shouldIGoLong, shouldIGoShort));
        }
Beispiel #3
0
        /// <summary>
        /// Show seasonal trends
        /// </summary>
        public Seasonal_Indicator Seasonal_Indicator(IDataSeries input, SeasonalType seasonalType)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.Seasonal_Indicator(input, seasonalType));
        }
        /// <summary>
        /// PopGun Bar Pattern
        /// </summary>
        public PopGun_Indicator PopGun_Indicator(IDataSeries input, System.Int32 popGunExpires, System.Boolean isSnapshotActive, System.Boolean isEvaluationActive)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.PopGun_Indicator(input, popGunExpires, isSnapshotActive, isEvaluationActive));
        }
        /// <summary>
        /// Plots the Fibonacci Lines of the current session.,
        /// </summary>
        public Fibonacci_Current_Session Fibonacci_Current_Session(IDataSeries input)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.Fibonacci_Current_Session(input));
        }
Beispiel #6
0
        /// <summary>
        /// Compare the current value of an indicator to latest high value of the indicator in a defined period of time.
        /// </summary>
        public HighestHighValue_Indicator HighestHighValue_Indicator(IDataSeries input)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.HighestHighValue_Indicator(input));
        }
        /// <summary>
        /// Basic indicator example for SMA crossover
        /// </summary>
        public Example_Indicator_SMA_CrossOver_Advanced Example_Indicator_SMA_CrossOver_Advanced(IDataSeries input, System.Int32 fastSma, System.Int32 slowSma, System.Boolean isLongEnabled, System.Boolean isShortEnabled)
        {
            if (IsInInit && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'OnInit()' method");
            }

            return(LeadIndicator.Example_Indicator_SMA_CrossOver_Advanced(input, fastSma, slowSma, isLongEnabled, isShortEnabled));
        }
Beispiel #8
0
        /// <summary>
        /// Basic indicator example for SMA crossover
        /// </summary>
        public Example_Indicator_SMA_CrossOver_Basic Example_Indicator_SMA_CrossOver_Basic(IDataSeries input)
        {
            if (IsInInit && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'OnInit()' method");
            }

            return(LeadIndicator.Example_Indicator_SMA_CrossOver_Basic(input));
        }
        /// <summary>
        /// Qualitative Quantitative Estimation. QQE is a combination moving average RSI + ATR.
        /// </summary>
        public QQE QQE(IDataSeries input, System.Int32 rSI_Period, System.Int32 sF)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.QQE(input, rSI_Period, sF));
        }
        /// <summary>
        /// Provides a signal in every even minute
        /// </summary>
        public DummyOneMinuteEven_Indicator DummyOneMinuteEven_Indicator(IDataSeries input)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.DummyOneMinuteEven_Indicator(input));
        }
Beispiel #11
0
        /// <summary>
        /// The mean reversion is the theory suggesting that prices and returns eventually move back towards the mean or average.
        /// </summary>
        public Mean_Reversion_Indicator Mean_Reversion_Indicator(IDataSeries input, System.Boolean isLongEnabled, System.Boolean isShortEnabled, System.Int32 bollinger_Period, System.Double bollinger_Standard_Deviation, System.Int32 momentum_Period, System.Int32 rSI_Period, System.Int32 rSI_Smooth, System.Int32 rSI_Level_Low, System.Int32 rSI_Level_High, System.Int32 momentum_Level_Low, System.Int32 momentum_Level_High)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.Mean_Reversion_Indicator(input, isLongEnabled, isShortEnabled, bollinger_Period, bollinger_Standard_Deviation, momentum_Period, rSI_Period, rSI_Smooth, rSI_Level_Low, rSI_Level_High, momentum_Level_Low, momentum_Level_High));
        }
        /// <summary>
        /// Prüft auf Gap und ob die nachfolgenden 15Mins Kerzen den Gap verstärken oder aufheben
        /// </summary>
        public ShowGap_Indicator ShowGap_Indicator(IDataSeries input, System.Decimal punkteGapMinProz, System.Decimal punkteGapMaxProz)
        {
            if (InInitialize && input == null)
            {
                throw new ArgumentException("You only can access an indicator with the default input/bar series from within the 'Initialize()' method");
            }

            return(LeadIndicator.ShowGap_Indicator(input, punkteGapMinProz, punkteGapMaxProz));
        }
        protected override void OnCalculate()
        {
            Occurred.Set(LeadIndicator.Lonely_Warrior_Indicator()[0]);

            PlotColors[0][0] = this.Plot0Color;
            OutputDescriptors[0].PenStyle  = this.Dash0Style;
            OutputDescriptors[0].Pen.Width = this.Plot0Width;

            PlotColors[1][0] = this.Plot1Color;
            OutputDescriptors[1].PenStyle  = this.Dash1Style;
            OutputDescriptors[1].Pen.Width = this.Plot1Width;
        }
Beispiel #14
0
        protected override void OnCalculate()
        {
            double rv = 0;

            if (LeadIndicator.Holy_Grail_Indicator(this.InSeries)[0] > 0 && LeadIndicator.Holy_Grail_Indicator(this.InSeries)[1] > 0 && LeadIndicator.Holy_Grail_Indicator(this.InSeries)[3] > 0)
            {
                rv = 1;
            }


            Occurred.Set(rv);

            PlotColors[0][0] = this.Plot0Color;
            OutputDescriptors[0].PenStyle  = this.Dash0Style;
            OutputDescriptors[0].Pen.Width = this.Plot0Width;
        }
Beispiel #15
0
 /// <summary>
 /// Show seasonal trends
 /// </summary>
 public Seasonal_Indicator Seasonal_Indicator(IDataSeries input, SeasonalType seasonalType)
 {
     return(LeadIndicator.Seasonal_Indicator(input, seasonalType));
 }
 /// <summary>
 /// Provides a signal in every even minute
 /// </summary>
 public DummyOneMinuteEven_Indicator DummyOneMinuteEven_Indicator()
 {
     return(LeadIndicator.DummyOneMinuteEven_Indicator(Input));
 }
 /// <summary>
 /// Provides a signal in every even minute
 /// </summary>
 public DummyOneMinuteEven_Indicator DummyOneMinuteEven_Indicator(IDataSeries input)
 {
     return(LeadIndicator.DummyOneMinuteEven_Indicator(input));
 }
 /// <summary>
 /// Qualitative Quantitative Estimation. QQE is a combination moving average RSI + ATR.
 /// </summary>
 public QQE QQE(IDataSeries input, System.Int32 rSI_Period, System.Int32 sF)
 {
     return(LeadIndicator.QQE(input, rSI_Period, sF));
 }
Beispiel #19
0
 /// <summary>
 /// The mean reversion is the theory suggesting that prices and returns eventually move back towards the mean or average.
 /// </summary>
 public Mean_Reversion_Indicator Mean_Reversion_Indicator(IDataSeries input, System.Boolean isLongEnabled, System.Boolean isShortEnabled, System.Int32 bollinger_Period, System.Double bollinger_Standard_Deviation, System.Int32 momentum_Period, System.Int32 rSI_Period, System.Int32 rSI_Smooth, System.Int32 rSI_Level_Low, System.Int32 rSI_Level_High, System.Int32 momentum_Level_Low, System.Int32 momentum_Level_High)
 {
     return(LeadIndicator.Mean_Reversion_Indicator(input, isLongEnabled, isShortEnabled, bollinger_Period, bollinger_Standard_Deviation, momentum_Period, rSI_Period, rSI_Smooth, rSI_Level_Low, rSI_Level_High, momentum_Level_Low, momentum_Level_High));
 }
Beispiel #20
0
 /// <summary>
 /// The Coppock (Moving Average Convergence/Divergence) is a trend following momentum indicator that shows the relationship between two moving averages of prices.
 /// </summary>
 public Coppock_Indicator Coppock_Indicator()
 {
     return(LeadIndicator.Coppock_Indicator(Input));
 }
 /// <summary>
 /// Qualitative Quantitative Estimation. QQE is a combination moving average RSI + ATR.
 /// </summary>
 public QQE QQE(System.Int32 rSI_Period, System.Int32 sF)
 {
     return(LeadIndicator.QQE(Input, rSI_Period, sF));
 }
Beispiel #22
0
 /// <summary>
 /// The Coppock (Moving Average Convergence/Divergence) is a trend following momentum indicator that shows the relationship between two moving averages of prices.
 /// </summary>
 public Coppock_Indicator Coppock_Indicator(IDataSeries input)
 {
     return(LeadIndicator.Coppock_Indicator(input));
 }
 /// <summary>
 /// Basic indicator example for SMA crossover
 /// </summary>
 public Example_Indicator_SMA_CrossOver_Advanced Example_Indicator_SMA_CrossOver_Advanced(IDataSeries input, System.Int32 fastSma, System.Int32 slowSma, System.Boolean isLongEnabled, System.Boolean isShortEnabled)
 {
     return(LeadIndicator.Example_Indicator_SMA_CrossOver_Advanced(input, fastSma, slowSma, isLongEnabled, isShortEnabled));
 }
Beispiel #24
0
 /// <summary>
 /// Basic indicator example for SMA crossover
 /// </summary>
 public Example_Indicator_SMA_CrossOver_Basic Example_Indicator_SMA_CrossOver_Basic()
 {
     return(LeadIndicator.Example_Indicator_SMA_CrossOver_Basic(InSeries));
 }
Beispiel #25
0
 /// <summary>
 /// Basic indicator example for SMA crossover
 /// </summary>
 public Example_Indicator_SMA_CrossOver_Basic Example_Indicator_SMA_CrossOver_Basic(IDataSeries input)
 {
     return(LeadIndicator.Example_Indicator_SMA_CrossOver_Basic(input));
 }
Beispiel #26
0
 /// <summary>
 /// Basic indicator example for SMA crossover
 /// </summary>
 public Example_Condition_SMA_CrossOver_Advanced Example_Condition_SMA_CrossOver_Advanced(System.Int32 fastSma, System.Int32 slowSma, System.Boolean isLongEnabled, System.Boolean isShortEnabled)
 {
     return(LeadIndicator.Example_Condition_SMA_CrossOver_Advanced(InSeries, fastSma, slowSma, isLongEnabled, isShortEnabled));
 }
Beispiel #27
0
        protected override void OnCalculate()
        {
            //get the indicator
            Example_Indicator_SMA_CrossOver_Basic Example_Indicator_SMA_CrossOver_Basic = LeadIndicator.Example_Indicator_SMA_CrossOver_Basic();

            //get the value
            double returnvalue = Example_Indicator_SMA_CrossOver_Basic[0];

            //Condition should be drawn on a seperate panel
            this.IsOverlay = false;

            //set the value
            Occurred.Set(returnvalue);
        }
Beispiel #28
0
 /// <summary>
 /// Show seasonal trends
 /// </summary>
 public Seasonal_Indicator Seasonal_Indicator(SeasonalType seasonalType)
 {
     return(LeadIndicator.Seasonal_Indicator(Input, seasonalType));
 }
Beispiel #29
0
 /// <summary>
 /// Compare the current value of an indicator to latest high value of the indicator in a defined period of time.
 /// </summary>
 public HighestHighValue_Indicator HighestHighValue_Indicator()
 {
     return(LeadIndicator.HighestHighValue_Indicator(Input));
 }
Beispiel #30
0
 /// <summary>
 /// Compare the current value of an indicator to latest high value of the indicator in a defined period of time.
 /// </summary>
 public HighestHighValue_Indicator HighestHighValue_Indicator(IDataSeries input)
 {
     return(LeadIndicator.HighestHighValue_Indicator(input));
 }