指標(biāo)說明:
副圖指標(biāo),分時可用。
指標(biāo)源碼:
TEND:3*SMA((C-LLV(LOW,27))/(HHV(H,27)-LLV(LOW,27))
*100,5,1)-2*SMA(SMA((C-LLV(LOW,27))/(HHV(H,27)-LLV(LOW,27))
*100,5,1),3,1),COLORFF00FF;
TJ0:IF(TEND<=10,12,0),LINETHICK2,COLORFF00FF;
ZBVAR1:=HHV(H,9)-LLV(LOW,9);
ZBVAR2:=HHV(H,9)-C;
ZBVAR3:=C-LLV(LOW,9);
ZBVAR4:=ZBVAR2/ZBVAR1*100-70;
ZBVAR5:=(C-LLV(LOW,60))/(HHV(H,60)-LLV(LOW,60));
ZBVAR6:=(2*C+H+LOW)/4;
ZBVAR7:=SMA(ZBVAR3/ZBVAR1*100,3,1);
ZBVAR8:=LLV(LOW,34);
ZBVAR9:=SMA(ZBVAR7,3,1)-SMA(ZBVAR4,9,1);
ZBVAR10:=IF(ZBVAR9>100,ZBVAR9-100,0);
ZBVAR11:=HHV(H,34);
ZBVAR12:=EMA((ZBVAR6-ZBVAR8)/(ZBVAR11-ZBVAR8)*100,13);
ZBVAR13:=EMA(0.667*REF(ZBVAR12,1)+0.333*ZBVAR12,2);
ZBVAR13,COLOR000000;
DRAWBAND(ZBVAR12,RGB(255,0,0),ZBVAR13,RGB(256,200,0));
A1:=HHV(H,50)/LLV(LOW,100)>1.5;
A2:=(HHV(H,50)-LOW)/(HHV(H,50)-LLV(LOW,100));
A3:=(LOW-LLV(LOW,100))/(HHV(H,50)-LLV(LOW,100));
A4:=HHVBARS(H,50)<LLVBARS(LOW,100);
A5:=A1 AND A2>0.5 AND A3>0.3 AND A4;
A6:=COUNT(A5,20)=1;
TJ1:=A6 AND A5;
STICKLINE(TJ1,0,20,4,0),COLOR009999;
STICKLINE(TJ1,0,20,2,0),COLOR00BBBB;
STICKLINE(TJ1,0,20,1,0),COLOR00DDDD;
STICKLINE(TJ1,0,20,0.4,0),COLOR00FFFF;
DRAWTEXT(TJ1 ,22,'搶彈'),COLOR00BBFF;
ZBVAR2W:=100-100*(HHV(H,14)-C)/(HHV(H,14)-LLV(LOW,14));
MW:= EMA(ZBVAR2W,3);
ZBVAR3W:=EMA(ZBVAR2W,7);
M1:= EMA(ZBVAR3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
TJ2:IF((MB1),20,0),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(MW,M1) AND M1<20,22,'★底'),COLORRED;
SAL: IF(TEND>=98,90,100),LINETHICK3,COLORFF0000;
DRAWICON(CROSS(80,TEND),80,2);
XG:TJ0 AND TJ2;
STICKLINE(XG,0,30,4,0),COLOR000099;
STICKLINE(XG,0,30,2,0),COLOR0000BB;
STICKLINE(XG,0,30,1,0),COLOR0000DD;
STICKLINE(XG,0,30,0.4,0),COLOR0000FF;
TJ3:=FILTER(CROSS(TEND,ZBVAR12) AND ZBVAR12<60,8);
DRAWICON(TJ3,ZBVAR12,23);
DRAWTEXT(TJ3,TEND,'拉'),COLORFFFFFF;
{完}
指標(biāo)效果圖:
關(guān)注公眾號,每天接收精品指標(biāo)。
學(xué)習(xí)園地,每天學(xué)一個小公式
懂得運用公式編輯器,掌握了公式的基本函數(shù),就可以進(jìn)行簡單的公式編寫了。每天學(xué)習(xí)一個公式的基本語句,日積月累,你也能編寫出好的指標(biāo)公式了。
今日學(xué)習(xí):
30日內(nèi)到本日收盤價下跌20%的公式
xg:hhv(c,30)/c>1.2;
聯(lián)系客服