Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Documentation omission - calculating indicators on a custom price array http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=57071 |
Page 1 of 1 |
Author: | scotpip [ Thu 13 Jun, 2019, 19:41 ] |
Post subject: | Documentation omission - calculating indicators on a custom price array |
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. |
Page 1 of 1 |