财富按钮
bbuy:=bigordernum(1,2)-bigordernum(1,3);
a1:=bbuy>(bigordernum(2,2)-bigordernum(2,3))*1.2;
a2:=bbuy*30 > (bigordernum(1,0)-bigordernum(1,1));
a3:=bbuy=hhv(bbuy,5);
a4:=bbuy>ref(bbuy,1)*2;
a5:=bbuy>50;
a6:=(close-ma(close,60))/ma(close,60)<0.2;
a7:=(close-ma(close,60))/ma(close,60)>0;
x00:=(ref(c,3)-ref(c,4))/ref(c,4)<0.005 or (ref(c,2)-ref(c,4))/ref(c,3)<0.005 or (ref(c,1)-ref(c,4))/ref(c,2)<0.005;
x01:=ref(c,1)>ref(o,1) and ref(c,2)>ref(o,2) and ref(c,3)>ref(o,3) and x00;
x02:=ref(c,1)>ref(o,1) and
ref(c,2)>ref(o,2) and
ref(c,3)<ref(o,3) ;
x03:=ref(c,1)>ref(o,1) and
ref(c,2)<ref(o,2) and
ref(c,3)>ref(o,3);
x04:=ref(c,1)>ref(o,1) and
ref(c,2)<ref(o,2) and
ref(c,3)<ref(o,3);
x11:=
ref(c,1)<ref(o,1) and
ref(c,2)>ref(o,2) and
ref(c,3)>ref(o,3) ;
x12:=ref(c,1)<ref(o,1) and
ref(c,2)>ref(o,2) and
ref(c,3)<ref(o,3) ;
x13:=ref(c,1)<ref(o,1) and
ref(c,2)<ref(o,2) and
ref(c,3)>ref(o,3);
x14:=ref(c,1)<ref(o,1) and
ref(c,2)<ref(o,2) and
ref(c,3)<ref(o,3);
a8:=x01 or x02 or x03 or x04 or x11 or x12 or x13 or x14;
a9:=((dynainfo(17)/100)*ref(ma(vol,5),1))/ref(ma(vol,10),1)>1;
a91:=vol>ma(vol,10);
a:=a1 and a2 and a3 and a4 and a5 and a6 and a8 and a91;
关注:drawicon(a,low*0.95,0);
风控条码
var3:=(close-llv(low,26))/(hhv(high,26)-llv(low,26))*100;
var4:=sma(sma(var3,3,1),3,1);
var5:=ema(var4,5);
var6:=var5;
var7:=3*var4-2*var5;
var8:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k: sma(var8,3,1),0,colorbrown,0,1;
d: sma(k,3,1),0,colorblue,0,1;
vara:=llv(low,36);
varb:=hhv(high,30);
varc:=ema((close-vara)/(varb-vara)*4,4)*25;
vard:=87.5;
趋势:varc,0,colorcyan,0,1;
20,0,colorblack,2;
50,0,colorblack,2;
80,0,colorblack,2;
x:drawtext(if(cross(vard,趋势),87,0),85,'赚了'),1,colorgreen;
ww:stickline(varc>90,100,90,7,0),1,colorred;
y:stickline(varc<10,0,10,7,0),1,colorbrown;
varf:=sma(var3,20,1);
var10:=sma(varf,15,1);
var11:=(3*varf+2*var10)/4;
var12:=ref(var11,1);
var13:=sma(max(var11-var12,0),2,1)/sma(abs(var11-var12),2,1)*100;
var14:=ma(var13,10);
var15:=if(cross(var14,90),25,0);
drawtext(cross(var14,90),27,'强势整理'),1,colorcyan;
军令如山贵在执行
p2 6
var1:ema(close,p2),0,rgb(255,255,255),0,2;
x1:stickline(close>var1,close,var1,9,0), 0,rgb(255,0,0);
x2:stickline(close<var1,var1,close,9,0),0,rgb(10,255,0);
明日买卖价格:ema(close,6),0,rgb(255,0,0);
市净率
市净率:c/finance(34),0,rgb(255,0,0),0,1;
滚动市净率:c/financeex(2,1),0,colorblue,0,1;
大盘:(indexc/915)/indexfinanceex(0,1,1);
时间之窗
index:close;
短期生命线:ema(close,4),0,rgb(255,0,255),0,1;
中期生命线:ema(close,18),0,colorblue,0,1;
长期生命线:ema(close,55),0,colorgreen,0,1;
立春:=filter(month=2 and (day=3or day=5 ),2);
雨水:=filter(month=2 and (day=18 or day=20),2);
惊蛰:=filter(month=3 and (day=5or day=7 ),2);
春分:=filter(month=3 and (day=20 or day=22),2);
清明:=filter(month=4 and (day=4or day=6 ),2);
谷雨:=filter(month=4 and (day=19 or day=20),2);
立夏:=filter(month=5 and (day=6or day=8 ),2);
小满:=filter(month=5 and (day=20 or day=22),2);
芒种:=filter(month=6 and (day=5or day=7 ),2);
夏至:=filter(month=6 and (day=20 or day=22),2);
小暑:=filter(month=7 and (day=6or day=8 ),2);
大署:=filter(month=7 and (day=22 or day=24),2);
立秋:=filter(month=8 and (day=7or day=9 ),2);
处暑:=filter(month=8 and (day=22 or day=24),2);
白露:=filter(month=9 and (day=7or day=9 ),2);
秋分:=filter(month=9 and (day=22 or day=24),2);
寒露:=filter(month=10 and (day=7or day=9 ),2);
霜降:=filter(month=10 and (day=22 or day=24),2);
立冬:=filter(month=11 and (day=7or day=9 ),2);
小雪:=filter(month=11 and (day=22 or day=24),2);
大雪:=filter(month=12 and (day=6or day=8 ),2);
冬至:=filter(month=12 and (day=21 or day=23),2);
小寒:=filter(month=1 and (day=5or day=7 ),2);
大寒:=filter(month=1 and (day=19 or day=21),2);
a1:stickline(立春,h,l,0.5,1),0,colorwhite,0,1;
b1:stickline(立春,o,c,6,1),0,colorwhite,0,1;
x1:drawtext(立春,high*1.01,'立春'),0,colorwhite,0,1;
a2:stickline(雨水,h,l,0.5,1),0,colorwhite,0,1;
b2:stickline(雨水,o,c,6,1),0,colorwhite,0,1;
x2:drawtext(雨水,high*1.01,'雨水'),0,colorwhite,0,1;
a3:stickline(惊蛰,h,l,0.5,1),0,colorwhite,0,1;
b3:stickline(惊蛰,o,c,6,1),0,colorwhite,0,1;
x3:drawtext(惊蛰,high*1.01,'惊蛰'),0,colorwhite,0,1;
a4:stickline(春分,h,l,0.5,1),0,colorwhite,0,1;
b4:stickline(春分,o,c,6,1),0,colorwhite,0,1;
x4:drawtext(春分,high*1.01,'春分'),0,colorwhite,0,1;
a5:stickline(清明,h,l,0.5,1),0,colorwhite,0,1;
b5:stickline(清明,o,c,6,1),0,colorwhite,0,1;
x5:drawtext(清明,high*1.01,'清明'),0,colorwhite,0,1;
a6:stickline(谷雨,h,l,0.5,1),0,colorwhite,0,1;
b6:stickline(谷雨,o,c,6,1),0,colorwhite,0,1;
x6:drawtext(谷雨,high*1.01,'谷雨'),0,colorwhite,0,1;
a7:stickline(立夏,h,l,0.5,1),0,colorwhite,0,1;
b7:stickline(立夏,o,c,6,1),0,colorwhite,0,1;
x7:drawtext(立夏,high*1.01,'立夏'),0,colorwhite,0,1;
a8:stickline(小满,h,l,0.5,1),0,colorwhite,0,1;
b8:stickline(小满,o,c,6,1),0,colorwhite,0,1;
x8:drawtext(小满,high*1.01,'小满'),0,colorwhite,0,1;
a9:stickline(芒种,h,l,0.5,1),0,colorwhite,0,1;
b9:stickline(芒种,o,c,6,1),0,colorwhite,0,1;
x9:drawtext(芒种,high*1.01,'芒种'),0,colorwhite,0,1;
a10:stickline(夏至,h,l,0.5,1),0,colorwhite,0,1;
b10:stickline(夏至,o,c,6,1),0,colorwhite,0,1;
x10:drawtext(夏至,high*1.01,'夏至'),0,colorwhite,0,1;
a11:stickline(小暑,h,l,0.5,1),0,colorwhite,0,1;
b11:stickline(小暑,o,c,6,1),0,colorwhite,0,1;
x11:drawtext(小暑,high*1.01,'小暑'),0,colorwhite,0,1;
a12:stickline(大署,h,l,0.5,1),0,colorwhite,0,1;
b12:stickline(大署,o,c,6,1),0,colorwhite,0,1;
x12:drawtext(大署,high*1.01,'大署'),0,colorwhite,0,1;
a13:stickline(立秋,h,l,0.5,1),0,colorwhite,0,1;
b13:stickline(立秋,o,c,6,1),0,colorwhite,0,1;
x13:drawtext(立秋,high*1.01,'立秋'),0,colorwhite,0,1;
a14:stickline(处暑,h,l,0.5,1),0,colorwhite,0,1;
b14:stickline(处暑,o,c,6,1),0,colorwhite,0,1;
x14:drawtext(处暑,high*1.01,'处暑'),0,colorwhite,0,1;
a15:stickline(白露,h,l,0.5,1),0,colorwhite,0,1;
b15:stickline(白露,o,c,6,1),0,colorwhite,0,1;
x15:drawtext(白露,high*1.01,'白露'),0,colorwhite,0,1;
a16:stickline(秋分,h,l,0.5,1),0,colorwhite,0,1;
b16:stickline(秋分,o,c,6,1),0,colorwhite,0,1;
x16:drawtext(秋分,high*1.01,'秋分'),0,colorwhite,0,1;
a17:stickline(寒露,h,l,0.5,1),0,colorwhite,0,1;
b17:stickline(寒露,o,c,6,1),0,colorwhite,0,1;
x17:drawtext(寒露,high*1.01,'寒露'),0,colorwhite,0,1;
a18:stickline(霜降,h,l,0.5,1),0,colorwhite,0,1;
b18:stickline(霜降,o,c,6,1),0,colorwhite,0,1;
x18:drawtext(霜降,high*1.01,'霜降'),0,colorwhite,0,1;
a19:stickline(立冬,h,l,0.5,1),0,colorwhite,0,1;
b19:stickline(立冬,o,c,6,1),0,colorwhite,0,1;
x19:drawtext(立冬,high*1.01,'立冬'),0,colorwhite,0,1;
a20:stickline(小雪,h,l,0.5,1),0,colorwhite,0,1;
b20:stickline(小雪,o,c,6,1),0,colorwhite,0,1;
x20:drawtext(小雪,high*1.01,'小雪'),0,colorwhite,0,1;
a21:stickline(大雪,h,l,0.5,1),0,colorwhite,0,1;
b21:stickline(大雪,o,c,6,1),0,colorwhite,0,1;
x21:drawtext(大雪,high*1.01,'大雪'),0,colorwhite,0,1;
a22:stickline(冬至,h,l,0.5,1),0,colorwhite,0,1;
b22:stickline(冬至,o,c,6,1),0,colorwhite,0,1;
x22:drawtext(冬至,high*1.01,'冬至'),0,colorwhite,0,1;
a23:stickline(小寒,h,l,0.5,1),0,colorwhite,0,1;
b23:stickline(小寒,o,c,6,1),0,colorwhite,0,1;
x23:drawtext(小寒,high*1.01,'小寒'),0,colorwhite,0,1;
a24:stickline(大寒,h,l,0.5,1),0,colorwhite,0,1;
b24:stickline(大寒,o,c,6,1),0,colorwhite,0,1;
x25:drawtext(大寒,high*1.01,'大寒'),0,colorwhite,0,1;
市现率
市现率:c/financeex(2,3);
大盘:(indexc/915)/indexfinanceex(0,1,3);
市销率
y1:=finance(1);
y2:=financeex(0,2);
滚动率销率:(c*y1)/y2,0,rgb(255,0,255),0,1;
x1:=finance(20);
市销率:((c*y1)/x1)*10,0,rgb(0,255,255),0,1;
市盈率
pe:c/finance(33),0,colorcyan,0,1;
pettm:c/financeex(0,0),0,colormagenta,0,1;
大盘:(indexc/915)/indexfinanceex(0,0,0);
压力支撑
rsv13:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
k13:=sma(rsv13,3,1);
d13:=sma(k13,3,1);
j13:=3*k13-2*d13;
rsv55:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;
k55:=sma(rsv55,3,1);
d55:=sma(k55,3,1);
j55:=3*k55-2*d55;
支撑位:if(cross(j13,j55),low,ref(low,barslast(cross(j13,j55)))),0,colorred,0,2;
压力位:if(cross(j55,j13),high,ref(high,barslast(cross(j55,j13)))),0,colorblue,0,2;
中位:(支撑位+压力位)/2,0,colorbrown,0,2;
大盘市净率
大盘:(indexc/915)/indexfinanceex(0,1,1);
大盘市现率
大盘:(indexc/915)/indexfinanceex(0,1,3);
大盘市盈率
x:(indexc/915)/indexfinanceex(0,0,0);
大户资金
v1:=(c*2+h+l)/4*10;
v2:=ema(v1,13)-ema(v1,34);
v3:=ema(v2,5);
v4:=2*(v2-v3)*5.5;
v5:=(hhv(indexh,8)-indexc)/(hhv(indexh,8)-llv(indexl,8))*8;
v6:=ema(3*v5-2*sma(v5,18,1),5);
v7:=(indexc-llv(indexl,8))/(hhv(indexh,8)-llv(indexl,8))*10;
v8:=(indexc*2+indexh+indexl)/4;
v9:=ema(v8,13)-ema(v8,34);
va:=ema(v9,3);
vb:=(v9-va)/2;
庄家秘密撤:if(v4<=0,v4,0),draw3d,colorgreen;
庄家秘密进:if(v4>=0,v4,0),draw3d,colorred;
大盘资金进场:if(vb>=0,vb,0);
大盘资金撤走:if(vb<=0,vb,0);
黄金波段
a:=ma(close,4);
b:=ma(close,18);
黄金波段1:(a*25)/4,draw3d,colorred;
黄金波段2:(b*25)/4,draw3d,colorblue;
先机龙头
换手率:=vol/capital*100;
x1:=ma(换手率,n);
涨幅:=(close-ref(close,1))/ref(close,1);
x2:=ma(涨幅,n);
先机龙头:x1*x2*100;
涨停先锋
a4:=ma(close,20);
a5:=(close > ma(close,5));
a6:=(ma(close,5) > ma(close,10));
a7:=(close > ma(close,10));
a8:=(ma(close,5) > ma(close,20));
a9:=(close > ma(close,20));
a10:=ref(a4,1);
a11:=(a4 > a10);
{avx:(((((if(a5,10,(0 - 10)) + if(a6,10,(0 - 10))) + if(a7,10,(0 - 10))) + if(a8,10,(0 -
10))) + if(a9,10,(0 - 10))) + if(a11,10,(0 - 10)))/50;}
风向标:ma((((((if(a5,100,0) + if(a6,100,0)) + if(a7,100,0)) + if(a8,100,0)) + if
(a9,100,0)) + if(a11,100,0))/6,3.5);
{varr:=ref(close,1);强弱方向:=sma(max(close-varr,0),5,1)/sma(abs(close-varr),5,1)
*100,coloryellow;}
{80, pointdot,colorblue,linethick2;
70, pointdot,colorwhite,linethick2;
20, pointdot,colorgreen,linethick2;
{10, pointdot,colorblue,linethick2};
航向: ma(3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,3,1)-2*sma((close-llv
(low,27))/(hhv(high,27)-llv(low,27))*100,3,1),3);
恒富数据指标
持仓博弈
x1:=bigorderp(1,3)-bigorderp(2,3);
t1:=bigorderp(1,0)-bigorderp(1,1);
t2:=bigorderp(2,0)-bigorderp(2,1);
t3:=t1-t2;
机构持仓:sum(x1,0),0,colorred,0,2;
小股民持仓:sum(t3,0),0,colorgreen,0,2;
大户单
t1:=bigorderp(1,2)-bigorderp(1,3);
t2:=bigorderp(2,2)-bigorderp(2,3);
t3:=(t1-t2);
净买:stickline(t3>0,t3,0,-1,0),0,rgb(255,0,0);
机构博弈
x1:=bigorderp(1,3)-bigorderp(2,3);
x2:=(bigorderp(1,2)-bigorderp(1,3))-(bigorderp(2,2)-bigorderp(2,3));
x3:=(bigorderp(1,1)-bigorderp(1,2))-(bigorderp(2,1)-bigorderp(2,2));
x4:=(bigorderp(1,0)-bigorderp(1,1))-(bigorderp(2,0)-bigorderp(2,1));
特大户:ma(x1,n),0,colorred,0,2;
大户:ma(x2,n),0,colormagenta,0,2;
中户:ma(x3,n),0,colorblue,0,2;
小户:ma(x4,n),0,rgb(0,255,0),0,2;
机构持仓
hs:=vol/if(capital>0,capital,10000000000);
dd:=bigorderp(1,3)-bigorderp(2,3);
dt:=hs*dd*100;
机构持仓: sum(dt,0),0,rgb(128,0,128),1,2;
增减:=dt;
增:stickline(dt>0,机构持仓,机构持仓+dt,5,0),1,colorred;
减:stickline(dt<0,机构持仓+dt,机构持仓,5,0),1,rgb(0,128,64);
当日成交 := (dt * capital) * dynainfo(11)/10000;
买入手数 := (capital*dt)/100;
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
机构单
t1:=bigorderp(1,3);
t2:=bigorderp(2,3);
t3:=(t1-t2);
//f100:(-100),0,rgb(255,255,0),2,1;
净买:stickline(t3>0,t3,0,-1,0),0,rgb(255,0,0);
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
小股民仓
hs:=vol/if(capital>0,capital,10000000000);
dd:=bigorderp(1,0)-bigorderp(1,1)-(bigorderp(2,0)-bigorderp(2,1));
dt:=hs*dd*100;
小股民持仓: sum(dt,0),0,rgb(128,0,128),1,2;
增减:=dt;
增:stickline(dt>0,小股民持仓,小股民持仓+dt,5,0),1,colorred;
减:stickline(dt<0,小股民持仓+dt,小股民持仓,5,0),1,rgb(0,128,64);
当日成交 := (dt * capital) * dynainfo(11)/10000;
买入手数 := (capital*dt)/100;
净买比:=买入手数/vol*100;
小股民单
t1:=bigorderp(1,0)-bigorderp(1,1);
t2:=bigorderp(2,0)-bigorderp(2,1);
t3:=(t1-t2);
净买:stickline(t3>0,t3,0,-1,0),0,rgb(255,0,0);
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
中户单
t1:=bigorderp(1,1)-bigorderp(1,2);
t2:=bigorderp(2,1)-bigorderp(2,2);
t3:=(t1-t2);
净买:stickline(t3>0,t3,0,-1,0),0,rgb(255,0,0);
主力持仓
hs:=vol/if(capital>0,capital,10000000000);
dd:=bigorderp(1,2)-bigorderp(2,2);
dt:=hs*dd*100;
主力持仓: 50+sum(dt,0),0,rgb(128,0,128),1,2;
增减:=dt;
增:stickline(dt>0,主力持仓,主力持仓+dt,5,0),1,colorred;
减:stickline(dt<0,主力持仓+dt,主力持仓,5,0),1,rgb(0,128,64);
当日成交 := (dt * capital) * dynainfo(11)/10000;
买入手数 := (capital*dt)/100;
净买比:=买入手数/vol*100;
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
恒富连红排序指标排序报表使用
a1:=bigorderp(1,3)-bigorderp(2,3);
a2:=(bigorderp(1,2)-bigorderp(1,3))-(bigorderp(2,2)-bigorderp(2,3));
a3:=(bigorderp(1,1)-bigorderp(1,2))-(bigorderp(2,1)-bigorderp(2,2));
a4:=(bigorderp(1,0)-bigorderp(1,1))-(bigorderp(2,0)-bigorderp(2,1));
机构连红:last(a1>0);
机构5日内红:count(a1>0,5);
机构10日内红:count(a1>0,10);
机构n日内红:count(a1>0,n);
大户连红:last(a2>0);
大户5日内红:count(a2>0,5);
大户10日内红:count(a2>0,10);
大户n日内红:count(a2>0,n);
中户连绿:last(a3<0);
中户5日内绿:count(a3<0,5);
中户10日内绿:count(a3<0,10);
中户n日内绿:count(a3<0,n);
小股民连绿:last(a4<0);
小股民5日内绿:count(a4<0,5);
小股民10日内绿:count(a4<0,10);
小股民n日内绿:count(a4<0,n);
恒富占盘排序指标排序报表使用
var1:=capital * close;
var2:=if(var1=0,100000000,var1);
a1:=(bigorderp(1,3)-bigorderp(2,3))/var2*10000;
a2:=((bigorderp(1,2)-bigorderp(1,3))-(bigorderp(2,2)-bigorderp(2,3)))/var2*10000;
a3:=(a1+a2);
机构1日:a1;
大户1日:a2;
主力1日:a3;
机构5日:sum(a1,5);
大户5日:sum(a2,5);
主力5日:sum(a3,5);
机构10日:sum(a1,10);
大户10日:sum(a2,10);
主力10日:sum(a3,10);
机构n日:sum(a1,n);
大户n日:sum(a2,n);
主力n日:sum(a3,n);
恒富资金排序指标排序报表使用
a1:=(bigorderp(1,3)-bigorderp(2,3))*10000;
a2:=((bigorderp(1,2)-bigorderp(1,3))-(bigorderp(2,2)-bigorderp(2,3)))*10000;
a3:=(a1+a2);
机构1日:a1;
大户1日:a2;
主力1日:a3;
机构5日:sum(a1,5);
大户5日:sum(a2,5);
主力5日:sum(a3,5);
机构10日:sum(a1,10);
大户10日:sum(a2,10);
主力10日:sum(a3,10);
机构n日:sum(a1,n);
大户n日:sum(a2,n);
主力n日:sum(a3,n);
t+0指标
大户净买
主买:=bigorder(1,2)-bigorder(1,3);
主卖:=bigorder(2,2)-bigorder(2,3);
result:=(主买-主卖)/10000;
x1:if(result>0,result,0),draw3d,colorred;
x2:if(result<0,result,0),draw3d,colorgreen;
三日平均:ma(result,3),0,rgb(0,0,255),0,1;
特大户净买
主买:=bigorder(1,3);
主卖:=bigorder(2,3);
result:=(主买-主卖)/10000;
x1:if(result>0,result,0),draw3d,colorred;
x2:if(result<0,result,0),draw3d,colorgreen;
三日平均:ma(result,3),0,rgb(0,0,255),0,1;
小户净买
主买:=bigorder(1,0)-bigorder(1,1);
主卖:=bigorder(2,0)-bigorder(2,1);
result:=(主买-主卖)/10000;
x1:if(result>0,result,0),draw3d,colorred;
x2:if(result<0,result,0),draw3d,colorgreen;
三日平均:ma(result,3),0,colorblue;
中户净买
主买:=bigorder(1,1)-bigorder(1,2);
主卖:=bigorder(2,1)-bigorder(2,2);
result:=(主买-主卖)/10000;
x1:if(result>0,result,0),draw3d,colorred;
x2:if(result<0,result,0),draw3d,colorgreen;
三日平均:ma(result,3),0,colorblue;
财富至尊指标
活筹指标
var1:=sma(o*amount/10000000,n,1);
c0:=(var1*1000)/1000;
b1:=ref(c0,1);b2:=ref(c0,2);b3:=ref(c0,3);b4:=ref(c0,4);b5:=ref(c0,5);b6:=ref
(c0,6);b7:=ref(c0,7);
b8:=ref(c0,8);b9:=ref(c0,9);b10:=ref(c0,10);b11:=ref(c0,11);b12:=ref(c0,12);b13:=ref
(c0,13);b14:=ref(c0,14);
b15:=ref(c0,15);b16:=ref(c0,16);b17:=ref(c0,17);b18:=ref(c0,18);b19:=ref(c0,19);b20:=ref
(c0,20);
b21:=ref(c0,21);b22:=ref(c0,22);b23:=ref(c0,23);b24:=ref(c0,24);b25:=ref(c0,25);b26:=ref
(c0,26);
b27:=ref(c0,27);b28:=ref(c0,28);b29:=ref(c0,29);b30:=ref(c0,30);b31:=ref(c0,31);b32:=ref
(c0,32);
b33:=ref(c0,33);b34:=ref(c0,34);b35:=ref(c0,35);b36:=ref(c0,36);b37:=ref(c0,37);b38:=ref
(c0,38);
b39:=ref(c0,39);b40:=ref(c0,40);b41:=ref(c0,41);b42:=ref(c0,42);b43:=ref(c0,43);b44:=ref
(c0,44);
b45:=ref(c0,45);b46:=ref(c0,46);b47:=ref(c0,47);b48:=ref(c0,48);b49:=ref(c0,49);b50:=ref
(c0,50);
hl:=if(c0>b1 and b1>=b2,1,if(c0<b1 and b1<=b2,-1,if(c0>b2 and b2>b1,2,if(c0<b2 and b2<b1,
-2,0))));
hg:=if(b1>b2 and b1>b3,1,if(b1<b2 and b1<b3,-1,if(b2>b3 and b2>b4,2,if(b2<b3 and b2<b4,-2,
if(b3>b4 and b3>b5,3,if(b3<b4 and b3<b5,-3,if(b4>b5 and b4>b6,4,if(b4<b5 and b4<b6,-4,
if(b5>b6 and b5>b7,5,if(b5<b6 and b5<b7,-5,if(b6>b7 and b6>b8,6,if(b6<b7 and b6<b8,-6,
if(b7>b8 and b7>b9,7,if(b7<b8 and b7<b9,-7,if(b8>b9 and b8>b10,8,if(b8<b9 and b8<b10,-8,
if(b9>b10 and b9>b11,9,if(b9<b10 and b9<b11,-9,if(b10>b11 and b10>b12,10,if(b10<b11 and
b10<b12,-10,
if(b11>b12 and b11>b13,11,if(b11<b12 and b11<b13,-11,if(b12>b13 and b12>b14,12,if(b12<b13
and b12<b14,-12,
if(b13>b14 and b13>b15,13,if(b13<b14 and b13<b15,-13,if(b14>b15 and b14>b16,14,if(b14<b15
and b14<b16,-14,
if(b15>b16 and b15>b17,15,if(b15<b16 and b15<b17,-15,if(b16>b17 and b16>b18,16,if(b16<b17
and b16<b18,-16,
if(b17>b18 and b17>b19,17,if(b17<b18 and b17<b19,-17,if(b18>b19 and b18>b20,18,if(b18<b19
and b18<b20,-18,
if(b19>b20 and b19>b21,19,if(b19<b20 and b19<b21,-19,if(b20>b21 and b20>b22,20,if(b20<b21
and b20<b22,-20,
if(b21>b22 and b21>b23,21,if(b21<b22 and b21<b23,-21,if(b22>b23 and b22>b24,22,if(b22<b23
and b22<b24,-22,
if(b23>b24 and b23>b25,23,if(b23<b24 and b23<b25,-23,if(b24>b25 and b24>b26,24,if(b24<b25
and b24<b26,-24,
if(b25>b26 and b25>b27,25,if(b25<b26 and b25<b27,-25,if(b26>b27 and b26>b28,26,if(b26<b27
and b26<b28,-26,
if(b27>b28 and b27>b29,27,if(b27<b28 and b27<b29,-27,if(b28>b29 and b28>b30,28,if(b28<b29
and b28<b30,-28,
if(b29>b30 and b29>b31,29,if(b29<b30 and b29<b31,-29,if(b30>b31 and b30>b32,30,if(b30<b31
and b30<b32,-30,
if(b31>b32 and b31>b33,31,if(b31<b32 and b31<b33,-31,if(b32>b33 and b32>b34,32,if(b32<b33
and b32<b34,-32,
if(b33>b34 and b33>b35,33,if(b33<b34 and b33<b35,-33,if(b34>b35 and b34>b36,34,if(b34<b35
and b34<b36,-34,
if(b35>b36 and b35>b37,35,if(b35<b36 and b35<b37,-35,if(b36>b37 and b36>b38,36,if(b36<b37
and b36<b38,-36,
if(b37>b38 and b37>b39,37,if(b37<b38 and b37<b39,-37,if(b38>b39 and b38>b40,38,if(b38<b39
and b38<b40,-38,
if(b39>b40 and b39>b41,39,if(b39<b40 and b39<b41,-39,if(b40>b41 and b40>b42,40,if(b40<b41
and b40<b42,-40,
if(b41>b42 and b41>b43,41,if(b41<b42 and b41<b43,-41,if(b42>b43 and b42>b44,42,if(b42<b43
and b42<b44,-42,
if(b43>b44 and b43>b45,43,if(b43<b44 and b43<b45,-43,if(b44>b45 and b44>b46,44,if(b44<b45
and b44<b46,-44,
if(b45>b46 and b45>b47,45,if(b45<b46 and b45<b47,-45,if(b46>b47 and b46>b48,46,if(b46<b47
and b46<b48,-46,
if(b47>b48 and b47>b49,47,if(b47<b48 and b47<b49,-47,if(b48>b49 and b48>b50,48,if(b48<b49
and b48<b50,-48,
0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
)))))));
ma5:ema(var1,5),0,rgb(255,0,255),0,1;
个股生命线: ema(var1,10),0,colorblue,0,1;
ma34: ema(var1,23),0,colorbrown,0,1;
x1:b1,pointdot,colorwhite,0,1;
x2:b2,pointdot,colorwhite,0,1;
x3:stickline(hl=1 or hg>=1 and hl=0,b1,c0,5,0),0,colorred;
x4:stickline(hl=-1 or hg<=-1 and hl=0,b1,c0,5,0),0,colorgreen;
x5:stickline(hl=2,b2,c0,5,0),0,colorred;
x6:stickline(hl=-2,b2,c0,5,0),0,colorgreen;
x7:stickline((hl=-1 or hl=-2) and hg>0,b2,b1,5,0),0,colorred;
x8:stickline((hl=1 or hl=2) and hg<0,b2,b1,5,0),0,colorgreen;
价量线
hsl:=vol/capital;
x1:=hsl+0.8*(1-hsl)*0.95;
x2:=hsl+12/13*(1-hsl)*0.95;
lfs:=100*(1-x1/x2);
y1:=llv(low,36);
y2:=hhv(high,36);
huo:=(close-y1)/(y2-y1)*4*25;
价线:ema((huo-llv(huo,5))/(hhv(huo,5)-llv(huo,5))*100,1),0,rgb(255,0,0),1,2;
量线:ema((lfs-llv(lfs,21))/(hhv(lfs,21)-llv(lfs,21))*100,1),0,rgb(0,255,0),1,2
资金动能
diff:=ema(close,3)-ema(close,8);
dea:=ema(diff,5);
macd := 2*(diff-dea);
x1:=ema(diff,5)*5;
x2:=((ema(close,3)-ema(close,8)))*5;
x3:if(x2>0,x2,0),draw3d,colorred;
x4:if(x2<0,x2,0),draw3d,colorgreen;
资金动能a:x2,0,rgb(255,128,0),0,2;
资金动能b:x1,0,rgb(0,0,255),0,2;
aa:drawicon((cross(资金动能a,资金动能b) and 资金动能b<-0.25),资金动能b,0);
有些指标可以移植到天财藏金-导航免费版,可以即时接收数据,下载日线,效果还可以。
本文仅仅提供源码
上一指标公式:凯恩斯双线制胜操作与指标公式详解 钱龙公式
下一指标公式:凯恩斯黄金线指标公式详解 钱龙源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文天财藏金-掌股专家白金版全部特色附图有些可以移植到导航免费版指标公式详解 钱龙天财藏金仅供学习研究。