同花顺逃顶副图指标
源码
DRAWGBKLAST(V 1,STRIP(RGB(0,0,0),RGB(90,90,90),0));
i:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE OPEN,VOL,1),3);
r:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE OPEN,VOL,1),4);
短逃:IF(i,0,1),colorgreen;
DRAWICON(短逃,100,8);
Var1k:=EMA(C,12)-EMA(C,20);
Var2k:=EMA(Var1k,9);
拐点:(Var1k Var2k AND REF(Var1k,1) =REF(Var2k,1) AND Var1k 0 AND Var2k -0.2 AND (-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100) 45 AND (Var2k-REF(Var2k,1)) 0),coloryellow;
DRAWICON(拐点,90,4);
逃: IF(CROSS((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)),90),60,0),STICK,linethick4,colorgreen;
Varo2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Varo3:=SMA(SMA(Varo2,3,1),3,1);
Varo4:=EMA(Varo3,5);
Varo5:=LLV(LOW,26);
Varo6:=HHV(HIGH,34);
Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;
STICKLINE(CROSS(Varo4,10) AND Varo4 10,25,0,8,0),coloryellow;
建仓区: IF((Varo7 10),80,100) ,linethick2 ,color00ccff;
派发区: IF((Varo7 90),20,0),linethick2 ,color6699ff;