input:n(27,1,100),n1(7,1,100),n2(19,1,100);
hh:=hhv(h,10);
ll:=llv(l,10);
aa:=sma(c,13,2);
drawtext(islastbar=1 and aa>ref(aa,1) and ref(aa,1)<ref(aa,2) and ref(aa,2)<ref(aa,3),hh,'激进买入'),colorred;
drawtext(islastbar=1 and aa>ref(aa,1) and ref(aa,1)>ref(aa,2),hh,'激进持股'),color0066ff;
drawtext(islastbar=1 and aa<ref(aa,1) and ref(aa,1)>ref(aa,2),hh,'激进卖出'),colorgreen;
a1:=ma(c,13);
zx:=ref(a1,13/2+1);
drawtext(islastbar=1 and cross(c,zx),ll,'稳健买入'),colorred;
drawtext(islastbar=1 and c>zx and ref(c,1)>ref(zx,1),ll,'稳健持股'),color0066ff;
drawtext(islastbar=1 and c<zx and ref(c,1)>ref(zx,1),ll,'稳健卖'),colorgreen;
var1111:=forcast(close,5);
var1:=1;
平衡线:=(ema(ema(ema(high,3),3),1) * var1);
var2:=(平衡线 * 0.85);
临界线:wma(close,10),linethick2;
var1:=pow((close - 临界线),1);
var2:=ma(var1,3);
var3:=sqrt(var2);
支撑线:=(临界线 - (1.96 * var3));
partline((临界线 < ref(临界线,1)),临界线),linethick2,colorff00;
var1z:=(((close - open) / open) * 100);
var2z:=ref(close,1);
var3z:=((sma(max((close - var2z),0),6,1) / sma(abs((close - var2z)),6,1)) * 100);
var4z:=(count((var3z < 20),20) >= 1);
drawtext(((var1z > 9) and var4z),low,'★屠龙'),linethick4,colorffff;
jjj:=(((close + high) + low) / 3);
aa:=ema(jjj,3);
bb:=ref(aa,1);
持股:drawicon((aa > bb),bb,12);
var3:=ref(close,1);
var4:=ref(close,2);
var5:=ref(close,3);
var6:=ref(close,9);
var7:=hhv(close,9);
var8:=llv(close,9);
varc:=(((var3 = var8) and (close >= var4)) or ((((var4 = var8) and (var3 <= var5)) and (var4 < var6)) and (close >= var3)));
黄色买入:stickline(varc,(var3 * 0.94),(var4 * 0.94),25,16),colorffff;
var1:=((ref(high,1) + ref(low,1)) / 2);
var2:=((ref(high,1) + ref(low,1)) / 2);
var3:=(ma(close,n) + (2 * std(close,n)));
drawicon(cross(var2,var3),(high * 1.035),3);
drawtext(cross(var2,var3),(high * 1.02),'卖出1'),colorff00;
var4:=ref(close,1);
var5:=((sma(max((close - var4),0),n1,1) / sma(abs((close - var4)),n1,1)) * 100);
var6:=cross(n2,var5);
var7:=filter(var6,4);
a7:=((((2 * close) + high) + low) / 4);
var10:=llv(low,34);
var11:=hhv(high,34);
sk:=ema((((a7 - var1) / (var2 - var1)) * 100),7);
sd:=ema(((0.667 * ref(sk,1)) + (0.333 * sk)),5);
drawtext(if((((((count((close < ref(close,1)),8) / 8) > (6 / 10)) and (vol >= (1.5 * ma(vol,5)))) and count((sk >= sd),3)) and (ref(low,1) = llv(low,120))),1,0),low,'●买进1'),color99ff;
drawtext(if((((((((((count((close < ref(close,1)),13) / 13) > (6 / 10)) and count((sk > sd),6)) and (ref(low,5) = llv(low,120))) and ref((close >= open),4)) and ref((close > open),3)) and ref((close > open),2)) and ref((open > close),1)) and (open > ref(close,1))),1,0),low,'●买进2'),colorffff;
var12:=(ma(close,80) - (ma(close,10) / 3));
drawtext(if(((((close < var12) and ((vol / 240) > (ma(vol,5) / 240))) and (close > (ref(close,1) * 1.08))) and (close < (ma(close,13) * 1.3))),1,0),low,'●抄底'),colorffff;
var11:=(((((2 * close) + open) + high) + low) / 5);
m8:=vol;
主力:=(sum((var11 * m8),3) / sum(m8,3));
散户:=主力;
m1:=llv(散户,5);
var11:=(((((2 * close) + open) + high) + low) / 5);
m8:=vol;
m5:=(sum((var11 * m8),1) / sum(m8,1));
m13:=(sum((var11 * m8),5) / sum(m8,5));
m21:=(sum((var11 * m8),13) / sum(m8,13));
主力:=(sum((var11 * m8),3) / sum(m8,3));
y:=(sum((var11 * m8),21) / sum(m8,21));
u1:=m5;
u3:=m13;
散户:=主力;
xx1:=m21;
c5:=((u3 > 散户) and (散户 > xx1));
c8:=if((c5 > 0),llv(u3,5),hhv(散户,5));
c13:=if((c5 > 0),llv(散户,8),hhv(散户,5));
var1118:=if((c5 > 0),llv(xx1,13),hhv(散户,5));
m1:=llv(散户,20);
drawtext((m1 = ref(m1,1)),m1,'┬'),linethick5,colorcc33ff;
drawtext(((ref(m1,1) < ref(m1,2)) and (m1 = ref(m1,1))),m1,'★'),colorff;
stickline((close < open),high,low,1,0),color8800;
stickline((close < open),high,low,0,0),colorff00;
stickline((close < open),close,open,8,0),color8800;
stickline((close < open),close,open,7,0),color9900;
stickline((close < open),close,open,6,0),coloraa00;
stickline((close < open),close,open,5,0),colorbb00;
stickline((close < open),close,open,4,0),colorcc00;
stickline((close < open),close,open,3,0),colordd00;
stickline((close < open),close,open,2,0),coloree00;
stickline((close < open),close,open,1,0),colorff00;
stickline((close >= open),high,low,1,0),colorff;
stickline((close >= open),high,low,0,0),coloreeff;
stickline((close >= open),close,open,8,0),colorff;
stickline((close >= open),close,open,7,0),color22ff;
stickline((close >= open),close,open,6,0),color44ff;
stickline((close >= open),close,open,5,0),color66ff;
stickline((close >= open),close,open,4,0),color88ff;
stickline((close >= open),close,open,3,0),coloraaff;
stickline((close >= open),close,open,2,0),colorccff;
stickline((close >= open),close,open,1,0),coloreeff;
var22:=((llv(low,3) = llv(low,3)) and (close >= (open * 1.04)));
var333:=(close > ((ref(high,1) + ref(low,1)) / 2));
var44:=(var22 and var333);
var55:=barslast(var333);
var66:=barslast(var44);
var77:=if((var66 > 0),(((close - ref(close,1)) / ref(close,1)) * 100),0);
var88:=sum(var77,1);
var93:=if((var55 > 3),(0 - 2),0);
drawicon(((ref(var93,1) = (0 - 2)) and (var93 = 0)),low,1),colorff;
drawicon(((ref(var93,1) = (0 - 2)) and (var93 = 0)),low,8),colorff;
drawtextex(sysparam(3)=barpos,0,10,8,'【代码:'+stklabel+' 名称:'+stkname+'】'),colorcyan;
drawtext((barpos = sysparam(2)),high,('所属板块:' + blkname)+ '\n')align4,colorred;
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
p:=sysparam(1);
drawtextex(c,0,300,1,
numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'
+numtostr(fd[p],0)+'日,'+wday[wd[p]+1]+'\n'),coloryellow;
drawtextex(1,1,20,880,' 耐 心 等 待 时 机'),colorred;
drawtextex(1,1,20,150,'决 策 在 人 脑 严 格 执 行 纪 律'),colorred;
x:=ema(((slope(close,21) * 20) + close),68);
y:=ema(close,10);
drawtext(cross(y,x),(low * 0.95),'←安全c级'),colorred;
var1:=llv(low,21);
var2:=hhv(high,21);
ak1:=ema((((close - var1) / (var2 - var1)) * 100),5);
ak:=ema((((close - var1) / (var2 - var1)) * 50),13);
dd:=ema(((0.667 * ref(ak1,1)) + (0.333 * ak1)),2);
var3:=llv(low,55);
var4:=hhv(high,34);
var5:=ema((((close - var3) / (var4 - var3)) * 100),3);
var6:=((ak + var5) / 2);
var7:=ema(((0.667 * ref(var5,1)) + (0.333 * ak1)),2);
var8:=ema(var6,5);
bb:=ema(((0.667 * ref(var8,1)) + (0.333 * var8)),2);
ab:=cross(ak1,ak);
bb1:=(cross(ak1,bb) and (bb < 30));
cd:=(bb1 * 0.6);
drawtext((cd = 0.6),(low * 0.95),'←安全a级'),colorgreen;
drawtext((ab = 1),(low * 0.97),'←安全 b 级'),color33cc99,coloryellow;
压力:ma(ref(hhv(c,30),1),2),colorgreen;
支撑:ma(ref(llv(c,30),1),2),colorred;
stickline(open>=close ,close ,open,8,0 ),colorff6600;
stickline(open>=close ,close ,open,7,0 ),colorff7700;
stickline(open>=close ,close ,open,6,0 ),colorff9900;
stickline(open>=close ,close ,open,5,0 ),colorffbb00;
stickline(open>=close ,close ,open,4,0 ),colorffcc00;
stickline(open>=close ,close ,open,3,0 ),colorffdd00;
stickline(open>=close ,close ,open,2,0 ),colorffee00;
stickline(open>=close ,close ,open,1,0 ),colorffff00;
{立体柱子:红色}
stickline(close>open,close,open,8,0) ,color000033;
stickline(close>open,close,open,6,0) ,color000066;
stickline(close>open,close,open,4,0) ,color000099;
stickline(close>open,close,open,3,0) ,color0000bb;
stickline(close>open,close,open,1,0) ,color0000dd;
var9q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref (c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2) =hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3) =hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
红持:var9q,color0000ff,linethick0;
{立体柱子:红色}
stickline(var9q,c,(o+c)/2,8,0),color000044;
stickline(var9q,c,(o+c)/2,7,0),color000055;
stickline(var9q,c,(o+c)/2,6,0),color000066;
stickline(var9q,c,(o+c)/2,5,0),color000077;
stickline(var9q,c,(o+c)/2,4,0),color000099;
stickline(var9q,c,(o+c)/2,3,0),color0000bb;
stickline(var9q,c,(o+c)/2,2,0),color0000dd;
stickline(var9q,c,(o+c)/2,1,0),color0000ff;
varaq:=c=hhv(c,4) and ref(c,1)=llv(c,4);
粉变:varaq,colorff99ff,linethick0;
stickline(varaq,c,(o+c)/2,8,0),colorff11ff;
stickline(varaq,c,(o+c)/2,7,0),colorff22ff;
stickline(varaq,c,(o+c)/2,6,0),colorff33ff;
stickline(varaq,c,(o+c)/2,5,0),colorff55ff;
stickline(varaq,c,(o+c)/2,4,0),colorff77ff;
stickline(varaq,c,(o+c)/2,3,0),colorff99ff;
stickline(varaq,c,(o+c)/2,2,0),colorffbbff;
stickline(varaq,c,(o+c)/2,1,0),colorffddff;
varbq:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3))or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) andref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) andc<ref(c,1) and c<ref(c,2);
银灰跌:varbq,color888888,linethick0;
{立体柱子:银色}
stickline(varbq,c,(o+c)/2,8,0),color333333;
stickline(varbq,c,(o+c)/2,7,0),color444444;
stickline(varbq,c,(o+c)/2,6,0),color555555;
stickline(varbq,c,(o+c)/2,5,0),color777777;
stickline(varbq,c,(o+c)/2,4,0),color999999;
stickline(varbq,c,(o+c)/2,3,0),colorbbbbbb;
stickline(varbq,c,(o+c)/2,2,0),colordddddd;
stickline(varbq,c,(o+c)/2,1,0),colorffffff;
varcq:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4)and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
绿买:varcq,color00ff00,linethick0;
{立体柱子:绿色}
stickline(varcq,o,(o+c)/2,8,0),color004400;
stickline(varcq,o,(o+c)/2,6,0),color005500;
stickline(varcq,o,(o+c)/2,5,0),color007700;
stickline(varcq,o,(o+c)/2,4,0),color009900;
stickline(varcq,o,(o+c)/2,3,0),color00bb00;
stickline(varcq,o,(o+c)/2,2,0),color00dd00;
stickline(varcq,o,(o+c)/2,1,0),color00ff00;
vardq:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4)and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref (c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
蓝抛:vardq,colorff9900,linethick0;
{立体柱子:深蓝色}
stickline(vardq,o,(o+c)/2,8,0),colorff1100;
stickline(vardq,o,(o+c)/2,7,0),colorff2200;
stickline(vardq,o,(o+c)/2,6,0),colorff3300;
stickline(vardq,o,(o+c)/2,5,0),colorff5500;
stickline(vardq,o,(o+c)/2,4,0),colorff7700;
stickline(vardq,o,(o+c)/2,3,0),colorff9900;
stickline(vardq,o,(o+c)/2,2,0),colorffbb00;
stickline(vardq,o,(o+c)/2,1,0),colorffdd00;
{立体柱子:金色}
zdf:=(close-ref(close,1))/ref(close,1)*100;
stickline(zdf>9.8,open,close,8,0),color004444;
stickline(zdf>9.8,open,close,7,0),color005555;
stickline(zdf>9.8,open,close,6,0),color006666;
stickline(zdf>9.8,open,close,5,0),color007777;
stickline(zdf>9.8,open,close,4,0),color009999;
stickline(zdf>9.8,open,close,3,0),color00bbbb;
stickline(zdf>9.8,open,close,2,0),color00dddd;
stickline(zdf>9.8,open,close,1,0),color00ffff;
z:=(close > ref(close,1));
成功:((((((((((((((((((((((((((((((all(z,1) + all(z,2)) +
all(z,3)) + all(z,4)) + all(z,5)) + all(z,6)) + all(z,7)) +
all(z,8)) + all(z,10)) + all(z,11)) + all(z,12)) + all(z,13)) +
all(z,14)) + all(z,15)) + all(z,16)) + all(z,17)) + all(z,18)) +
all(z,19)) + all(z,20)) + all(z,21)) + all(z,22)) + all(z,23)) +
all(z,24)) + all(z,25)) + all(z,26)) + all(z,27)) + all(z,28)) +
all(z,29)) + all(z,30)) + all(z,31)) + all(z,32)),linethick0,colorff;
d:=(close < ref(close,1));
失败:((((((((((((((((((((((((((((((all(d,1) +
all(d,2)) + all(d,3)) + all(d,4)) + all(d,5)) +
all(d,6)) + all(d,7)) + all(d,8)) + all(d,10)) +
all(d,11)) + all(d,12)) + all(d,13)) + all(d,14)) +
all(d,15)) + all(d,16)) + all(d,17)) + all(d,18)) +
all(d,19)) + all(d,20)) + all(d,21)) + all(d,22)) +
all(d,23)) + all(d,24)) + all(d,25)) + all(d,26)) +
all(d,27)) + all(d,28)) + all(d,29)) + all(d,30)) +
all(d,31)) + all(d,32)),linethick0,colorff00;
xl2:=(((close - ema(close,21)) / ema(close,21)) * 100);
xl3:=cross(xl2,(0 - 20));
drawtext((xl3 > 0),(low - 0.2),'←绝对底部');
var2s:=(2*close+high+low)/4;
var3s:=if(year>=2099 and month>2,0,1);
var4s:=llv(low,5);
var5s:=hhv(high,4);
散户:=ema((var2s-var4s)/(var5s-var4s)*100,4)*var3s;
xx:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3s;
drawtext(cross(散户,xx) and 散户<30,l-0.05,'←吸'),colorred;
var1r:=llv(low,2)=llv(low,16) and close>=open*1.04;
var2r:=close>(ref(high,1)+ref(low,1))/2;
var3r:=var1r and var2r;
drawtext(var3r,low,'-→逢低买入 '),colorffff;
var3aa:=if((close>ref(close,1)),88,0);
var4aa:=if(((close)/(ref(close,1))>1.05) and ((high)/(close)<1.01) and (var3aa>0),91,0);
drawtext(filter((var4aa>90),45),(low)*(0.99),'←---大胆搏 '),coloryellow;
short:=12;
long:=26;
m:=9;
diff:=ema(close,short)-ema(close,long);
dea:=ema(diff,m);
低位金叉:=cross(diff,dea) and diff<-0.1;
drawtext(低位金叉,l*0.92,'*低位金叉'),colorf00ff0;
short:=12;
long:=26;
m:=9;
diff:=ema(close,short)-ema(close,long);
dea:=ema(diff,m);
a1:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:=cross(diff,dea) and dea<0 and count(a1=2,21)=1;
drawtext(二次金叉,l*0.90,'*二次金叉'),coloryellow;
qc:=ref(close,1);
rsv:=(((close-llv(low,9))/(hhv(high,9)-llv(low,9)))*100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
yx:=((close>qc) and c>o);
d1:=ref(d,1);
drawtext((((d1<30) and cross(k,d)) and yx),(low * 0.96),'*短买!'),coloryellow;
var4a:=ema(close,3);
drawtext(count(ref(var4a,1)<ref(var4a,2),5)=5 and var4a>ref(var4a,1),l*0.96,'出拳'),colorred;
da:=(ema(c,1)+ema(c,2)+ema(c,3)+ema(c,4))/4;
db:=(ema(c,10)+ema(c,20)+ema(c,40)+ema(c,80))/4;
drawtext(cross(da-db,0),l*0.98,'★b'),colormagenta;
aa1:=ma(c,5);
bb1:=ma(c,15);
af:=cross(aa1,bb1);
drawtext(af,llv(l,4),'止损线'),coloryellow;
上一指标公式:半壁河山主图单线持股双线空仓公式下载 飞狐单线持股指标 源码
下一指标公式:万水千山公式下载 飞狐万水千山指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文财神到了主图公式下载 飞狐财神指标 源码仅供学习研究。