指标源码:
R1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; R2:=SMA(R1,9,1)+100; R3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; R4:=SMA(R3,3,1); R5:=SMA(R4,3,1)+100; R6:=R5-R2; 买:=MA(CLOSE,1); 卖:=(LOW+HIGH+CLOSE)/3; 老板:= MA(卖,5); 买卖:=LLV(老板,10); 急买:IF(LLV((买<买卖),5),50,0),LINETHICK2,COLORRED; 短买:IF(LLV((买<买卖),10),50,0),COLORWHITE; K:=SMA(R3/2,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 最佳买入时机: IF(CROSS(J,3),30,0),LINETHICK2,COLORYELLOW; S1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; S2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; S3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; MM1:=(S1W+2*S2W+3*S3W)/6; MN:=MA(MM1,3); R24:=LLV(LOW,36); R25:=HHV(HIGH,30); R26:=EMA((CLOSE-R24)/(R25-R24)*4,4)*25; 底背离:IF(MN<-4 ,17,0),COLORA67D3D,LINETHICK3; DRAWTEXT(底背离,6,'底背离'),COLORRED; 选股源码:
R1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; R2:=SMA(R1,9,1)+100; R3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; R4:=SMA(R3,3,1); R5:=SMA(R4,3,1)+100; R6:=R5-R2; 买:=MA(CLOSE,1); 卖:=(LOW+HIGH+CLOSE)/3; 老板:= MA(卖,5); 买卖:=LLV(老板,10); 急买:=IF(LLV((买<买卖),5),50,0),LINETHICK2,COLORRED; 短买:=IF(LLV((买<买卖),10),50,0),COLORWHITE; K:=SMA(R3/2,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 最佳买入时机: IF(CROSS(J,3),30,0),LINETHICK2,COLORYELLOW;
|