通达信主图公式源码 通达信中长线主图公式源码
2014-12-11 11:21:15 股票入门 http://rumen.southmoney.com
南方财富网带来通达信主图公式源码 通达信中长线主图公式源码:
M:=20;
N:=2;
MID :=MA(CLOSE,M);
UPPER:= MID + N*STD(CLOSE,M);
LOWER:= MID - N*STD(CLOSE,M);
WX:=MA(C,0);
M25:EMA(CLOSE,25),COLOR000000,LINETHICK1;
M99:EMA(CLOSE,99),COLOR0000FF,LINETHICK2;
EM13:EMA(CLOSE,13),COLOR8080FF;
买线:EMA(C,2);
EXP17:=EMA(CLOSE,17),COLORWHITE,LINETHICK2;
M60:MA(CLOSE,60),COLORMAGENTA;
快线:=((EMA(CLOSE,21) - EMA(CLOSE,34)));
慢线:=EMA(快线,6);
T1:=CROSS(EMA(SC,7),EMA(SC,18)) AND CROSS(快线,慢线);
STICKLINE(T1,HHV(H,60),LLV(L,60),0,0),COLORWHITE;
NCLOSE := (3*C+OPEN+HIGH+LOW)/6;
MA5D := MA(NCLOSE,8);
D := CLOSE《MA5D;
E := CLOSE》MA5D;
R1 := REF(D,1) AND REF(D,2) AND (E) AND CLOSE》REF(H,1);
DRAWICON (R1,LOW-(HIGH-LOW)/4,4),COLORRED;
R2 := REF(E,1) AND REF(E,2) AND (D) AND CLOSE《REF(L,1);
DRAWICON (R2,H+(HIGH-LOW)/4,5);
止赢:LLV(L,120)+(HHV(H,120)-LLV(L,120))*0.8,COLORWHITE,LINETHICK1;
止损:LLV(L,120)+(HHV(H,120)-LLV(L,120))*0.2,COLORGREEN,LINETHICK1;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。