VAR1:=(2*CLOSE+ HIGH+ LOW +OPEN)/5;
A1:=(EMA(VAR1,3) EMA(VAR1,6) EMA(VAR1,12) EMA(VAR1,24))/4;
A2:=EMA(A1,2);
A3:=EMA(A2,2);
A4:=EMA(A3,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(VAR1,2.78)*1.028;
A9:=MA(OPEN,3.2)*1.028;
DUO:=A1>A2 AND A2>A3 AND A3>A4 AND A4>A5 AND A5>A6 AND A6>A7;
KONG:=A1<A2 AND A2<A3 AND A3<A4 AND A4<A5 AND A5<A6 AND A6<A7;
QYR:=REF(DUO,1)=0;
QIR2:=REF(KONG,1)=0;
中线B:DUO AND QYR,COLORRED,NODRAW;
中线S:KONG AND QIR2,COLORGREEN,NODRAW;
STICKLINE(DUO,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,100000),DATE),4,0),COLORBLUE;
STICKLINE(KONG,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,100000),DATE),4,0),COLORGRAY;
STICKLINE(中线B,L*0.91,L*0.94,4,-1),COLORRED;
STICKLINE(中线S,H*1.03,H*1.06,4,-1),COLORGREEN;
DRAWICON(中线B,L*0.92,1);
DRAWICON(中线S,H*1.04,2);
短1:EMA(EMA(A8,2),2),COLORRED,LINETHICK2;
短2:EMA(EMA(A9,2),2),COLORGREEN,LINETHICK2;
安全线:EMA(C,55),DOTLINE,COLORGREEN;
IF(安全线>REF(安全线,1),安全线,DRAWNULL),CIRCLEDOT,COLORRED;
DRAWKLINE(H,O,L,C);
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
短底:crOSS(CCI,-100),COLORYELLOW,NODRAW;
STICKLINE(短底,C,O,2,0),COLORYELLOW;
STICKLINE(短底,C,O,0,0),COLORMAGENTA;
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
高抛:CROSS(D,K) AND K>=80,COLORGREEN,NODRAW;
STICKLINE(高抛,C,O,2,0),COLORGREEN;
STICKLINE(高抛,C,O,0,0),COLORBLUE;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/168574.html,转载请注明出处。