马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
26.问:
我想在飞狐股软中选股的条件:换手率在 3% ~ 15% 之间,
答(vkioli2 ):
{当日换手率在 3% ~ 15% 之间}
RANGE(VOL/CAPITAL*100,3,15);
QUOTE:
27.问:
公式公式描述:
(一 )昨日KDJ指标中的k.d.J值都小于20,今日J拐头向上。
例子如:( 000950 )ST农化2005年7月8日与 7月9日两天的k.d.J值。
( 二) KDJ指标中的k.d.J值三线粘合,今日J拐头向上。
例子如:( 000950 )ST农化2005年7月18日与 7月19日两天的k.d.J值。
答(知无不言):
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,N)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
KDJYH:=K/D>0.97 and K/D<1.03 AND K/J>0.97 and K/J<1.03 AND
D/K>0.97 and D/K<1.03 AND D/J>0.97 and D/J<1.03 AND
J/D>0.97 and J/D<1.03 AND J/K>0.97 and J/K<1.03 ;
TJ:=REF(KDJYH,1)=1 AND J>REF(J,1);
VERTLINE(TJ,2);
答(pzwyou ):
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,N)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
ah:=max(k,d,j);
al:=min(k,d,j);
a:=ah/al<1.035;
aa:=sum(a,2)=2;
bb:=ref(j,1)=llv(j,3);
aa and bb;
QUOTE:
28.问:
小天K-KDJ -II(双剑合璧)
{N 13 1 100 ; M 55 1 100}
zc:=STKINDI(STKLABEL,'xtyy.a1',0,7);//引用周收盘价;
zh:=STKINDI(STKLABEL,'xtyy.a2',0,7);//引用周最高价;
zl:=STKINDI(STKLABEL,'xtyy.a3',0,7);//引用周最低价;
RSV:=(zc-LLV(zl,n))/(HHV(zh,n)-LLV(zl,n))*100;
K:=eMA(RSV,3);
D:=eMA(K,3);
J:=3*K-2*D;
RSV24:=(CLOSE-LLV(LOW,m))/(HHV(HIGH,m)-LLV(LOW,m))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24;
支撑:IF(CROSS(j,j24),L,REF(L,BARSLAST(CROSS(j,j24)))),COLORYELLOW;
压力:IF(CROSS(j24,j),H,REF(H,BARSLAST(CROSS(j24,j)))),COLorred;
U2L:=IF(C>=MA(C,21),80,50);
L2L:=IF(C>=MA(C,21),50,20);
RH1:=IF(j<U2L AND REF(j,1)>=U2L,HHV(REF(H,1),BARSLAST(j>=U2L AND REF(j,1)<U2L)-1),
REF(HHV(REF(H,1),BARSLAST(j>=U2L AND REF(j,1)<U2L)-1),BARSLAST(j<U2L AND REF
(j,1))));
RH4:=IF(H>RH1,L,REF(L,BARSLAST(H>RH1)));
RH42:=IF(H>RH1,j,REF(j,BARSLAST(H>RH1)));
强压:IF(H>RH4 AND j<RH42 AND j<j24,H,REF(H,BARSLAST(H>RH4 AND j<RH42 AND
j<j24))),COLORgreen;
RL1:=IF(j>L2L AND REF(j,1)<=L2L,LLV(REF(L,1),BARSLAST(j<=L2L AND REF(j,1)>L2L)-1),
REF(LLV(REF(L,1),BARSLAST(j<=L2L AND REF(j,1)>L2L)-1),BARSLAST(j>L2L AND REF
(j,1))));
RL4:=IF(L<RL1,H,REF(H,BARSLAST(L<RL1)));
RL42:=IF(L<RL1,j,REF(j,BARSLAST(L<RL1)));
强撑:IF(L<RL4 AND j>RL42 AND j>j24,L,REF(L,BARSLAST(L<RL4 AND j>RL42 AND
j>j24))),COLORMAGENTA;
STICKLINE(c>=o,l,h,0.1,0),colorred;
STICKLINE(c>=o,o,c,7,1),colorred;
STICKLINE(c<=o,l,h,0.1,0),colorcyan;
STICKLINE(c<=o,o,c,7,0),colorcyan;
DRAWTEXT(FILTER((ABS(支撑-强撑)<0.045 OR ABS(支撑-强撑)=0) AND C>强撑 AND C>O AN D (ABS (REF(支撑,2)-REF(强撑,2))>0.05 OR ABS(REF(支撑,1)-REF(强撑,1)=0)),30),L,'双剑合璧');
引用公式
XTYY
a1:close;
a2:high;
a3:low;
答(achen ):
N 13 1 100 ; M 55 1 100}
zc:=STKINDI(STKLABEL,'xtyy.a1',0,7);
zh:=STKINDI(STKLABEL,'xtyy.a2',0,7);
zl:=STKINDI(STKLABEL,'xtyy.a3',0,7);
RSV:=(zc-LLV(zl,n))/(HHV(zh,n)-LLV(zl,n))*100;
K:=eMA(RSV,3);
D:=eMA(K,3);
J:=3*K-2*D;
RSV24:=(CLOSE-LLV(LOW,m))/(HHV(HIGH,m)-LLV(LOW,m))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24;
支撑:=IF(CROSS(j,j24),L,REF(L,BARSLAST(CROSS(j,j24))));
RL1:=IF(j>L2L AND REF(j,1)<=L2L,LLV(REF(L,1),BARSLAST(j<=L2L AND REF(j,1)>L2L)-1),
REF(LLV(REF(L,1),BARSLAST(j<=L2L AND REF(j,1)>L2L)-1),BARSLAST(j>L2L AND REF
(j,1))));
RL4:=IF(L<RL1,H,REF(H,BARSLAST(L<RL1)));
RL42:=IF(L<RL1,j,REF(j,BARSLAST(L<RL1)));
强撑:=IF(L<RL4 AND j>RL42 AND j>j24,L,REF(L,BARSLAST(L<RL4 AND j>RL42 AND j>j24)));
双剑合璧:FILTER((ABS(支撑-强撑)<0.045 OR ABS(支撑-强撑)=0) AND C>强撑 AND C>O AND (ABS (REF(支撑,2)-REF(强撑,2))>0.05 OR ABS(REF(支撑,1)-REF(强撑,1)=0)),30);
QUOTE:
29.问:
10天内MACD曾经金叉如何编写?
答(多多):
count(cross("macd.dif","macd.macd"),10)=1
QUOTE:
30.问:
飞狐3.8的原码:
B:=EMA(100+WINNER(C)*100-HHV(WINNER(C)*100,20),3);
DRAWGBK(C,COLORRGB(255,0,0),0,1);
FILLRGN(C,B,100),color555555;
挖坑线:B,linethick2;
成本乖离 c/cost(50)-1)*100,linethick0;
STICKLINE(C>0,20,20,6,0)colorgreen;
STICKLINE(C>0,80,80,6,0)colorgreen;
STICKLINE(C>0,50,50,6,0)colorwhite;
使用:
股票的挖坑和诱空,很少有指标能够进行定量分析,大多数都是从形态上说说而已!
这个指标就是给你定量分析用的!三丰大师的,能改成TDX的吗?
答(知无不言):
B:=EMA(100+WINNER(C)*100-HHV(WINNER(C)*100,20),3);
DRAWGBK(C,COLORRGB(255,0,0),0,1);
FILLRGN(C,B,100),color555555;
挖坑线:B,LINETHICK2;
成本乖离 C/COST(50)-1)*100,LINETHICK1;
STICKLINE(C>0,20,20,6,0)colorgreen;
STICKLINE(C>0,80,80,6,0)colorgreen;
STICKLINE(C>0,50,50,6,0)colorwhite;
20;80;50;
|