Forex_Strategy_Builder.Trailing_Stop_Limit.Calculate C# (CSharp) Method

Calculate() public method

Calculates the indicator's components
public Calculate ( SlotTypes slotType ) : void
slotType SlotTypes
return void
        public override void Calculate(SlotTypes slotType)
        {
            // Saving the components
            Component = new IndicatorComp[1];

            Component[0]               = new IndicatorComp();
            Component[0].CompName      = "Trailing Stop for a transferred position";
            Component[0].DataType	   = IndComponentType.Other;
            Component[0].ShowInDynInfo = false;
            Component[0].FirstBar	   = 1;
            Component[0].Value	       = new double[Bars];

            return;
        }