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.

tick.getBid() not working?
 Post subject: tick.getBid() not working? Post rating: 0   New post Posted: Sat 17 Jan, 2015, 01:24 

User rating: 0
Joined: Sat 17 Jan, 2015, 01:22
Posts: 2
Location: United Kingdom,
Hi all, I'm a complete noob to jforex so please go easy on me if you can.

I have extensive background in mql4 programming and have recently switched over to jforex. Coming from the very concise mql4 book guide aimed at beginners I'm finding the resources very difficult to understand.

That being said, I'm making headway by reverse engineering codes. From what I understand, the current bid is called via tick.getBid() in other codes. However when I attempt to use this in my code and compile it I get the error message "tick cannot be resolved" what does this mean?

Thanks, dek


 
 Post subject: Re: tick.getBid() not working? Post rating: 0   New post Posted: Tue 20 Jan, 2015, 09:48 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi dekpips!

Have you tried to read our wiki (https://www.dukascopy.com/wiki/) and especially this tutorial https://www.dukascopy.com/wiki/#Strategy_Tutorial?

"X tick cannot be resolved" is Java compilation error which means that you are trying to access variable that is not available from given scope. Consider reading some Java tutorials to understand this topic better (you can easily google it).


 

Jump to:  

  © 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