通达信擒牛点将主副图 识别游资买入信号 源码

{擒牛点将主图源码如下}

{擒牛点将副图--}
均线13:=EMA(C,13);
均线34:=EMA(C,34);
均线55:=EMA(C,55);
均线120:=EMA(C,120);
YBSP1:=(C-REF(C,1))/REF(C,1)*100>0.5;
YBSP2:=V>MA(V,5)*0.6;
YBSP3:=COUNT(CROSS(均线13,均线55),3)=1;
YBSP4:=ABS(均线34-均线55)/均线55<0.03;
YBSP5:=均线55<=均线120 AND 均线55>=REF(均线55,1);
股指标评测:=FILTER(YBSP1 AND YBSP2 AND YBSP3 AND YBSP4 AND YBSP5,5);
擒牛点将:FILTER(股指标评测>=1,5);
土豆指标:=DATE=DATE;STICKLINE(擒牛点将,0,100,9999,0)*土豆指标,COLOR000000;
STICKLINE(擒牛点将,50,100,2,0)*土豆指标,COLOR0000FF;STICKLINE(擒牛点将,60,100,4,0)*土豆指标,COLOR0000FF;
STICKLINE(擒牛点将,70,100,6,0)*土豆指标,COLOR0000FF;STICKLINE(擒牛点将,80,100,7,0)*土豆指标,COLOR0000FF;
STICKLINE(擒牛点将,90,100,8,0)*土豆指标,COLOR0000FF;STICKLINE(擒牛点将,70,100,1,0)*土豆指标,COLOR00FFFF;
STICKLINE(擒牛点将,80,100,2,0)*土豆指标,COLOR00FFFF;STICKLINE(擒牛点将,90,100,3,0)*土豆指标,COLOR00FFFF;
STICKLINE(擒牛点将,35,45,9,0)*土豆指标,COLOR00FFFF;
DRAWTEXT(擒牛点将,擒牛点将*50,' '),COLORMAGENTA;
NS0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
NS3:=SMA(NS0,3,1);
NS1:=SMA(NS3,4,1)-10,NODRAW;
NS4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
NS5:=SMA(NS4,3,1);NS2:=SMA(NS5,4,1)-90;
STICKLINE(REF(NS1,1)<NS1,NS1,REF(NS1,1),3,0),COLOR0000FF;
STICKLINE(REF(NS1,1)>NS1,NS1,REF(NS1,1),3,0),COLOR00FF00;
STICKLINE(FILTER(擒牛点将>=1,5),45,0,4,0),COLORRED;
DRAWTEXT(FILTER(擒牛点将=1,5),36,''),COLORBLUE;
STICKLINE(擒牛点将,40,25,1,0),COLORYELLOW;
STICKLINE(擒牛点将,25,10,2,0),COLOR00FF00;
STICKLINE(擒牛点将,10,0,3,0),COLORBLUE;
STICKLINE(擒牛点将,25,15,5,0),COLORRED;
STICKLINE(擒牛点将,15,6,4,0),COLORLIGREEN;
STICKLINE(擒牛点将,6,0,6,0),COLORGREEN;
STICKLINE(擒牛点将,30,10,4,1),COLORMAGENTA;
STICKLINE(擒牛点将,6,2,2.5,1),COLORYELLOW;
STICKLINE(擒牛点将,2,36,3.5,1),COLORYELLOW;
STICKLINE(擒牛点将,10,20,3,1),COLORMAGENTA;
DRAWICON(擒牛点将,21,32);
DRAWICON(擒牛点将,25,26);
DRAWICON(擒牛点将,30,28);
DRAWICON(擒牛点将,18,28);
DRAWICON(擒牛点将,15,28);
DRAWICON(擒牛点将,20,10);
DRAWICON(擒牛点将,10,28);
DRAWICON(擒牛点将,6.6,29);
DRAWTEXT(擒牛点将,26,''),COLORLIRED;
STICKLINE(IF(擒牛点将,-10,0),+38,3,2.2,0),COLOR990099;
STICKLINE(IF(擒牛点将,-120,0),+39,0,2.6,0),COLORBB00BB;
STICKLINE(IF(擒牛点将,-120,0),+39,0,2.1,0),COLORDD00DD;
STICKLINE(IF(擒牛点将,-120,0),+36,0,3.0,0),COLOR003300;
STICKLINE(IF(擒牛点将,-120,0),+36,0,2.4,0),COLOR005500;
STICKLINE(IF(擒牛点将,-120,0),+33,0,3.0,0),COLOR005555;
STICKLINE(IF(擒牛点将,-120,0),+33,0,3.4,0),COLOR007777;
STICKLINE(IF(擒牛点将,-120,0),+33,0,1.8,0),COLOR009999;
STICKLINE(IF(擒牛点将,-120,0),+33,0,1.2,0),COLOR00BBBB;
STICKLINE(IF(擒牛点将,-120,0),+33,0,0.6,0),COLOR00DDDD;
STICKLINE(擒牛点将,2,20,3.5,1),COLORYELLOW;
DRAWTEXT(擒牛点将,6,'【点将台】'),COLORYELLOW;

{擒牛点将副图源码如下}

{擒牛点将主图--}
箱顶:MA(REF(HHV(CLOSE,30),1),2),COLORYELLOW,LINETHICK2;
箱底:MA(REF(LLV(CLOSE,30),1),2),DOTLINE,COLORCYAN;
中轨:EMA(CLOSE,20),COLORGREEN,LINETHICK2;
GZB1:=MA(CLOSE,20);
GZB2:=POW(CLOSE-中轨,2);
GZB3:=MA(GZB2,20);
GZB4:=SQRT(GZB3);
GZB5:=中轨+2*GZB4;
GZB6:=中轨-2*GZB4;
GZB7:=REF(中轨,1);
上轨:=REF(GZB5,1),COLORRED,LINETHICK2;
下轨:=REF(GZB6,1),DOTLINE,COLORRED;
获利90%:=EMA(COST(90),5),DOTLINE,COLORRED;
获利百分百:EMA(COST(99),5),DOTLINE,COLORGREEN;
量比:=VOL/REF(MA(VOL,5),1),NODRAW,COLORWHITE;
点将点:CLOSE>箱顶 AND CLOSE>上轨 AND 量比>1.8 AND COUNT(CLOSE>箱顶 AND CLOSE>上轨 AND 量比>1.8,7)=1,NODRAW;
STICKLINE(点将点,OPEN,CLOSE,2,0),COLORYELLOW;
DRAWICON(点将点,L,13);DRAWTEXT(点将点,L*0.98,' ★点将'),COLORYELLOW ;
加仓:CLOSE>获利百分百 AND COUNT(CLOSE>获利百分百,7)=1,NODRAW;
DRAWICON(加仓,L,9);
STICKLINE(加仓,OPEN,CLOSE,2,0),COLORMAGENTA;
DRAWTEXT(加仓,L*0.96,' ★加仓'),COLORMAGENTA;



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

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

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