1、【通达信 】抓牛股(经典选股)-指标公式源码【通达信】抓牛股(经典选股)-指 N:=26;M1:=10;M2:=20;M3:=40;M4:=62;MID:=REF(HIGH+LOW,1)/2;CR:=SUM(MAX(0,HIGH-MID),N)/SUM(MAX(0,MID-LOW),N)*100;MA1:REF(MA(CR,M1),1+M1/2.5);MA2:REF(MA(CR,M2),1+M2/2.5);MA3:REF(MA(CR,M3),1+M3/2.5);MA4:REF(MA(CR,M4),1+M4/2.5);DRAWBAND(MA3,RGB(380,280,180),MA4,RGB(3
2、80,280,180);DRAWBAND(MA1,RGB(500,180,280),MA2,RGB(500,180,280);RSV:=(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*100+50;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;STICKLINE(J150,J,150,0.1,0),COLORBLUE;CRJ:CR,LINETHICK2,COLORFF9900;经典选股:IF(“RSI.RSI1“(4,12,24)0,100,100,4,0),COLOR003800;周金:DRAWTEXT(CROSS
3、(“KDJ.K#WEEK“(9,3,3),“KDJ.D#WEEK“(9,3,3) ,CRJ,周买),COLORRED;周叉:DRAWTEXT(CROSS(“KDJ.D#WEEK“(9,3,3),“KDJ.K#WEEK“(9,3,3) ,CRJ,周卖),COLORGREEN;月金:DRAWTEXT(CROSS(“KDJ.K#MONTH“(9,3,3),“KDJ.D#MONTH“(9,3,3) ,CRJ,月买),COLORWHITE; 月叉:DRAWTEXT(CROSS(“KDJ.D#MONTH“(9,3,3),“KDJ.K#MONTH“(9,3,3) ,CRJ,月卖),COLORYELLOW;【通达信 】抓牛股(经典选股)-指标公式效果图