Dukascopy
 
 
Wiki JStore Search Login

Wrong HeikinAshi-Values
 Post subject: Wrong HeikinAshi-Values Post rating: 0   New post Posted: Sun 04 Aug, 2013, 17:35 
User avatar

User rating: 1
Joined: Thu 15 Mar, 2012, 16:30
Posts: 20
I think I have found a Bug in the calculation of HeikinAshi-Candles.
If I calc. the HeikinAshi for the latest Renko-Brick the Open is different from the Heikin-Ashi shown on the Chart.
Example-Strategy and a Screenshot(Renkos are grayed out, only HA are shown) with the Problem is attached.

I know this comes from the Way Heikin-Ashi-Candles are calculated but shouldn't tha API-Function take care of this by starting the Calculation a few bars earlier?
Any S uggestions how to handle this?
Image


Attachments:
HeikinAshiOnRenko.java [2.08 KiB]
Downloaded 333 times
Clipboard01.png [4.14 MiB]
Downloaded 465 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-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