Dukascopy
 
 
Wiki JStore Search Login

Candle body, nose etc. calculation its wrong (bug)
 Post subject: Candle body, nose etc. calculation its wrong (bug) Post rating: 0   New post Posted: Thu 17 Dec, 2015, 10:36 
User avatar

User rating: 0
Joined: Thu 19 Nov, 2015, 23:07
Posts: 14
Location: PolandPoland
What's the result?
Calculation candle: body, nose, tail and etc.
Its ok only with currency JPY

Screens in the Annex
Image
Image


Attachments:
EUR-JPY.png [31.11 KiB]
Downloaded 540 times
EUR-USD.png [32.56 KiB]
Downloaded 524 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.
 
 Post subject: Re: Candle body, nose etc. calculation its wrong Post rating: 0   New post Posted: Thu 17 Dec, 2015, 13:38 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi,

I do remember this strategy as I develop it while ago ..Could you please attach it to this thread so that I can check it ?

Thanks in advance


 
 Post subject: Re: Candle body, nose etc. calculation its wrong Post rating: 0   New post Posted: Thu 17 Dec, 2015, 23:14 
User avatar

User rating: 0
Joined: Thu 19 Nov, 2015, 23:07
Posts: 14
Location: PolandPoland
Any strategy for the calculation of candles
Example:


Attachments:
PinBar1.vfs [59.49 KiB]
Downloaded 248 times
eur_30_buy.vfs [63.41 KiB]
Downloaded 261 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.
 
 Post subject: Re: Candle body, nose etc. calculation its wrong Post rating: 0   New post Posted: Fri 18 Dec, 2015, 12:26 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi,

I don't see what is wrong when testing the second example " eur_30_buy.vfs"
All variables looks okay:
Image

Beside that, I've noticed the following:
-Make sure you're considering the pip size of the default instrument if you make calculations with manual inputs to consider JPY pip size.
-Also, when working with the Ask side, be sure to change that as well in your "Get historical candle" blocks

Else, please describe in detail the problem that you're facing

Cheers


Attachments:
USDJPY.JPG [90.84 KiB]
Downloaded 433 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.
 
 Post subject: Re: Candle body, nose etc. calculation its wrong Post rating: 0   New post Posted: Fri 18 Dec, 2015, 22:48 
User avatar

User rating: 0
Joined: Thu 19 Nov, 2015, 23:07
Posts: 14
Location: PolandPoland
Only that all the JPY pairs are ok, but the rest is wrong

CHF/JPY - ok
CAD/JPY - ok
EUR/JPY - ok
USD/JPY - ok


CHF/SGD - bad
CAD/CHF - bad
USD/CAD - bad
EUR/USD - bad
and other pair is wrong

ONLYL: subtraction it's wrong
Image
Image

Please report it as a bug in VF


Attachments:
2015-12-19_021818.png [22.45 KiB]
Downloaded 398 times
2015-12-19_021313.png [23.16 KiB]
Downloaded 469 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.
 
 Post subject: Re: Candle body, nose etc. calculation its wrong (bug) Post rating: 0   New post Posted: Tue 29 Dec, 2015, 15:33 
Visual JForex expert at Dukascopy
User avatar

User rating: 4
Joined: Fri 06 Feb, 2009, 16:34
Posts: 130
This problem repeats on Historical Tester or Realtime?


 
 Post subject: Re: Candle body, nose etc. calculation its wrong (bug) Post rating: 0   New post Posted: Wed 30 Dec, 2015, 11:00 
User avatar

User rating: 0
Joined: Thu 19 Nov, 2015, 23:07
Posts: 14
Location: PolandPoland
Realtime and Historical Tester
Image


Attachments:
2015-12-30_105956.png [26.18 KiB]
Downloaded 375 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.
 
 Post subject: Re: Candle body, nose etc. calculation its wrong (bug) Post rating: 0   New post Posted: Tue 05 Jan, 2016, 18:55 
Visual JForex expert at Dukascopy
User avatar

User rating: 4
Joined: Fri 06 Feb, 2009, 16:34
Posts: 130
I did check several times for EUR/USD and strategy eur_30_buy and I cant repeat your problem.
Body and Tail values calculated correctly, see screenshoot:

Image


Attachments:
Body&Tail.png [62.96 KiB]
Downloaded 429 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.
 
 Post subject: Re: Candle body, nose etc. calculation its wrong (bug) Post rating: 0   New post Posted: Thu 07 Jan, 2016, 13:12 
User avatar

User rating: 0
Joined: Thu 19 Nov, 2015, 23:07
Posts: 14
Location: PolandPoland
What is that:
1.6E-4 ?? - why is not this 0.00016
1.8E-4 ??
Image

That's how I set this condition:
Image


Attachments:
2016-01-07_135013.png [16.27 KiB]
Downloaded 367 times
2016-01-07_130947.png [19.38 KiB]
Downloaded 378 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.
 
 Post subject: Re: Candle body, nose etc. calculation its wrong (bug) Post rating: 0   New post Posted: Fri 08 Jan, 2016, 16:15 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi

Generally speaking, in computer programming, such decimals might be displayed as such. 1.6E-4 is equivalent to 0.000016 so E4 is the number of 0.
More information in the below link
https://en.wikipedia.org/wiki/Scientific_notation

Cheers


 

Jump to:  

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