以下是简洁实战!(二)——经典篇!(机动MACD rsi1指标)

注:五项指标组合观察,心里更有底!
 

机动MACD
 WY1001:=(2*CLOSE+HIGH+LOW)/4;
 WY1002:=EMA(WY1001,4);
 WY1003:=EMA(WY1002,4);
 WY1004:=EMA(WY1003,4);
 XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
 STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED;
 STICKLINE(XYS0<0,XYS0,0,2,0),COLORGREEN;
 PJGJ:=AMOUNT/VOL/100;
 SSRYDJX:=MA(PJGJ,13);
 SSRCJL:=EMA(VOL,13);
 SSRCJE:=EMA(AMOUNT,13);
 SSRCBJX:=SSRCJE/SSRCJL/100;
 CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
 XYSHSL:=EMA(VOL/CAPITAL*100,13);
 ZZX:0,COLORWHITE;
 STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2 ,0 ),COLORGREEN;
 STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;
 STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;
 STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;
 XYS1:MA(XYS0,2);
 XYS2:MA(XYS0,1);
上线:-1,COLOR0000FF;
下线:-2.8,COLOR00FF00;

 RSI1指标
input:n(14,0,999);
 refline:30,40,50,65,80;
 LC := REF(CLOSE,1);
 RSI:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100;
下极限:30,colorgreen;
波浪:40,colorred;
中线:50,colorgray;
小心:65,colorgreen;
上极限:80,colorred;
 m:ma(rsi,5);
 DRAWTEXT(DISPSTATUS=1,78,selfSTRING(‘评级’));
DRAWTEXT(DISPSTATUS=1,35,selfSTRING(‘题材’));

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。