input:n(5,0,100);
partline((ema(((((2 * close) + high) + low) / 4),6) > ref(ema(((((2 * close) + high) + low) / 4),6),1)),ema(((((2 * close) + high) + low) / 4),5)),colorff;
partline((ema(((((2 * close) + high) + low) / 4),6) < ref(ema(((((2 * close) + high) + low) / 4),6),1)),ema(((((2 * close) + high) + low) / 4),5)),colorff00;
partline((ema(((((2 * close) + high) + low) / 4),10) > ref(ema(((((2 * close) + high) + low) / 4),13),1)),ema(((((2 * close) + high) + low) / 4),13)),linethick2,colorff;
partline((ema(((((2 * close) + high) + low) / 4),8) < ref(ema(((((2 * close) + high) + low) / 4),13),1)),ema(((((2 * close) + high) + low) / 4),13)),linethick2,colorff00;
partline((ema((((low + close) + open) / 3),26) > ref(ema((((low + close) + open) / 3),28),1)),ref(ema((((low + close) + open) / 3),28),1)),linethick3,colorff;
partline((ema((((low + close) + open) / 3),26) < ref(ema((((low + close) + open) / 3),28),1)),ref(ema((((low + close) + open) / 3),28),1)),linethick3,colorff00;
partline((((ema(low,125) + ema(((close + low) / 2),250)) / 2) > ref(((ema(low,125) + ema(((close + low) / 2),250)) / 2),1)),((ema(low,125) + ema(((close + low) / 2),125)) / 2)),pointdot,colorff;
partline((((ema(low,125) + ema(((close + low) / 2),250)) / 2) < ref(((ema(low,125) + ema(((close + low) / 2),250)) / 2),1)),((ema(low,125) + ema(((close + low) / 2),125)) / 2)),pointdot,colorff00;
a:=hhv(ma((((low + high) + close) / 3),3),3);
b:=llv(ma((((low + high) + close) / 3),3),5);
drawtext(((close >= a) and (barscount(close) = sysparam(1))),(a * 1.019),'k线说话:短线→继续持股!'),shift1,colorffff;
drawtext((((ref(close,1) < ref(a,1)) and (close >= a)) and (barscount(close) = sysparam(1))),(a * 0.99),'▲k线说话:短线→进场!'),shift1,colorff;
drawtext((((ref(close,1) > ref(a,1)) and (close < a)) and (barscount(close) = sysparam(1))),(a * 1.011),'k线说话:短线→减仓!'),shift1,colorffff;
drawtext((((ref(close,1) > ref(b,1)) and (close < b)) and (barscount(close) = sysparam(1))),(a * 0.99),'▼k线说话:短线→持币'),shift1,colorff00;
趋势线:=zig(3,20);
drawtext(cross(ref(zig(3,20),1),zig(3,20)),(high * 1.03),'均线说话:【一线绿/减1/3仓、二线绿/减1/2仓,三线绿/空仓】!
'),align0,linethick2,colorff00;
drawtext(cross(zig(3,20),troughbars(3,20,1)),low,'均线说话:【一线红/建1/3仓、二线红/建1/2仓,三线红/满仓】!'),align0,linethick2,colorff00ff;
g:=(((zig(3,5) > ref(zig(3,5),1)) and (ref(zig(3,5),1) <= ref(zig(3,5),2))) and (ref(zig(3,5),2) <= ref(zig(3,5),3)));
x:=(((zig(3,5) < ref(zig(3,5),1)) and (ref(zig(3,5),1) >= ref(zig(3,5),2))) and (ref(zig(3,5),2) >= ref(zig(3,5),3)));
drawtext(g,(low * 1),'▲【箱底】说话:线变红买!'),align1,colorff00ff;
drawtext(g,low,' ̄'),align1,colorff00;
drawtext(x,(high * 1.001),'▼【箱顶】说话:线变绿卖!'),align1,colorff00;
drawtext(x,high,' ̄'),align1,colorffff;
ed:=barslast(g);
ef:=barslast(x);
买入到卖出天数:ed,linethick0,colorffffff;
卖出到买入天数:ef,linethick0,colorffffff;
换手:((vol / capital) * 100),linethick0,colorffffff;
///drawtext((barpos = sysparam(2)),close,(((((((('买入到到当前周期:' + numtostr(ed,0)) + '天') + '★卖出到当前周期:') + numtostr(ef,0)) + '天') + '★换手率:') + numtostr(**,2)) + '%')),align5,colorffff00;
ff:=ema(close,2);
ma15:=ema(close,4);
波段拐点趋势图:ma(close,99999997952);
drawtext(((date < 11050516) and cross(ff,ma15)),low,'▲小户:红买!'),colorff;
drawtext(((date < 11050516) and cross(ma15,ff)),high,'▼小户:绿卖!'),colorff00;
ff:=ema(close,3);
ma15:=ema(close,45);
drawtext(((date < 11050516) and cross(ff,ma15)),low,'▲波段说话:【三线红】大户→进场!'),colorff;
drawtext(((date < 11050516) and cross(ma15,ff)),high,'▼波段说话:【三线绿】大户→退场!'),colorff00;
y0:=linevalue((sum(refx(islastbar,0),0) = 0),high,islastbar,high,0,1);
y:=linevalue((sum(refx(islastbar,1),0) = 0),high,islastbar,high,0,1);
y02:=linevalue((sum(refx(islastbar,2),0) = 0),high,islastbar,high,0,1);
y1:=linevalue((sum(refx(islastbar,3),0) = 0),high,islastbar,high,0,1);
y2:=linevalue((sum(refx(islastbar,5),0) = 0),high,islastbar,high,0,1);
y3:=linevalue((sum(refx(islastbar,7),0) = 0),high,islastbar,high,0,1);
y4:=linevalue((sum(refx(islastbar,9),0) = 0),high,islastbar,high,0,1);
y5:=linevalue((sum(refx(islastbar,11),0) = 0),high,islastbar,high,0,1);
y60:=linevalue((sum(refx(islastbar,20),0) = 0),hhv(high,60),islastbar,high,0,1);
z0:=linevalue((sum(refx(islastbar,0),0) = 0),low,islastbar,low,0,1);
z:=linevalue((sum(refx(islastbar,1),0) = 0),low,islastbar,low,0,1);
z02:=linevalue((sum(refx(islastbar,2),0) = 0),low,islastbar,low,0,1);
z1:=linevalue((sum(refx(islastbar,3),0) = 0),low,islastbar,low,0,1);
z2:=linevalue((sum(refx(islastbar,5),0) = 0),low,islastbar,low,0,1);
z3:=linevalue((sum(refx(islastbar,7),0) = 0),low,islastbar,low,0,1);
z4:=linevalue((sum(refx(islastbar,9),0) = 0),low,islastbar,low,0,1);
z5:=linevalue((sum(refx(islastbar,11),0) = 0),low,islastbar,low,0,1);
z60:=linevalue((sum(refx(islastbar,20),0) = 0),llv(low,60),islastbar,low,0,1);
dy1:=sgn((close - open));
dzc:=sgn((close - ref(close,1)));
dcx:=sgn((high - ref(high,1)));
xgd:=((high - hhv(high,60)) = 0);
xdd:=((low - llv(low,60)) = 0);
qs:=((((((((((((((((((((sgn((y0 - ref(y0,1))) + sgn((y - ref(y,1)))) + sgn((y02 - ref(y02,1)))) + sgn((y1 - ref(y1,1)))) + sgn((y2 - ref(y2,1)))) + sgn((y3 - ref(y3,1)))) + sgn((y4 - ref(y4,1)))) + sgn((y5 - ref(y5,1)))) + sgn((z0 - ref(z0,1)))) + sgn((z - ref(z,1)))) + sgn((z02 - ref(z02,1)))) + sgn((z1 - ref(z1,1)))) + sgn((z2 - ref(z2,1)))) + sgn((z3 - ref(z3,1)))) + sgn((z4 - ref(z4,1)))) + sgn((z5 - ref(z5,1)))) + dy1) + dzc) + dcx) + xgd) + (xdd * -1)),linethick0;
drawtext(islastbar,(high * if((xdd = (0 - 20)),1.14,1.02)),(' ' + numtostr(qs,0))),align1,shift2,colorff00;
drawtext((islastbar and (qs <= (0 - 5))),(high * if((xdd = (0 - 20)),1.14,1.05)),((' \n' + '趋势:中线趋势向下有反弹\n') + '说话:短线按 k线指令执行!')),align1,shift2,colorff00;
drawtext((islastbar and (qs = (0 - 20))),(high * if((xdd = (0 - 20)),1.14,1.05)),(((' \n' + ' \n') + ' \n') + ' 即时说话:短线按k线指令执行!')),align1,shift2,colorff00;
drawtext((islastbar and between(qs,(0 - 5),7)),high,((' \n' + '趋势:中线趋势→疲软时\n') + '说话:短线按k线指令执行! ')),align1,shift3,colorffff;
drawtext((islastbar and between(qs,7,20)),high,((' \n' + '趋势:中线趋势向上有调整\n') + '说话:短线按k线指令执行!')),align1,shift3,colorff00ff;
drawtext((islastbar and (qs = 20)),high,((' \n' + ' 趋势:中线趋势→健康时\n') + ' 说话:短线按k线指令执行!')),shift2,colorff00ff;
【箱顶】说话:可能形成头部小心!:(peak(close,n,1) * 0.998);
【箱底】说话:可能形成底部关注!:(trough(close,n,1) * 1.003);
bj:=((close / indexc) * 1000);
qs:(bj > ref(bj,1)),linethick0;
rs:=(bj <= ref(bj,1));
explain(qs,'解盘:个股走势:强于大盘'),colorff;
explain(rs,'解盘:个股走势:弱于大盘'),colorff00;
hsl:=((vol / capital) * 100);
量能:=sum(hsl,n);
涨幅1:=((100 * (close - ref(close,n))) / ref(close,n));
流通市值:=(capital * close);
ah:=hhv(流通市值,n);
al:=llv(流通市值,n);
explain(close,' 〓【换手率解盘】〓'),colorff;
explain((hsl <= 2),'该股票少人关注,属于【冷门股】。');
explain(((hsl > 2) and (hsl < 3)),'该股票成交温和,属于【备份股】。');
explain(((hsl > 3) and (hsl < 5)),'该股票的交投越来越活跃,人们购买该股票的意愿高,属于【热门股】。');
explain(((hsl > 5) and (hsl < 8)),'该股票【带量】!');
explain(((hsl > 8) and (hsl < 15)),'该股票【放量】!');
explain(((hsl > 15) and (hsl < 25)),'该股票【巨量】!');
explain((hsl >= 25),'该股票成交【怪异】!');
explain(((量能 > (3 * n)) and (涨幅1 > (3 * n))),'继续【大涨】!');
explain(((量能 < (0.5 * n)) and (涨幅1 < n)),'继续【小涨】!');
explain((((量能 < (0.5 * n)) and (涨幅1 > (0 - n))) and (涨幅1 > 0)),'【继续小跌】!');
explain(((量能 > (3 * n)) and (涨幅1 < (0 - (3 * n)))),'【继续大跌】!');
explain((((((量能 > (3 * n)) and (涨幅1 < n)) or ((量能 < (0.5 * n)) and (涨幅1 > (3 * n)))) or (((量能 > (3 * n)) and (涨幅1 > (0 - n))) and (涨幅1 < 0))) or ((量能 < (0.5 * n)) and (涨幅1 < (0 - (3 * n))))),'注意反转!');
explain(((涨幅1 > 0) and (流通市值 <= al)),'流通市值减小,涨幅加大');
explain(((涨幅1 <= 0) and (流通市值 >= ah)),'流通市值加大,涨幅减小');
rsv:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=((3 * k) - (2 * d));
explain((cross(j,k) and (k < 50)),'kdj金叉'),colorffff;
explain((cross(k,d) and (k > 70)),'kdj死叉'),colorff;
explainex((1 = 1),'换手率=',((vol / capital) * 100),2,1);
explainex((1 = 1),'【获利盘】比例=',(winner(close) * 100),2,1),colorff;
explainex((1 = 1),'【套牢盘】比例=',(100 - (winner(close) * 100)),2,1),colorff00;
aa:=(((ema(close,30) * 2) + ma(close,60)) / 3);
ra:=(vol * close);
vl1a:=(ema(ra,13) / ema(vol,13));
vl2a:=(ema(ra,60) / ema(vol,60));
vla:=ema(((vl1a + vl2a) / 2),3);
分水岭:=ma(((aa + vla) / 2),1);
explainex((1 = 1),'【分水岭说话】(中长标)=',分水岭,2,1),colorff;
explain((cross(close,分水岭) and (close > ref(close,1))),'股价上穿【分水岭】,进入【多头】\n');
explain((((close > 分水岭) and (close > ma(close,60))) and (close > ref(close,1))),'股价在【分水岭】之上,
总趋势属【多头】\n'),colorff;
ra:=(vol * close);
vl1a:=(ema(ra,13) / ema(vol,13));
vl2a:=(ema(ra,60) / ema(vol,60));
vla:=ema(((vl1a + vl2a) / 2),3);
分水岭:=ma(((aa + vla) / 2),1);
explain((cross(分水岭,close) and (close < ref(close,1))),'股价下穿分水岭,进入空头\n');
explain((((close < 分水岭) and (close < ma(close,60))) and (close < ref(close,1))),'●〓结论〓:股价在生命线之下,
总趋势属空头,超跌只能抢反弹\n');
explain(1,(((stklabel + stkname) + '\n所属板块:') + blkname)),colorffff00;
explain((close > 0),' 〓 k 线形态分析 〓 '),colorff00ff;
上一指标公式:股海神偷操盘参考公式 飞狐神偷股海指标 源码
下一指标公式:大趋势判断临界点公式 飞狐判断趋势指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文股票能手公式 飞狐能手指标 源码仅供学习研究。