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.

Renko for indicators ( Period.createCustomPeriod(Unit.Renko, 5) )
 Post subject: Renko for indicators ( Period.createCustomPeriod(Unit.Renko, 5) ) Post rating: 0   New post Posted: Wed 05 Sep, 2012, 13:31 

User rating: 0
Joined: Sat 06 Aug, 2011, 23:17
Posts: 27
Location: Russian Federation,
Hello supports!

I need custom timeframe for indicators in my ea. Renko 4.

for. ex:

@Configurable("Timeframe")
public Period timeFrame = Period.createCustomPeriod(Unit.Renko, 4);
...
double wpr = indicators.willr(instrument, timeFrame, OfferSide.BID, wprPeriod, 1);


I know, Renko 4 no supporting in createCustomPeriod. But, how to use data from Renko 4 for indicators in ea ?

Thanks!


 
 Post subject: Re: Renko for indicators ( Period.createCustomPeriod(Unit.Renko, 5) ) Post rating: 0   New post Posted: Wed 05 Sep, 2012, 13:47 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/wiki/#Indicator_Calculation/Universal_price_feed


 

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