源码如下:
{N:5,120,13;} MA30:MA(C,30),COLOR99FF00; BDGD:=C=HHV(C,N); BDDD:=C=LLV(C,N); N1:=BARSLAST(BDGD); N2:=BARSLAST(BDDD); 高:IF(N1,REF(C,N1),REF(C,N1)),COLOR00FF00; 低:IF(N2,REF(C,N2),REF(C,N2)),COLORFFFFFF; 箱高:(高/低-1),COLOR0000FF,POINTDOT,LINETHICK0; FLSZ:=C/REF(C,1)>=1.01 AND V>REF(V,1); GDGD:=高>REF(高,1) AND REF(高,1)<=REF(高,2); TP:=COUNT(GDGD,2) AND COUNT(FLSZ,2); 突破:FILTER(TP,1)*2,COLORYELLOW,POINTDOT,LINETHICK0; 启动:C>低 AND REF(C=低,1),COLOR00FF00,POINTDOT,LINETHICK0; 小心:C<高 AND REF(C=高,1),COLORFFFF88,POINTDOT,LINETHICK0; IF(C,C,C),COLORFF00FF; DRAWTEXT(突破,L,△),COLORYELLOW; DRAWTEXT(启动,L,↑),COLOR00FF00; DRAWTEXT(小心,H*1.01,◎),COLORFFFF88;
|
|
|
|
|