通达信自用短中结合主图

 
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);{分析家公式网http://www.70822.com}
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;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图