回踩黄金线选股
X:=21;TTY:=H;
AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
BBT:=FILTER(AAT,X);
CCT:=BACKSET(BBT,X+1);
HD10T:=FILTER(CCT,X);
N2:=20;
左峰高:=REF(HHV(C,N2),1);
倍量过左峰:=REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高 AND C>O
AND VOL/REF(VOL,1)>=1.9;
T7:=REF(VOL,6)/REF(VOL,7)>=2;
T6:=REF(VOL,5)/REF(VOL,6)>=2;
T5:=REF(VOL,5)/REF(VOL,4)>=1.5;
T4:=REF(VOL,4)/REF(VOL,3)>=1.5;
T3:=REF(VOL,2)/REF(VOL,3)>=1.5;
T1:=V/REF(VOL,1)>2;
T0:=C>O AND C>REF(C,1);
凹口起柱:= T7 AND T1 AND T0
OR T6 AND T1 AND T0
OR T5 AND T1 AND T0
OR T4 AND T1 AND T0
OR T3 AND T1 AND T0 ;
JJ:=(3*C+H+L+O)/6;
VAR1:=DMA(JJ,0.2);
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,3);
黄金线:=REF(LOW,BARSLAST(LJL));
黄金柱:=FILTER(TJ1,3);
前期高位:=REF(H,BARSLAST(HD10T));
AKQZ:= 黄金柱 AND 凹口起柱;
{突破前高}
TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位;
{选股}
回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10))
AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线
AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0;
X:=21; TTY:=H; AAT:=REF(TTY,X)=HHV(TTY,2*X+1); BBT:=FILTER(AAT,X); CCT:=BACKSET(BBT,X+1); HD10T:=FILTER(CCT,X); N2:=20; 左峰高:=REF(HHV(C,N2),1); 倍量过左峰:=REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高 AND C>O AND VOL/REF(VOL,1)>=1.9; T7:=REF(VOL,6)/REF(VOL,7)>=2; T6:=REF(VOL,5)/REF(VOL,6)>=2; T5:=REF(VOL,5)/REF(VOL,4)>=1.5; T4:=REF(VOL,4)/REF(VOL,3)>=1.5; T3:=REF(VOL,2)/REF(VOL,3)>=1.5; T1:=V/REF(VOL,1)>2; T0:=C>O AND C>REF(C,1); 凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ; JJ:=(3*C+H+L+O)/6; VAR1:=DMA(JJ,0.2); TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1); LJL:=FILTER(TJ1,3); 黄金线:=REF(LOW,BARSLAST(LJL)); 黄金柱:=FILTER(TJ1,3); 前期高位:=REF(H,BARSLAST(HD10T)); AKQZ:= 黄金柱 AND 凹口起柱; {突破前高} TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位; {选股} 回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10)) AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线 AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0; {参数:N(1 100 11);百分比(3,20,5)} TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1))))); MTIME:=MOD(FROMOPEN,TOTAL); CTIME:=IF(MTIME<0.5,TOTAL,MTIME); VVOL:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL); TJ:=C<O; TJ1:=C>REF(C,1) AND TJ; TJ2:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(TJ1) AND TJ; 倍量:=VOL/REF(VOL,1)>=2; 假阴真阳:=(TJ1 OR TJ2) AND 倍量; N日前假阴真阳:=COUNT(假阴真阳,7)>=1; 连续缩量:=DOWNNDAY(VOL,4);{最近4日内连续缩量,可根据需要调整。} 波谷值:= CONST(TROUGH(2,百分比,1)); 精准点:=(ABS(H-波谷值)<=0.024 OR ABS(L-波谷值)<=0.024); N日前假阴真阳 AND 精准点 AND 连续缩量; 闪闪亮 发表于 2018-1-25 17:23
谢谢楼主分享.请问XG如何设置呢?
还要设置的吗?我直接拷贝进去,能选到股啦。 请问楼主XG如何设置呢? 多谢老师每日精彩点评 谢谢楼主精彩分享! 尚缺选股语句,请楼主补上,谢谢! dddddddddd ................. 感谢老师分享。 怎么选不出股票?
多谢老师每日精彩点评 谢谢楼主分享 谢谢楼主分享 多谢楼主分享! 谢谢楼主分享 谢谢楼主分享