Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

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

Documentation omission - calculating indicators on a custom price array
 Post subject: Documentation omission - calculating indicators on a custom price array Post rating: 0   New post Posted: Thu 13 Jun, 2019, 19:41 

User rating: 2
Joined: Thu 07 Nov, 2013, 12:15
Posts: 118
Hi

This seems to have fallen out of the Wiki.

The Indicator Calculation page does say it can be done:

Custom price array - indicator calculation from plain java array

But unless I'm missing something there's no additional documentation or examples.

A Google search threw up an old example called FractalsOnArray.java that still works, but it seems to be an orphaned file that isn't linked to in the Wiki:

https://www.dukascopy.com/wiki/files/f6 ... 3e3d1c.txt

The relevant signature
setInputParameter(int index, java.lang.Object array)
is in the Javadoc, but it's hard to find and the comment is rather unclear and doesn't include an example.

So it was a bit of a struggle to figure this out. It would be a service to users if you could add this back into the Wiki.


 

Jump to:  

cron
  © 1998-2011 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