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 to add another instrument in my strategy ?
 Post subject: How to add another instrument in my strategy ? Post rating: 0   New post Posted: Mon 01 Jul, 2013, 12:06 

User rating: 0
Joined: Mon 19 Dec, 2011, 14:21
Posts: 12
Location: SwitzerlandSwitzerland
I run a strategy for 6 pairs, a strategy for long position, a strategy for short positions, that means 12 strategy running. For the Jforex performance, is it better to implement these pairs into one strategy as configurables ?

If yes, can you provide the line codes to add for one more pair as configurable as an example and i will correct my strategy accordingly as I don't know how to write the code.

I attach the basic strategy code to adapt for one more pair.

Thank you


Attachments:
CCI.java [13.58 KiB]
Downloaded 350 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: How to add another instrument in my strategy ? Post rating: 0   New post Posted: Mon 01 Jul, 2013, 12:13 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Edbegood wrote:
I don't know how to write the code.
We don't do coding for you in this forum, we can only advise you on scale of example strategies.
For strategy programming issues please resort to the programmers register: https://www.dukascopy.com/swiss/english/forex/jforex/external/
For learning java along with JForex-API see:
https://www.dukascopy.com/wiki/#Strategy_Tutorial
https://docs.oracle.com/javase/tutorial/


 

Jump to:  

  © 1998-2026 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