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.

Questions on pivots
 Post subject: Questions on pivots Post rating: 0   Post Posted: Mon 05 Jul, 2010, 23:49 

User rating: 0
Joined: Fri 07 May, 2010, 02:59
Posts: 61
* What is the name (in the API) of 'standard' pivots (in the gui, it's just called PIVOT)
* What is used for calculating the pivots? The previous <period>'s OHLC values & whatnot?
* Is there a way to affect what criteria are used for calculating pivots? For example, some people go off the start of a day, the closing price of the previous <session> close price, and other oddities.

-Brian


 
 Post subject: Re: Questions on pivots Post rating: 0   Post Posted: Wed 07 Jul, 2010, 15:14 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Quote:
What is the name (in the API) of 'standard' pivots (in the gui, it's just called PIVOT)
Thank you for your attention. This will be added with next release. Meanwhile you can use IIndicators.calculateIndicator.
Quote:
What is used for calculating the pivots? The previous <period>'s OHLC values & whatnot?
For a pivot calculation is used last candle. Pivot could be built also on, for example, one day candle even if a chart uses the one minute candle.
Quote:
Is there a way to affect what criteria are used for calculating pivots? For example, some people go off the start of a day, the closing price of the previous <session> close price, and other oddities.
We are not sure what exactly you want to do, but at the moment, in a real mode there isn't a way to affect data, that are used for the pivot indicator calculations, because pivot indicators are calculated on previous candle. However it is possible to create historicalKindOfPivot, that could be used in a Historical Tester.


 

Jump to:  

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