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.

Indicator argument definition
 Post subject: Indicator argument definition Post rating: 0   New post Posted: Thu 28 Feb, 2013, 22:52 

User rating: 0
Joined: Thu 28 Feb, 2013, 21:42
Posts: 2
Location: United KingdomUnited Kingdom
Hi, my apologies if this question is too stupid; I'm trying to find the documentation for an indicator, more precisely an argument, the dot operator gives the definition as:

double linearReg(Instrument param0, Period param1, OfferSide param2, IIndicators$AppliedPrice param3, int param4, int param5) throws com.dukascopy.api.JFException

which is fine and obviously for the first argument the parameter is an instrument type which is self explanatory and so for paramaters 1,2,and 3. So what are paramaters 4 and 5, obviously type int but its a bit hard to work out? Normally you look up in the documentation but I can't find in the wiki manual any info. Am I being blind? :shock: Is there info somewhere else?

Thanks in advance.


 
 Post subject: Re: Indicator argument definition Post rating: 0   New post Posted: Fri 01 Mar, 2013, 08:39 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You need to attach the java sources to see the argument names, try downloading the latest JForex-SDK, see:
https://www.dukascopy.com/wiki/#Use_in_Eclipse


 
 Post subject: Re: Indicator argument definition Post rating: 0   New post Posted: Fri 01 Mar, 2013, 17:56 

User rating: 0
Joined: Thu 28 Feb, 2013, 21:42
Posts: 2
Location: United KingdomUnited Kingdom
Thanks very much.
Just trying to compile and run sdk and i doesn't seem to except my username and password (which are correct). I notice it addressing a demo account (which I don't have), can i log into my live account. I tried changing the url from
private static String jnlpUrl = "https://www.dukascopy.com/client/demo/jclient/jforex.jnlp";
to:
private static String jnlpUrl = "https://www.dukascopy.com/client/live/jclient/jforex.jnlp";

Still doesn't work.
Any Ideas?

Oh i should say I'm running netbeans as well rather than eclipse because i prefer it.


 
 Post subject: Re: Indicator argument definition Post rating: 0   New post Posted: Mon 04 Mar, 2013, 09:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
For live accounts, you either need to us captcha, see:
viewtopic.php?f=65&t=45834&p=66730
or contact [email protected] to register a static ip address to your account.


 

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