通达信【强势突围】突破重围见曙光主副图+选股指标用法详解_通达信筹码指标_通达信指标下载
通达信底部掘金指标公式
VAR1:=IF(BARSLAST(BACKSET(REF(H,5)=HHV(H,11),6)>BACKSET(REF(H,5)=HHV(H,11),5))=BARSLAST(BACKSET(REF(L,5)=LLV(L,11),6)>BACKSET(REF(L,5)=LLV(L,11),5)) AND MA(C,5)>MA(C,10),BACKSET(REF(H,5)=HHV(H,11),6)>BACKSET(REF(H,5)=HHV(H,11),5),IF(BARSLAST(BACKSET(REF(L,5)=LLV(L,11),6)>BACKSET(REF(L,5)=LLV(L,11),5))>BARSLAST(BACKSET(REF(H,5)=HHV(H,11),6)>BACKSET(REF(H,5)=HHV(H,11),5)),BACKSET(REF(H,5)=HHV(H,11),6)>BACKSET(REF(H,5)=HHV(H,11),5),0));
VAR2:=IF(BARSLAST(BACKSET(REF(H,5)=HHV(H,11),6)>BACKSET(REF(H,5)=HHV(H,11),5))=BARSLAST(BACKSET(REF(L,5)=LLV(L,11),6)>BACKSET(REF(L,5)=LLV(L,11),5)) AND MA(C,10)>MA(C,5),BACKSET(REF(L,5)=LLV(L,11),6)>BACKSET(REF(L,5)=LLV(L,11),5),IF(BARSLAST(BACKSET(REF(H,5)=HHV(H,11),6)>BACKSET(REF(H,5)=HHV(H,11),5))>BARSLAST(BACKSET(REF(L,5)=LLV(L,11),6)>BACKSET(REF(L,5)=LLV(L,11),5)),BACKSET(REF(L,5)=LLV(L,11),6)>BACKSET(REF(L,5)=LLV(L,11),5),0));
VAR3:=IF(REF(H,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))+1)<REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))),REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))),IF(REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2))))<=REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))+1),REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))+2),REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))+1)));
VAR4:=IF(REF(L,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))+1)>REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))),REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))),IF(REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1))))>=REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))+1),REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))+2),REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))+1)));
VAR5:=REF(H,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2))))>VAR4 AND VAR1 AND H=HHV(H,BARSLAST(VAR2));
VAR6:=REF(L,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1))))<VAR3 AND VAR2 AND L=LLV(L,BARSLAST(VAR1));
VAR7:=VAR5 AND REF(H,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2))))>REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))) AND REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2))))>REF(L,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))) AND REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))+1)>REF(L,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1))));
VAR8:=VAR6 AND REF(L,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1))))<REF(L,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))) AND REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1))))<REF(H,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))) AND REF(H,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))+1)<REF(H,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2))));
VAR9:=COUNT((H<=REF(H,1) AND L>=REF(L,1)) OR (H>=REF(H,1) AND L<=REF(L,1)),BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1))));
VAR10:=COUNT((H<=REF(H,1) AND L>=REF(L,1)) OR (H>=REF(H,1) AND L<=REF(L,1)),BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2))));
VAR11:=IF(COUNT(L>REF(H,1) AND DAY!=REF(DAY,1),BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))),IF(VAR9>0,VAR9+2,IF(VAR10,VAR10+2,3))-COUNT(L>REF(H,1) AND DAY!=REF(DAY,1),BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1)))),IF(COUNT(H<REF(L,1) AND DAY!=REF(DAY,1),BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))),IF(VAR9>0,VAR9+2,IF(VAR10,VAR10+2,3))-COUNT(H<REF(L,1) AND DAY!=REF(DAY,1),BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2)))),IF(VAR9>0,VAR9+2,IF(VAR10,VAR10+2,3))));
VAR12:=(VAR1 AND H=HHV(H,BARSLAST(VAR2)) AND REF(H,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2))))>=REF(H,BARSLAST((VAR7 AND BARSLAST(VAR8)>VAR11))) AND BARSLAST((VAR8 AND BARSLAST(VAR7)>VAR11))>BARSLAST((VAR7 AND BARSLAST(VAR8)>VAR11))) OR (VAR5 AND COUNT(L>REF(H,1) AND DAY!=REF(DAY,1),BARSLAST(VAR6))>0 AND REF(H,BARSLAST(VAR5))>REF(H,BARSLAST((VAR7 AND BARSLAST(VAR8)>VAR11))));
VAR13:=(VAR2 AND L=LLV(L,BARSLAST(VAR1)) AND REF(L,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1))))<=REF(L,BARSLAST((VAR8 AND BARSLAST(VAR7)>VAR11))) AND BARSLAST((VAR7 AND BARSLAST(VAR8)>VAR11))>BARSLAST((VAR8 AND BARSLAST(VAR7)>VAR11))) OR (VAR6 AND COUNT(H<REF(L,1) AND DAY!=REF(DAY,1),BARSLAST(VAR5))>0 AND REF(L,BARSLAST(VAR6))<REF(H,BARSLAST((VAR8 AND BARSLAST(VAR7)>VAR11))));
VAR14:=VAR12 AND H=HHV(IF(BARSLAST(VAR13)>BARSLAST(VAR12),REF(H,BARSLAST(VAR12)),REF(H,BARSLAST(VAR13))),BARSLAST(VAR13)+1) AND H>REF(H,1) AND BARSLAST(VAR13)>BARSLAST(VAR12);
VAR15:=VAR13 AND L=LLV(IF(BARSLAST(VAR12)>BARSLAST(VAR13),REF(L,BARSLAST(VAR13)),REF(L,BARSLAST(VAR12))),BARSLAST(VAR12)+1) AND L<REF(L,1) AND BARSLAST(VAR12)>BARSLAST(VAR13);
VAR68:=VAR14 OR (VAR1 AND H=HHV(H,BARSLAST(VAR2)) AND REF(H,BARSLAST(VAR1 AND H=HHV(H,BARSLAST(VAR2))))>REF(H,BARSLAST(VAR14)) AND BARSLAST(VAR15)>BARSLAST(VAR14));
VAR88:=VAR15 OR (VAR2 AND L=LLV(L,BARSLAST(VAR1)) AND REF(L,BARSLAST(VAR2 AND L=LLV(L,BARSLAST(VAR1))))<REF(L,BARSLAST(VAR15)) AND BARSLAST(VAR14)>BARSLAST(VAR15));
STICKLINE(VOL/REF(VOL,1)>2,OPEN,CLOSE,1,0),COLOR00FFFF;
DRAWTEXT_FIX(C>O,0,0.07,0,' 公式源码 '),COLOR333333;
趋势向上:DRAWLINE(VAR88,L,VAR68,H,0),COLORYELLOW,DOTLINE;
趋势向下:DRAWLINE(VAR68,H,VAR88,L,0),COLORWHITE,DOTLINE;
找顶线:DRAWLINE(VAR68,H,REF(VAR68,1),REF(H,1),1),COLORGREEN;
找底线:DRAWLINE(VAR88,L,REF(VAR88,1),REF(L,1),1),COLORRED;
DRAWNUMBER(VAR88,LOW*0.995,LOW);
DRAWNUMBER(VAR68,HIGH*1.01,HIGH);
XG:CROSS(C,找顶线) AND 找顶线>0 AND (SUM(IF(HIGH>LOW,(CLOSE-LOW/HIGH-LOW+CLOSE-HIGH/HIGH-LOW)*VOL,0),10)/10000) AND UPNDAY((12-26)*2,1),NODRAW;
DRAWICON(XG,LOW,1);
通达信老鹰抓鱼主图指标公式