Output that is not plotted
17 Dec 2013, 21:04
is it possible to have an indicator output that is not plotted?
Output that is not plotted
17 Dec 2013, 21:04
is it possible to have an indicator output that is not plotted?
Spotware
18 Dec 2013, 17:34
There will be an option to hide the output from the settings window of the indicator.
If you like to implement this right now you could omit the Output attribute ( [Output] ) from the IndicatorDataSeries and call CreateDataSeries to initialize it, then in order to reference it, you need to call the Calculate method.
public class OutputNone : Indicator { public IndicatorDataSeries Result { get; set; } protected override void Initialize() { Result = CreateDataSeries(); } //...To reference the above
OutputNone output; [Output("Main")] public IndicatorDataSeries Result { get; set; } protected override void Initialize() { output = Indicators.GetIndicator<OutputNone>(); } public override void Calculate(int index) { // Calculate value at specified index output.Calculate(index); Result[index] = output.Result[index]; }@Spotware