|
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.
Jforex API Development Limitations in Netbeans |
DiamondCutter
|
Post subject: Jforex API Development Limitations in Netbeans |
Post rating: 0
|
Posted: Sun 14 Apr, 2013, 15:08
|
|
User rating: 0
Joined: Wed 03 Apr, 2013, 13:03 Posts: 17 Location: United States, Jersey City
|
I may be wanting too much. I want the best of both worlds.
I want to be able to run, back test, step through and debug my strategies and indicators in Netbeans and launch the jforex platform to utilize the historical testing interface. So far, I can run my code in netbeans but can't figure out how to instantiate a chart and test against historical data.
Am I asking too much from the system?
I can code in beans and run in jforex, no problem. But, when my app misses a signal or does something it shouldn't i'd like to be able to set a breakpoint to interrogate the variables.
How can I do this? And please don't just shoot me a like to the wiki. I have read the wiki many many times and can't find the answer. Please give me a detailed cogent answer.
Less than a month using jforex and being a .net c# developer for 11 yrs the switch to java and jforex has been an overall wonderful experience. This so much better than mt4 on so many levels. GREAT JOB
Thanks
|
|
|
|
 |
jlongo
|
Post subject: Re: Jforex API Development Limitations in Netbeans |
Post rating: 0
|
Posted: Sun 14 Apr, 2013, 15:42
|
|
User rating: 94
Joined: Mon 06 Feb, 2012, 12:22 Posts: 357 Location: Portugal, Castelo Branco
|
Hi DiamondCutter:
Have you seen TesterMainGuiMode.java ??? With the example provided on this class you can see how to do that and extend to your needs. Some limitations may apply...
Trade well
JL
|
|
|
|
 |
DiamondCutter
|
Post subject: Re: Jforex API Development Limitations in Netbeans |
Post rating: 0
|
Posted: Sun 14 Apr, 2013, 16:49
|
|
User rating: 0
Joined: Wed 03 Apr, 2013, 13:03 Posts: 17 Location: United States, Jersey City
|
Alright, I was able to download testmainguimode, simplestrategy and simpleindicator and run it. Doesn't do much but that is probably by design. So, I inserted the SMASimpleStrategy into it and voila, it ran beautifully.
It only did the last day. I will work on passing in a start and end date.
The reason for my earlier question was I was trying to avoid having to write all of the code to build out the jforex infrastructure. Apparently, you have done a lot of it for us. That's awesome. Great Job.
Thanks for your help.
|
|
|
|
 |
API Support
|
Post subject: Re: Jforex API Development Limitations in Netbeans |
Post rating: 0
|
Posted: Mon 15 Apr, 2013, 08:03
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|