三重回踩突破 多种信号抓牛【指标公式】(含选股)
第一部分 副图公式 手机/电脑
A:=BARSLAST(C>REF(C,1)*1.098);
回踩1:IF((COUNT(C2 AND COUNT(L2 AND C>REF(C,A) AND A>2 AND AREF(C,1)),60,40),COLORCYAN,LINETHICK1;
DRAWTEXT((COUNT(C2 AND COUNT(L2 AND C>REF(C,A) AND A>2 AND AREF(C,1)) ,回踩1*0.83,'回踩1'),COLORCYAN;
CHA2:=MA(C,2);
CHA5:=MA(C,5);
CHA10:=MA(C,10);
CHA20:=MA(C,20);
AA:=CHA5>CHA10 AND CHA10>CHA20 AND CHA5>REF(CHA5,1) AND CHA10>REF(CHA10,1) AND CHA20>REF(CHA20,1);
BB:=CROSS(CHA2,CHA5);
回踩2:IF(COUNT(BB,AA)=1,60,40),COLORMAGENTA,LINETHICK1;
DRAWTEXT(COUNT(BB,AA)=1 ,回踩1*0.83,'回踩2'),COLORMAGENTA;
CHB0:=EMA(C,5);
CHB1:=EMA(C,10);
CHB2:=EMA(C,15);
CHB3:=EMA(C,30);
CHB4:=EMA(C,60);
CHC1:=1000*CHB1/CHB4=975;
CHC2:=1000*CHB2/CHB4=980;
CHC3:=1000*CHB3/CHB4=985;
CHC4:=CHC1 AND CHC2 AND CHC3 AND CROSS(CHB0,CHB1);
CHC5:=CHC1 AND CHC2 AND CHC3 AND CROSS(CHB0,CHB3);
回踩3:IF(CHC4 OR CHC5,60,40),COLORFFCCCC,LINETHICK1;
DRAWTEXT(CHC4 OR CHC5 ,回踩2*0.83,'回踩3'),COLORFFCCCC;
CAE2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
CAE3:=SMA(SMA(CAE2,3,1),3,1)/28.57;
CAE4:=EMA(CAE3,5);
CAE5:=3*CAE3-2*CAE4;
突破1:IF(CROSS(CAE5,CAE3) AND CAE3O,40,20),COLORFFCCCC;
CAS1:=HHV(H,66);
CAS2:=REF(C,1);
CAS3:=REF(O,1);
CAS4:=(CAS1-H)/H;
CAS5:=(H>=CAS1);
CAS6:=(CAS5>0 AND CAS50.095 AND CAS2>CAS3 AND (CAS5 OR CAS6) AND CROSS(CAS7,0),40,20),COLORYELLOW,LINETHICK1;
CAIH1:=(C+L+H)/3;
CAIH2:=EMA(CAIH1,6);
CAIH3:=EMA(CAIH2,5);
突破3:IF( CROSS(CAIH2,CAIH3),40,20),COLORLIRED,LINETHICK1;
DRAWTEXT((CROSS(CAE5,CAE3) AND CAE3O) ,突破1*0.75,'突破1'),COLORFFCCCC;
DRAWTEXT((C-CAS2)/CAS2>0.095 AND CAS2>CAS3 AND (CAS5 OR CAS6) AND CROSS(CAS7,0) ,突破1*1.5,'突破2'),COLORYELLOW;
DRAWTEXT(CROSS(CAIH2,CAIH3) ,突破1*1.25,'突破3'),COLORLIRED;
第二部分 选股公式
A:=BARSLAST(C>REF(C,1)*1.098);
回踩1:IF((COUNT(C2 AND COUNT(L2 AND C>REF(C,A) AND A>2 AND AREF(C,1)),60,40),COLORCYAN,LINETHICK1;
DRAWTEXT((COUNT(C2 AND COUNT(L2 AND C>REF(C,A) AND A>2 AND AREF(C,1)) ,回踩1*0.83,'回踩1'),COLORCYAN;
CHA2:=MA(C,2);
CHA5:=MA(C,5);
CHA10:=MA(C,10);
CHA20:=MA(C,20);
AA:=CHA5>CHA10 AND CHA10>CHA20 AND CHA5>REF(CHA5,1) AND CHA10>REF(CHA10,1) AND CHA20>REF(CHA20,1);
BB:=CROSS(CHA2,CHA5);
回踩2:IF(COUNT(BB,AA)=1,60,40),COLORMAGENTA,LINETHICK1;
DRAWTEXT(COUNT(BB,AA)=1 ,回踩1*0.83,'回踩2'),COLORMAGENTA;
CHB0:=EMA(C,5);
CHB1:=EMA(C,10);
CHB2:=EMA(C,15);
CHB3:=EMA(C,30);
CHB4:=EMA(C,60);
CHC1:=1000*CHB1/CHB4=975;
CHC2:=1000*CHB2/CHB4=980;
CHC3:=1000*CHB3/CHB4=985;
CHC4:=CHC1 AND CHC2 AND CHC3 AND CROSS(CHB0,CHB1);
CHC5:=CHC1 AND CHC2 AND CHC3 AND CROSS(CHB0,CHB3);
回踩3:IF(CHC4 OR CHC5,60,40),COLORFFCCCC,LINETHICK1;
DRAWTEXT(CHC4 OR CHC5 ,回踩2*0.83,'回踩3'),COLORFFCCCC;
CAE2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
CAE3:=SMA(SMA(CAE2,3,1),3,1)/28.57;
CAE4:=EMA(CAE3,5);
CAE5:=3*CAE3-2*CAE4;
突破1:IF(CROSS(CAE5,CAE3) AND CAE3O,40,20),COLORFFCCCC;
CAS1:=HHV(H,66);
CAS2:=REF(C,1);
CAS3:=REF(O,1);
CAS4:=(CAS1-H)/H;
CAS5:=(H>=CAS1);
CAS6:=(CAS5>0 AND CAS50.095 AND CAS2>CAS3 AND (CAS5 OR CAS6) AND CROSS(CAS7,0),40,20),COLORYELLOW,LINETHICK1;
CAIH1:=(C+L+H)/3;
CAIH2:=EMA(CAIH1,6);
CAIH3:=EMA(CAIH2,5);
突破3:IF( CROSS(CAIH2,CAIH3),40,20),COLORLIRED,LINETHICK1;
DRAWTEXT((CROSS(CAE5,CAE3) AND CAE3O) ,突破1*0.75,'突破1'),COLORFFCCCC;
DRAWTEXT((C-CAS2)/CAS2>0.095 AND CAS2>CAS3 AND (CAS5 OR CAS6) AND CROSS(CAS7,0) ,突破1*1.5,'突破2'),COLORYELLOW;
DRAWTEXT(CROSS(CAIH2,CAIH3) ,突破1*1.25,'突破3'),COLORLIRED;
第二部分 选股公式