CCI dots 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

CCI dots indicator

Postby Alexander.Gettinger » Wed Apr 03, 2013 3:38 pm

The indicator shows the points of intersection CCI and zero line on the main chart.

CCI_Dots.PNG


Download:
CCI_Dots.lua
(2.02 KiB) Downloaded 2023 times


CCI_Dots with Alert.lua
(11.33 KiB) Downloaded 1509 times

This indicator provides Audio / Email Alertson CCI / (Zero/OB/OS) line cross.

Compatibility issue fixed.
_Alert Helper is not longer needed.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: CCI dots indicator

Postby NidalTrader » Sat Apr 06, 2013 6:19 am

Hi guys,

is it possible to make the indicator more customisable. To add a ability to see dots on cross on majors levels (-100 ; 100) or user's levels.

Regards.

P.S : you're doing a great job :)
User avatar
NidalTrader
 
Posts: 8
Joined: Thu Jan 17, 2013 7:13 pm

Re: CCI dots indicator

Postby Apprentice » Tue Apr 09, 2013 5:10 am

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

Re: CCI dots indicator

Postby Alexander.Gettinger » Wed Apr 10, 2013 4:21 pm

MQL4 version of this indicator: viewtopic.php?f=38&t=34367
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: CCI dots indicator

Postby rch05000 » Wed Mar 19, 2014 12:48 pm

Hello Apprentice,
Is it possible to put an alert/signal on this indicator?
Thank you in advance
rch05000
 
Posts: 37
Joined: Wed Nov 23, 2011 8:05 am

Re: CCI dots indicator

Postby Apprentice » Thu Mar 20, 2014 4:34 am

CCI_Dots with Alert.lua Added.
OB / OS Level Alert is now supported.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: CCI dots indicator

Postby rch05000 » Thu Mar 20, 2014 7:20 am

Thank you apprentice :P
rch05000
 
Posts: 37
Joined: Wed Nov 23, 2011 8:05 am

Re: CCI dots indicator

Postby 7510109079 » Mon Sep 01, 2014 9:46 am

quick question:

we have 'CCI period' and 'period' in the indicators settings. whats the difference between the two?
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am

Re: CCI dots indicator

Postby Apprentice » Mon Sep 01, 2014 10:51 am

CCI Period is Used in CCI Indicator Calculation.
Period is used in in this Line of Code for Range Calculation.
Code: Select all
 local Range=(mathex.avg(source.high, period-Period+1, period)-mathex.avg(source.low, period-Period+1, period))/2;

Range is used in indication (circles) placement.

Code: Select all
 if CCI.DATA[period-1]>=0 and CCI.DATA[period]<0 then
     UP[period]=source.high[period]+Range;
     DN[period]=nil;
    elseif CCI.DATA[period-1]<=0 and CCI.DATA[period]>0 then
     UP[period]=nil;
     DN[period]=source.low[period]-Range;
    else
     UP[period]=nil;
     DN[period]=nil;
    end
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: CCI dots indicator

Postby 7510109079 » Tue Sep 23, 2014 10:08 am

quick question:

we have 'CCI period' and 'period' in the indicators settings. whats the difference between the two?
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 39 guests