[其他]天财藏金-掌股专家白金版全部特色公式(源码、附图)有些公式可以移植到导航免费版介绍
[其他]天财藏金-掌股专家白金版全部特色公式(源码、附图)有些公式可以移植到导航免费版
财富按钮
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=3 OR DAY=5 ),2);
雨水:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),2);
惊蛰:=FILTER(MONTH=3 AND (DAY=5 OR DAY=7 ),2);
春分:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),2);
清明:=FILTER(MONTH=4 AND (DAY=4 OR DAY=6 ),2);
谷雨:=FILTER(MONTH=4 AND (DAY=19 OR DAY=20),2);
立夏:=FILTER(MONTH=5 AND (DAY=6 OR DAY=8 ),2);
小满:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),2);
芒种:=FILTER(MONTH=6 AND (DAY=5 OR DAY=7 ),2);
夏至:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),2);
小暑:=FILTER(MONTH=7 AND (DAY=6 OR DAY=8 ),2);
大署:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),2);
立秋:=FILTER(MONTH=8 AND (DAY=7 OR DAY=9 ),2);
处暑:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),2);
白露:=FILTER(MONTH=9 AND (DAY=7 OR DAY=9 ),2);
秋分:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),2);
寒露:=FILTER(MONTH=10 AND (DAY=7 OR DAY=9 ),2);
霜降:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),2);
立冬:=FILTER(MONTH=11 AND (DAY=7 OR DAY=9 ),2);
小雪:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),2);
大雪:=FILTER(MONTH=12 AND (DAY=6 OR DAY=8 ),2);
冬至:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),2);
小寒:=FILTER(MONTH=1 AND (DAY=5 OR 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);
有些公式可以移植到天财藏金-导航免费版,可以即时接收数据,下载日线,效果还可以。
gd12032