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 unclearness
 Post subject: Indicator unclearness Post rating: 0   New post Posted: Wed 04 Apr, 2012, 08:02 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
Hello,

if I use indicator on Monday morning for Period.ONE_HOUR, timePeriod = 50 (use time from to) and Filter.WEEKENDS (or ALL_FLATS) filter filters about 40 timePeriod. Indicator value will be calculate only from about 10 timePeriod?

This unclearness is if I use number of candles before after too.

Why is usually not parameter Filter and parametr timePeriod for one method?

How does work situation if in parameters are timePeriod and time from and to?

Wiki does not mean those situations.

Thanks


 
 Post subject: Re: Indicator unclearness Post rating: 0   New post Posted: Wed 04 Apr, 2012, 09:08 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
lifon wrote:
if I use indicator on Monday morning for Period.ONE_HOUR, timePeriod = 50 (use time from to) and Filter.WEEKENDS (or ALL_FLATS) filter filters about 40 timePeriod. Indicator value will be calculate only from about 10 timePeriod?
No it will take 50 bars after application of the filter. Hence, the first forty bars will get taken from the previous week.
lifon wrote:
Why is usually not parameter Filter and parametr timePeriod for one method?
In this period Filter.NO_FILTER gets used.
lifon wrote:
How does work situation if in parameters are timePeriod and time from and to?
There are two methods - one with filter and one without, both work as already described above.


 

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