跟庄MCST通达信公式 副图 源码附图

TJ360:=C=HHV(C,150);{黑马线}
 
TS360:=BARSLAST(TJ360);
 
HHC360:=REF(C,TS360);
 
RHHC360:=REF(HHC360,1);
 
TJ1360:=H>L AND C>RHHC360 ;
 
CS1360:=BARSLASTCOUNT(TJ1360);
 
CSS:=COUNT(CS1360=1,60);
 
MR:=CS1360=1 AND CSS=1;
 
HMXTS:=BARSLAST(MR);
 
黑马线:CONST(REF(C,HMXTS)),COLORFFFF00,LINETHICK2;
大周期:MA(C,500),COLORWHITE,LINETHICK2;
 
高:=REF(HHV(H,72),5);
龙门:REFDATE(高,DATE),COLORWHITE,LINETHICK2;
 
 
警示:=NAMEINCLUDE('S');
W:=IF(NAMELIKE('W') OR NAMELIKE('*W'),0.05,0.1);
DT:=(REF(C,1)/C-1>=W-0.01/REF(C,1) AND L=C AND PERIOD=5) OR C=DTPRICE(REF(C,1),IF(警示,0.05,0.1));
ZT:=C>=ZTPRICE(REF(C,1),IF(警示,0.05,0.099)),NODRAW,COLORRED;
ZT1:=H>=ZTPRICE(REF(C,1),IF(警示,0.05,0.099)) AND C<H;
DT1:=REF(C,1)/L-1>=W-0.01/REF(C,1) AND L<C AND PERIOD=5;
 
 
STICKLINE(ZT,CLOSE,(OPEN+CLOSE)/2,3,0),COLOR000099;
STICKLINE(ZT,CLOSE,(OPEN+CLOSE)/2,2.2,0),COLOR0000CC;
STICKLINE(ZT,CLOSE,(OPEN+CLOSE)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT,CLOSE,(OPEN+CLOSE)/2,0.5,0),COLORCC66FF;
 
 
STICKLINE(ZT,OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;
STICKLINE(ZT,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB; 
STICKLINE(ZT,OPEN,(OPEN+CLOSE)/2,1.5,0),COLORDDDDDD; 
STICKLINE(ZT,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF;
 
 
STICKLINE(DT,OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;
STICKLINE(DT,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB; 
STICKLINE(DT,OPEN,(OPEN+CLOSE)/2,1.5,0),COLORDDDDDD; 
STICKLINE(DT,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF;
 
STICKLINE(DT,CLOSE,(OPEN+CLOSE)/2,3,0),COLOR009900;
STICKLINE(DT,CLOSE,(OPEN+CLOSE)/2,2.2,0),COLOR00BB00; 
STICKLINE(DT,CLOSE,(OPEN+CLOSE)/2,1.5,0),COLOR00DD00; 
STICKLINE(DT,CLOSE,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00;
 
{曾涨跌停打开K线颜色设置}
 
STICKLINE(ZT1,CLOSE,(OPEN+CLOSE)/2,3,0),COLORFF00FF;
STICKLINE(ZT1,CLOSE,(OPEN+CLOSE)/2,2.2,0),COLORFF00FF;
STICKLINE(ZT1,CLOSE,(OPEN+CLOSE)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT1,CLOSE,(OPEN+CLOSE)/2,0.5,0),COLORCC66FF;
 
 
STICKLINE(ZT1,OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;
STICKLINE(ZT1,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB; 
STICKLINE(ZT1,OPEN,(OPEN+CLOSE)/2,1.5,0),COLORDDDDDD; 
STICKLINE(ZT1,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF;
 
STICKLINE(DT1,OPEN,(OPEN+CLOSE)/2-0.01,2.7,0),COLORGREEN;
STICKLINE(DT1,C,(OPEN+CLOSE)/2+0.01,2.7,0),COLORWHITE;
STICKLINE(DT,OPEN,(OPEN+CLOSE)/2-0.01,0.5,0),COLORFFFFFF;
 
 
 
假阴:=REF(C>=O,1) AND AMOUNT/V/100>REF(C,1) AND C<O;
假阳:=REF(C<=O,1) AND H<REF(O,1) AND C<(REF(O-C,1))/3+REF(C,1) AND AMOUNT/V/100<REF(C,1) AND C>O;
STICKLINE(假阴,O,C,0.2,0),COLORRED;{假阴柱};
STICKLINE(假阳,O,C,0.7,0),COLORLIGREEN;{假阳};
 
MAI:=EXIST(CROSS(C,MCST),10) AND (CROSS(C,黑马线) OR CROSS(C,龙门));
 
DRAWICON(MAI,L,7);
 
市值:(FINANCE(40)/100000000),NODRAW,COLORRED; 
 
股东占流通比:100*FINVALUE(244)/FINVALUE(239),NODRAW;
 
历史衰退系数:100/(100-股东占流通比),NODRAW;
 


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

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

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