tomm1111 202 posts msg #69134 - Ignore tomm1111 modified | 
11/9/2008 11:47:09 PM
  This filter calculates the CCI Stochastic.  As written, it is based on a CCI(14) with a 5 day look back period and 3 day exponential moving average smoothing.  Change to fit.
 
 Go LONG as the cci_sto crosses above 20 and go SHORT as it crosses below 80. 
 
  	    
 
  | 
chetron 2,817 posts msg #69136 - Ignore chetron modified | 
11/10/2008 6:52:14 AM
  THANX TOMM
 
 MAYBE A CCI BILLY ALSO.....
 
 
  	    
 
  | 
chetron 2,817 posts msg #69138 - Ignore chetron modified | 
11/10/2008 9:14:36 AM
  maybe.....
 
  	    
 
  | 
tomm1111 202 posts msg #69159 - Ignore tomm1111 modified | 
11/10/2008 7:17:00 PM
  Well, perhaps in my haste, I left out the cci part of the original filter.  I updated the original post.  The filter below includes the billy(2) work that Chetron put together (thanks Chetron!).  I increased the cci-sto is based on cci(14) with a look back period of 5 days and then a 3 day exponential average smoothing.  The billy(2) also has a a 3 day exponential average smoothing.  This increases the lag, but reduces some of the whipsaws.
 
 Current you cannot sort by cci_sto column.  I believe this is due to a divide by zero issue.  I will take a look at this later today.
 
  	    
 
  | 
chetron 2,817 posts msg #69161 - Ignore chetron | 
11/10/2008 9:04:35 PM
  sorry tomm, i should have paid better attention.
 updated my filters to be cci indicators also.
 billy calc should be with cci also.
 
 
 
  | 
tomm1111 202 posts msg #69163 - Ignore tomm1111 | 
11/10/2008 9:29:51 PM
  Yeah right Chetron.  I haven't thought of calculating cci using the billy calc.
 
 I can't figure out why "nan" shows up in the cci_sto and cci_billy columns.  I believe this is what makes them unsortable.  I experimented with eliminating any potential divides by zero but still getting the "nan"s.  Any idea's.
 
  | 
chetron 2,817 posts msg #69164 - Ignore chetron modified | 
11/10/2008 9:35:01 PM
  i sorted my last filter by filtering out the nan with "cci_sto above -0"
 but of course i don't get the nans
 also you don't need the value variable just put "cci(14)" straight up.
 
 
  | 
chetron 2,817 posts msg #69165 - Ignore chetron modified | 
11/10/2008 9:46:56 PM
  and of course....
 
  	    
 
  | 
tomm1111 202 posts msg #69169 - Ignore tomm1111 | 
11/11/2008 1:21:23 AM
  Chetron, thx for the help on this and the "nan" removal.  It looks good.
 
  | 
four 5,087 posts msg #143977 - Ignore four | 
7/1/2018 2:06:44 AM
  pop
 
  |