源码
低位黄翻红买进:15,colorcyan,POINTDOT;
上穿30最佳买点:30,colormagenta,POINTDOT;
高位80翻绿快卖:80,colorgreen,POINTDOT;
v1:=(CLOSE-LLV(LOW,172))/(HHV(HIGH,172)-LLV(LOW,172))*100;
趋势线:SMA(v1,27,1),colorgray,linethick2;
rsv1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
短线:=SMA(rsv1,5,1);
r:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
kk:=SMA(r,3,1);
dd:=SMA(kk,3,1);
D1:=SMA(短线,4,1);
STICKLINE(短线>=d1,短线,d1,6,0),colorred;
STICKLINE(短线<d1,短线,d1,6,0),colorgreen;
STICKLINE(短线<d1 AND dd<15 AND kk<12,短线,d1,6,0),coloryellow;
rr:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
中线:SMA(rr,5,1);
d:SMA(中线,6,1);