以下是通达信五里头10号副图源码
N:=6;
AA:=(V-REF(V,1))/REF(V,1)*100;
TJ:=AA>1 AND LAST(REF(AA,1)<10,N,1);
T1:MA(AA,3),COLOR0000FF;
T2:MA(AA,89),COLOR00FFFF;
DRAWBAND(T1,RGB(200,50,55),T2,RGB(0,100,50));
遵:IF(T1>=T2,T1,DRAWNULL),COLORRED;
守:IF(T2>=T1,T2,DRAWNULL),COLORFF9900;
纪:IF(T1>=T2,T2,DRAWNULL),COLOR00FFFF;
律:IF(T2>=T1,T1,DRAWNULL),COLOR00FF00;
STICKLINE(TJ,0,20,3,0),COLOR00FFFF;
DRAWTEXT(FILTER(TJ,3),20,'缩量牛'),COLOR00FFFF;
TJ1:=FILTER(CROSS(T1,T2),5);
DRAWICON(TJ1,T2,23);