一、涨停龙指标(龙再现)
首先,我们关注“涨停龙”指标,它旨在捕捉连续涨停板的股票,并筛选出那些在前两个交易日未涨停,但在过去10个交易日内至少有5次涨停的股票。这一指标的构建基于以下逻辑:
涨停定义:通过计算当前收盘价(C)与前一日收盘价(REF(C,1))的百分比变化,若涨幅达到或超过9.8%,则标记为涨停(涨停=1)。
涨停龙条件:要求连续两天满足涨停条件(EVERY(涨停,2)),且前两天未涨停(REF(涨停=0,2)),同时过去10天内涨停次数不少于5次(COUNT(涨停,10)>=5)。
当“涨停龙”条件满足时,系统会在最低价(L)的1.02倍位置绘制黄色文字“龙再现”,并以黄色柱状图标记开盘价(OPEN)到收盘价(CLOSE)的区间,提示投资者该股票可能处于强势上涨阶段,值得密切关注。
二、次新股与均线系统
接下来,指标考虑了次新股因素(上市不超过120个交易日)以及30日、60日、120日均线的应用。这些均线用于评估股票的长期趋势和支撑/阻力水平:
次新:通过计算价格数据的条形数量(BARSCOUNT(C)+1)小于120来判断是否为次新股。
均线计算:MA30、MA60、MA120分别代表30日、60日、120日的移动平均线,用于判断股票的中长期趋势。
三、动量与市场结构分析
除了涨停和均线系统,指标还结合了动量分析、市场结构特征以及特定交易模式:
VAR1-VAR4:通过计算价格的波动范围(VAR1)、最高价与开盘/收盘价的关系(VAR2)、30日最低价和最高价的移动平均(VAR3、VAR4),来评估市场的波动性和潜在支撑/阻力水平。
VAR5-VAR6:通过比较三条均线(MA30、MA60、MA120)的最大值和最小值,进一步确定市场的整体趋势。
VAR7-VAR9:基于价格的变化模式(连续上涨/下跌、反转等),结合价格与短期均线的关系,识别潜在的交易机会。
VAR10-VAR11:结合价格与均线的关系、次新股特征、市场动量等因素,筛选出符合特定条件的股票。
四、阳穿地底指标
最后,我们聚焦于“阳穿地底”指标,这是一种基于特定市场条件的买入信号:
VAR10:要求当前价格低于长期均线的最小值(VAR6),或对于次新股而言,价格略高于该值但仍在长期阻力线下方。
VAR11:结合价格波动范围、开盘与收盘价的关系、动量指标(VAR9)、特定价格行为模式(如VAR7=0和VAR9=0的连续出现),以及价格与前一天最高价的关系,筛选出具有上涨潜力的股票。
当“阳穿地底”条件满足时,系统会在最低价(L)的0.97倍位置绘制棕色文字“↖阳穿地底”,提示投资者该股票可能即将从底部反转,迎来上涨行情。
主图指标
N:=30;
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.80,1,0);
涨停龙:=EVERY(涨停,2) AND REF(涨停=0,2) AND COUNT(涨停,10)>=5;
DRAWTEXT(涨停龙,L*1.02,'龙再现'),COLORYELLOW;
STICKLINE(涨停龙,OPEN,CLOSE,1,0),COLORYELLOW;
次新:=(BARSCOUNT(C)+1)<120;
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
VAR1:=(MAX(C,O)-MIN(C,O))/MIN(C,O)*100;
VAR2:=(H-MAX(C,O))/MAX(C,O)*100;
VAR3:=MA(REF(LLV(C,30),1),2);
VAR4:=MA(REF(HHV(C,30),1),2);
VAR5:=MAX(MA30,MAX(MA60,MA120));
VAR6:=MIN(MA30,MIN(MA60,MA120));
VAR71:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR72:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAR73:=REF(VAR72,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR74:=REF(VAR72 OR VAR73,1) AND VAR71;
VAR7:=VAR74 AND CLOSE>OPEN;
VAR81:=IF(C>MA(C,4),1,0);
VAR82:=IF(C<MA(C,4),-1,0);
VAR83:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
VAR84:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
VAR85:=VAR81+VAR82+VAR83+VAR84;
VAR8:=VAR85=2 AND C<O;
VAR91:= EMA((CLOSE*2+HIGH+LOW)/4,13)-EMA((CLOSE*2+HIGH+LOW)/4,73);
VAR92:=(CROSS(VAR91,EMA(VAR91,2)) AND VAR91<=0.05 AND (C/REF(C,1)>0.035));
VAR9:=VAR92 AND NOT(VAR8);
VAR10:=(C<VAR6 OR (C<VAR6*1.01 AND 次新)) AND C<VAR4 AND VAR6<VAR4 AND VAR6<=REF(VAR6,1);
VAR11:=VAR1>3.9 AND VAR1<8 AND C>OPEN AND VAR2<1 AND VAR9=0 AND REF(MAX(C,OPEN),1)>C AND VAR9=0 AND REF(VAR7=0,2) AND (REF(VAR9=0 AND VAR7=0,1) OR REF(MAX(C,O),1)>C);
XG:=VAR11 AND VAR3=REF(VAR3,1) AND VAR10;
DRAWTEXT(XG,L*0.97,'↖阳穿地底'),LINETHICK1,COLORBROWN;
微:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORFF00FF,LINETHICK2;
信:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),COLORGREEN,LINETHICK2;
公:=12,COLORBLUE,LINETHICK2;
众:=CROSS(微,公);
号:=IF(微<=10,30,0),COLORFFCC00,LINETHICK1;
招:=FINANCE(7)<500000000;
财:=IF(CROSS(微,公),50,0),COLORRED,LINETHICK2;
小:=财 AND 招;AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
黄:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMAGENTA;
蜂:=(CLOSE/黄);
MA1:=MA(蜂*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-黄)/黄)/3;
DRAWICON(小, LOW, 1);
TMP:=MA1-MAAA*MA1;
J:IF(TMP<=黄,黄,DRAWNULL),LINETHICK3,COLORCYAN;
A:TMP,LINETHICK2,COLORBROWN;
X:IF(TMP<=黄,TMP,DRAWNULL),LINETHICK2,COLORGREEN;
VAA0:=CROSS(TMP,黄);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD := 2*(DIFF-DEA);
LC := REF(CLOSE,1);
RSI := SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
MID := MA(CLOSE,20);
TMP2 := STD(CLOSE,20);
TOP := MID + 2*TMP2;
BOTTOM := MID - 2*TMP2;
VR := SUM(VOL,N)/REF(SUM(VOL,N),1);
VAA1 := VAA0;
VAA2 := MACD > 0;
VAA3 := RSI > 50;
VAA4 := CLOSE > BOTTOM AND CLOSE < TOP;
VAA5 := VR > 1 AND COUNT(涨停,10)<4;
黄战法:= VAA1 AND VAA2 AND VAA3 AND VAA4 AND VAA5;
DRAWICON(黄战法, LOW, 38);
DRAWTEXT(黄战法,L*0.95,'神龙'),LINETHICK1,COLORYELLOW;
选股指标
N:=30;
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.80,1,0);
涨停龙:=EVERY(涨停,2) AND REF(涨停=0,2) AND COUNT(涨停,10)>=5;
次新:=(BARSCOUNT(C)+1)<120;
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
VAR1:=(MAX(C,O)-MIN(C,O))/MIN(C,O)*100;
VAR2:=(H-MAX(C,O))/MAX(C,O)*100;
VAR3:=MA(REF(LLV(C,30),1),2);
VAR4:=MA(REF(HHV(C,30),1),2);
VAR5:=MAX(MA30,MAX(MA60,MA120));
VAR6:=MIN(MA30,MIN(MA60,MA120));
VAR71:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR72:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAR73:=REF(VAR72,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR74:=REF(VAR72 OR VAR73,1) AND VAR71;
VAR7:=VAR74 AND CLOSE>OPEN;
VAR81:=IF(C>MA(C,4),1,0);
VAR82:=IF(C<MA(C,4),-1,0);
VAR83:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
VAR84:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
VAR85:=VAR81+VAR82+VAR83+VAR84;
VAR8:=VAR85=2 AND C<O;
VAR91:= EMA((CLOSE*2+HIGH+LOW)/4,13)-EMA((CLOSE*2+HIGH+LOW)/4,73);
VAR92:=(CROSS(VAR91,EMA(VAR91,2)) AND VAR91<=0.05 AND (C/REF(C,1)>0.035));
VAR9:=VAR92 AND NOT(VAR8);
VAR10:=(C<VAR6 OR (C<VAR6*1.01 AND 次新)) AND C<VAR4 AND VAR6<VAR4 AND VAR6<=REF(VAR6,1);
VAR11:=VAR1>3.9 AND VAR1<8 AND C>OPEN AND VAR2<1 AND VAR9=0 AND REF(MAX(C,OPEN),1)>C AND VAR9=0 AND REF(VAR7=0,2) AND (REF(VAR9=0 AND VAR7=0,1) OR REF(MAX(C,O),1)>C);
XG1:=VAR11 AND VAR3=REF(VAR3,1) AND VAR10;
微:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
信:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1);
公:=12;
众:=CROSS(微,公);
号:=IF(微<=10,30,0);
招:=FINANCE(7)<500000000;
财:=IF(CROSS(微,公),50,0);
小:=财 AND 招;AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
黄:=DMA((2*CLOSE+LOW+HIGH)/4,AA);
蜂:=(CLOSE/黄);
MA1:=MA(蜂*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-黄)/黄)/3;
TMP:=MA1-MAAA*MA1;
J:=IF(TMP<=黄,黄,DRAWNULL);
A:=TMP;
X:=IF(TMP<=黄,TMP,DRAWNULL);
VAA0:=CROSS(TMP,黄);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD := 2*(DIFF-DEA);
LC := REF(CLOSE,1);
RSI := SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
MID := MA(CLOSE,20);
TMP2 := STD(CLOSE,20);
TOP := MID + 2*TMP2;
BOTTOM := MID - 2*TMP2;
VR := SUM(VOL,N)/REF(SUM(VOL,N),1);
VAA1 := VAA0;
VAA2 := MACD > 0;
VAA3 := RSI > 50;
VAA4 := CLOSE > BOTTOM AND CLOSE < TOP;
VAA5 := VR > 1 AND COUNT(涨停,10)<4;
XG:VAA1 AND VAA2 AND VAA3 AND VAA4 AND VAA5;
6、通达信“庄家控盘”幅图指标、选股指标!控盘超过50,妖股启动!