板块RPS+副图RPS曲线+通达信公式源码
X1:=EXTDATA_USER(4,0);RPS20:X1/10,LINETHICK2,COLORWHITE;IF(RPS20>=85,RPS20,DRAWNULL),LINETHICK2,COLORRED;X2:=EXTDATA_USER(5,0);RPS50:X2/10,LINETHICK2,COLORGRAY;IF(RPS50>=85,RPS50,DRAWNULL),LINETHICK2,COLORRED;X3:=EXTDATA_USER(7,0);RPS120:X3/10,LINETHICK2,COLORGREEN;IF(RPS120>=85,RPS120,DRAWNULL),LINETHICK2,COLORRED;涨幅5日:(C-REF(C,5))/REF(C,5);涨幅20日:(C-REF(C,20))/REF(C,20);M1:=MA(C,10);M2:=MA(C,50);M3:=MA(C,120);M5:=MA(C,20);M6:=REF(MA(C,20),1);M7:=(H+L)/2;M9:=REF(M2,1);L250:=LLV(LOW,250);Y:=EXTDATA_USER(4,0)/10;{20天的}Y1:=EXTDATA_USER(5,0)/10;{50天的}Y2:=EXTDATA_USER(7,0)/10;{120天的}X11:=IF(C<REF(C,1),V,0);X12:=(L-MA(C,10))/MA(C,10)*100;X13:=(L-MA(C,50))/MA(C,50)*100;标准支点:100*((C-REF(C,1))/REF(C,1)>=0.01 AND VOL>=REF(HHV(X11,10),1)AND (X12<=1 OR X13<=1) AND C>M5 AND C>M1 AND C>M2 AND C>M3 AND C>M7AND M5>=M6 AND (Y>=85 OR Y1>=85 OR Y2>=85)),LINETHICK2,COLORYELLOW;延伸支点:100*((C-REF(C,1))/REF(C,1)>=0.01 AND VOL>=REF(HHV(X11,10),1) AND X12>1AND C>M5 AND C>M1 AND C>M2 AND C>M3 AND C>M7 AND C>=L250*1.1AND M5>=M6 AND (Y>=85 OR Y1>=85 OR Y2>=85)),LINETHICK2,COLORBLUE;