LONG:=26;
SHORT:=12;
cm:=42;
MID:=4;
m1:=3;
DFC:=c-REF(c,1);
WJXS:=(LONG-SHORT)/2;
JF:=WJXS*EMA(DFC,SHORT);
cci:(JF-MA(JF,CM))/((0.2*CM)*AVEDEV(JF,CM)),COLOR6600FF;
FILLRGN(CCI<0,CCI,0),COLORFF0080;
FILLRGN(CCI>0,CCI,0),COLOR6600FF;
DIF:EMA(JF,LONG),COLOR1188FF,LINEDOT;
DEA:EMA(DIF,MID),COLORGREEN,LINEDOT;
FILLRGN(DIF>=DEA,DEA,DIF),COLORBROWN;
FILLRGN(DIF<DEA,DEA,DIF),COLORBLUE;
macd:=3*(DIF-DEA),COLOR1133FF,COLORSTICK;
K:SMA(JF,SHORT/3,1),COLORFEDCBA;
D:SMA(K,M1,1),COLOR13F8F9;
J:=2.4*K-1.5*D,COLORF813F9;
DJ:=Abs(J);
MM:=(HHV(DJ,120)+LLV(DJ,120))/2;
STICKLINE(J>K,J,K,2.3,0),COLOR1388D3;
STICKLINE(J>K,J,K,1.0,0),COLOR13AAD3;
STICKLINE(J<K,J,K,2.3,0),COLOR338833;
STICKLINE(J<K,J,K,1.0,0),COLOR33AA33;
STICKLINE(J<K AND DJ<0.2*MM,J+0.15*MM,K-0.15*MM,0.1,0),COLOR33AA33;
STICKLINE(J>=K AND DJ<0.2*MM,K-0.1*MM,J+0.1*MM,0.1,0),COLOR13AADD;
LC:=REF(JF,1);
rsi:SMA(MAX(JF-LC,0),SHORT,1)/SMA(ABS(JF-LC),SHORT,1)*(SHORT/5)-(SHORT/10),COLORSTICK,COLORCYAN,LINETHICK2;
STICKLINE(C>0,0,0,10,0),COLORGRAY;
STICKLINE(C>0,0.5,0.5,5,0),COLORMAGENTA;
STICKLINE(C>0,-0.5,-0.5,5,0),COLORMAGENTA;

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