通达信股票背离公式
通达信股票公式有哪些?通达信股票公式是什么?下面股票知识网为您介绍通达信股票公式。
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)》C AND REF(DIFF,A1+1)《DIFF AND CROSS(DIFF,DEA);
MACD底背离:=FILTER(B1》0,5);
STICKLINE(MACD底背离,0,1,2,0),COLORRED;
DRAWTEXT(MACD底背离,0.80,/MACD底背离/),COLORRED;
A2:=BARSLAST(REF(CROSS(“KDJ.K”(9,3,3),“KDJ.D”(9,3,3)),1));
B2:=REF(C,A2+1)》C AND REF(“KDJ.K”(9,3,3),A2+1)《“KDJ.K”(9,3,3) AND CROSS(“KDJ.K”(9,3,3),“KDJ.D”(9,3,3));
KDJ底背离:=FILTER(B2》0,5);
STICKLINE(KDJ底背离,0,0.75,2,0),COLORFF00FF;
DRAWTEXT(KDJ底背离,0.57,/KDJ底背离/),COLORFF00FF;
A3:=BARSLAST(REF(CROSS(“RSI.RSI1”(6,12,24),“RSI.RSI2”(6,12,24)),1));
B3:=REF(C,A3+1)》C AND REF(“RSI.RSI1”(6,12,24),A3+1)《“RSI.RSI1”(6,12,24) AND CROSS(“RSI.RSI1”(6,12,24),“RSI.RSI2”(6,12,24));
RSI底背离:=FILTER(B3》0,5);
STICKLINE(RSI底背离,0,0.5,2,0),COLORYELLOW;
DRAWTEXT(RSI底背离,0.25,/RSI底背离/),COLORYELLOW;
2,COLORRED;
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)《C AND REF(DIFF,C1+1)》DIFF AND CROSS(DEA,DIFF);
MACD顶背离:=FILTER(D1》0,5);
STICKLINE(MACD顶背离,2,1,2,0),COLOR00FF00;
DRAWTEXT(MACD顶背离,1.2,/MACD顶背离/),COLOR00FF00;
C2:=BARSLAST(REF(CROSS(“KDJ.D”(9,3,3),“KDJ.K”(9,3,3)),1));
D2:=REF(C,C2+1)《C AND REF(“KDJ.K”(9,3,3),C2+1)》“KDJ.K”(9,3,3) AND CROSS(“KDJ.D”(9,3,3),“KDJ.K”(9,3,3));
KDJ顶背离:=FILTER(D2》0,5);
STICKLINE(KDJ顶背离,2,1.25,2,0),COLORFFCC66;
DRAWTEXT(KDJ顶背离,1.47,/KDJ顶背离/),COLORFFCC66;
C3:=BARSLAST(REF(CROSS(“RSI.RSI2”(6,12,24),“RSI.RSI1”(6,12,24)),1));
D3:=REF(C,C3+1)《C AND REF(“RSI.RSI1”(6,12,24),C3+1)》“RSI.RSI1”(6,12,24) AND CROSS(“RSI.RSI2”(6,12,24),“RSI.RSI1”(6,12,24));
RSI顶背离:=FILTER(D3》0,5);
STICKLINE(RSI顶背离,2,1.5,2,0),COLORWHITE;
DRAWTEXT(RSI顶背离,1.75,/RSI顶背离/),COLORWHITE;
更多通达信股票公式知识请关注股票知识网
(股票知识网zhishi.southmoney.com)
要闻导读
|
||||||||||
|