else if (State == State.DataLoaded) // customize this. { // initialize strategy event logger. AddChartIndicator(EMA(Close, 9)); AddChartIndicator(EMA(Close, 20)); ChartIndicators[0].Plots[0].Brush = Brushes.Red; ChartIndicators[1].Plots[0].Brush = Brushes.Green; AddChartIndicator(HH7()); //AddChartIndicator(DonchianChannel2(20)); AddChartIndicator(SMA(Close, 50)); AddChartIndicator(CustomCCI(100)); AddChartIndicator(RSI(14, 3)); // AddChartIndicator(MFI(14)); //AddChartIndicator(PullbackSystem()); // AddChartIndicator(ATR(20)); // AddChartIndicator(DonchianLSMAIndicator(DonchianPe riod, LSMAPeriod)); if (Cbi.Connection.PlaybackConnection != null) { playbackConnection = true; } }
i thought, i can use a partial class and know the conceptual idea but not on how i can appy to ninjatrader.
any ideas and suggestions.
Comment