帮做一个通达信的RSI选股公式
如图三条线基本要粘合在一起了就要这种状态的麻烦高手了要红箭头指向的那种状态的不要做成上穿下穿的...
如图
三条线基本要粘合在一起了 就要这种状态的 麻烦高手了
要红箭头指向的那种状态的 不要做成上穿下穿的 展开
三条线基本要粘合在一起了 就要这种状态的 麻烦高手了
要红箭头指向的那种状态的 不要做成上穿下穿的 展开
2个回答
展开全部
N1:=6;N2:=12;N3:=24;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
RS:=RSI1>RSI2 AND RSI2>RSI3;
NH:=MAX(MAX(RSI1,RSI2),RSI3);
NL:=MIN(MIN(RSI1,RSI2),RSI3);
RXG:NH>NL AND RS AND BETWEEN((NH-REF(NL,1))/REF(NL,1)*100,-4,1);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
RS:=RSI1>RSI2 AND RSI2>RSI3;
NH:=MAX(MAX(RSI1,RSI2),RSI3);
NL:=MIN(MIN(RSI1,RSI2),RSI3);
RXG:NH>NL AND RS AND BETWEEN((NH-REF(NL,1))/REF(NL,1)*100,-4,1);
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
N1:=6;
N2:=12;
N3:=24;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
CROSS(RSI1,RSI2) AND CROSS(RSI1,RSI3);
N2:=12;
N3:=24;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
CROSS(RSI1,RSI2) AND CROSS(RSI1,RSI3);
追问
不对 你做的是上穿吧
追答
N1:=6;N2:=12;N3:=24;LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
M1:=RSI2*1.001;
M2:=RSI2*0.999;
RSI3M2 AND REF(RSI1<RSI2,1);
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询