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.

Help with Strategy
 Post subject: Help with Strategy Post rating: 0   New post Posted: Fri 18 Jan, 2013, 13:49 

User rating: 0
Joined: Mon 03 Dec, 2012, 09:55
Posts: 30
Hi

I am getting some strange stuff with the attchaeed.

1) the atr call seems to be returning no's that are 10 times too small ...
2) the call to submit order ... I am not getting an exception but getting no order greated ?

Thanks for any insight

Paul


Attachments:
StochStrategy.java [7.1 KiB]
Downloaded 287 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: Help with Strategy Post rating: 0   New post Posted: Mon 21 Jan, 2013, 16:55 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
murfinp wrote:
1) the atr call seems to be returning no's that are 10 times too small ...
How did you determine that? Did you compare the values to the chart? Try the following approach:
https://www.dukascopy.com/wiki/#Add_indicators_on_chart/Include_in_OHLC
murfinp wrote:
2) the call to submit order ... I am not getting an exception but getting no order greated ?
Consider logging received messages in onMessage if that does not reveal the probelm then consider adding extra logging statements to see what is happening.


 

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