通达信股票公式:均线系统
M1:=EMA(C,5);
M2:=EMA(C,13);
M3:=EMA(C,34);
MC1:=EMA(C,55);
MC2:=EMA(C,89);
MA4:=EMA(C,144);
短线:IF(M1》MAX(M2,M3),M1,IF(M1《MIN(M2,M3),M2,M3)),COLOR00FF00,LINETHICK2;
短强:IF(短线》REF(短线,1),短线,DRAWNULL),COLORYELLOW,LINETHICK2;
长线:IF(MC1》MAX(MC2,MA4),MC1,IF(MC1《MIN(MC2,MA4),MC2,MA4)),COLORFFFF00,LINETHICK2;
长强:IF(长线》REF(长线,1),长线,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(短线》长线 AND L《长线 AND C》短线 AND C》O,L*0.98,1);
DRAWICON(CROSS(MIN(短线,长线),C),H*1.02,2);
分:=(LLV(INDEXL,P)); 百:=(HHV(INDEXH,P))-分;
点:=(LLV(L,P)); 基:=(HHV(H,P))-点;
CC比:=(INDEXC-分)/百; HH比:=(INDEXH-分)/百;
LL比:=(INDEXL-分)/百; OO比:=(INDEXO-分)/百;
CX:=IF(CAPITAL》0,CC比*基+点,DRAWNULL);
HX:=IF(CAPITAL》0,HH比*基+点,DRAWNULL);
LX:=IF(CAPITAL》0,LL比*基+点,DRAWNULL);
OX:=IF(CAPITAL》0,OO比*基+点,DRAWNULL);
STICKLINE(OX》CX,HX,LX,0,0),COLOR00FF00;
STICKLINE(OX《=CX,HX,LX,0,0),COLORFF00FF;
STICKLINE(OX》CX,OX,CX,3,0),COLOR00FF00;
STICKLINE(OX《=CX,OX,CX,3,0),COLORFF00FF;
DRAWKLINE(H,O,L,C);
【量H】:=IF((AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100》100,100,(AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100);
STICKLINE(【量H】=100,L,H,0.4,0),COLORYELLOW;
STICKLINE(【量H】=100 AND C》=O,C,O,4,1),COLORYELLOW;
STICKLINE(【量H】=100 AND C《O,C,O,4,0),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF》9.8,O,C,2,0),COLORRED;
STICKLINE(ZDF《-9.8,O,C,2,0),COLORBLUE;
更多通达信股票公式知识请关注股票知识网
(股票知识网zhishi.southmoney.com)
要闻导读
|
||||||||||
|