通达信指标公式源码极品低吸高抛-源码
DRAWBAND(EMA(C,12),RGB(150,10,10),EMA(C,50),RGB(0,100,100))
;
重心:(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;
SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);$
ZJ:=WMA*REF(SJ,1)+*SJ,2);$
DRAWTEXT(CROSS(SJ,ZJ) AND LAST(SJ<ZJ,5,1)$
AND SJ<30,,'←低吸'),COLOR00FF00;$
DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70,H+,'←高抛'),COLOR0077FF;
Q5:MA(C,4);
压力:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3)
,HHV(HIGH,3),1);
低吸:CROSS(SJ,ZJ) AND LAST(SJ<ZJ,5,1) AND
SJ<30,COLORRED,NODRAW;$
DRAWICON(低吸,REF(CLOSE,1)*,24);
极品绝底:=IF(L<=LLV(L,100),-10,0);
低吸极品:IF(低吸 AND 极品绝底=-10,-1,0),COLORRED,NODRAW;
蛟龙出宫:REF(低吸,1) AND C>*MA(C,4)$
AND CROSS(C,MA(C,4)) AND C>压力 AND C>O,COLORRED,NODRAW;
{压撑线 N 1 100 5}
N:=5;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C
0C0;
1