Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

How to enable showing historical levels in Pivot indicator?
 Post subject: How to enable showing historical levels in Pivot indicator? Post rating: 0   New post Posted: Tue 08 Sep, 2015, 08:29 
User avatar

User rating: 2
Joined: Wed 29 Jan, 2014, 10:18
Posts: 30
Location: Austria,
Hi

How to enable "show historical levels" in Pivot indicator?

 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 });

}



Thanks


 
 Post subject: Re: How to enable showing historical levels in Pivot indicator? Post rating: 0   New post Posted: Thu 17 Sep, 2015, 06:08 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
context.getChart(instrument).add(indicators.getIndicator("PIVOT"), new Object[] {Period.ONE_HOUR, true});


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com