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.

indicators.ema
 Post subject: indicators.ema Post rating: 0   New post Posted: Wed 10 Mar, 2010, 15:30 

User rating: 0
Joined: Mon 12 Oct, 2009, 10:03
Posts: 4
Hi.

indicators.ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)

what is timePeriod? is it in minutes or what?

Thanks!


 
 Post subject: Re: indicators.ema Post rating: 0   New post Posted: Thu 11 Mar, 2010, 10:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
The timePeriod is a number of subsequent values before the indicator calculating reference point.
For instance, we have EMA indicator with time period of 20. To calculate a value, it requires 20 subsequent prices before the indicator calculating reference point.
Please, take a look at the attached picture.
Please consider also this https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=5&t=2345


Attachments:
pictureType1.PNG [18.93 KiB]
Downloaded 615 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:  

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