Dukascopy
 
 
Wiki JStore Search Login

custom candle based upon chart period
 Post subject: custom candle based upon chart period Post rating: 0   New post Posted: Wed 03 Jul, 2019, 14:18 

User rating: 1
Joined: Wed 19 Feb, 2014, 10:42
Posts: 16
Location: NetherlandsNetherlands
Im trying to code a custom candle which is based upon an parameter and the period of the underlying chart.
When i set the parameter to 3 and attach the indicator on the 3m chart i would like to have it display a custom candle of 3 bars wide.

Now i have code from the old custom candle indicator (within JForex) but it draws the rectangles (custom candles) completely wrong, see attachment.
This uses the 'older' custom candle code which outputs this way... Does anyone has the new code available?
I have it working but only in an Strategy while i want to use an indicator.

Someone know how to do this and or why the old code doesnt work and paint the way it does?
Anyone can give me some pointers how to proceed?

Thanks,
Phil
Image


Attachments:
wrong custom candles.png [36.44 KiB]
Downloaded 380 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: custom candle based upon chart period Post rating: 0   New post Posted: Fri 05 Jul, 2019, 13:50 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We suggest to use JForex Custom Candle indicator, only in this case we can guarantee a correct work. If you want to get assistance with issue, related to your own indicator, then we need to see source code.


 
 Post subject: Re: custom candle based upon chart period Post rating: 0   New post Posted: Fri 16 Aug, 2019, 14:34 

User rating: 0
Joined: Tue 20 Mar, 2012, 09:24
Posts: 46
Location: Slovenia,
i made a request for this feature here:

https://www.dukascopy.com/swiss/english ... 28&t=56932


 

Jump to:  

  © 1998-2024 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