2018通达信指标公式 通达信飞龙主图(2)
DRAWICON(归隐,H*1.015,2);
DRAWTEXT(归隐,H*1.025,'归隐')COLORGREEN;
VAR121:=ZIG(3,6)
=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR141:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR161:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR181:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
卖线:=(VAR121+VAR141+VAR161+VAR181);
压力平台:DRAWLINE(卖线,(C+O)*0.508,BARSLAST(卖线)>=1,REF((C+O)*0.508,BARSLAST(卖线)),1),LINETHICK2,COLORBLUE;
飞龙:EMA(COST(80),13)COLORYELLOW;
云层:MA(C,100)COLORRED;
持股:MA(C,8)COLORWHITE;
YJ:=持股;
IF(YJ*1.008>REF(YJ,1),YJ,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(YJ>REF(YJ,1),YJ,DRAWNULL),COLORRED,LINETHICK2;
持币:MA(C,13)COLORFFFF33,POINTDOT;
NOTEXTJ3:=MA(C,3);
DRAWICON(CROSS(NOTEXTJ3,持股) AND H>持股 AND C/O>=1.02,L*0.97,1);
DRAWTEXT(CROSS(NOTEXTJ3,持股) AND H>持股 AND C/O>=1.02,L*0.99,'腾云')COLORYELLOW;
SR1X:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2X:=FILTER(SR1X,10);
SR3X:=BACKSET(SR2X,10+1);
HDX:=FILTER(SR3X,10);
前高X:=REF(H,BARSLAST(HDX));
倍量X:=VOL/REF(VOL,1)>=1.9;
突破前高X:=CROSS(C,前高X);
Y2:= 倍量X AND 突破前高X;
YY2:= 倍量X AND C>O;
SJ:=BARSLAST(Y2);
STICKLINE(Y2,OPEN,CLOSE,3,0),COLORYELLOW;
DRAWTEXT(Y2,L*0.995,'倍量过左峰'),COLORYELLOW;
WRSI:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100;
买:=CROSS(WRSI,LL)COLORRED;
卖:=CROSS(LH,WRSI)COLORGREEN;
DRAWICON(买 AND H>=持股,L*0.99,1);
DRAWICON(卖,H*1.015,2);
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
驾雾线:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
HMHM:=CROSS(趋势线,0)AND 驾雾线<40;
DRAWICON(FILTER(HMHM,10),L*0.99,1);
DRAWTEXT(FILTER(HMHM,10),L*0.97,'驾雾'),COLORYELLOW,LINETHICK1;
DRAWTEXT(REF(C,1)<飞龙 AND 持股>飞龙,H*1.01,'飞龙在天')COLORYELLOW;
TC1:=IF(H=HHV(H,48),H,DRAWNULL);(股票知识网zhishi.southmoney.com)