[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Code help



PureBytes Links

Trading Reference Links



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 --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/