【通達信】PP多空能量指標(biāo)公式
攻城獅 2016.03.29 11:38
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;
{m.chiang1015.com 概念股網(wǎng)_最新股票指標(biāo)公式}
強度:(多頭量能/(多頭量能+空頭量能)*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空頭進攻: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;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責(zé),投資決策請建立在獨立思考之上。