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.

Basic problem with new strategy
 Post subject: Basic problem with new strategy Post rating: 0   New post Posted: Sat 30 Dec, 2017, 12:54 
User avatar

User rating: 0
Joined: Fri 29 Dec, 2017, 17:44
Posts: 4
Location: Poland,
Hi,

I've just started using JForex3 and as it is shown in tutorial i've right-clicked on Strategies in Navigator panel in order to create a new strategy.
The code which appeared have some errors and didn't want to compile.
First: class name -"The hierarchy of the type Strategy1 is inconsistent" - i have named the class the same as java file.
Second: throws JFException - "No exception of type JFException can be thrown; an exception type must be a subclass of Throwable".

I know that this is totally basic problem but... could someone help me?


 
 Post subject: Re: Basic problem with new strategy Post rating: 0   New post Posted: Thu 04 Jan, 2018, 13:13 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please provide code that would reproduce the issue.


 
 Post subject: Re: Basic problem with new strategy Post rating: 0   New post Posted: Fri 05 Jan, 2018, 17:33 
User avatar

User rating: 0
Joined: Fri 29 Dec, 2017, 17:44
Posts: 4
Location: Poland,
https://zapodaj.net/55117fd473dae.jpg.html
https://zapodaj.net/6ffbd2daa86e0.jpg.html

This is demo account, could that be a problem?


 

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