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

[Metastockusers] Re: CMO



PureBytes Links

Trading Reference Links

here are some CMO formulas

CMO & 2 WMA

Per1:=Input("Length of CMO",1,100,13);
Per2:=Input("Length of fast WMA",1,100,3);
Per3:=Input("Length of slow WMA",1,100,13);
Per4:=60;
Perc1:=.95;
Perc2:=1.05;
A1:=CMO(C,Per1);
A2:=Mov(A1,Per2,W);
A3:=Mov(A1,Per3,W);
UB:=(HHV(Ref(A1,-1),Per4)*Perc1);
LB:=(LLV(Ref(A1,-1),Per4)*Perc2);
MB:=(UB+LB)*.5;
UB;MB;LB;
A1;A2;A3;

CMO Average

Per1:=Input("length of CMO 1",5,20,5);
Per2:=Input("length of CMO 2",5,30,10);
Per3:=Input("length of CMO 3",5,50,20);
A:=(CMO(C,Per1)+CMO(C,Per2)+CMO(C,Per3))/3;
A;

CMO Volatility

Per1:=Input("length of CMO 1",5,30,5);
Per2:=Input("length of CMO 2",5,50,10);
Per3:=Input("length of CMO 3",3,50,20);
Per4:=Input("length of Signal",3,30,3);
K1:=Stdev(CMO(MP(),Per1),Per1);
K2:=Stdev(CMO(MP(),Per2),Per2);
K3:=Stdev(CMO(MP(),Per3),Per3);
A:=((K1*CMO(MP(),Per1))+(K2*CMO(MP(),Per2))+(K3*CMO(MP(),Per3)))/
(K1+K2+K3);
Sig:=Mov(A,Per4,S);
Sig;A;
--- In Metastockusers@xxxxxxxxxxxxxxx, JayTownsend@xxxx wrote:
> <<Using an old formula from Guppytraders.com, I tried to rewrite 
it in V 7.x 
> style.  I keep getting an error message  that CMO1 is not a 
recognized 
> function.  
>  
> Any suggestions please?>>
> 
> Put an underscore - "_" between CMO and 1.  Write it "CMO_1" - it 
doesn't 
> recognize the "CMO1" formula.
> 
> Jay


To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/