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.

Using Schaff Trend Cycle indicator in strategy?
 Post subject: Using Schaff Trend Cycle indicator in strategy? Post rating: 0   New post Posted: Wed 07 Mar, 2018, 09:30 

User rating: 0
Joined: Fri 02 Mar, 2018, 04:23
Posts: 12
Location: Cambodia,
Hello,

I'd like to use the STC indicator in a strategy, but I'm not finding it in IIndicators.

Is it somewhere else?

Thanks.


 
 Post subject: Re: Using Schaff Trend Cycle indicator in strategy? Post rating: 0   New post Posted: Mon 12 Mar, 2018, 10:16 

User rating: 0
Joined: Fri 02 Mar, 2018, 04:23
Posts: 12
Location: Cambodia,
I have found a solution. For anyone else:

You can use the IIndicators.calculateIndicator method and for the functionName parameter pass in ST_CYCLE.

I took a pretty roundabout adventure to figure that out. I wonder if it is documented clearly anywhere?


 

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