first, my engish is far from perfect.
i created an indicator, had some troubles but is solved all of them.
The Indicator has multiple Plots, multble Timeframes and 13 Parameters.
On some Situations, i will print a Dot as Symbol for Creating an Order to validate the Indicator.
So i created a Strategy for Backtesting and i integrate the Indicator.
And here starts my troubles
I take Strategy "SampleMACrossOver" from NinjaTrade to check how it works.
My Code:
public class StrategyIndicatorTest : Strategy { private NinjaTrader.NinjaScript.Indicators._Labandowsky_Indicator indikator; protected override void OnStateChange() { if (State == State.SetDefaults) { Description = @"Enter the description for your new custom Strategy here."; Name = "StrategyIndicatorTest"; // This strategy has been designed to take advantage of performance gains in Strategy Analyzer optimizations // See the Help Guide for additional information IsInstantiatedOnEachOptimizationIteration = false; } else if (State == State.DataLoaded) { indikator = new NinjaTrader.NinjaScript.Indicators._Labandowsky_Indicator(5, 25, 30, 35, 40, 45, 50, 55, 150, 60, 60, 200, 200); //// Error AddChartIndicator(indikator); } else if (State == State.Configure) { AddDataSeries("BTCUSD", Data.BarsPeriodType.Second, 1, Data.MarketDataType.Last); } }
But in intellisense, all Parameters are shown, also in the code of the Indicator are 13 Parameters. I have no idea how i can solve this Problem.
Can you help me with this Problem?
Comment