飞狐变色KDJ指标公式

RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:SMA(RSV,3,1);
D:SMA(K,2,1);
J:3*K-2*D;
MAV:=(2*C+H+L)/4;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
平衡:50,POINTDOT,COLORFF9999,LINETHICK2;
风险:70,POINTDOT,COLORF0F000,LINETHICK2;
{ _最新股票指标公式}
partline(K<REF(K,1),K),COLORGREEN,LINETHICK2;
partline(D<REF(D,1),D),COLORGREEN,LINETHICK2;
partline(J<REF(J,1),J),COLORFFFF00,LINETHICK2;
partline(K>REF(K,1),K),COLORRED,LINETHICK2;
partline(D>REF(D,1),D),COLORRED,LINETHICK2;
partline(J>REF(J,1),J),COLORFF00FF,LINETHICK2;
energy:= EMA((MAV-VAR1)/(VAR2-VAR1)*100,8);
momentum:= EMA(0.667*REF(energy,1)+0.333*energy,1);
S:=3*energy-2*momentum;
卖出:90,COLORWHITE,LINETHICK1;
底部:S<20,COLOR00AA00;
攻击:IF(底部,0,20),LINETHICK2,COLORYELLOW;
DRAWTEXT(crOSS(J,energy) AND 50>J ,J-1,'买'),COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(MA(J,2),J) AND J>50,J+6,'卖'),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(卖出,J) AND J>风险,J+18,'逃'),COLORFFFF00,LINETHICK2;
DRAWTEXT(CROSS(J,攻击) AND J>energy,J-15,'短追'),COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(J,MA(J,2)) AND 60>J ,J-1,'买入'),COLORWHITE,LINETHICK2;



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

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

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

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