博弈量能系列指標(biāo)
多:=IF(C>REF(C,1),V,0)/100;
空:=IF(C<REF(C,1),V,0)/100;
正:EMA(MA(多,3),3)COLORFFFFFF,LINETHICK0;
負(fù):EMA(MA(空,3),3)COLORGREEN,;
STICKLINE(正,正,0,6,0),COLORRED;
STICKLINE(正>0 AND 正>REF(正,1),正*4/5,0,3,0),COLOR10D3FF;
STICKLINE(正>0 AND 正>REF(正,1),正*2/5,0,3,0),COLOR10FFFF;
STICKLINE(正>0 AND 正<REF(正,1),正,0,6,0),COLORBROWN;
STICKLINE(正>0 AND 正<REF(正,1),正*4/5,0,3,0),COLORCA3DB5;
STICKLINE(正>0 AND 正<REF(正,1),正*2/5,0,3,0),COLORFF99CC;
STICKLINE(負(fù),負(fù)*(-1),0,5,0),COLOR66FF00;
STICKLINE(負(fù),負(fù)*(-0.85),0,5,0),COLOR66DD00;
STICKLINE(負(fù),負(fù)*(-0.75),0,5,0),COLOR66BB00;
STICKLINE(負(fù),負(fù)*(-0.65),0,5,0),COLOR669900;
STICKLINE(負(fù),負(fù)*(-0.55),0,5,0),COLOR667700;
STICKLINE(負(fù),負(fù)*(-0.45),0,5,0),COLOR665500;
STICKLINE(負(fù),負(fù)*(-0.35),0,5,0),COLOR663300;
博弈量能指標(biāo)
VAR1:=AMOUNT/VOL/100;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,40)/VAR1/100;
VAR4:=SUM(AMOUNT,80)/VAR1/100;
CYC40:=DMA(VAR2,VOL/VAR3);
CYC80:=DMA(VAR2,VOL/VAR4);
CYS40:=(CLOSE-CYC40)/CYC40*100;
CYS80:=(CLOSE-CYC80)/CYC80*100;
控盤:4,COLORYELLOW;
警戒:21,COLOR0099FF;
河:-5,COLORGREEN;
湖:-15,COLORCCFF33;
STICKLINE(CYS80>0,0,CYS80,1,0),COLORYELLOW;
STICKLINE(CYS80<=0,0,CYS80,1,0),COLORGREEN;
STICKLINE(CYS40>0,0,CYS40,1,0),COLORRED;
STICKLINE(CYS40<=0,0,CYS40,1,0),COLORFF9966;
《博弈量能指標(biāo)1》
VAR1:=AMOUNT/VOL/100;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,40)/VAR1/100;
VAR4:=SUM(AMOUNT,80)/VAR1/100;
CYC40:=DMA(VAR2,VOL/VAR3);
CYC80:=DMA(VAR2,VOL/VAR4);
CYS40:=(CLOSE-CYC40)/CYC40*100;
CYS80:=(CLOSE-CYC80)/CYC80*100;
控盤:4,COLORYELLOW;
警戒:21,COLOR0099FF;
河:-5,COLORGREEN;
湖:-15,COLORCCFF33;
STICKLINE(CYS80>0,0,CYS80,1,0),COLORYELLOW;
STICKLINE(CYS80<=0,0,CYS80,1,0),COLORGREEN;
STICKLINE(CYS40>0,0,CYS40,1,0),COLORRED;
STICKLINE(CYS40<=0,0,CYS40,1,0),COLORFF9966;
************************************************************************************************************************************************
《博弈量能系列指標(biāo)2》
多:=IF(C>REF(C,1),V,0)/100;
空:=IF(C<REF(C,1),V,0)/100;
正:EMA(MA(多,3),3)COLORFFFFFF,LINETHICK0;
負(fù):EMA(MA(空,3),3)COLORGREEN,;
STICKLINE(正,正,0,6,0),COLORRED;
STICKLINE(正>0 AND 正>REF(正,1),正*4/5,0,3,0),COLOR10D3FF;
STICKLINE(正>0 AND 正>REF(正,1),正*2/5,0,3,0),COLOR10FFFF;
STICKLINE(正>0 AND 正<REF(正,1),正,0,6,0),COLORBROWN;
STICKLINE(正>0 AND 正<REF(正,1),正*4/5,0,3,0),COLORCA3DB5;
STICKLINE(正>0 AND 正<REF(正,1),正*2/5,0,3,0),COLORFF99CC;
STICKLINE(負(fù),負(fù)*(-1),0,5,0),COLOR66FF00;
STICKLINE(負(fù),負(fù)*(-0.85),0,5,0),COLOR66DD00;
STICKLINE(負(fù),負(fù)*(-0.75),0,5,0),COLOR66BB00;
STICKLINE(負(fù),負(fù)*(-0.65),0,5,0),COLOR669900;
STICKLINE(負(fù),負(fù)*(-0.55),0,5,0),COLOR667700;
STICKLINE(負(fù),負(fù)*(-0.45),0,5,0),COLOR665500;
STICKLINE(負(fù),負(fù)*(-0.35),0,5,0),COLOR663300;
************************************************************************************************************************************************
《博弈量能系列指標(biāo)3》
STICKLINE(VOL>0 AND C>O,VOL,0,2.9,0),COLOR1472FF;
STICKLINE(VOL>0 AND C<O,VOL,0,2.9,0),COLOR148A14;
MA18:=EMA(CLOSE,18);
加碼價(jià):=((C-REF(MA18,1))/18+MA18)*1;
加碼條件:=CROSS(C,加碼價(jià)) AND 加碼價(jià)>REF(加碼價(jià),1);
STICKLINE(VOL>0 AND 加碼條件,VOL,0,2.9,0),COLORYELLOW;
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
S1:=今小昨;
今小前:IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
S2:=今小前;
今量:VOL/10000,LINETHICK0;
STICKLINE(VOL>0 AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),VOL,0,2.9,1),COLORMAGENTA;
STICKLINE(VOL>0 AND TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,VOL,0,2.9,1),COLORBLUE;
YE:=(HIGH+LOW+CLOSE)/3;
YE1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
YE2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-YE);
YE3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
YE4:=IF(HIGH=LOW,1,YE-MIN(CLOSE,OPEN));
YE5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
YE6:=SUM((YE1*YE5),1);{散戶賣出}
YE7:=SUM((YE2*YE5),1);{主力賣出}
YE8:=SUM((YE3*YE5),1);{散戶買入}
YE9:=SUM((YE4*YE5),1);{主力買入}
買:(YE9+YE8)/10000,LINETHICK0,COLORWHITE;
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,2.9,0),COLOR0000AA;
STICKLINE((YE6+YE7)>0,(YE6+YE7),0,0.2,0),COLORCYAN;
STICKLINE((YE6+YE7)>0 AND TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,(YE6+YE7),0,0.2,0),COLORBLUE;
STICKLINE((YE6+YE7)>0 AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),(YE6+YE7),0,0.2,0),COLORMAGENTA;
賣:(YE6+YE7)/10000,LINETHICK0,COLORGREEN;
STICKLINE((YE6+YE7)>0 AND TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,(YE6+YE7),0,0.1,0),COLORBLUE;
STICKLINE((YE6+YE7)>0 AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),(YE6+YE7),0,0.1,0),COLORGREEN;