public void onStart(IContext context) throws JFException { this.indicators = context.getIndicators(); IIndicator pivot = indicators.getIndicator("PIVOT"); // How to enable "show historical levels" in Pivot indicator ?? // ......... context.getChart(instrument)t.add(indicators.getIndicator("PIVOT"), new Object[]{ Period.ONE_HOUR });}
context.getChart(instrument).add(indicators.getIndicator("PIVOT"), new Object[] {Period.ONE_HOUR, true});