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.

a question about indicator's source code
 Post subject: a question about indicator's source code Post rating: 0   Post Posted: Thu 03 Oct, 2013, 14:21 
User avatar

User rating: 0
Joined: Wed 28 Mar, 2012, 06:41
Posts: 25
Location: China, Beijing
when I read the some indicators' source code.
but I did not finde the javasrcipt code..where are they hiding?
the indicator's code is so difficult to read..




/**
* <b>NOTE: </b> The calculate logic of this indicator is implemented in JavaScript.
* Please, update the corresponding JS code in case of updating of this class.
* @author anatoly.pokusayev
*
*/

public class RSIIndicator implements IIndicator {


 
 Post subject: Re: a question about indicator's source code Post rating: 0   Post Posted: Thu 03 Oct, 2013, 20:05 
User avatar

User rating: 94
Joined: Mon 06 Feb, 2012, 12:22
Posts: 357
Location: Portugal, Castelo Branco
Hi

This means the developed java code is made based on some javascript code...
The startegy itself do not use any javascript.

Trade well


 
 Post subject: Re: a question about indicator's source code Post rating: 1   Post Posted: Fri 04 Oct, 2013, 00:25 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
This is probably just some legacy left in there from the past.

The actual calculation is in there, in the calculate method().
If you find it difficult, try to search for RSI formula on the net. If you 'know' what you are reading, it is easier...


 

Jump to:  

  © 1998-2026 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