通达信股票启动指标-RSI金叉主图指标(红色向上的箭头和黄柱子)
M1:MA(C,5);
M2:MA(C,21);
M3:MA(C,34);
XG:=CROSS(C,M1) AND REF(EXIST(M1《REF(M1,5),1),1) AND COUNT(M2》M3,10)》=10 AND M2》M3;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
RSI金叉:=CROSS(RSI1,RSI2);
{SWL:=(EXPMA(CLOSE,5)*7+EXPMA(CLOSE,10)*3)/10;
SWS:=DMA(EMA(CLOSE,12),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL))));}
XGG:={CROSS(SWL,SWS) AND} RSI金叉 AND XG;
DRAWICON(XGG,L-0.25,1);
STICKLINE(XGG,C,O,3,0)COLORYELLOW;
STICKLINE(XGG,L,H,0,0)COLORYELLOW;
选股公式:
M1:=MA(C,5);
M2:=MA(C,21);
M3:=MA(C,34);
XG:=CROSS(C,M1) AND REF(EXIST(M1《REF(M1,5),1),1) AND COUNT(M2》M3,10)》=10 AND M2》M3;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
RSI金叉:=CROSS(RSI1,RSI2);
{SWL:=(EXPMA(CLOSE,5)*7+EXPMA(CLOSE,10)*3)/10;
SWS:=DMA(EMA(CLOSE,12),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL))));}
XGG:{CROSS(SWL,SWS) AND} RSI金叉 AND XG;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!