| 
 PureBytes Links 
Trading Reference Links 
 | 
MS code equivalent:
---8<----------------
100;-100;
CCI(6);CCI(14);
Graph2:=CCI(14);
Buy:=Cross(Graph2,0)
 AND (Ref(Graph2,-1)<0)
 AND (Ref(Graph2,-2)<0)
 AND (Ref(Graph2,-3)<0)
 AND (LLV(RSI(9),10)<30)
 AND Cross(RSI(9),50);
---8<----------------
Garbage in, garbage out... ;)
jose '-)
--- In equismetastock@xxxxxxxxxxxxxxx, sai20_2000 <no_reply@xxxx> 
wrote:
> 
> 
> hi
> Can any one please convert this AB code to metastock .PLease 
suggest.
> 
> AB CODE 
> 
> Plot(CCI(6),"CCI 14-6",colorDarkYellow,styleLine);
>  Plot(CCI(14),"",colorRed,styleLine|styleThick);
> /*red bars : downtrend
>  **green bars: uptrend
>  **blue bars : trading-range
>  */
>  T = 14;
>  Title = "301-4 " + Name () + " " + FullName() + " "
> + "CCI" + " 14 " + "periods:" + WriteVal(T);
>  MaxGraph = 5;
>  Graph2 = CCI (T);
> 
>  Uptrend = 100; Downtrend = -100;
> 
>  Graph2BarColor = IIf (Graph2 > uptrend, 5,
>  IIf (Graph2 < downtrend,4,6));
> 
>  Graph4 = Graph2;
>  Graph4Style = 4;
> 
>  Buy = Cross (Graph2, 0) AND (Ref (Graph2,-1) < 0) AND (Ref
> (Graph2,-
>  2) < 0)AND
>  (Ref (Graph2,-3) < 0) AND (LLV (RSI(9),10) < 30) AND Cross (RSI
>  (9),50);
> 
> Thanks in return
------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 
 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |