引用:原帖由 雨也潇洒 于 2017-12-23 07:34 发表 http:// A2:=(C/REF(C,1)-1)*100>5; A3:=(C/REF(C,1)-1)*100<-5; DRAWNUMBER(A1,L,(H-L)/REF(C,1)*100),COLORYELLOW; DRAWNUMBER(A2,H*1.01,(C/REF(C,1)-1)*100),COLORRED; DRAWNUMBER(A3,H*1.01,(C/REF(C,1)-1)*100),COLORGREEN; B1:=CROSS(BACKSET(REFX(ISLASTBAR,1),BARSLAST(C>O)+1),0.5); B2:=CROSS(BACKSET(REFX(ISLASTBAR,1),BARSLAST(C<O)+1),0.5); STICKLINE(BACKSET(ISLASTBAR,BARSLAST(B1)+1),REF(C,BARSLAST(B1)),REF(C,BARSLAST(B1)),4,1),COLOR00CC00; STICKLINE(BACKSET(ISLASTBAR,BARSLAST(B2)+1),REF(C,BARSLAST(B2)),REF(C,BARSLAST(B2)),4,1),COLOR00B4FF; |
|