예제 #1
0
        private byte m_intensity; // 0-255

        protected override void Create()
        {
            m_lowerband = new VariableSeries <Double>(this);
            m_upperband = new VariableSeries <Double>(this);
            volstddev   = new VolatilityStdDev_ClosedOnly(this);

            Plot1 = AddPlot(new PlotAttributes("UpperBand", 0, Color.Green, Color.Empty, 1, 0, true));
            Plot2 = AddPlot(new PlotAttributes("LowerBand", 0, Color.Red, Color.Empty, 1, 0, true));

            m_IndicatorArea = new AreaValue();
            isCSDRegistred  = false;
        }
예제 #2
0
        protected override void Create()
        {
            m_averagefc1 = new AverageFC(this);
            m_lowerband  = new VariableSeries <Double>(this);
            m_upperband  = new VariableSeries <Double>(this);
            Plot1        =
                AddPlot(new PlotAttributes("UpperBand", 0, Color.Green, Color.Empty, 1, 0, true));
            Plot2 =
                AddPlot(new PlotAttributes("LowerBand", 0, Color.Red, Color.Empty, 1, 0, true));
            Plot3 =
                AddPlot(new PlotAttributes("MidLine", 0, Color.Gray, Color.Empty, 1, 0, true));

            m_IndicatorArea = new AreaValue();
            isCSDRegistred  = false;
        }
예제 #3
0
        private byte m_intensity; // 0-255

        protected override void Create()
        {
            m_lowerband = new VariableSeries <Double>(this);
            m_upperband = new VariableSeries <Double>(this);

            mean_absolute_difference_fn       = new MeanAbsoluteDifference(this);
            mean_absolute_difference_delta_fn = new MeanAbsoluteDifference_Delta(this);

            Plot1 = AddPlot(new PlotAttributes("UpperBand", 0, Color.Green, Color.Empty, 1, 0, true));
            Plot2 = AddPlot(new PlotAttributes("LowerBand", 0, Color.Red, Color.Empty, 1, 0, true));

            m_IndicatorArea = new AreaValue();
            isCSDRegistred  = false;
            delta           = false;
        }