通达信捉妖主升浪副图源码分享

平台突破:=C;
STICKLINE(平台突破,0,80,4,1),COLOR000040;
STICKLINE(平台突破,0,60,4,1),COLOR000040;
STICKLINE(平台突破,0,40,4,1),COLOR000040;
STICKLINE(平台突破,0,20,4,1),COLOR000040;
ZT:=(C-REF(C,1))/REF(C,1)*100>9.5,COLORWHITE,NODRAW;
擒牛:=EMA(EMA(平台突破,30),9),NODRAW;
捉妖突破:=EMA(EMA(INDEXC,45),9),NODRAW;
AA:=平台突破/擒牛*100,NODRAW;
主力筹码:=INDEXC/捉妖突破*100,NODRAW;
GGQD:=(AA-主力筹码),NODRAW;
N1:=REF(BARSLAST((C-REF(C,1))/REF(C,1)*100>9.6 AND C=H),1)+1,NODRAW;
擒牛捉妖突破:=IF(COUNT(CROSS(MA(C,15),MA(C,5)),N1)=0 AND HHV(GGQD,20)>23 AND MA(C,5)>MA(C,30) AND GGQD< HHV(GGQD,30) AND GGQD>5 AND (C-REF(C,1))/REF(C,1)*100>9.6 AND C=H,-9,0),COLORBLUE,NODRAW;
GSPT1 :=(平台突破-MA(平台突破,6))/MA(平台突破,6)*100,NODRAW;
GSPT2 :=(平台突破-MA(平台突破,24))/MA(平台突破,24)*100,NODRAW;
GSPT3:=(GSPT1-GSPT2),NODRAW;
GSPT6:=LLV(GSPT1,3),NODRAW;
MA5:=MA(C,5),NODRAW;
MGSPT90:=MA(C,10),NODRAW;
MA20:=MA(C,20) ,NODRAW;
MA30:=MA(C,30),NODRAW;
MA60:=MA(C,34),NODRAW;
GSPT5:=(MA5-MGSPT90)/MGSPT90*100,NODRAW;
GSPT7:=(MGSPT90-MA20)/MGSPT90*100,NODRAW;
GSPT8:=(MA20-MA60)/MGSPT90*100,NODRAW;
TY:=C,NODRAW;
GSPT9:=REF(TY,20)=HHV(TY,2*20+1);
GSPT10:=FILTER(GSPT9,20);
C1:=(GSPT10,20+1);
HD:=FILTER(C1,20),NODRAW;
A:=REF(H,BARSLAST(HD)),NODRAW;
AA主力筹码 := REF(平台突破,1),NODRAW;
RSI1:=SMA(MAX(平台突破-AA主力筹码,0),5,1)/SMA(ABS(平台突破-AA主力筹码),5,1)*100,NODRAW;
突破捉妖:=IF(CROSS(C,A) AND ZT>0,-4,0),COLORYELLOW;{ 公式源码 }
拉升捉妖:=IF(GSPT5>1 AND GSPT7>3 AND GSPT8>0 AND ZT>0,6,0),COLORRED,NODRAW;
逼空捉妖A:=IF(ZT>0 AND RSI1=HHV(RSI1,5) AND RSI1>80,4,0),COLORCYAN,NODRAW;
逼空捉妖B:=IF(GGQD>15 AND ZT>0 AND RSI1=HHV(RSI1,5) AND RSI1>80 AND REF(GGQD>15 AND ZT>0 AND RSI1=HHV(RSI1,5) AND RSI1>80,1)=0,4,0),COLORLIRED;
超跌捉妖:=IF(ZT>0 AND GSPT6< 0 AND GSPT3>5 AND MA(C,5)< MA(C,60),-2,0),COLORGREEN,NODRAW;
STICKLINE(突破捉妖,64,77,3,0),COLORFF0080;
DRAWTEXT(ISLASTBAR=1,70,' 突破捉妖'),COLOR0080FF;
STICKLINE(拉升捉妖,44,57,3,0),COLORFF00FF;
DRAWTEXT(ISLASTBAR=1,50,' 拉升捉妖'),COLOR00FFFF;
STICKLINE(逼空捉妖A OR 逼空捉妖B,24,37,3,0),COLOR0000FF;
DRAWTEXT(ISLASTBAR=1,30,' 逼空捉妖'),COLORFFFFFF;
STICKLINE(超跌捉妖,4,17,3,0),COLOR0080FF;
DRAWTEXT(ISLASTBAR=1,10,' 超跌捉妖'),COLORFF0080;






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

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

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

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