通达信金凤凰主图公式 源码 通道类指标
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF 9.8,O,C,3,0),COLORYELLOW;
STICKLINE(ZDF -9.8,O,C,3,0),COLORGREEN;
STICKLINE(LOW REF(HIGH,1),LOW,REF(HIGH,1),5,1),COLORRED;
STICKLINE(C REF(C,1) AND REF(L,1) H,REF(L,1),H,5,1),COLORMAGENTA;
EMA5:EMA(C,M5),LINETHICK1,COLORBLUE;
EMA10:EMA(C,M10),LINETHICK1,COLORYELLOW;
EMA22:EMA(C,M22),LINETHICK1,COLORRED;
EMA120:EMA(CLOSE,M120)LINETHICK2,COLORGREEN;
JFH:=EMA5 =EMA10 EMA10 =EMA22;
FHW:=EMA22 =EMA10 EMA10 =EMA5;
DRAWICON(CROSS(EMA5,EMA10),L,1);
DRAWICON(CROSS(EMA10,EMA5),H,2);
DRAWTEXT(JFH REF(JFH,1),EMA22,' 金凤凰'), COLORRED;
DRAWTEXT(FHW REF(FHW,1),EMA22,' 凤尾巴'), COLORGREEN;