原创绝版自编BOLL组合指标,用了不好再骂我
2015-9-7 14:44:17点击:
中:MA(AMOUNT/(100*VOL),21),COLORFFFFFF; 上:中+1.96*STD(AMOUNT/(100*VOL),21),COLORYELLOW; 下:中-1.96*STD(AMOUNT/(100*VOL),21),COLORFF11FF; 持股线60:=EMA(AMOUNT/(100*VOL),60),COLORYELLOW,DOTLINE; P:=AMOUNT/(VOL*100); PP:=(HIGH+LOW+OPEN+2*CLOSE+P)/6; 五底:=EMA(PP,5),COLORWHITE,DOTLINE; 中1:=MA(AMOUNT/(100*VOL),59),COLORFFFFFF; 五高:EMA(1.09*PP,5),COLOR00FF00,DOTLINE; 十日:EMA(PP,10),COLORYELLOW,DOTLINE; HS:=VOL/CAPITAL*100,COLOR0000FF; 换手:SUM(HS,60),NODRAW,COLOR0000FF; 带宽:100*(上-下)/中,NODRAW; VAR1:=(2*CLOSE+HIGH+LOW)/5; VAR2:=EMA(VAR1,5); VAR3:=REF(VAR2,1); STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR000088; STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR000099; STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.4,0),COLOR0000AA; STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR0000BB; STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.0,0),COLOR0000CC; STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.8,0),COLOR0000DD; STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.5,0),COLOR0000EE; STICKLINE((VAR2>VAR3),CLOSE,OPEN,1,0),COLOR0000FF; STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLOR0000FF; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.2,0),COLOR888800; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.1,0),COLOR999900; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.1,0),COLORAAAA00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,2),COLORBBBB00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.0,0),COLORCCCC00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.8,0),COLORDDDD00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.5,0),COLOREEEE00; STICKLINE((VAR3>VAR2),CLOSE,OPEN,1,0),COLORFFFF00; STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORFFFF00; STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORFFFF00; STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED; C4:=CROSS(VAR2,VAR3); C5:=CROSS(VAR3,VAR2); DRAWICON(C4,LOW-0.3,1); DRAWICON(C5,HIGH+0.3,2); BIS6 :=(C-五底)/五底*100,NODRAW; BS60(0和20):(C-中1)/中1*100,NODRAW; BS21(10负12):(C-EMA(C,21))/EMA(C,21)*100,NODRAW; N:=21;M:=6;M1:=20; TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N); HD :=HIGH-REF(HIGH,1); LD :=REF(LOW,1)-LOW; DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N); DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N); PDI:= DMP*100/TR1; MDI:= DMM*100/TR1; ADX:= EMA((PDI-MDI)/(MDI+PDI)*100,M)*2,NODRAW; ADXR:=EMA(ADX,M),NODRAW; 斜率10:ATAN(EMA(C,10)/REF(EMA(C,10),1)*100-100)*57.3,NODRAW; 斜率21:ATAN(中/REF(中,1)*100-100)*57.3,NODRAW; 斜率60:ATAN(中1/REF(中1,1)*100-100)*57.3,NODRAW; 上轨:ATAN(上/REF(上,1)*100-100)*57.3,NODRAW; CDP:=REF(H+L+2*C,1)/4; 最高:=CDP+REF(H-L,1),COLOR0000FF,NODRAW; 近高:=CDP*2-REF(L,1),COLOR00FFFF,NODRAW; 均值:=REF(H+L+2*C,1)/4,COLORLIGRAY,NODRAW; 近低:=CDP*2-REF(H,1),COLORFFFF00,NODRAW; 最低:=CDP-REF(H-L,1),COLOR40FF00,NODRAW; X1:=EMA(C,3); X2:=REF(X1,1); X3:=EMA(C,10); X4:=REF(X3,1); X5:=EMA(C,21); X6:=REF(X5,1); 三日线斜率:=((X1-X2)/X2*100)*10; 十日线斜率:=((X3-X4)/X4*100)*10; 均价线:=AMOUNT/V/100,NODRAW; C2:=REF(C,1); 涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0); STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED,NODRAW; STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW,NODRAW; STICKLINE(涨停,H,L,0,0),COLORYELLOW,NODRAW; B1:='┄┄┄┄┄',NODRAW; DRAWTEXT(均价线 AND 涨停,均价线,B1),COLOR00FFFF,NODRAW; B3:='┄┄┄┄┄',NODRAW; DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3),COLORMAGENTA,NODRAW; B2:='┄┄┄┄┄',NODRAW; DRAWTEXT(涨停,L,B2),COLORGRAY,NODRAW; 黄金支持:=REF(L+(H-L)*0.618,BARSLAST(CONST(BARSLAST(IF(CURRBARSCOUNT<=390,C>REF(C,1)*1.097,0)))+1=CURRBARSCOUNT)),DOTLINE,COLOR00FF00; 涨停均线:=REF(AMOUNT/V/100,BARSLAST(CONST(BARSLAST(IF(CURRBARSCOUNT<=390,C>REF(C,1)*1.097,0)))+1=CURRBARSCOUNT)),DOTLINE,COLOR00FFFF; 半价:=REF((O+C)/2,BARSLAST(CONST(BARSLAST(IF(CURRBARSCOUNT<=390,C>REF(C,1)*1.097,0)))+1=CURRBARSCOUNT)),DOTLINE,COLORFF00FF;
- 上一篇:做期货最好的分时图-精准波段(源码 分时主图 通达信 贴图) 2015/9/7
- 下一篇:大小波段通杀(通达源码、帖图) 2015/9/7