缠中说禅主图公式指标,趋势预测,选股指标。转载,请试用。
mid : ma(close,26);
upper: mid + 2*std(close,26);
lower: mid - 2*std(close,26);
stickline(1,h,l,1,0),colorliblue;
//{笔底分型 选股 //www.goodgongshi.com 确保向下笔成立后的底分型}
v00:= high<ref(high,1) and low<ref(low,1);
v01:= high<ref(high,1) and low>ref(low,1);
v02:= high>ref(high,1) and low<ref(low,1);
v03:= high>ref(high,1) and low>ref(low,1);
v04:= ref(high,2) < high and ref(low,2) < low
and ref(high,2) > ref(high,1) and ref(low,2) < ref(low,1);
v1:= count(v00,6)>=3 and count(v01 or v02,5)=0 and llvbars(low,6) = 1 and hhvbars(high,6) >= 5 and v03;
v2:= count(v00,7)>=3 and count(v01 or v02,6)=1 and llvbars(low,7) = 2 and hhvbars(high,7) >= 6 and v04;
v3:= count(v00,7)>=3 and count(v01 or v02,6)=1 and llvbars(low,7) = 1 and hhvbars(high,7) >= 6 and v03;
v4:= count(v00,8)>=3 and count(v01 or v02,7)<=2 and llvbars(low,8) = 2 and hhvbars(high,8) >= 7 and v04;
v5:= count(v00,8)>=3 and count(v01 or v02,7)<=2 and llvbars(low,8) = 1 and hhvbars(high,8) >= 7 and v03;
v6:= count(v00,9)>=3 and count(v01 or v02,8)<=3 and llvbars(low,9) = 2 and hhvbars(high,9) >= 8 and v04;
v7:= count(v00,9)>=3 and count(v01 or v02,8)<=3 and llvbars(low,9) = 1 and hhvbars(high,9) >= 8 and v03;
v8:= count(v00,10)>=3 and count(v01 or v02,9)<=4 and llvbars(low,10) = 2 and hhvbars(high,10) >= 9 and v04;
v9:= count(v00,10)>=3 and count(v01 or v02,9)<=4 and llvbars(low,10) = 1 and hhvbars(high,10) >= 9 and v03;
v10:= count(v00,11)>=3 and count(v01 or v02,10)<=5 and llvbars(low,11) = 2 and hhvbars(high,11) >= 10 and v04;
xg:= v1 or v2 or v3 or v4 or v5 or v6 or v7 or v8 or v9 or v10;
drawtext(filter(xg=1,5),l*0.998,'底分型'),coloryellow;
//{笔顶分型 选股 预警 确保向上笔成立后的顶分型//www.goodgongshi.com}
hv00:= high>ref(high,1) and low>ref(low,1);
hv01:= high<ref(high,1) and low>ref(low,1);
hv02:= high>ref(high,1) and low<ref(low,1);
hv03:= high<ref(high,1) and low<ref(low,1);
hv04:= ref(high,2) > high and ref(low,2) > low and ref(high,2) > ref(high,1) and ref(low,2) < ref(low,1);
hv1:= count(hv00,6)>=3 and count(hv01 or hv02,5)=0 and hhvbars(high,6) = 1 and llvbars(low,6) >= 5 and hv03;
hv2:= count(hv00,7)>=3 and count(hv01 or hv02,6)=1 and hhvbars(high,7) = 2 and llvbars(low,7) >= 6 and hv04;
hv3:= count(hv00,7)>=3 and count(hv01 or hv02,6)=1 and hhvbars(high,7) = 1 and llvbars(low,7) >= 6 and hv03;
hv4:= count(hv00,8)>=3 and count(hv01 or hv02,7)<=2 and hhvbars(high,8) = 2 and llvbars(low,8) >= 7 and hv04;
hv5:= count(hv00,8)>=3 and count(hv01 or hv02,7)<=2 and hhvbars(high,8) = 1 and llvbars(low,8) >= 7 and hv03;
hv6:= count(hv00,9)>=3 and count(hv01 or hv02,8)<=3 and hhvbars(high,9) = 2 and llvbars(low,9) >= 8 and hv04;
hv7:= count(hv00,9)>=3 and count(hv01 or hv02,8)<=3 and hhvbars(high,9) = 1 and llvbars(low,9) >= 8 and hv03;
hv8:= count(hv00,10)>=3 and count(hv01 or hv02,9)<=4 and hhvbars(high,10) = 2 and llvbars(low,10) >= 9 and hv04;
hv9:= count(hv00,10)>=3 and count(hv01 or hv02,9)<=4 and hhvbars(high,10) = 1 and llvbars(low,10) >= 9 and hv03;
hv10:= count(hv00,11)>=3 and count(hv01 or hv02,10)<=5 and hhvbars(high,11) = 2 and llvbars(low,11) >= 10 and hv04;
hxg:=hv1 or hv2 or hv3 or hv4 or hv5 or hv6 or hv7 or hv8 or hv9 or hv10;
drawtext(filter(hxg=1,3),h*1.01,'顶分型'),colorgreen;
上一指标公式:ZHK布林带指标公式详解 同花顺布林
下一指标公式:小卒MACD指标公式详解 同花顺小卒
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文缠论说禅主图指标公式详解 同花顺禅主图仅供学习研究。