Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Indicator Calculate Method Study
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57572
Page 1 of 1

Author:  claudiozeccolella [ Tue 02 Feb, 2021, 21:06 ]
Post subject:  Indicator Calculate Method Study

Hi All ,

I would like to share with you the study I've done over Indicators calculate method hoping to help someone to better figure out the " Essential Data " needed.

This simple tool allows you to change Lookback , Lookforward , EMA Period and Input Data in real time in order to print the following values :

- startIndex / endIndex
- inputs length
- outputs length
- getLookback()
- getLookforward()
- getFirstValueIndex()
- getLastValueIndex()
- numberOfElements
- EMA FirstValueIndex
- EMA LastValueIndex
- EMA numberOfElements
- EMA getLookback()
- EMA getLookforward()
- Calculate Calls Counter

The first call of the calculate method fills the input array with all available bars while the second call focus on the last or current forming bar.

Please C&C are welcome. Indicators in attachment.
Kind Regards

Claudio

Attachments:
File comment: IndicatorEssentialData 0.1beta
EssentialData.jfx [5.98 KiB]
Downloaded 167 times

  Page 1 of 1