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.

IChart comment
 Post subject: IChart comment Post rating: 0   New post Posted: Sat 24 Oct, 2009, 07:10 

User rating: 0
Joined: Fri 23 Oct, 2009, 15:48
Posts: 5
Hi,
I am new to JForex codes.
How should go ahead in displaying an comment using IChart.


 
 Post subject: Re: IChart comment Post rating: 0   New post Posted: Mon 26 Oct, 2009, 14:17 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
please take a look at sample.
Here is more about IChart interface and some samples:

         .  .  .

   public void onStart(IContext context) throws JFException {

           //Get chart for instrument EUR/USD and set comment on it.
           //Before use it, from JForex platform you should open chart for EUR/USD instrument
           //It will show up in left top corner of the chart
           if (context.getChart(Instrument.EURUSD) != null){
                  context.getChart(Instrument.EURUSD).comment("My chart comment");
           }
           context.stop();       
   }

         .  .  .


 

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