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.

CandleFilter
 Post subject: CandleFilter Post rating: 0   New post Posted: Thu 27 Dec, 2012, 14:06 

User rating: 0
Joined: Tue 11 Sep, 2012, 09:17
Posts: 4
The Jforex-plattform provides the following daily Candles filtration options:

a) Merge Sunday Daily candles into Monday Daily candles
b) Filter all Sunday daily candles
c) Sunday Daily Candles Filter is disabled

I only found the following filter enums in the API but they are not properly described:

ALL_FLATS
Filter all flats
NO_FILTER
Don't filter anything
WEEKENDS
Filter flats at the weekends (21:00 or 22:00 Friday - 21:00 or 22:00 Sunday)


1) What is meant with 'flats' ?
2) how can I achieve a), b), c)


 
 Post subject: Re: CandleFilter Post rating: 0   New post Posted: Thu 27 Dec, 2012, 15:30 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
AgenaTrader wrote:
I only found the following filter enums in the API but they are not properly described:
Please specify which place you find being improper.
AgenaTrader wrote:
1) What is meant with 'flats' ?
candle with open=high=low=close AND volume=0.
AgenaTrader wrote:
) how can I achieve a), b), c)
You pass either of the three periods:
https://www.dukascopy.com/client/javadoc/com/dukascopy/api/Period.html#DAILY
https://www.dukascopy.com/client/javadoc/com/dukascopy/api/Period.html#DAILY_SKIP_SUNDAY
https://www.dukascopy.com/client/javadoc/com/dukascopy/api/Period.html#DAILY_SUNDAY_IN_MONDAY


 

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