通达信周线轨道主图指标公式
2014-6-6 11:28:16 股票入门 http://rumen.southmoney.com
M:=(H+L+3*C+O)/6;
M7:=MA(M,7);
M14:=MA(M,14);
M21:=MA(M,21);
M28:=MA(M,28);
M35:=MA(M,35);
M42:=MA(M,42);
M49:=MA(M,49);
M56:=MA(M,56);
MH7:=MA(H,7);
MH14:=MA(H,14);
MH21:=MA(H,21);
MH28:=MA(H,28);
MH35:=MA(H,35);
MH42:=MA(H,42);
MH49:=MA(H,49);
MH56:=MA(H,56);
ML7:=MA(L,7);
ML14:=MA(L,14);
ML21:=MA(L,21);
ML28:=MA(L,28);
ML35:=MA(L,35);
ML42:=MA(L,42);
ML49:=MA(L,49);
ML56:=MA(L,56);
MZ:(7*M7+14*M14+21*M21+28*M28+35*M35+42*M42+49*M49+56*M56)/480 LINETHICK1 COLORRED;
MQ:(7*M7+14*M14+21*M21+28*M28+35*M35+42*M42+49*M49+56*M56)/410 LINETHICK1 COLORD39D90;
MX:(7*M7+14*M14+21*M21+28*M28+35*M35+42*M42+49*M49+56*M56)/440 LINETHICK1 COLOR4499CC;
MS:(7*M7+14*M14+21*M21+28*M28+35*M35+42*M42+49*M49+56*M56)/350 LINETHICK1 COLORYELLOW;
MM:(7*M7+14*M14+21*M21+28*M28+35*M35+42*M42+49*M49+56*M56)/300 LINETHICK1 COLORWHITE;
MG:(7*M7+14*M14+21*M21+28*M28+35*M35+42*M42+49*M49+56*M56)/280 LINETHICK1 COLORGREEN;
VAR1:=CLOSE》REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VARD:=CLOSE《REF(CLOSE,1) AND CLOSE《REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE《=REF(CLOSE,1) AND CLOSE》REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE》REF(CLOSE,1) AND CLOSE《=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,1) AND CLOSE》MZ,COLORYELLOW;
TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
FF:=EMA(CLOSE,3);
BB1:=L《AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100》1.2;
DD1:=L《MA(C,5)*0.921;
EE1:=VOL《MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C《REF(O,1) AND F《0,1,0);
P2:=IF(C《REF(O,2) AND F《0,1,0);
TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;
TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;
STICKLINE(TT3,OPEN,CLOSE,3,0),COLORBLUE;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。