{www.9m8.cn 九毛八新且全的股票公式指标网}
多空线:(AA+bb)/2,COLORRED,PRECISION2,LINETHICK1;
PARTLINE(aa BB,AA),COLORAAAA00;
PARTLINE(aa BB,BB),COLORAAAA00;
PARTLINE(aa BB,多空线),COLORAAAA00;
角:=ATAN((多空线/ref(多空线,1)-1)*100)*180/3.1416,LINETHICK,COLORGREEN;
DRAWTEXT(filter(角 =30 and 多空线 ref(多空线,1),8),多空线*0.98,' 30'),colorwhite,ALIGN0;
DK:=多空线;
FL:=DK+ABS(DK-REF(DK,1)),COLORWHITE;
FS:=2*DK-REF(DK,1),COLORWHITE;
BBI:IF(DK FS,FS,DK),COLORWHITE,LINETHICK1;
PARTLINE(BBI FS,BBI),COLOR00bb00,LINETHICK1;