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.

how i protect my own strategies ?
 Post subject: how i protect my own strategies ? Post rating: 0   New post Posted: Wed 26 Sep, 2012, 13:07 

User rating: 0
Joined: Mon 24 Sep, 2012, 12:34
Posts: 3
Hi friend

in my mql4 have command..


int ccc = 123456 ;
int init()
{
if ( AccountNumber( ) != ccc) {
Alert("ERROR");
return (-1);
} else return (1);
}


What is command in jforex, because when compile dont job.. thanks


 
 Post subject: Re: how i protect my own strategies ? Post rating: 0   New post Posted: Wed 26 Sep, 2012, 13:14 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/wiki/#Account_Type_and_Login


 
 Post subject: Re: how i protect my own strategies ? Post rating: 0   New post Posted: Wed 26 Sep, 2012, 14:02 

User rating: 0
Joined: Mon 24 Sep, 2012, 12:34
Posts: 3
this command only resolve name

public void onStart(IContext context) throws JFException {
IConsole console = context.getConsole();
IEngine engine = context.getEngine();
console.getOut().println("Account type: " + engine.getType() + " login: " + engine.getAccount());
}

i need dont trade diferent account name.


 
 Post subject: Re: how i protect my own strategies ? Post rating: 0   New post Posted: Wed 26 Sep, 2012, 20:44 

User rating: 0
Joined: Mon 24 Sep, 2012, 12:34
Posts: 3
How i did ?


 

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