Dukascopy
 
 
Wiki JStore Search Login

Shift option in Donchian Channel may not be functioning properly. Please verify.
 Post subject: Shift option in Donchian Channel may not be functioning properly. Please verify. Post rating: 0   New post Posted: Sat 31 Aug, 2013, 04:12 

User rating: 0
Joined: Sat 29 Jun, 2013, 10:41
Posts: 8
Hello VJFX Team and Friends,

I have been using the Donchien Channel Indicator in my strategies but I face a problem when I use the shift option. In the the file provided, I want to measure the difference between the current low band of the Indicator with the previous and then take an action when the difference is greater than 2 pips. To get the previous band measurement, I use the Donchian with value of 1 in the Shift option.
When the action is executed, you can see that the Donchian with Shift 1 does not read the correct data.

I assume the shift 1 moves the channel 1 space to the right side, like how we use it in normally in our charts.

Please advise if I am using it wrongly or if there is an bug in the indicator?

Thanks

Jules.


Attachments:
SampleDonchien.vfs [27.99 KiB]
Downloaded 300 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: Shift option in Donchian Channel may not be functioning properly. Please verify. Post rating: 0   New post Posted: Mon 02 Sep, 2013, 11:39 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Greetings.

Avoid using onTick event with no need.
I'v made some corrections.
download/file.php?mode=view&id=4436


Attachments:
SampleDonchien_v2.vfs [28.5 KiB]
Downloaded 367 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: Shift option in Donchian Channel may not be functioning properly. Please verify. Post rating: 0   New post Posted: Mon 02 Sep, 2013, 14:38 

User rating: 0
Joined: Sat 29 Jun, 2013, 10:41
Posts: 8
Hi Vadim,

Thanks for your assistance. I have often wondered when to use On Candle and when to use On Tick. Is there a post/forum that explains the difference and usage?

Regards

Julian


 
 Post subject: Re: Shift option in Donchian Channel may not be functioning properly. Please verify. Post rating: 0   New post Posted: Tue 03 Sep, 2013, 16:13 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Great. You can join our webinar and receive live answer:
viewtopic.php?f=148&t=49393


 

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