通達信量能分析籌碼分布博弈指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2019-08-05 來源:互聯(lián)網(wǎng)
通達信量能分析籌碼分布博弈指標公式:包含有未來函數(shù)XMA
量能博弈:=C>REF(C,1) AND CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
正向博弈平臺:REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(量能博弈)+1),NODRAW;
量能博弈平臺上:=REF(HIGH,BARSLAST(量能博弈)+1);
量能博弈平臺下:=REF(LOW,BARSLAST(量能博弈)+1);
博弈:=C<REF(C,1) AND CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
博弈平臺A:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈)-1);
博弈平臺B:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈));
反向博弈平臺:MIN(博弈平臺A,博弈平臺B),NODRAW;
博弈平臺上A:=REF(HIGH,BARSLAST(博弈)-1);
博弈平臺上B:=REF(HIGH,BARSLAST(博弈));
博弈平臺上:=MIN(博弈平臺上A,博弈平臺上B);
博弈平臺下A:=REF(LOW,BARSLAST(博弈)-1);
博弈平臺下B:=REF(LOW,BARSLAST(博弈));
博弈平臺下:=MIN(博弈平臺下A,博弈平臺下B);
{----------------------------------------------------------}
籌碼分布:=V=HHV(V,100);
異動博弈平臺:REF((H+L+3*C)/5,BARSLAST(籌碼分布)),NODRAW;
異動成本上限:=REF(H,BARSLAST(籌碼分布));
異動成本下限:=REF(L,BARSLAST(籌碼分布));
資金分布:=AMOUNT=HHV(AMOUNT,100) AND NOT(籌碼分布);
資金博弈平臺:REF((H+L+3*C)/5,BARSLAST(資金分布)),NODRAW;
臺上:=REF(H,BARSLAST(資金分布));
臺下:=REF(L,BARSLAST(資金分布));
VAR1:=(C+H+O+L)/4;
賣出:=XMA(VAR1,20)*(1+80/1000);
買入:=XMA(VAR1,32)*(1-100/1000);
{買:CROSS(買入,LOW),NODRAW;
賣:CROSS(HIGH,賣出),NODRAW;}
{----------------------------------------------------------}
DRAWBAND(量能博弈平臺上,RGB(248,242,242),量能博弈平臺下,RGB(248,242,242));
DRAWBAND(博弈平臺上,RGB(70,177,63), 博弈平臺下,RGB(70,177,63));
DRAWBAND(異動成本上限,RGB(250,249,8),異動成本下限,RGB(250,249,8));
DRAWBAND(臺上,RGB(114,2,4),臺下,RGB(114,2,4));
{=================================================}
STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
STICKLINE(C<=O,C,O,1,0),COLORCECE00;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
高拋線:賣出,COLORGREEN,LINETHICK2;
低吸線:買入,COLORMAGENTA,LINETHICK2;
風險:100*(L-買入)/買入,NODRAW;
幅度:100*(賣出-買入)/買入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,MAX(賣出,MAX(OPEN,CLOSE)),3,0),COLOR007B00;
STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,MAX(賣出,MAX(OPEN,CLOSE)),2,0),COLOR009000;
STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,MAX(賣出,MAX(OPEN,CLOSE)),1,0),COLOR00A800;
STICKLINE(賣出>MIN(C,O) AND 賣出<MAX(C,O),賣出,MAX(OPEN,CLOSE),3,0),COLOR007B00;
STICKLINE(賣出>MIN(C,O) AND 賣出<MAX(C,O),賣出,MAX(OPEN,CLOSE),2,0),COLOR090000;
STICKLINE(賣出>MIN(C,O) AND 賣出<MAX(C,O),賣出,MAX(OPEN,CLOSE),1,0),COLOR00A800;
STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,HIGH,0,0),COLORGREEN;
STICKLINE(賣出<LOW,OPEN,CLOSE,3,0),COLOR007B00;
STICKLINE(賣出<LOW,OPEN,CLOSE,2,0),COLOR009000;
STICKLINE(賣出<LOW,OPEN,CLOSE,1,0),COLOR00A800;
STICKLINE(賣出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(買入>LOW AND 買入<HIGH,買入,MIN(MIN(OPEN,CLOSE),買入),1.5,0),COLORCC66FF;
STICKLINE(買入>MIN(C,O) AND 買入<MAX(C,O),買入,MIN(OPEN,CLOSE),1.5,0),COLORCC66FF;
STICKLINE(買入>LOW AND 買入<HIGH,買入,LOW,0,0),COLORMAGENTA;
STICKLINE(買入>HIGH,OPEN,CLOSE,1.5,0),COLORMAGENTA;
STICKLINE(買入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWICON(CROSS(買入,LOW),LOW*0.95,11);
DRAWICON(CROSS(HIGH,賣出),HIGH*1.02,12);
通達信量能分析籌碼分布博弈指標公式實例圖解:
通達信量能分析籌碼分布博弈指標公式