无未来函数通道公式(飞狐)(多个公式组合 源码 贴图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-02-25 09:30:00
公式简介:
{财富通道}
DRAWGBK(1,COLORRGB(44,22,108),COLORRGB(33,0,0),0),color10000;
通道中轨:EMA(EMA(EMA(EMA(EMA(CLOSE,10),15),20),25),30),linethick2,colorwhite;
通道上轨:通道中轨*1.12,POINTDOT;
通道下轨:通道中轨*0.88,POINTDOT;
通道上上轨:通道中轨*1.3,linethick2,colorgreen;
通道下下轨:通道中轨*0.78,linethick2,colorred;
空:=EMA(C,5);
均衡:=EMA(空,5),COLORWHITE;
中轨:=HHV(MA(H,13),13),COLORRED,LINETHICK2;
趋势:LLV(MA(H,13),1),COLORGREEN,pointdot;
varA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
varB:=EMA(0.667*REF(varA,1)+0.333*varA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(varA>=varB AND varA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买入');
varC:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,varC),HIGH,2);
var11:=(HIGH+LOW+OPEN+2*CLOSE)/5;
var21:=REF(var11,1);
var31:=SMA(MAX(var11-var21,0),10,1)/SMA(ABS(var11-var21),10,1)*100;
var41:=FILTER(IF(COUNT(var31<20,5)>=1 AND COUNT(var11=LLV(var11,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0),5);
DRAWICON(var41,LOW,1);
var51:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);
DRAWTEXT(var51,L*0.98,'追涨'),ALIGN2,coloryellow;
var61:=REF(CLOSE,1);
var71:=SMA(MAX(CLOSE-var61,0),6,1)/SMA(ABS(CLOSE-var61),6,1)*100;
DRAWTEXT(CROSS(84,var71),H*1.03,'逃顶'),COLORYELLOW ;
Var1:=EMA(C,3);
Var2:=EMA(C,5);
Var3:=EMA(C,10);
Var4:=EMA(C,20);
Var5:=EMA(C,30);
Var6:=(Var2+Var3+Var4+Var5)/4;
Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;
Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;
Var9:=EMA(Var7,8);
STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COLORBLUE;//蓝-持币
STICKLINE(Var7<1*REF(Var7,1),o,c,8, 0),COLORBLUE;
STICKLINE(Var7>1*REF(Var7,1),h,l,0.5,0),COLORRED;//红-持股
STICKLINE(Var7>1*REF(Var7,1),o,c,8, 0),COLORRED;
STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),h,l,0.5,0),COLORGREEN;//绿-洗盘
STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),o,c,8, 0),COLORGREEN;
买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;//白-买进
STICKLINE(买进条件,o,c,8,0),colorwhite,linethick2;
加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;
加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);
STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;//黄-加码
STICKLINE(加码条件,o,c,8,0),coloryellow,linethick2;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,A,B,5,0),COLORYELLOW;
STICKLINE(A<B,A,B,5,0),COLORBLUE;
A:=AMOUNT/VOL/100;
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
DSY:=100*vol/CApitAl;
春笋I:If((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,0.75*CLOSE+(MA(C,20)-0.75*CLOSE)/3, 0.75*CLOSE),COLORRED;
PJ:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
HJ:=SUM(AMOUNT,13)/A/100;
CN:= DMA(PJ,VOL/HJ);Delarbo:=((((CLOSE-CN)/CN)*100-REF(((CLOSE-CN)/CN)*100,1)));
春笋II:if( CROSS( ((CLOSE-CN)/CN)*100 ,-20 ) OR CROSS( ((CLOSE-CN)/CN)*100 ,-19 ) OR ( SUM(DSY,5)/5<2.8
AND (CLOSE-min(C0,C1))/CLOSE<0.15 AND ((REF(C,2)-REF(C,1))/REF(C,2))<0.025 AND ( ( CROSS( ((CLOSE-CN)/CN)*100 ,-18 ) )
OR( CROSS( ((CLOSE-CN)/CN)*100 ,-17 ) ) or( CROSS( ((CLOSE-CN)/CN)*100 ,-16 ) ) or( CROSS( ((CLOSE-CN)/CN)*100 ,-15 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-14 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-13 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-12 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-11 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-10 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -9 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -8 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -7 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -6 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -5 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -4 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -3 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -2 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -1 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , 0 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , 1 ) And (Delarbo>2.8)) ) ),0.75*CLOSE+(MA(C,20)-0.75*CLOSE)/3,0.75*C),COLORGREEN;春笋III:IF( ( (Delarbo>5.8) AND ((C-REF(C,1))/REF(C,1))<0.08 AND REF(((CLOSE-CN)/CN)*100,1)<-3.8 ),0.75*CLOSE+(MA(C,20)-0.75*CLOSE)/3,0.75*C),COLORYELLOW;
田园:0.75*CLOSE,COLORBLUE;
OO:=if(DATATYPE=6,ma(O,22),if(DATATYPE=7,ma(O,10),ma(O,6)));j:=STKINDI('','kdj.j',0,6);
CC:=if(DATATYPE=6,ma(c,22),if(DATATYPE=7,ma(c,10),ma(c,6)));hs:=vol/CAPITAL*100;
jj:=(H+L+C)/3;j0:=STKINDI('','kdj.j',0,4);qj0:=vol/IF(H=L,4,H-L);
qj1:=IF(CAPITAL=0,qj0*(jj-MIN(C,O)),qj0*(MIN(O,C)-L));
qj2:=IF(CAPITAL=0,qj0*(MIN(O,C)-L),qj0*(jj-MIN(C,O)));
qj3:=qj0*(H-MAX(O,C));qj4:=qj0*(MAX(C,O)-jj);
qj5:=qj1+qj2;qj6:=qj3+qj4;DD:=(qj5-qj6)/(qj5+qj6)*100;
DDX:=((qj1+qj2)-(qj3+qj4))/sum(vol,10)*100;DDZ:=DD*17;
DDY:=((qj2+qj4)-(qj1+qj3))/sum(vol,10)*100;
bb:=((cross(j,0) or cross(j0,0))and ((ddx>0 and ddy>0) or DDZ>400));
主:=qj1+qj2;散:=qj3+qj4;T0:=VOL>REF(VOL,1) and MA(VOL,5)>REF(MA(VOL,5),1);
bbd:=EMA(STKINDI('','千钧引用.总0',0,7),2)/sum(IF(CAPITAL=0,ref(INDEXA,1),ref(vol,1)),5)*100;
XH1:=ref(bbd,1)<-15 and bbd>ref(bbd,1) and bbd>-10;
XH2:=ref(bbd,1)>=15 and bbd<ref(bbd,1) and bbd<10;P:=SYSPARAM(1);
Q6:=atan((MA(C,5)/ref(MA(C,5),1)-1)*100)*57.3;Q2:=atan((MA(C,13)/ref(MA(C,13),1)-1)*100)*57.3;
Q1:=atan((MA(C,23)/ref(MA(C,23),1)-1)*100)*57.3;Q:=atan((MA(C,34)/ref(MA(C,34),1)-1)*100)*57.3;
Q3:=atan((MA(C,68)/ref(MA(C,68),1)-1)*100)*57.3;Q5:=atan((MA(C,250)/ref(MA(C,250),1)-1)*100)*57.3;
T1:=VOL<REF(VOL,1) and MA(VOL,5)>REF(MA(VOL,5),1);T2:=VOL>REF(VOL,1) and MA(VOL,5)<REF(MA(VOL,5),1);
T3:=VOL<REF(VOL,1) and MA(VOL,5)<REF(MA(VOL,5),1);T4:=主>REF(主,1) and 主>散 and if(CAPITAL=0,hs>1.3,hs>5);
T5:=主<REF(主,1) and 主>散 and if(CAPITAL=0,hs>0.5 and hs<1.3,hs>3 and hs<=5);
T6:=主>REF(主,1) and 主<散 and if(CAPITAL=0,hs<1.3 and hs>0.5,hs<5 and hs>3);
T7:=主<REF(主,1) and 主<散 and if(CAPITAL=0,hs<1.3,hs<3 and hs>=1);
STICKLINE(C>=REF(c,1),H,L,0,0),COLOR0000FF;
STICKLINE(C>=REF(c,1),C,O,8,0),COLOR0000bb;
STICKLINE(C>=REF(c,1),C,O,5,0),COLOR0000dd;
STICKLINE(C>=REF(c,1),C,O,3,0),COLOR0000ee;
STICKLINE(C>=REF(c,1),C,O,1,0),COLOR0000ff;
STICKLINE(C<REF(c,1),H,L,0,0),COLORFFFF00;
STICKLINE(C<REF(c,1),C,O,8,0),COLOR999900;
STICKLINE(C<REF(c,1),C,O,5,0),COLORbbbb00;
STICKLINE(C<REF(c,1),C,O,3,0),COLORdddd00;
STICKLINE(C<REF(c,1),C,O,1,0),COLORFFFF00;
STICKLINE(bbd>0,CC,OO,8,0),COLORFF00FF;
STICKLINE(bbd<0,CC,OO,8,0),COLOR00FF00;
这个公式用到千钧老师的一小段指标,谢谢他了,呵呵,公式没有未来函数!!
、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
下面这个公式我加了趋势划线,含有未来,我比较喜欢:
{财富通道一}
DRAWGBK(1,COLORRGB(44,22,108),COLORRGB(33,0,0),0),color10000;
通道中轨:EMA(EMA(EMA(EMA(EMA(CLOSE,10),15),20),25),30),linethick2,colorwhite;
通道上轨:通道中轨*1.12,POINTDOT;
通道下轨:通道中轨*0.88,POINTDOT;
通道上上轨:通道中轨*1.3,linethick2,colorgreen;
通道下下轨:通道中轨*0.78,linethick2,colorred;
空:=EMA(C,5);
均衡:=EMA(空,5),COLORWHITE;
中轨:=HHV(MA(H,13),13),COLORRED,LINETHICK2;
趋势:LLV(MA(H,13),1),COLORGREEN,pointdot;
varA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
varB:=EMA(0.667*REF(varA,1)+0.333*varA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(varA>=varB AND varA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买入');
varC:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,varC),HIGH,2);
var11:=(HIGH+LOW+OPEN+2*CLOSE)/5;
var21:=REF(var11,1);
var31:=SMA(MAX(var11-var21,0),10,1)/SMA(ABS(var11-var21),10,1)*100;
var41:=FILTER(IF(COUNT(var31<20,5)>=1 AND COUNT(var11=LLV(var11,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0),5);
DRAWICON(var41,LOW,1);
var51:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);
DRAWTEXT(var51,L*0.98,'追涨'),ALIGN2,coloryellow;
var61:=REF(CLOSE,1);
var71:=SMA(MAX(CLOSE-var61,0),6,1)/SMA(ABS(CLOSE-var61),6,1)*100;
DRAWTEXT(CROSS(84,var71),H*1.03,'逃顶'),COLORYELLOW ;
Var1:=EMA(C,3);
Var2:=EMA(C,5);
Var3:=EMA(C,10);
Var4:=EMA(C,20);
Var5:=EMA(C,30);
Var6:=(Var2+Var3+Var4+Var5)/4;
Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;
Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;
Var9:=EMA(Var7,8);
STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COLORBLUE;//蓝-持币
STICKLINE(Var7<1*REF(Var7,1),o,c,8, 0),COLORBLUE;
STICKLINE(Var7>1*REF(Var7,1),h,l,0.5,0),COLORRED;//红-持股
STICKLINE(Var7>1*REF(Var7,1),o,c,8, 0),COLORRED;
STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),h,l,0.5,0),COLORGREEN;//绿-洗盘
STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),o,c,8, 0),COLORGREEN;
买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;//白-买进
STICKLINE(买进条件,o,c,8,0),colorwhite,linethick2;
加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;
加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);
STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;//黄-加码
STICKLINE(加码条件,o,c,8,0),coloryellow,linethick2;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,A,B,5,0),COLORYELLOW;
STICKLINE(A<B,A,B,5,0),COLORBLUE;
A1:=REF(H,8)=HHV(H,2*8+1);
B1:=FILTER(A1,8);
C1:=BACKSET(B1,8+1);
D1:=FILTER(C1,8);
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); S11:=R11>REF(R11,1);
DRAWLINE(D1,H,S11,H,1),COLORGREEN;
A2:=REF(L,8)=LLV(L,2*8+1);
B2:=FILTER(A2,8);
C2:=BACKSET(B2,8+1);
D2:=FILTER(C2,8);
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); U11:=T11>REF(T11,1);
DRAWLINE(D2,L,U11,L,1),COLORGREEN;
M:=INTPART(3*8/5);
A12:=REF(H,M)=HHV(H,2*M+1);
B12:=FILTER(A12,M);
C12:=BACKSET(B12,M+1);
D12:=FILTER(C12,M);
R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1);
DRAWLINE(D12,H,S112,H,1),COLORWHITE;
A22:=REF(L,M)=LLV(L,2*M+1);
B22:=FILTER(A22,M);
C22:=BACKSET(B22,M+1);
D22:=FILTER(C22,M);
T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1); U112:=T112>REF(T112,1);
DRAWLINE(D22,L,U112,L,1),COLORWHITE;
A:=AMOUNT/VOL/100;
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
DSY:=100*vol/CApitAl;
春笋I:If((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,0.75*CLOSE+(MA(C,20)-0.75*CLOSE)/3, 0.75*CLOSE),COLORRED;
PJ:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
HJ:=SUM(AMOUNT,13)/A/100;
CN:= DMA(PJ,VOL/HJ);Delarbo:=((((CLOSE-CN)/CN)*100-REF(((CLOSE-CN)/CN)*100,1)));
春笋II:if( CROSS( ((CLOSE-CN)/CN)*100 ,-20 ) OR CROSS( ((CLOSE-CN)/CN)*100 ,-19 ) OR ( SUM(DSY,5)/5<2.8
AND (CLOSE-min(C0,C1))/CLOSE<0.15 AND ((REF(C,2)-REF(C,1))/REF(C,2))<0.025 AND ( ( CROSS( ((CLOSE-CN)/CN)*100 ,-18 ) )
OR( CROSS( ((CLOSE-CN)/CN)*100 ,-17 ) ) or( CROSS( ((CLOSE-CN)/CN)*100 ,-16 ) ) or( CROSS( ((CLOSE-CN)/CN)*100 ,-15 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-14 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-13 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-12 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-11 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 ,-10 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -9 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -8 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -7 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -6 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -5 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -4 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -3 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -2 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , -1 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , 0 ) And (Delarbo>2.8)) or( CROSS( ((CLOSE-CN)/CN)*100 , 1 ) And (Delarbo>2.8)) ) ),0.75*CLOSE+(MA(C,20)-0.75*CLOSE)/3,0.75*C),COLORGREEN;春笋III:IF( ( (Delarbo>5.8) AND ((C-REF(C,1))/REF(C,1))<0.08 AND REF(((CLOSE-CN)/CN)*100,1)<-3.8 ),0.75*CLOSE+(MA(C,20)-0.75*CLOSE)/3,0.75*C),COLORYELLOW;
田园:0.75*CLOSE,COLORBLUE;
OO:=if(DATATYPE=6,ma(O,22),if(DATATYPE=7,ma(O,10),ma(O,6)));j:=STKINDI('','kdj.j',0,6);
CC:=if(DATATYPE=6,ma(c,22),if(DATATYPE=7,ma(c,10),ma(c,6)));hs:=vol/CAPITAL*100;
jj:=(H+L+C)/3;j0:=STKINDI('','kdj.j',0,4);qj0:=vol/IF(H=L,4,H-L);
qj1:=IF(CAPITAL=0,qj0*(jj-MIN(C,O)),qj0*(MIN(O,C)-L));
qj2:=IF(CAPITAL=0,qj0*(MIN(O,C)-L),qj0*(jj-MIN(C,O)));
qj3:=qj0*(H-MAX(O,C));qj4:=qj0*(MAX(C,O)-jj);
qj5:=qj1+qj2;qj6:=qj3+qj4;DD:=(qj5-qj6)/(qj5+qj6)*100;
DDX:=((qj1+qj2)-(qj3+qj4))/sum(vol,10)*100;DDZ:=DD*17;
DDY:=((qj2+qj4)-(qj1+qj3))/sum(vol,10)*100;
bb:=((cross(j,0) or cross(j0,0))and ((ddx>0 and ddy>0) or DDZ>400));
主:=qj1+qj2;散:=qj3+qj4;T0:=VOL>REF(VOL,1) and MA(VOL,5)>REF(MA(VOL,5),1);
bbd:=EMA(STKINDI('','千钧引用.总0',0,7),2)/sum(IF(CAPITAL=0,ref(INDEXA,1),ref(vol,1)),5)*100;
XH1:=ref(bbd,1)<-15 and bbd>ref(bbd,1) and bbd>-10;
XH2:=ref(bbd,1)>=15 and bbd<ref(bbd,1) and bbd<10;P:=SYSPARAM(1);
Q6:=atan((MA(C,5)/ref(MA(C,5),1)-1)*100)*57.3;Q2:=atan((MA(C,13)/ref(MA(C,13),1)-1)*100)*57.3;
Q1:=atan((MA(C,23)/ref(MA(C,23),1)-1)*100)*57.3;Q:=atan((MA(C,34)/ref(MA(C,34),1)-1)*100)*57.3;
Q3:=atan((MA(C,68)/ref(MA(C,68),1)-1)*100)*57.3;Q5:=atan((MA(C,250)/ref(MA(C,250),1)-1)*100)*57.3;
T1:=VOL<REF(VOL,1) and MA(VOL,5)>REF(MA(VOL,5),1);T2:=VOL>REF(VOL,1) and MA(VOL,5)<REF(MA(VOL,5),1);
T3:=VOL<REF(VOL,1) and MA(VOL,5)<REF(MA(VOL,5),1);T4:=主>REF(主,1) and 主>散 and if(CAPITAL=0,hs>1.3,hs>5);
T5:=主<REF(主,1) and 主>散 and if(CAPITAL=0,hs>0.5 and hs<1.3,hs>3 and hs<=5);
T6:=主>REF(主,1) and 主<散 and if(CAPITAL=0,hs<1.3 and hs>0.5,hs<5 and hs>3);
T7:=主<REF(主,1) and 主<散 and if(CAPITAL=0,hs<1.3,hs<3 and hs>=1);
STICKLINE(C>=REF(c,1),H,L,0,0),COLOR0000FF;
STICKLINE(C>=REF(c,1),C,O,8,0),COLOR0000bb;
STICKLINE(C>=REF(c,1),C,O,5,0),COLOR0000dd;
STICKLINE(C>=REF(c,1),C,O,3,0),COLOR0000ee;
STICKLINE(C>=REF(c,1),C,O,1,0),COLOR0000ff;
STICKLINE(C<REF(c,1),H,L,0,0),COLORFFFF00;
STICKLINE(C<REF(c,1),C,O,8,0),COLOR999900;
STICKLINE(C<REF(c,1),C,O,5,0),COLORbbbb00;
STICKLINE(C<REF(c,1),C,O,3,0),COLORdddd00;
STICKLINE(C<REF(c,1),C,O,1,0),COLORFFFF00;
STICKLINE(bbd>0,CC,OO,8,0),COLORFF00FF;
STICKLINE(bbd<0,CC,OO,8,0),COLOR00FF00;
下面是效果图展示:(不喜欢未来函数的兄弟姐妹用前面那个公式吧)
飞狐的引用公式
主图引用公式:
名称:千钧引用(飞狐)
源码:
zz:=(ref(hhv(h,3),1)+ref(llv(l,3),1))/2;
a:=if(c>zz,vol,0);
b:=if(c<zz,vol,0);
a1:=if(c>zz,INDEXA,0);
b1:=if(c<zz,INDEXA,0);
总0:IF(stktype=0,(a1-b1),(a-b));
没有引用公式的解决方法:在股票软件区下载一个千钧老师的“”千钧飞狐交易师升级版,即‘千钧茶舍专用版’!就可以勒。
[url=http://www.goodgupiao.com/gupiaogongshi/12460.html][B]无未来函数通道公式(飞狐)(多个公式组合 源码 贴图)[/B][/url]