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.

Plotting Indicators with Different Timeframes
 Post subject: Plotting Indicators with Different Timeframes Post rating: 0   Post Posted: Sun 26 May, 2013, 21:29 

User rating: 0
Joined: Sun 19 May, 2013, 13:23
Posts: 2
Hi,

I would like to add indicators of different timeframes to a chart from my jforex strategy
(to visually check their signals).

If I add them e.g. via
chart.addIndicator(getIndicators().getIndicator("EMA"), new Object[]{30});
the default timeframe (e.g. one min) of the chart is used.

How do I add it e.g. for 5min timeframe to a 1 min chart?

I have searched the forum for this issue but did not find a solution or code example
(only a custom indictor with different time frame support).

Kind regards
Lars


 
 Post subject: Re: Plotting Indicators with Different Timeframes Post rating: 0   Post Posted: Mon 27 May, 2013, 08:40 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There is no direct support for plotting indicators on other feed than that of chart. However, as you already mentioned there are possible custom implementations of this.


 

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