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.

Wrong getOpenPrice
 Post subject: Wrong getOpenPrice Post rating: 0   New post Posted: Wed 26 Nov, 2014, 09:42 
User avatar

User rating: 0
Joined: Tue 28 May, 2013, 16:00
Posts: 37
Location: Hungary, Győr
Hi!

Does anyone know a solution to this?
Why is that, that the Sell.getOpenPrice gives back a different value to the SELTWO block? :?:
If the Java file has been run, then it writes the vaues to the Hava console. The problem is, that it won't open the 2nd SELL position, and it won't open it, becuase the are6 digits after the decimal pont at "Sell.getOpenPrice",even though it only allows 5. How can it be changed to five digits?

Thank you!


Attachments:
GaborStrat.java [21.34 KiB]
Downloaded 96 times
GaborStrat.jfx [26.2 KiB]
Downloaded 93 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: Wrong getOpenPrice Post rating: 0   New post Posted: Wed 26 Nov, 2014, 10:50 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi!

You should ask questions about VisualJForex in corresponding forum section: viewforum.php?f=138


 
 Post subject: Re: Wrong getOpenPrice Post rating: 0   New post Posted: Thu 27 Nov, 2014, 12:20 
User avatar

User rating: 0
Joined: Tue 28 May, 2013, 16:00
Posts: 37
Location: Hungary, Győr
Hi!

Why does "Sell.getOpenPrice" making different values? :roll: Why does it generate a wrung number?If a number has been set once, why is it changing later? :( :(


 

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