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.

Add Chart zoom, indicator, separators
 Post subject: Add Chart zoom, indicator, separators Post rating: 0   New post Posted: Tue 11 Feb, 2014, 12:09 
User avatar

User rating: 6
Joined: Tue 11 Feb, 2014, 11:38
Posts: 60
Location: PolandPoland
Hello Ladies and Gentlemen,

I have a few questions about Chart
how to add these items to MainOpenChart.java (from Dukascopy wiki https://www.dukascopy.com/wiki/files/MainOpenChart.java):

1) Chart Zoom buttons, Indicator buttons ...
2) moving average indicator
3) custom indicator
4) Show period separators

Thank you and best regards.
:mrgreen:


 
 Post subject: Re: Add Chart zoom, indicator, separators Post rating: 0   New post Posted: Tue 11 Feb, 2014, 13:49 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
zix wrote:
1) Chart Zoom buttons,
Only to historical tester charts, see: https://www.dukascopy.com/wiki/#ITesterClient_functionality/Change_zoom
zix wrote:
Indicator buttons ...
Simply make a button, fetch IIndicators interface from a started strategy and pass it to the button action listener.
zix wrote:
2) moving average indicator
See: https://www.dukascopy.com/wiki/#Add_indicators_on_chart
zix wrote:
3) custom indicator
See answer to 2)
zix wrote:
4) Show period separators
Fetch the IChart interface from a started strategy and then add vertical lines (periods chart object is not available from API), see: https://www.dukascopy.com/wiki/#Chart_object_catalog/Vertical_line


 

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