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.

Change to indicator
 Post subject: Change to indicator Post rating: 0   New post Posted: Thu 23 Jan, 2014, 10:11 
User avatar

User rating: 0
Joined: Tue 02 Aug, 2011, 11:35
Posts: 32
Location: United Arab Emirates, Dubai
Hi

Is it possible to make this Indicator with the option to calculate on High-Low-Open-Close

thanks


Attachments:
PercentBollingerBands.java [6.1 KiB]
Downloaded 84 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Change to indicator Post rating: 0   New post Posted: Thu 23 Jan, 2014, 14:04 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
first of all the indicator does not work - if you really want to work with bar inputs then you need to change the type of the input array to IBar[] and then you would also need to rewrite the calculation logic to work with bars instead of price arrays. Are you sure that you want to do this?
jalodge wrote:
Is it possible to make this Indicator with the option to calculate on High-Low-Open-Close
Please elaborate on this.


 
 Post subject: Re: Change to indicator Post rating: 0   New post Posted: Thu 23 Jan, 2014, 14:31 
User avatar

User rating: 0
Joined: Tue 02 Aug, 2011, 11:35
Posts: 32
Location: United Arab Emirates, Dubai
Sounds Complicated..... I'll work round it for now.

thanks


 
 Post subject: Re: Change to indicator Post rating: 0   New post Posted: Thu 23 Jan, 2014, 15:50 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
If you could precisely describe what exactly you want to change in the indicator then we may assist you on how to achieve this.


 
 Post subject: Re: Change to indicator Post rating: 0   New post Posted: Fri 24 Jan, 2014, 05:46 
User avatar

User rating: 0
Joined: Tue 02 Aug, 2011, 11:35
Posts: 32
Location: United Arab Emirates, Dubai
I would like to use it in on a renko strategy... but I need the value at bar High or Low not close.

At the moment the Value for the previous brick will change on bar close.


 
 Post subject: Re: Change to indicator Post rating: 0   New post Posted: Fri 24 Jan, 2014, 08:13 
User avatar

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


 
 Post subject: Re: Change to indicator Post rating: 0   New post Posted: Fri 24 Jan, 2014, 09:20 
User avatar

User rating: 0
Joined: Tue 02 Aug, 2011, 11:35
Posts: 32
Location: United Arab Emirates, Dubai
ok thanks i'll see how i get on


 

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