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.

printing in com.dukascopy.api.indicators?
 Post subject: printing in com.dukascopy.api.indicators? Post rating: 0   New post Posted: Fri 10 Sep, 2010, 02:21 

User rating: 1
Joined: Fri 26 Mar, 2010, 19:19
Posts: 116
Location: Canada
I am trying to write a new indicator. But I am encountering a lot of problems. It would be helpful to my debugging if I can print some values to the console. However, this doesn't work:

context.getConsole().getOut().print(text)


So how do I do a simple print to console in com.dukascopy.api.indicators?


 
 Post subject: Re: printing in com.dukascopy.api.indicators? Post rating: 0   New post Posted: Fri 10 Sep, 2010, 13:13 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Consider this ;)
context.getConsole().getOut().println(text)


 

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