通达信智能划线主图 一个很好的划线主图指标公式



 

 
{参数2:LOWN, 最小1,最大1000,缺省10}

 
ZB2:EMA(ZB1,45),COLORYELLOW;
QY:=BACKSET(AA,HIGHN+1);
DRAWICON(CC,H*1.02,2);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
GDCS1:=CONST(DINGBUTS);
GDCS2:=CONST(DINGBUTS1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DD1:=BARSLAST(CC1);
YDB:=IF(DD1,REF(L,DD1),L);
DDCS1:=CONST(DDTS1);
DDTS2:=REF(DDTS1,DD1+1);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;

 
ZGEND:=CONST((高点压力+低点支撑)/2);
中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;

 
DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;

 
EMA21:=EMA(C,21),COLORYELLOW; 
EMA60:=MA(C,60),COLORFFCC66; 
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1); 
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3; 
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←低吸'),COLORLIRED; 
DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1); 
VAR9:=CLOSE-REF(CLOSE,5); 
VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20); 
DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2); 
B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA; 
VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;
A0:=(L+H+C*2)/4;
A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;
A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;
逃顶:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),COLORCYAN,{LINETHICK2};
卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3;
STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC; 
STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;



未来函数检测结果如下:
该公式包含未来函数:BACKSET
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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