通达信【强牛回头】主副图 强势牛古回头信号 源码
在股市中,强势牛股回头低吸是一种颇受欢迎的交易策略。当一只股票经历连续大涨后,往往会出现回调,这时正是低吸的良机。牛回头指标,作为一种有效的技术分析工具,能够帮助投资者精准捕捉这类股票的回调时机。
牛回头指标结合了股票的基本面和技术面数据,通过特定的公式计算,能够在主图和副图上清晰展现股票的回调与再起趋势。该指标不仅准确性高,而且实用性强,是股票投资者不可或缺的工具之一。
使用牛回头指标进行低吸操作时,投资者需密切关注股票的回调幅度和量能变化。在回调过程中,若量能逐渐缩小,且股价企稳于重要均线之上,便是低吸的绝佳时机。此时介入,往往能够捕捉到股票再次启动时的上涨收益。
{强牛回头主图源码如下}
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
趋势线:HHV(MA10,90),COLORRED,LINETHICK2;
ABC1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND REF(OPEN,3)>REF(MA(CLOSE,10),3) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
ABC2:=HIGH/REF(CLOSE,1)>=1.041;
ABC3:=ABC1 AND ABC2;
ABC4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND REF(OPEN,4)>REF(MA(CLOSE,10),4) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
ABC5:=HIGH/REF(CLOSE,1)>=1.041;
ABC6:=REF(CLOSE,4)/OPEN>1.02;
ABC7:=ABC4 AND ABC5 AND ABC6;
ABC8:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)>REF(MA(CLOSE,5),5) AND REF(OPEN,5)>REF(MA(CLOSE,10),5);
ABC9:=HIGH/REF(CLOSE,1)>=1.041;
ABC10:=ABC8 AND ABC9;
ABC11:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)>REF(MA(CLOSE,5),6) AND REF(OPEN,6)>REF(MA(CLOSE,10),6);
ABC12:=HIGH/REF(CLOSE,1)>=1.041;
ABC13:=ABC11 AND ABC12;
ABC14:=REF(CLOSE,7)/REF(CLOSE,7)>1.09 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)>REF(MA(CLOSE,5),7) AND REF(OPEN,7)>REF(MA(CLOSE,10),7);
ABC15:=HIGH/REF(CLOSE,1)>=1.041;
ABC16:=ABC14 AND ABC15;
ABC17:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND OPEN< MA(CLOSE,5) AND REF(CLOSE,2)/REF(CLOSE,3)< 1.099 AND (REF(CLOSE,1)< REF(MA(CLOSE,5),1) OR LOW< MA(CLOSE,10)) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND REF(LOW,1)>REF(MA(CLOSE,20),1) AND OPEN/REF(CLOSE,1)< 1.09 AND CLOSE>OPEN;
ABC18:=ABC3 OR ABC7 OR ABC10 OR ABC13 OR ABC16 AND ABC17;
ABC19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
ABC20:=ABC18 AND ABC19;
ABC21:=ABC20 AND BARSCOUNT(CLOSE)< 90;
ABC22:=ABC20 AND MA(CLOSE,5)>MA(CLOSE,60) AND MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,10)>MA(CLOSE,60) AND MA(CLOSE,10)>MA(CLOSE,120);
ABC23:=ABC21 OR ABC22;
STICKLINE(ABC23,OPEN,CLOSE,2.5,0),COLORYELLOW;
DRAWICON(ABC23,LOW*0.97,1);
DRAWTEXT(ABC23,LOW*0.94,'★低吸'),COLORYELLOW;
{强牛回头副图源码如下}
ABC1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND REF(OPEN,3)>REF(MA(CLOSE,10),3) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
ABC2:=HIGH/REF(CLOSE,1)>=1.041;
ABC3:=ABC1 AND ABC2;
ABC4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND REF(OPEN,4)>REF(MA(CLOSE,10),4) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
ABC5:=HIGH/REF(CLOSE,1)>=1.041;
ABC6:=REF(CLOSE,4)/OPEN>1.02;
ABC7:=ABC4 AND ABC5 AND ABC6;
ABC8:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)>REF(MA(CLOSE,5),5) AND REF(OPEN,5)>REF(MA(CLOSE,10),5);
ABC9:=HIGH/REF(CLOSE,1)>=1.041;
ABC10:=ABC8 AND ABC9;
ABC11:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)>REF(MA(CLOSE,5),6) AND REF(OPEN,6)>REF(MA(CLOSE,10),6);
ABC12:=HIGH/REF(CLOSE,1)>=1.041;
ABC13:=ABC11 AND ABC12;
ABC14:=REF(CLOSE,7)/REF(CLOSE,7)>1.09 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)>REF(MA(CLOSE,5),7) AND REF(OPEN,7)>REF(MA(CLOSE,10),7);
ABC15:=HIGH/REF(CLOSE,1)>=1.041;
ABC16:=ABC14 AND ABC15;
ABC17:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND OPEN< MA(CLOSE,5) AND REF(CLOSE,2)/REF(CLOSE,3)< 1.099 AND (REF(CLOSE,1)< REF(MA(CLOSE,5),1) OR LOW< MA(CLOSE,10)) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND REF(LOW,1)>REF(MA(CLOSE,20),1) AND OPEN/REF(CLOSE,1)< 1.09 AND CLOSE>OPEN;
ABC18:=ABC3 OR ABC7 OR ABC10 OR ABC13 OR ABC16 AND ABC17;
ABC19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
ABC20:=ABC18 AND ABC19;
ABC21:=ABC20 AND BARSCOUNT(CLOSE)< 90;
ABC22:=ABC20 AND MA(CLOSE,5)>MA(CLOSE,60) AND MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,10)>MA(CLOSE,60) AND MA(CLOSE,10)>MA(CLOSE,120);
ABC23:=ABC21 OR ABC22;
STICKLINE(ABC23,0,1,2,0),COLORYELLOW;
DRAWTEXT(ABC23,0.8,' ★低吸'),COLORYELLOW;