股票-通达信经典博庭波段买卖主图指标公式.docx
通达信经典博庭波段买卖主图指标公式_正点财经A1E:=BARSLAST(A1C);A1F:=IF(A1E0),(CLOSE-REF(CLOSE,1)/REF(CLOSE,1)*100,0);A20:=SUM(A1F,0);A21:=IF(A1D0),(0-2),0);A22:=IF(A1E0),SUM(CLOSE-REF(CLOSE,1)/REF(CLOSE,1)*100,A1E),0);A23:=A22/A1E;A25:=EMA(EMA(EMA(CLOSE,3),3),3);多方:(A25-REF(A25,1)+A25)COLOR0000FF,LINETHICK2;K2:=BACKSET(多方REF(多方,1),2);IF(K2,多方,DRAWNULL),COLOR00A600,LINETHICK2;空方:MA(多方,15)COLORFF49FF;K1:=BACKSET(空方REF(空方,1),2);IF(K1,空方,DRAWNULL),COLOR00A600,LINETHICK2;IF(多方REF(多方,1),多方,DRAWNULL),COLORFFFFCC,LINETHICK3,POINTDOT;IF(空方REF(空方,1),空方,DRAWNULL),COLOR00FFFF,LINETHICK3,POINTDOT;STICKLINE(多方空方),空方,多方,0,0)COLORYELLOW;STICKLINE(空方多方),多方,空方,0,0)COLORFF0000;DRAWTEXT(CROSS(空方,多方),多方*1.01,卖)COLOR00FF00;DRAWTEXT(CROSS(多方,空方),空方*0.99,买)COLOR0000FF;DRAWICON(REF(A21,1)=(0-2)AND(A21=0),LOW,13);DRAWICON(REF(A1E,1)0)AND(A1E=0),HIGH,6);生命线:EMA(C,250)CIRCLEDOT,COLORYELLOW;C2:=REF(C,1);涨停:=IF(C-C2)*100/C2=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;STICKLINE(涨停,H,L,0,0),COLORRED;跌停:=IF(C2-C)*100/C2=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;STICKLINE(跌停,H,L,0,1),COLORGREEN;通达信经典博庭波段买卖主图指标公式实例图解:通达信经典博庭波段买卖主图指标公式