以下是通达信反弹逃顶副图指标
NOTEXT大气层:100,colorwhite;
NOTEXT巨浪:60,colorblue;
NOTEXT起浪:35,coloryellow;
NOTEXT海平面:10,colorgray;
反弹:SMA(SMA((C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100,3,1),3,1),coloryellow,NODRAW;
B:SMA((HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100,9,1),colorblue,LINETHICK2;
STICKLINE(反弹>REF(反弹,1),反弹,REF(反弹,1),10,0),coloryellow;
STICKLINE(反弹<REF(反弹,1),反弹,REF(反弹,1),10,1),coloryellow;
STICKLINE(反弹>REF(反弹,1)AND 反弹>35,反弹,REF(反弹,1),10,0),colorblue;
STICKLINE(反弹>REF(反弹,1)AND 反弹>60,反弹,REF(反弹,1),10,0),colorred;
STICKLINE(反弹<REF(反弹,1)AND 反弹<60,反弹,REF(反弹,1),10,1),colorred;
STICKLINE(反弹<REF(反弹,1)AND 反弹<35,反弹,REF(反弹,1),10,1),colorblue;
DRAWICON(反弹>REF(反弹,1)AND REF(反弹,1)<REF(反弹,2),反弹*1.1,1);
DRAWICON(反弹<REF(反弹,1)AND REF(反弹,1)>REF(反弹,2),REF(反弹,1)*1.1,2);
NOTEXT冲顶:IF(反弹>90,90,85),colorgreen;
DRAWTEXT(反弹<90 AND REF(反弹,1)>90,95,’逃顶’),colorred;
评论(0)