N:=50;
M1:=100;
M2:=200;
RSV50=(CLOSE-LLV(LOW,N*5))/(HHV(HIGH,N*5)-LLV(LOW,N*5))*100;
a50=SMA(RSV50,10,1);
RSV100=(CLOSE-LLV(LOW,M1*5))/(HHV(HIGH,M1*5)-LLV(LOW,M1*5))*100;
a100=SMA(RSV100,10,1);
RSV200=(CLOSE-LLV(LOW,M2*5))/(HHV(HIGH,M2*5)-LLV(LOW,M2*5))*100;
a200=SMA(RSV200,10,1);
D50:=a50;
D100:=a100;
D200:=a200;
长期:(D50+D100+D200)/3,coloryellow;
a:=(长期<10)AND(长期>REF(长期,1));
b:=(D50<10)AND(D50>REF(D50,1))AND(D100<10)AND(D100>REF(D100,1))AND(D200<10)AND(D200>REF(D200,1));
STICKLINE(a,长期-3,长期+3,10),coloryellow;
STICKLINE(b,长期-2,长期+2,10),colorred;
HORLINE(1,10,0,3),colormagenta;
RSV50_d=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
a50_d=SMA(RSV50_d,3,1);
RSV100_d=(CLOSE-LLV(LOW,M1))/(HHV(HIGH,M1)-LLV(LOW,M1))*100;
a100_d=SMA(RSV100_d,3,1);
RSV200_d=(CLOSE-LLV(LOW,M2))/(HHV(HIGH,M2)-LLV(LOW,M2))*100;
a200_d=SMA(RSV200_d,3,1);
D50_d:=a50_d;
D100_d:=a100_d;
D200_d:=a200_d;
短期:(D50_d+D100_d+D200_d)/3,colorgray;
a_d:=(短期<10)AND(短期>REF(短期,1));
b_d:=(D50_d<10)AND(D50_d>REF(D50_d,1))AND(D100_d<10)AND(D100_d>REF(D100_d,1))AND(D200_d<10)AND(D200_d>REF(D200_d,1));
STICKLINE(a_d,短期-2,短期+2,10),colorgray;
STICKLINE(b_d,短期-1,短期+1,10),colorgray;
HORLINE(1,10,0,3),colormagenta;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!