| 
 Natasha,  
  
I sent these this morning but Yahoo did not 
deliver because of "bounces". I'm not clear why. 
  Here is Woodie's CCI 14 code. In my 
  opinion the patterns are more suitable for short-term trading. However, I 
  heard that he mentioned about some other proprietary 
  pattern/indicator. 
    
  Herbert 
    
  
    -----  
    _SECTION_BEGIN("Woodie's CCI"); 
    //Woodies CCI, Long term CCI;  
    T= 14;
    Title =  Name () + " 
    " + FullName() + " 
    "
    +  "CCI" + " 
    Periods:" + WriteVal(T,0);
    B= Cross(CCI(T),0);
    D= Cross(0,CCI(T));
    COL= IIf(BarsSince(B)>4 AND CCI(T)>0,colorBrightGreen,IIf(BarsSince(D)>4 AND CCI(T)<0,colorRed,colorLightGrey)) ; 
    
    Plot (CCI(T)," ",COL,styleHistogram+styleThick);
    Plot (CCI(T),"CCI 20",colorBlack,styleLine+4);
      
    // Plot range lines 
    Plot (200,"",colorRed);
    Plot (-200,"",colorRed);
    Plot (100,"",colorBlue);
    Plot (-100,"",colorBlue);
    Plot (0,"",colorYellow,styleThick);
    PlotGrid (50,colorGreen);
    PlotGrid (-50,colorGreen);
    GraphXSpace= 2; 
    _SECTION_END ();
      
    In her book Raschke mentions that the 
    3/10 oscillator is an old tool. She found that by using a 7%K and 10%D the 
    "Anti" pattern worked even better than with her old tools.i.e. a 
    7-period %K smoothed to 4 (the fast line), and a 10-period %D (the slow 
    line). 
      
    Herbert   
  
Check AmiBroker web page at: 
http://www.amibroker.com/ 
 
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
  
 
 
Yahoo! Groups Links 
 |