Dochian Channel Indicator

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: Dochian Channel Indicator

Postby Apprentice » Mon Jun 04, 2012 2:12 pm

Requested can be found here.
viewtopic.php?f=31&t=19839
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17418
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Dochian Channel Indicator

Postby Bob NZ » Sat Dec 01, 2012 1:11 am

Hi Apprentice.
Any chance of getting a strategy on this DNC? CCI at an extreme, price at channel hi/lo. Variable Channel settings? I like 55 for a reason I can't explain :o .

If at/near low chanel and CCI at an extreme number Buy. Etc,. Or if price at/near low channel and CCI drops from extreme = Buy

Purhaps with an extreme input for CCI so nothing happens until CCI is past that point. Gets to an extreme and pulls back towards the o/bought/sold line?

Wish I knew how to do it myself :-(.

Cheers
Bob NZ
 
Posts: 2
Joined: Sat Nov 17, 2012 9:15 am

Re: Dochian Channel Indicator

Postby Apprentice » Sat Dec 01, 2012 5:29 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17418
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Dochian Channel Indicator

Postby TheLight » Fri Sep 06, 2013 9:08 am

Dear Apprentice, I have a request, I would like to add a calculation to the original DNC.lua To both calculate and then show the result (the total pip difference from the upper band to the lower band displayed according to the user input) at the end of the "legend" of the DNC indicator? Thank you.
TheLight
 
Posts: 11
Joined: Tue Aug 07, 2012 1:50 pm
Location: Arizona, USA

Re: Dochian Channel Indicator

Postby Apprentice » Sun Sep 08, 2013 1:28 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17418
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Dochian Channel Indicator

Postby Apprentice » Sun Sep 08, 2013 2:08 am

DNC.png

Try This version
DNC.lua
(3.76 KiB) Downloaded 1197 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17418
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Dochian Channel Indicator

Postby TheLight » Sun Sep 08, 2013 9:04 pm

Thanks Apprentice, it works great, exactly what I was looking for. Your work is exceptional.
TheLight
 
Posts: 11
Joined: Tue Aug 07, 2012 1:50 pm
Location: Arizona, USA

Re: Dochian Channel Indicator

Postby TheLight » Tue Sep 17, 2013 6:09 pm

Hi Apprentice,

The DNC legend upgrade has been very useful in displaying the Channel width in pips. It would also be helpful to have the Channel width pips displayed automatically as a percent % as well.

Of course we need a specific market value to compare the Channel width to. My thought is that we could use the median price of the channel for a formula as follows; (Channel width pips / (Channel high - Channel low = Channel median)) We also need to account for different decimal pricing in different forex pairs as well as CFD's. You might find some insight for this by looking at the lua script for the ZigZag_Counter_V7.lua indicator as this issue was recently addressed in its latest enhancements.

Recent Example: On D1 (daily1) DNC (EUR/USD,20)(Channel width 304.9 Pips) - DU: 1.31046 DN: 1.34095

(DU: 1.31046 + DN: 1.34095 = 2.65141) / 2 = 1.3257 DM
Channel width 304.9 Pips / 13,257 = 0.0230 or 2.3%

Displayed in "Legend" as:
DNC(EUR/USD,20)(Channel width 304.9 Pips, 2.3%) - DU: 1.31046 DN: 1.34095 DM: 1.32570
or simplified could be
DNC(EUR/USD,20, 304.9 Pips, 2.3%) - DU 1.31046 DN 1.34095 DM 1.32570

Thanks again,
TheLight
TheLight
 
Posts: 11
Joined: Tue Aug 07, 2012 1:50 pm
Location: Arizona, USA

Re: Dochian Channel Indicator

Postby Apprentice » Wed Sep 18, 2013 2:08 pm

Try Updated Version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17418
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Dochian Channel Indicator

Postby TheLight » Wed Sep 18, 2013 3:02 pm

Thanks Apprentice, your upgrade to the DNC is great! TheLight
TheLight
 
Posts: 11
Joined: Tue Aug 07, 2012 1:50 pm
Location: Arizona, USA

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 12 guests