///四金叉///
ma3:=ema(c,3);
ma5:=ema(c,5);
ma10:=ema(c,10);
ma13:=ema(c,13);
ema13:=ma(c,13);ema34:=ma(c,34);ema55:=ma(c,55);
ma20:=ema(c,20);
ma25:=ema(c,25);
ma34:=ema(c,34);
ma55:=ema(c,55);
ma60:=ema(c,60);
ma250:=ema(c,250);
mv3:=ema(v,3);
mv5:=ema(v,5);
mv10:=ema(v,10);
mv20:=ema(v,20);
mv30:=ema(v,30);
mv60:=ema(v,60);
k:="kdj.k"(9,3,3);
d:="kdj.d"(9,3,3);
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd1:=dif>ref(dif,1) and dea>=ref(dea,1) and dif>dea;
macd2:=dif>ref(dif,1) and dea>=ref(dea,1) and dif>dea;
v1:=ma5>ref(ma5,1) and ma10>ref(ma10,1) and c>ref(c,1) and c/o>1.01;
v2:=ma3>ref(ma3,1) and ma5>ref(ma5,1) and c>ref(c,1) and c/o>1.01;
vv1:=mv5>ref(mv5,1) and mv10>=ref(mv10,1) and v>ref(v,1)*1.2 ;
vv2:=mv3>ref(mv3,1) and mv5>=ref(mv5,1) and v>ref(v,1)*1.2 ;
kd1:=k>ref(k,1) and d>=ref(d,1);
kd2:=k>ref(k,1) and d>=ref(d,1);
aaa:=count(cross(k,d),4)>=1;
bbb:=count(cross(ma5,ma10),4)>=1;
ccc:=count(cross(mv5,mv10),4)>=1;
ddd:=count(cross(dif,dea),4)>=1;
va:=count(cross(k,d),4)>=1 and count(cross(ma5,ma10),4)>=1 and
count(cross(mv5,mv10),4)>=1 and count(cross(dif,dea),4)>=1;
vb:=count(cross(k,d),4)>=1 and count(cross(ma3,ma5),4)>=1 and
count(cross(mv3,mv5),4)>=1 and count(cross(dif,dea),4)>=1;
四金:v1 and vv1 and kd1 and macd1 and va;//
drawtext(四金,close*1.07,'四金'),colorwhite;
三金:v1 and vv1 and macd1 and ddd and bbb and ccc;//
drawtext(三金,close*0.96,'三金'),colorffff00;
drawtext(v2 and vv2 and kd2 and macd2 and vb,h*1.07,'初金'),colorred;
一金叉:=ma3>ma5 and ma5>ma10 and (cross(ma3,ma5) or cross(ma3,ma10)) and vv2 and macd2;
drawtext(一金叉,h*1.03,'一金'),coloryellow;
二金叉:=ma5>ma10 and ma10>ma20 and (cross(ma5,ma10) or cross(ma5,ma20)) and vv2 and macd2;
drawtext(二金叉,h*1.11,'二金'),coloryellow;
量金4:=cross(mv5,mv30) and vv1;
drawtext(量金4,close*0.92,'量 4'),colorblue;
量金5:=cross(mv5,mv60) and vv1;
drawtext(量金5,close*0.92,'量 5'),coloryellow;
量金1:=cross(mv5,mv10) and vv1;
drawtext(量金1,close*0.92,'量1'),colorred;
顶部放量:=量金1 and c>ma5*1.15;
drawtext(量金1 and c>ma5*1.15,close*0.94,'量2'),colorgreen;
量金3:=cross(mv5,mv20) and vv1;
drawtext(量金3,close*0.92,'量3'),coloryellow;
量金:量金1 or 量金3;//
均金1:=cross(ma5,ma10);
drawtext(均金1,close*0.88,'均'),colorwhite;
均金2:=cross(ma10,ma20);
drawtext(均金2,close*0.87,'均'),coloryellow;
均金3:=cross(ma34,ma55);
drawtext(均金3,close*0.86,'换'),colorred;
均金4:cross(ma13,ma25);
drawtext(均金4,close*0.85,'均'),colormagenta;
xn1:=abs(1-hhv(ema55,5)/llv(ema55,5))<0.02;
xn2:=cross(ema13,ema55) or abs(1-ema13/ema55)<0.002;
xn3:=c>o and v>ref(v,1) and c>ema55;
均金7:xn1 and xn2 and xn3;
均金:均金1 or 均金2 or 均金3 or 均金4;//
均死1:=cross(ma10,ma5);
drawtext(均死1,close*0.96,'均1'),colorgreen;
均死2:=cross(ma10,ma3);
drawtext(均死2,close*0.96,'均2'),colorgreen;
均死3:=cross(ma55,ma34);
drawtext(均死3,close*1.05,'换'),colorgreen;
m金1:cross(dif,dea) and macd1;//
drawtext(m金1,close*0.84,'m'),coloryellow;
k金1:cross(k,d) and kd1 and (均金 or 量金);//
drawtext(k金1,close*1.07,'k'),coloryellow;
上一指标公式:龙行天下指标公式详解 同花顺龙行
下一指标公式:道玄乖离指标公式详解 同花顺道玄乖离
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文征全K金1选股指标公式详解 同花顺选股仅供学习研究。