双响炮打板强 主升浪止跌买【指标公式】(含选股)
第一部分 副图公式 手机/电脑
CAIH1:=CLOSE>REF(CLOSE,1)*1.099;
小阴小阳:=HHV(ABS(C-REF(C,1))/REF(C,1)*100,BARSLAST(CAIH1))5;
双响炮:IF(REF(小阴小阳 AND 时间,1) AND CAIH1,120,100),COLORRED,LINETHICK1;
DRAWTEXT(REF(小阴小阳 AND 时间,1) AND CAIH1,双响炮*0.92,'双响炮'),COLORRED;
涨幅:=(C-REF(C,1))/REF(C,1)>0.055;
均线条件:=MA(C,10)>MA(C,20);
非科创板:=NOT(CODELIKE('688'));
中小盘股:=FINANCE(40)<23520000000;
均5:=MA(C,5);
均10:=MA(C,10);
均20:=MA(C,20);
均30:=MA(C,30);
最大值:=MAX(MAX(均5,均10),MAX(均20,均30));
最小值:=MIN(MIN(均5,均10),MIN(均20,均30));
一阳四线:=O=最大值;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KDJ条件:=CROSS(J,K) AND J<90;
打板:IF(涨幅=1? AND 中小盘股=1 AND (一阳四线=1 OR 均线条件=1) AND KDJ条件=1
AND 非科创板=1 AND C<50,100,80),COLORRED,LINETHICK1;
DRAWTEXT((涨幅=1? AND 中小盘股=1 AND (一阳四线=1 OR 均线条件=1) AND KDJ条件=1
AND 非科创板=1 AND C1.08,COLORRED;
主升浪:IF(CHA1,80,60),COLORMAGENTA,LINETHICK1;
DRAWTEXT(CHA1=1 ,CHA1*70,'主升浪'),COLORMAGENTA;
CHB1:=REF(CLOSE,1);
CHB2:=SMA(MAX(CLOSE-CHB1,0),3,1)/SMA(ABS(CLOSE-CHB1),3,1)*100;
止跌:IF(CROSS(CHB2,7),20,0),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(CHB2,7),止跌*0.5,'止跌'),COLORGREEN;
第二部分 选股公式
CAIH1:=CLOSE>REF(CLOSE,1)*1.099;
小阴小阳:=HHV(ABS(C-REF(C,1))/REF(C,1)*100,BARSLAST(CAIH1))5;
双响炮:IF(REF(小阴小阳 AND 时间,1) AND CAIH1,120,100),COLORRED,LINETHICK1;
DRAWTEXT(REF(小阴小阳 AND 时间,1) AND CAIH1,双响炮*0.92,'双响炮'),COLORRED;
涨幅:=(C-REF(C,1))/REF(C,1)>0.055;
均线条件:=MA(C,10)>MA(C,20);
非科创板:=NOT(CODELIKE('688'));
中小盘股:=FINANCE(40)<23520000000;
均5:=MA(C,5);
均10:=MA(C,10);
均20:=MA(C,20);
均30:=MA(C,30);
最大值:=MAX(MAX(均5,均10),MAX(均20,均30));
最小值:=MIN(MIN(均5,均10),MIN(均20,均30));
一阳四线:=O=最大值;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KDJ条件:=CROSS(J,K) AND J<90;
打板:IF(涨幅=1? AND 中小盘股=1 AND (一阳四线=1 OR 均线条件=1) AND KDJ条件=1
AND 非科创板=1 AND C<50,100,80),COLORRED,LINETHICK1;
DRAWTEXT((涨幅=1? AND 中小盘股=1 AND (一阳四线=1 OR 均线条件=1) AND KDJ条件=1
AND 非科创板=1 AND C1.08,COLORRED;
主升浪:IF(CHA1,80,60),COLORMAGENTA,LINETHICK1;
DRAWTEXT(CHA1=1 ,CHA1*70,'主升浪'),COLORMAGENTA;
CHB1:=REF(CLOSE,1);
CHB2:=SMA(MAX(CLOSE-CHB1,0),3,1)/SMA(ABS(CLOSE-CHB1),3,1)*100;
止跌:IF(CROSS(CHB2,7),20,0),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(CHB2,7),止跌*0.5,'止跌'),COLORGREEN;
第二部分 选股公式