飞狐个股快慢线指标公式

input:N(4,1,100);
X1:=(EMA(C,N)-EMA(C,13))/EMA(C,13)*100;
{X2:=(EMA(C,5)-EMA(C,34))/EMA(C,13)*100;
X3:=(EMA(C,5)-EMA(C,60))/EMA(C,13)*100;}
X4:=(EMA(C,N)-EMA(C,120))/EMA(C,13)*100;
X5:=(EMA(C,N)-EMA(C,N+3))/EMA(C,13)*100;
X6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));
X7:=IF(X6>0,X5,0-X5);
X8:=H-MAX(C,O)-(MIN(C,O)-L);
X9:=(X7+X8)/2+C-REF(C,1);
X10:=SUM(X9,0)+100;
X11:=EMA(X10,7)+100;
X12:=EMA(X10,13)+100;
X13:=EMA(X10,34)+100;
X14:=EMA(X10,60)+100;
X15:=EMA(X10,120)+100;
X16:=(X11-X12)/EMA(C,13)*100;
X17:=(X11-X13)/EMA(C,13)*100;
X18:=(X11-X14)/EMA(C,13)*100;
X19:=(X11-X15)/EMA(C,13)*100;
X20:=(X19-X16);
{X21:=(X19-X17);
X22:=(X19-X18);}
Y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);
Y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
Y3:=Y1-Y2;
Y4:=100-Y3;
Y5:=(0-(EMA(Y4,1)-50))+50;
Y6:=(0-(EMA(Y4,12)-50))+50;
Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);
Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
Z3:=(Z1-Z2-50)*1.032+50;
Z4:=(2*C+H+L+O)/5;
Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);
慢线:C*(X4-X1+X20+Y5-Y6)/5 ;
快线:C*(Z3-Z5)/5+慢线,colorblue,linethick2;
partline(快线>慢线,快线),COLORFF00FF,LINETHICK2;
DRAWTEXTEX(1,0,0,0,'快线上穿慢线买入,快线下穿慢线卖出 \n快线慢性高位粘合,结合逃顶指标卖出\n个股看60分钟K线 ,大盘看15和30分钟K线'),COLORccffcc;
{ _最新股票指标公式}
X:=SMA(((HHV(CLOSE,13) - CLOSE) / (HHV(CLOSE,13) - LLV(CLOSE,13))),5,1);
逃顶:pow(C,0.6)*10*((1 / X) - 1),COLORSTICK,colorgreen;
STICKLINE(逃顶 > pow(C,0.6)*80,0,逃顶,6,0),colorgreen;
动能:slope(逃顶,2)*pow(MAX(C,15),0.25)*0.8+min(HHV(逃顶,500)*0.3,300),coloryellow,linethick2;
min(HHV(逃顶,500)*0.3,300);
partline(slope(动能,2)>0,动能),COLORRED,linethick2;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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