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.

Accessing IChart instance
 Post subject: Accessing IChart instance Post rating: 0   New post Posted: Wed 13 Mar, 2013, 13:26 

User rating: 0
Joined: Wed 13 Mar, 2013, 13:20
Posts: 1
Hi,

How do I access instance of IChart object in indicator? I'd like to get some data from the database or CSV file and draw few rectangles on the screen. Let's ignore how we get data.

What is the easiest way to achieve it?

Cheers


 
 Post subject: Re: Accessing IChart instance Post rating: 1   New post Posted: Wed 13 Mar, 2013, 13:56 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/wiki/#Indicator_draws_chart_objects
Also you can use the IDrawingIndicator, for usage example see the HeikinAshiIndicator.java source code, here:
https://www.dukascopy.com/wiki/#Platform_indicator_source_files

Also you can consider drawing chart objects from the strategy, which is more straightforward, see:
https://www.dukascopy.com/wiki/#Create_and_manage_chart_objects


 

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