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.

Advisable to have a separate class file that creates objects in chart ?
 Post subject: Advisable to have a separate class file that creates objects in chart ? Post rating: 0   New post Posted: Tue 30 Aug, 2016, 06:44 
User avatar

User rating: 0
Joined: Tue 23 Aug, 2016, 10:43
Posts: 5
Location: Singapore, Singapore
Hello,

i am working on building a GUI for my strategy so i would like to ask

1. is it advisable to create a separate class file that create a ICustomWidgetChartObject and the associating Swing components ?

2. If yes, how do i

2.1 put the files together.... in the same package or different package ?
2.2 call the methods in the class file from the strategy file ?
2.3 pass parameters or references from the strategy file to the class file

Many thanks and appreciation for advice..


 
 Post subject: Re: Advisable to have a separate class file that creates objects in chart ? Post rating: 0   New post Posted: Wed 31 Aug, 2016, 10:57 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
A simple way would be to use JForex API.
This way JForex will be a library in a custom project.
https://www.dukascopy.com/wiki/#Use_in_Eclipse


 

Jump to:  

  © 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