通达信博尔多空概率主图指标_本人优化版
DRAWGBK(C>0, RGB(60,70,80),RGB(88,0,0),0,'11',0);
DRAWNUMBER(ISLASTBAR,C,C),COLORMAGENTA;
DRAWKLINE(HIGH, OPEN,LOW, CLOSE);
空95:HHV((HIGH+LOW+OPEN+2*CLOSE)/5+H-L,5),COLORFFCC00;
空68:HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5),COLORRED;
平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORLIGRAY,DOTLINE;
多68:LLV((HIGH+LOW+OPEN+2*CLOSE)/5*2-H,8),COLORGREEN;
多95:LLV((HIGH+LOW+OPEN+2*CLOSE)/5-H+L,8),COLORFAABEC;
F:=100*(C-REF(C,1))/REF(C,1),COLORFFCC00,NODRAW;
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0);
P2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,3.5,0),COLORMAGENTA;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,3,0),COLORGREEN;
现价:MA(CLOSE,1),COLORFFCC66;
获利:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),COLOR0000FF,NODRAW;
昨收盘价:=REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-昨收盘价,0),6,1)/SMA(ABS(CLOSE-昨收盘价),6,1)*100,COLORCYAN,NODRAW;
乖离24:(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,COLORWHITE,NODRAW;
DRAWTEXT(CROSS(RSI,80),H*1.03,'↓调整'),COLORYELLOW;
121677733.jpg
|