指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:中线必赢-四个仅仅提供并无下载公式 飞狐中线源码指标 源码
中线必赢---只此四个公式
好公式不用多,有此四个公式足矣(大智慧上完全测试通过)。根据发出的信号操作,准确率90%以上。自己可以在任意股票上检测一下,真金不怕火炼。
一、买股均线(主图)
m5: ma(close,5);
m10: ma(close,10);
m20: ma(close,20);
m30: ma(close,30);
m60: ma(close,60);
m125: ma(close,125);
m250: ma(close,250), , colorred;
var2:=ref(close,1);
var3:=sma(max(close-var2,0),6,1)/sma(abs(close-var2),6,1)*100;
drawtext(cross(84,var3),high,'见顶↓'), , coloryellow;
var4:=sma(max(close-var2,0),12,1)/sma(abs(close-var2),12,1)*100;
drawtext(cross(var4,20),low-(high-low),'见底↑'), , colorred;
var8:=ma(close,12);
var9:=ma(close,26);
vara:=ref(var8,1);
varb:=ref(var9,1);
varc:=(var8-var9)/var8*100;
vard:=abs(var8-vara)/var8*100;
vare:=ref(var9,1);
varf:=ref(vard,1);
var10:=ref(m5,1);
var11:=ref(m10,1);
var12:=ref(close,1);
var13:=count(close>ref(close,1),5)/5*100;
var14:=(hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100;
var15:=sma(var14,5,1);
var16:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;
var17:=sma(var16,2,1);
var18:=ma(vol/capital,30)*ma(vol,60)/10000+ma(close,30)*8;
var19:=ref(var15,1);
var1a:=ref(var17,1);
var1b:=ref(var18,1);
var1c:=ma(var17,5);
var1d:=ma(var17,12);
var1e:=ma(var17,26);
var1f:=ref(var13,1);
var20:=(var18-var1b)/var18*100;
var21:=sma(var14,5,1);
var22:=ref(var21,1);
var23:=sma(var16,2,1);
var24:=ref(var23,1);
var25:=if(close>open,1,0);
var26:=if(m5>var10,1,0);
var27:=if(m10>var11,1,0);
var28:=if(vard>varf,1,0);
var29:=if(var17>var1a,5,0);
var2a:=if(var19>var15,5,0);
var2b:=if(var18>var1b,2,0);
var2c:=if(varc>2.25,10,0);
var2d:=if(var17>60,6,0);
var2e:=if(var17>80,8,0);
var2f:=if(var17>var15,10,0);
var30:=if(var17>var15,var1d-var1e,0);
var31:=if(var17>var15 and var15<20,5,0);
var32:=if(close>var8 and var8>var9,5,0);
var33:=if(var8>var9,5,0);
var34:=if(var9>vare,5,0);
var35:=if(var15<18,var1c-var15,0);
var36:=if(var15>var17 and var15>50,8,0);
var37:=(var25+var26+var27+var28+var29+var2a+var2b+var2c+var2d+var2e+var2f+var30+var31+var32+var33+var34+var35-var36);
var38:=ref(var37,1);
var39:=ma(var37,6);
var3a:=ma(var37,12);
var3b:=ma(var37,26);
var3c:=ma(var37,13);
var3d:=ref(var3a,1);
var3e:=ref(var3a,2);
drawtext(var19>var1b and var15<var18 and var3a<25 and var17>var15,m5,'最佳时机 '), , colorred;
drawtext(var18>30 and var17>var18 and var3a>30 and var3a<60 and cross(var18,var15),m5,'追涨 '), , coloryellow;
drawtext(var3a>60 and cross(var3c,var3a) and var17<60 and var15>20,m5,'等死吗? '), , colorgreen;
drawtext(var3a>60 and var3e<var3d and var3d>var3a,m5,'逃命! '), , colorgreen;
drawtext(var18>66 and cross(var15,var18) or var13=0 and var1f>0 and var17<15 or var13=0 and var1f=0 and var1a>15,low-(high-low)/2,'还要跌'), , colorgreen;
drawtext(var20>0.4 and var18>97 and var17>86 and var15<10,m5,'还要涨'), , colorred;
drawtext(var20>0.65 and var15<9,m5,'还要涨'), , colorred;
二、黄白线(此公式含有未来函数,请慎用。)
来势线: ema(close,7)-ema(close,21),coloryellow;
福星: ema(来势线,7), colorstick,colorred;
var1:=close/ref(llv(low,35),5)< 1;
决策: if(var1,0.5,0), stick,colorblue;
必买: if(troughbars(3,15,1)=0 and high>low+0.01,1,-1),coloryellow ,linethick1 ;
必卖: if(peakbars(3,15,1)=1,1,2),colorwhite,linethick1;
趋势线: (ema(winner(close),7)-ema(winner(close),35))*5,colorred;
逃顶线: ema(close/ref(hhv(close,7),50),1),color007000 ,linethick1 ;
三、金眼猎手
{参数:c1 -200 200 0 ty 1 100 15}
var1:=0;
var3:=(high+low+close*2)/4;
var4:=ema(var3,ty);
var5:=std(var3,ty);
var6:=(var3-var4)*100/var5;
var7:=ema(var6,5);
var8:=ema(var7,ty);
qsk: ema(var7,ty)+200+c1;
qsm: ema(qsk,10);
up: 278 ;
down: 65
四、冰火两重天
{参数:p 0 100 16}
能量:=sqrt(vol)*(((c-(h+l)/2))/((h+l)/2));
平滑能量:=ema(能量,p);
能量惯性:ema(平滑能量,p) ;
stickline(能量惯性>=0,(能量惯性-能量惯性*0.05),(能量惯性-能量惯性*0.15),5,0), color0000cc;
stickline(能量惯性>=0,(能量惯性-能量惯性*0.2),(能量惯性-能量惯性*0.35),5,0) ,color0066ff;
stickline(能量惯性>=0,(能量惯性-能量惯性*0.4),(能量惯性-能量惯性*0.55),5,0), color0099ff;
stickline(能量惯性>=0,(能量惯性-能量惯性*0.6),(能量惯性-能量惯性*0.75),5,0), color00ccff;
stickline(能量惯性>=0,(能量惯性-能量惯性*0.8),(能量惯性-能量惯性*0.95),5,0), color00ffff;
stickline(能量惯性<0,(能量惯性-能量惯性*0.05),(能量惯性-能量惯性*0.15),5,0), colorff3300;
stickline(能量惯性<0,(能量惯性-能量惯性*0.2),(能量惯性-能量惯性*0.35),5,0) ,colorff6600;
stickline(能量惯性<0,(能量惯性-能量惯性*0.4),(能量惯性-能量惯性*0.55),5,0), colorff9900;
stickline(能量惯性<0,(能量惯性-能量惯性*0.6),(能量惯性-能量惯性*0.75),5,0), colorffcc00;
stickline(能量惯性<0,(能量惯性-能量惯性*0.8),(能量惯性-能量惯性*0.95),5,0), colorffff00;
转载大庆老杨老师的好指标!!
本贴仅仅提供源码,并无公式下载
>>>使用本站搜索工具可以找到更多“中线必赢-四个仅仅提供并无下载公式 飞狐中线源码指标 源码”