B:-1*(HHV(H,6)-C)/(HHV(HIGH,6)-LLV(L,6))+1,COLOR999999;
FF:IF(B=1,0.8,0),COLORYELLOW;
CC:IF(B=0,0.5,1),COLOR00FF00;
DRAWTEXT(CROSS(B,0.99),0.5,'涨停'),COLOR0000FF;
DRAWTEXT(CROSS(0.001,B),0.5,'跌停'),COLORFFFF00;
买:IF(CROSS(B,0.01),0.9,0),COLORFF00FF;
卖:IF(CROSS(0.99,B),0.5,1),COLORFFCC00;
DRAWTEXT(CROSS(B,0.01),0.2,'买'),COLOR0099FF;
DRAWTEXT(CROSS(0.99,B),0.7,'卖'),COLORFFCC00;
追涨停:IF(C>REF(C,1)*1.0985,0.6,0),COLORYELLOW;
杀跌停:IF(C<ref(c,1)*0.902,0.5,1),color00ff00;
DRAWTEXT(C>REF(C,1)*1.0985,0.3.5,'追涨'),COLOR0000FF;
DRAWTEXT(C<ref(c,1)*0.902,0.6,'杀跌'),colorffff00;< p="">
标签:COLORYELLOW,DRAWTEXT,0.5,CROSS,通达信,源码,0.99,追涨杀跌 From: https://www.cnblogs.com/zhibiao/p/17991126