rsv:=(c-llv(l,7))/(hhv(h,7)-llv(l,7))*100;
rsv1:=(c-llv(l,38))/(hhv(h,38)-llv(l,38))*100;
流金:sma(rsv1,5,1),colorff;
岁月:sma(流金,10,1),color66cc33;
fillrgn(流金<=岁月,流金,岁月),color669933;
a:=(3*c+l+o+h)/6;
b:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210;
d:=ma(b,10);
持仓:stickline(b>d,103,107,6,1),linethick2,colorff;
空仓:stickline(b<d,103,107,6,1),linethick2,colorff00;
var2q:=ma(c,80)-ma(c,13)/3;
神奇线:=ma((c-var2q)/var2q,1);
xa:=ema(神奇线,12)*0.7;
xb:=ema(神奇线,3);
底部区域:if(llv(xb-xa,12)>0,0,-5),linethick2,colorff00;
diff:=(ema(c,17)-ema(c,73))*100;
dea:=ema(diff,73);
macd:=2*(diff-dea);
地利:if(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),10,0),stick,color5c32d4;
买入:=stickline(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),0,3,40,0);
买入:stickline(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),3,6,30,0),linethick2,colorffff;
stickline(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),6,20,5,0),colorffff;
diff:=(ema(c,17)-ema(c,73))*100;
dea:=ema(diff,73);
macd:=2*(diff-dea);
if(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),10,0),colorff0000;
卖出:=stickline(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),97,100,40,0);
天时:stickline(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),94,97,30,0),stick,color5c32d4;
stickline(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),80,94,5,0),colorffff;
var0:=date>970101;
var1:=(c-ref(c,1))/ref(c,1)*100;
var2:=(indexc-ref(indexc,1))/ref(indexc,1)*100;
var3:=ema(sum(var1,10),3);
var4:=ema(sum(var2,10),3);
var5:=(var3-var4)*var0;
drawicon(var5<-20 and filter(var5>ref(var5,2),7),-6,4),colorff;
vertline(var5<-20 and filter(var5>ref(var5,2),7));
drawtext(var5<-20 and filter(var5>ref(var5,2),7),-10,'---参考价'),colorff;
drawnumber(var5<-20 and filter(var5>ref(var5,2),7),-15,ref(c,1)*1.015,2),colorffffff;
drawicon(var5>20 and filter(var5<ref(var5,2),7),17,5),colorffffff;
vertline(var5>20 and filter(var5<ref(var5,2),7));
drawtext(var5>20 and filter(var5<ref(var5,2),7),-10,'---参考价'),colorff00;
drawnumber(var5>20 and filter(var5<ref(var5,2),7),-15,ref(c,1)*0.985,2),colorff00;
stickline(var5<-20 and filter(var5>ref(var5,2),7),0,-4,15,0);
stickline(var5>20 and filter(var5<ref(var5,2),7),0,-4,10,0),colorff;
a1:=ma(c,13);
zx:=ref(a1,13/2+1);
b1:=cross(c,zx);
s1:=cross(zx,c);
drawicon(cross(c,zx),-3,12),colorff00;
drawicon(c>zx and ref(c,1)>ref(zx,1),-3,10);
drawicon(c<zx and ref(c,1)>ref(zx,1),-3,11);
vvv:=9999;
lgl:=c-ref(ma(c,20),11);
wr1:=if(ema(c,5)/ema(ema(c,9),16)<=0.85 and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and v/capital*100<5,50,0);
wr2:=-(100*(hhv(h,34)-c)/(hhv(h,34)-llv(l,34)))+100*lgl;
wr3:=-(100*(hhv(h,50)-c)/(hhv(h,50)-llv(l,50)))+100;
bias1:=-(100*(hhv(h,70)-c)/(hhv(h,70)-llv(l,70)))+100*lgl;
bias2:=((c-ma(c,34))/ma(c,34)*100+10)*5;
bias3:=((c-ma(c,50))/ma(c,50)*100+10)*5;
sx:=((c-ma(c,70))/ma(c,70)*100+10)*5;
s1:=(wr2+wr3+bias1+bias2+bias3+sx)/6*lgl;
xc1:=ema(s1,3);
ccc:=abs(bias2-sx);
zjz:=(s1+ccc)/2;
lxl:=(-1)*(ema(100*(1-winner(c)),1)-50)+50;
jbj:=lxl+zjz;
ma3:=if(wr1>0 and jbj<0,200,0)*lgl;
c0:=if(zjz<0 and c=llv(c,5) and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and v/capital*100<5,-50,0);
bot:=if(jbj<0 and c0=-50,100,0)*lgl;
hsl:=ma(c,3);
cxc:=ref(c,2)*0.865;
vmc:=ref(c,13)*0.772;
v93:=min(cxc,vmc);
v90:=100*v/capital*lgl;
半年线:=if((c-v93)/c<3/100 and sum(v90,5)/5<1.8,1,0);
股道卖出价预测:=if(半年线>0 and (c0<0 or wr1>0),10,0);
if(股道卖出价预测>0,30,0);
天涯:if(ma3>0 and bot>0 and sum(v/capital*100,5)/5<1 or 半年线>0 and ref(c,1)/ref(c,2)>0.902 or (ma3>0 and bot>0 and sum(v/capital*100,5)/5<1 or 半年线>0) and (c0<0 or wr1>0) and 股道卖出价预测<10,20,0),linethick2,colorff;
股道买入价预测:=(ma3>0 and bot>0 and sum(v/capital*100,5)/5<1 or 半年线>0) and (c0<0 or wr1>0);
多空1:=ma3>0 and bot>0 and sum(v/capital*100,5)/5<1 or 半年线>0 and ref(c,1)/ref(c,2)>0.902;
海角:if(股道买入价预测 or 多空1,10,0),linethick2,colorff;
var2q:=ma(c,80)-ma(c,13)/3;
神奇线:=ma((c-var2q)/var2q,1);
天神:if(cross(神奇线,0) and l/ref(h,1)<1.012 and (c-ref(c,2))/c>0.06,15,0),linethick2,colorffcc33;
a:=ema(winner(c),10);
b:=ema(winner(c),34);
var1:=ma(v,5)>ma(v,60);
地神:if(a<0.15 and abs(a-b)<0.05 and cross(a,b) and var1,1,0)*-10,linethick2,colorffcc33;
介入:if(a>0.9 and c<ma(c,5),1,0)*-10,linethick2,colorff;
多空2:=ema(c,148);
多空3:=ema(c,250);
出货:explain(c>=多空2,'股价在半年线之上'),linethick2,colorff00;
explain(c>=多空3,'股价在年线之上 '),colorffff;
explain(c<多空2,'股价在半年线之下 '),colorffff;
explain(c<多空3,'股价在年线之下 '),colorffff00;
explain(多空2>=ref(多空2,1),'半年线趋势向上'),colorffff00;
explain(多空3>=ref(多空3,1),'年线趋势向上 '),colorffff;
explain(多空2<ref(多空2,1),'半年线趋势向下 '),colorffff;
explain(多空3<ref(多空3,1),'年线趋势向下 '),colorffff00;
tr1:=c*2.5/100+c;
hd:=c-c*2.5/100;
explainex(cost(50),'市场平均成本:',cost(50),2,0),colorffff00;
explainex(cost(4),'主力平均成本:',cost(4),2,0),colorffff;
explainex(cost(30),'控盘平均成本:',cost(30),2,0),colorff;
explainex(cost(75),'拉升平均成本:',cost(75),2,0),colorff;
explainex(cost(95),'顶部平均成本:',cost(95),2,0),colorffff;
explainex(cost(0.05),'底部平均成本:',cost(0.05),2,0),colorffff;
explainex(tr1,'股道卖出价预测:',tr1,2,0),colorffff;
explainex(hd,'股道买入价预测:',hd,2,0),color99ff;
explainex(1,'获利盘比例=',winner(c)*100,2,0),color99ff;
explainex(1,'套牢盘比例=',100-winner(c)*100,2,0),colorff;
ld:=ma(v/(h-l),4);
dmp:=abs(c-o);
dmm:=v/(h-l);
explain(dmm<ld and dmp<ma(dmp,4),'资金无入场意愿,萎缩中'),colorffff00;
explain(dmm<ld and dmp>ma(dmp,4),'场内资金有运作行为'),colorffff00;
explain(dmm>ld and dmp<ma(dmp,4),'多空双方激烈争夺中'),colorffff;
explain(dmm>ld and dmp>ma(dmp,4),'场外资金介入(或出局)意愿强烈'),colorffff;
pdi:=sum(max(max(h-l,abs(h-ref(c,1))),abs(l-ref(c,1))),14);
mdi:=h-ref(h,1);
adx:=ref(l,1)-l;
adxr:=sum(if(mdi>0 and mdi>adx,mdi,0),14);
typ:=sum(if(adx>0 and adx>mdi,adx,0),14);
cci:=adxr*100/pdi;
wr:=typ*100/pdi;
mtm:=ma(abs(wr-cci)/(wr+cci)*100,6);
mtmma:=(mtm+ref(mtm,6))/2;
explain(cross(cci,wr),'pdi线从下向上突破mdi线,显示有新多头进场,为买进信号'),color99ff;
explain(cross(wr,cci),'pdi线从上向下跌破mdi线,显示有新空头进场,为卖出信号'),colorff00;
explain(mtm>ref(mtm,1),'adx值持续高于前一日,行情将维持原趋势'),colorffff00;
explain(mtm<ref(mtm,1) and mtm<20,'adx值递减,降到20以下,且横向行进时,市场气氛为盘整'),colorffff;
explain(mtm<ref(mtm,1) and ref(mtm,1)<ref(mtm,2) and ref(mtm,2)>ref(mtm,3) and ref(mtm,3)>ref(mtm,4),'adx值从上升倾向转为下降时,表明行情即将反转'),color99ff;
lc:=(h+l+c)/3;
rsi1:=(lc-ma(lc,14))/0.015*avedev(lc,14);
explain(rsi1<-180,'cci指标底位,买入机会'),colorffff;
explain(rsi1>180,'cci指标高位,卖出机会'),colorff00;
explain(v/capital>0.075,'换手过大,小心主力出逃,短期头部'),colorffff00;
rsi2:=-(100*(hhv(h,14)-c)/(hhv(h,14)-llv(l,14)));
explain(rsi2>-20,'w&r超买,短线即将见顶,应及时卖出'),colorffff00;
explain(rsi2<-80,'w&r超卖,短线即将见底,应伺机买进'),colorffff00;
psy:=c-ref(c,6);
布林1:=ma(psy,6);
explain(cross(psy,布林1) and 布林1<-0.8,'mtm从下向上突破mtmma,买入信号'),colorff00;
explain(cross(布林1,psy) and 布林1>0.8,'mtm从上向下跌破mtmma,卖出信号'),colorff00;
布林2:=ref(c,1);
布林3:=sma(max(c-布林2,0),6,1)/sma(abs(c-布林2),6,1)*100;
布林4:=sma(max(c-布林2,0),12,1)/sma(abs(c-布林2),12,1)*100;
explain(布林3>85,'6日rsi超买,防止回挡'),colorffff00;
explain(布林3>80,'6日rsi向上突破85,超买,考虑卖出'),colorffff00;
explain(布林3<15,'6日rsi超卖,随时有可能反弹'),colorffff00;
explain(布林3<15,'6日rsi向下跌破15,超卖,考虑买入'),colorffff;
explain(cross(布林3,15),'6日rsi向上突破15,买进信号'),colorffff;
explain(cross(布林3,85),'6日rsi向下跌破85,卖出信号'),colorff00;
布林5:=count(c>ref(c,1),12)/12*100;
布林6:=(ma(c,3)+ma(c,6)+ma(c,12)+ma(c,24))/4;
布林7:=布林6+3*std(布林6,10);
xx:=布林6-3*std(布林6,10);
a001:=(布林7-xx)/布林7<0.03;
a002:=(布林7-xx)/布林7>0.18;
a003:=(ma(c,60)-ma(c,5))/ma(c,60)>0.15;
a004:=(ma(c,5)-ma(c,60))/ma(c,5)>0.15;
explain(a001,'多空布林收敛中,有变盘的可能,上下自己分析'),colorffff00;
explain(a003 and a002 and c>o,'布林上下乖离太大,有反弹的可能'),colorffff;
explain(a004 and a002 and c<o,'布林上下乖离太大,有回落的可能'),colorff00;
explain(h>=hhv(h,20),'创20天新高'),colorffff00;
lgl:=1;
a005:=1;
a006:=c-ref(c,6);
a007:=ma(a006,6)*lgl;
a008:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
a009:=sma(a008,3,1);
a010:=sma(a009,3,1);
a011:=ema(3*a009-2*a010,2)*a005;
a012:=(h+l+c)/3*a005;
a013:=(a012-ma(a012,14))/0.015*avedev(a012,14)/2*a005;
a014:=(a013+ema((-(100*(hhv(h,14)-c)/(hhv(h,14)-llv(l,14)))+100)/100,3)*200-100)/2;
a015:=a014-ref(a014,14)*lgl;
a016:=a014-ref(a014,26)*a005;
a017:=(a014+a015+a016)/3;
a018:=1.1*c*lgl;
a019:=0.9*c*a005;
a020:=100*(winner(a018)-winner(a019));
a021:=ema(100-a020,3)*a005;
a022:=a021;
a023:=ma(a021,12)*lgl;
a024:=(a022-a023)*7;
a025:=ema(a024,3);
a026:=ma(c,5);
a027:=ma(ma(c,20),5);
a028:=(a026-ref(a026,1))/ref(a026,1)*1000*lgl;
a029:=(a027-ref(a027,1))/ref(a027,1)*1000;
a030:=a028-a029;
a031:=if(a028<a030*lgl,a030+abs(a028-a030),a030-abs(a028-a030));
a032:=a028+50;
a033:=a031+50;
kkm:=if(max(a032,a033)>100,100,max(a032,a033));
a034:=if(min(a032,a033)<0,0,min(a032,a033));
ccccc1:=(kkm+a034)/2;
ccccc2:=ccccc1-50;
xdp:=a017*lgl;
dpm:=ema(a017,4);
a035:=dpm;
a036:=-((a006+100)/2)+a011;
a037:=a036/2-50;
a038:=a037*4;
a039:=ema(a038,3);
a040:=ema(dpm,4);
a041:=ema(a039,4);
xy:=(dpm+a039*(-1))/2;
xm:=dpm*lgl;
xd:=a039*lgl;
varx:=ema(dpm,4);
c023:=a041;
c024:=1;
c025:=1;
c026:=1;
vare:=c024*c025*c026;
var6:=xm;
var7:=xd;
var8:=varx;
var9:=c023;
explain(ccccc2>0 and vare>0,'短线投机活跃!');
explain(ccccc2<0 and vare>0,'短线投机小心!'),colorff;
explain(xm>varx and xm>xd and vare>0,'从多头看:短线适度持股'),colorffff;
explain(xm>varx and xm<xd and vare>0,'从多头看:短线择机增仓'),colorff;
explain(xm<varx and xm>xd and vare>0,'从多头看:短线获利减仓'),colorff00;
explain(xm<varx and xm<xd and vare>0,'从多头看:短线空仓观望'),colorffff;
explain(xd>c023 and xd>xm and vare>0,'从空头看:短线空仓观望'),colorff0000;
explain(xd>c023 and xd<xm and vare>0,'从空头看:短线获利减仓'),colorff0000;
explain(xd<c023 and xd<xm and vare>0,'从空头看:短线适度持股'),colorffff;
explain(xd<c023 and xd>xm and vare>0,'从空头看:短线择机增仓'),colorff;
var1:=100*(c-llv(l,21))/(hhv(h,21)-llv(l,21));
var2:=100*(indexc-llv(indexl,21))/(hhv(indexh,21)-llv(indexl,21));
sma(var1,3,1),colorff00;
var1:=100*(c-llv(l,21))/(hhv(h,21)-llv(l,21));
var2:=100*(indexc-llv(indexl,21))/(hhv(indexh,21)-llv(indexl,21));
sma(var1,3,1),colorffff;
var10:=(c-llv(l,34))/(hhv(h,34)-llv(l,34))*100;
sma(sma(var10,3,1),3,1),colorffff;
股神:3*sma((c-llv(l,13))/(hhv(h,13)-llv(l,13))*100,5,1)-2*sma(sma((c-llv(l,13))/(hhv(h,13)-llv(l,13))*100,5,1),3,1),colorffff;
var5:=10;
短线进出:if(股神<=10,-3,0),colorffff;
买入:=if(cross(股神,var5),20,0),linethick2,colorffff;
var1:=indexc;
var2:=ma(var1,8);
var3:=ma(var1,22);
var4:=ma(var1,28);
var5:=ma(var1,73);
var11:=ma(var1,106);
var12:=var5<ref(var5,1) and var11<ref(var11,1) and var5<var11*0.98;
var13:=var4>var2*1.11 and var3>var2*1.095;
var14:=var2>var1*0.95;
var15:=var12 and var13 and var14 and c/cost(8)<=0.8 and (c>o or c<o) and (ref(c,1)>ref(o,1) or ref(c,1)<ref(o,1));
var16:=ref(c,1);
var17:=sma(max(c-var16,0),7,1)/sma(abs(c-var16),7,1)*100;
var18:=sma(max(c-var16,0),13,1)/sma(abs(c-var16),13,1)*100;
g2:=var17<15 and var18<20;
g3:=c<ref(c,4)-ref(c,4)*0.12;
gg:=ref(c,1);
ja:=sum(if(c>gg,v,0),26)/sum(if(c<=gg,v,0),26)*100<50;
jb:=c<hhv(h,0)/2;
吸筹:g2 and g3 and ja and jb,stick,linethick5,colorff;
趋势:var15*1,stick,linethick5,colorffffff;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文流金岁月公式 飞狐流金岁月指标 源码仅供学习研究。