大智慧涨停雷达副图指标
源码
refline:-100,0,50,75,87.5,100;
DRAWTEXTREL(0,100,'天狼涨停雷达');
FILLRGN(100,87.5,1>0),COLORRED;
FILLRGN(87.5,75,1>0),COLORBLUE;
涨停雷达:selfdata('涨停雷达'),color3d;
当日涨跌幅:(ref(c,0)-ref(c,1))/ref(c,1)*1000;
PARTLINE(当日涨跌幅,ref(c,0)-ref(c,1)>0,RGB(255,0,0),ref(c,0)-ref(c,1)<0,RGB(0,255,0),1,RGB(0,0,255)),linethick2;