飞狐KD日月周叠魔鬼读盘副图指标

源码

80, POINTDOT;
20, POINTDOT;

Var2:=LLV(LOW,5);
Var3:=HHV(HIGH,5);
K:EMA((CLOSE-Var2)/(Var3-Var2)*100,4) colorblue;
D:EMA(0.667*REF(K,1)+0.333*K,2) coloryellow;

{week:=5;}
Kz:ma(k,5) linethick2 colorred;
Dz:ma(d,5) linethick2 colorgreen;
Km:ma(k,20) colorred colormagenta;
Dm:ma(d,20) colorgreen colorblue;
varA:=SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1);
warb:=SMA(vara,5,1);
获利盘:WINNER(CLOSE)*100 coloryellow linethick2;

流通盘:CAPITAL/1000000 color0066ff pointdot  ;
收益:FINANCE(33) COLORmagenta pointdot ;

a:=(3*c+l+o+h)/6;
b:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210;
e:=ma(b,10);
持仓区:STICKLINE(b>e,103 ,107,6,1 ) colorred linethick2;
空仓区:STICKLINE(b<e,103 ,107,6,1 ) colorgreen linethick2;

分水岭:50 coloryellow pointdot;
强势尺:80 colorred pointdot;

STICKLINE(b>e,105 ,106,3,0) coloryellow;
STICKLINE(b<e,105 ,106,3,0) COLORred;

STICKLINE(winner(close)*100>=winner(open)*100 ,winner(open)*100 ,winner(close)*100 ,8,0),colorred ;
STICKLINE(winner(open)*100>winner(close)*100 ,winner(close)*100 ,winner(open)*100 ,6,0 ),colorgreen ;

DRAWICON(获利盘<6 and CROSS(varA,warb) ,18 ,1);




未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图