{
double x = 0.0;
double y = 0.0;.
double a=0.0
double b=0.0;
double c=0.0
double d=0.0;
x = chart.BarsArray[0].Instrument.MasterInstrument.RoundToTickSize(chart .FixedPanelMaxRight);
y= chart.BarsArray[0].Instrument.MasterInstrument.RoundToTickSize(chart .FixedPanelMinRight);
a = chart.BarsArray[0].Instrument.MasterInstrument. RoundToTickSize(chart.FixedPanelMaxLeft);
b = chart.BarsArray[0].Instrument.MasterInstrument. RoundToTickSize (chart.FixedPanelMinLeft);
c = chart.BarsArray[0].Instrument.MasterInstrument. RoundToTickSize(chart. FixedPanelMaxOverlay);
d= chart.BarsArray[0].Instrument.MasterInstrument. RoundToTickSize (chart. FixedPanelMinOverlay);
int k = chart.GetYByValue(chart.BarsArray[0], x);
}
The following are the errors from Ninja Trader 8
1. NinjaTrader.Gui.Chart.ChartBars does not contain definition for ‘Instrument’ accepting a first argument of type ‘NinjaTrader.Gui.Chart.ChartBars’ could be found(are you missing a using directive or an assembly reference?)
2. NinjaTrader.Gui.Chart.ChartControl does not contain definition for ‘FixedPanelMaxRight and no extension method ‘FixedPanelMaxRight accepting a first argument of type ‘NinjaTrader.Gui.Chart. ChartControl could be found(are you missing a using directive or an assembly reference?)
3. NinjaTrader.Gui.Chart.ChartControl does not contain definition for ‘FixedPanelMinRight’ and no extension method ‘FixedPanelMinRight’ accepting a first argument of type ‘NinjaTrader.Gui.Chart. ChartControl could be found(are you missing a using directive or an assembly reference?)
4. NinjaTrader.Gui.Chart.ChartControl does not contain definition for ‘FixedPanelMaxLeft ‘and no extension method ‘FixedPanelMaxLeft accepting a first argument of type ‘NinjaTrader.Gui.Chart. ChartControl could be found(are you missing a using directive or an assembly reference?)
5. NinjaTrader.Gui.Chart.ChartControl does not contain definition for ‘FixedPanelMinLeft ‘and no extension method ‘FixedPanelMinLeft accepting a first argument of type ‘NinjaTrader.Gui.Chart. ChartControl could be found(are you missing a using directive or an assembly reference?)
6. NinjaTrader.Gui.Chart.ChartControl does not contain definition for ‘FixedPanelMaxOverlay’ and no extension method ‘FixedPanelMaxOverlay’ accepting a first argument of type ‘NinjaTrader.Gui.Chart. ChartControl could be found(are you missing a using directive or an assembly reference?)
7. NinjaTrader.Gui.Chart.ChartControl does not contain definition for ‘FixedPanelMinOverlay‘ and no extension method ‘FixedPanelMinOverlay accepting a first argument of type ‘NinjaTrader.Gui.Chart. ChartControl could be found(are you missing a using directive or an assembly reference?)
8. NinjaTrader.Gui.Chart.ChartControl does not contain definition for ‘GetByValue‘ and no extension method ‘GetByValue accepting a first argument of type ‘NinjaTrader.Gui.Chart. ChartControl could be found(are you mising a using directive or an assembly reference?)
So may I know how we solve the above issues..? or does Ninja Trader 8 future release have more completed work on these ChartControl areas .?
Comment