通达信飞越彩泓线副图源码


DEA:=EMA(DIF,9);
XG1:=VOL< HHV(VOL,120)/10 AND CROSS(DIF,DEA) AND VOL< MA(VOL,60)/1.9;
XG2:=HHV(C,120)/LLV(C,120)< 1.5;
趋势线:=3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),3,1),COLORYELLOW;
STICKLINE(底>趋势线,底,趋势线,2,0),COLORRED;
STICKLINE(趋势线>顶,趋势线,顶,2,0),COLORGREEN;
STICKLINE(REF(趋势线,1)< 顶 AND 趋势线>顶,90,100,2,0),COLORCYAN;
STICKLINE(REF(趋势线,1)>顶 AND 趋势线< 顶,90,80,2,0),COLORBLUE;
STICKLINE(CROSS(趋势线,底),0,60,2,0),COLORMAGENTA;
STICKLINE(CROSS(趋势线,初),20,30,2,0),COLORRED;
牛:3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),3,1), COLORWHITE;
DRAWTEXT(CROSS(趋势线,底),底,'杀庄'),COLORLIMAGENTA;
趋势:(趋势线-REF(趋势线,1))*100/REF(趋势线,1),NODRAW,COLORYELLOW;
彩泓:IF(趋势>=1,趋势线,DRAWNULL),COLORRED,LINETHICK3;