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.

Indicator Calculate Method Study
 Post subject: Indicator Calculate Method Study Post rating: 0   New post Posted: Tue 02 Feb, 2021, 21:06 

User rating: 0
Joined: Mon 01 Feb, 2021, 12:48
Posts: 1
Location: United KingdomUnited Kingdom
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 162 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 

Jump to:  

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