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.

Indicator for Renko
 Post subject: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 14:09 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2011, 14:24
Posts: 14
Location: Ukraine, Dnipro
How to set to indicator the option "Period period": Renko 4 Pip,
instead of Period.ONE_HOUR ?

double[] sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException

Оr is there another way to use indicators to Renko ?


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 14:27 
User avatar

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


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 15:08 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2011, 14:24
Posts: 14
Location: Ukraine, Dnipro
But can we use this technique for standard indicators such as CCI, RSI,Willr ?


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 15:17 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Yes it is applicable to any indicator (either platform or custom), you only need to adjust the outputs and optional inputs according to indicator metadata, try the following example:
https://www.dukascopy.com/wiki/#Calculate_arbitrary_indicator/Calculate_on_a_feed


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 15:28 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2011, 14:24
Posts: 14
Location: Ukraine, Dnipro
Is there anywhere else more detailed examples?


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 15:45 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You can also consider searching the Code Base, for instance, there you could find the following strategy:
viewtopic.php?f=7&t=46071


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 16:12 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2011, 14:24
Posts: 14
Location: Ukraine, Dnipro
Thanks, it's something more.


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 16:35 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
accord50 wrote:
Thanks, it's something more.
The two wiki links also contain 2 full strategies, but they are rather general.


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 21 Mar, 2012, 16:47 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2011, 14:24
Posts: 14
Location: Ukraine, Dnipro
Thank you very much.


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Mon 26 Mar, 2012, 15:24 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2011, 14:24
Posts: 14
Location: Ukraine, Dnipro
Good day.

I want to use platform indicator pсhannel. But it is not there in the list of indicators in the Strategy API: indicators.
How do I call it and how to work with him in the program?
I want then to apply it to Renko.


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Tue 27 Mar, 2012, 07:54 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
candle stick feed methods are called IIndicators.prchannel. However, when you use universal methods, you call the indicator by name PCHANNEL. See:
https://www.dukascopy.com/wiki/#Calculat ... _indicator


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Wed 28 Mar, 2012, 15:41 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2011, 14:24
Posts: 14
Location: Ukraine, Dnipro
Can I write about my problemme in Russian (language)?
It is very difficult to describe my question in English.
I know English bad. I use google-translator.

I have a question about the work of the indicators.

Or can recommend to anyone from the Russian-language programmers can consult bypassing the forum.


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Thu 29 Mar, 2012, 08:05 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
please contact [email protected] with a reference to this topic.


 
 Post subject: Re: Indicator for Renko Post rating: 0   New post Posted: Thu 29 Mar, 2012, 08:14 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2011, 14:24
Posts: 14
Location: Ukraine, Dnipro
Well.
Thank you.


 

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