通達信PP多空能量指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 量能
- 畫線方法: 副圖
- 日期:2024-08-26 來源:互聯(lián)網(wǎng)
通達信PP多空能量指標公式:
TV:=IF(ISLASTBAR AND PERIOD=5,(V*240/FROMOPEN+V)/2,V);
Q:=IF(ABS(C-O)>0,(C-O)/(H-L)*50+50,50);
DT:=TV*Q/100;
KT:=TV-DT;
DL:=MA(DT,3)-MA(KT,3);
STICKLINE(DL>0,0,DL,3,0),COLOR000088;
STICKLINE(DL>0,0,DL,2.6,0),COLOR0000AA;
STICKLINE(DL>0,0,DL,1.6,0),COLOR0000CC;
STICKLINE(DL>0,0,DL,0.9,0),COLOR0000EE;
STICKLINE(DL<=0,0,DL,3,0),COLOR008800;
STICKLINE(DL<=0,0,DL,2.6,0),COLOR00AA00;
STICKLINE(DL<=0,0,DL,1.6,0),COLOR00CC00;
STICKLINE(DL<=0,0,DL,0.9,0),COLOR00EE00;
多頭量能:MA(DT,3),COLOR7F00FF,LINETHICK2;
空頭量能:MA(KT,3),COLOR66FF00,LINETHICK2;
強度:(多頭量能/(多頭量能+空頭量能)*100-50)*2,COLORRED,NODRAW;
X:=AMOUNT/100000000;
凈額_億:X*(強度-50)/100,NODRAW;
DF:=多頭量能;
多頭進攻:IF(DL>0 AND DL>EMA(DL,3),0,DRAWNULL),COLOR7F00FF,CIRCLEDOT,LINETHICK5;
多頭撤退:IF(DL>0 AND DL<EMA(DL,3),0,DRAWNULL),COLORMAGENTA,CIRCLEDOT,LINETHICK5;
空頭進攻:IF(DL<=0 AND DL<=EMA(DL,3),0,DRAWNULL),COLOR66FF00,CIRCLEDOT,LINETHICK5;
空頭撤退:IF(DL<=0 AND DL>=EMA(DL,3),0,DRAWNULL),COLORCYAN,CIRCLEDOT,LINETHICK5;
通達信PP多空能量指標公式實例圖解:
通達信PP多空能量指標公式