【通達(dá)信】尋莊騎馬指標(biāo)公式
攻城獅 2016.02.07 08:19
均價:=(0.618*(0.809*C+0.191*o)+0.382*(if(H=C,C,H)+if(L=C,C,L))/2);
R:=(0.809*if(L=C,C,L)+0.191*均價);R1:=(0.809*if(H=C,C,H)+0.191*均價);kx:=(r+R1)/2;
hr:=(HHV(R1,34)*0.618+(HHV(R1,55)+HHV(R1,89))/2+HHV(R1,144)*0.382)/2;
Lr:=(LLV(R,34)*0.618+(LLV(R,55)+LLV(R,89))/2+LLV(R,144)*0.382)/2;
Zr:=(HHV(AMOUNT,34)*0.618+(HHV(AMOUNT,55)+HHV(AMOUNT,89))/2+HHV(AMOUNT,144)*0.382)/2;
量能:100*(HR-均價)/(HR-LR),LINETHICK,COLORGRAY;
STICKLINE(量能>=2,量能,0,3,1),COLORGRAY;
飽和度:(WMA(AMOUNT,2)/WMA(KX,2))/(ZR/HR)*100,LINETHICK,COLORRED;
STICKLINE(飽和度>量能,飽和度,0,2,0),COLORRED;
STICKLINE(飽和度<量能,飽和度,0,2,0),COLOR00bb00;
AK:=((均價-LR)/(HR-LR))*100-4.8;
kk:=SMA(ak,5,2),COLORFFC0FF;
騎馬線:KK,COLORWHITE;
IF(騎馬線>AK,騎馬線,DRAWNULL),COLORGREEN;
上馬:=(3*SMA((均價-LR)/(HR-LR)*100,3,1)-2*SMA((均價-LR)/(HR-LR)*100,3,1))-4.8;
馬線:EMA(上馬,3),LINETHICK2,COLORMAGENTA;
IF(上馬<馬線,馬線,DRAWNULL),COLORAAAA00,LINETHICK2;
獲利:=WINNER(均價);
kp:=(WMA(獲利,34)*0.618+(WMA(獲利,55)+WMA(獲利,89))/2+WMA(獲利,144)*0.382)/2;
控盤線:kp*100,COLORYELLOW,LINETHICK2;
STICKLINE(c>0,20,20,6,0),COLORMAGENTA;
STICKLINE(c>0,60,60,6,0),COLORMAGENTA;
0,COLORGREEN;40,COLORWHITE;80,COLORRED;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。