Replies

felipetto
25 Oct 2014, 06:31

RE:

Spotware said:

If you don't want to expose DataSeries from indicator, you don't need to use Output attribute. But in this case you need to initialize DataSeries manually using CreateDataSeries method:

        [Output("VisibleDataSeries")]
        public IndicatorDataSeries VisibleDataSeries { get; set; }

        private IndicatorDataSeries HiddenDataSeries;

        protected override void Initialize()
        {
            HiddenDataSeries = CreateDataSeries();
        }

 

Can I set the visibility of the indicator at runtime?.. starting visible and then hide (vice-versa)!


@felipetto