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.

Editing charts within API only backtest.
 Post subject: Editing charts within API only backtest. Post rating: 0   New post Posted: Fri 20 Jan, 2012, 03:51 
User avatar

User rating: 0
Joined: Thu 16 Jun, 2011, 21:37
Posts: 98
Location: SwitzerlandSwitzerland
Hello all,

I am wondering how to define the Period for a chart which I am displaying in a backtest that is not using JForex? I'm assuming that to change the Period once within the strategy I will have to add a drop down menu populated with different Periods within the JPanel that holds the other four buttons as described in your example: https://www.dukascopy.com/wiki/#Test_a_s ... n_GUI_mode
I am also unsure of how to define the default Period before the chart starts drawing too.

Is there a way to specify the indicator parameters for indicators added below charts via the addSubIndicator method for type IChart?

Thanks,

mm


 
 Post subject: Re: Editing charts within API only backtest. Post rating: 0   New post Posted: Fri 20 Jan, 2012, 14:53 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
MoneyMechanics wrote:
I am wondering how to define the Period for a chart which I am displaying in a backtest that is not using JForex? I'm assuming that to change the Period once within the strategy I will have to add a drop down menu populated with different Periods within the JPanel that holds the other four buttons as described in your example: https://www.dukascopy.com/wiki/#Test_a_s ... n_GUI_mode
I am also unsure of how to define the default Period before the chart starts drawing too.
Try the following example:
https://www.dukascopy.com/wiki/#Standalo ... chart_type
MoneyMechanics wrote:
Is there a way to specify the indicator parameters for indicators added below charts via the addSubIndicator method for type IChart?
The method does not work at the moment, this will be fixed as soon as available. This means that currently you can't put multiple indicators on the same indicator panel - each indicator gets plotted own indicator panel.


 

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