股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信二板定龙头指标公式源码副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-11-20 17:30:49

WS:=2; 涨停:=C>=ZTPRICE(REF(C,1),0.1); YB:=(COUNT(涨停,WS)=1 AND 涨停); M1:=V/700000000; M2:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1); M3:=2.5*MAX(M1,M2); M4:=DMA(C,M3); M5:=SMA(20*(M4/REF(M4,1)-1),2,1); M6:=EMA(M5,2); M7:=0.24; M8:=C>=REF(C,1); VA:= IF(M5>M7 AND M6>=0.005 AND M8,1,0); VA1:=crOSS(VA,0.5) AND COUNT(VA>0.5,10)=1; VA2:="kdj.J"-REF("kdJ.J",1)>30 AND C/REF(C,1)>1.043 AND "macd.MACD">0 AND "MACD.DEA">0; VA3:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12)); VA4:=FILTER(VA3,28)*100 AND L>REF(C,1)*0.93; VA5:=VA2 OR VA4 AND VA1; M11:=9; M12:=10; B1:=C/REF(C,1)>1+0.01*M11; B2:=EXIST(C/REF(C,1)>1+0.01*M11,M12); B3:=C/REF(C,1)>1+0.01*M11; VA6:=IF(B1+B2+B3=3,1,0); VA7:=(H-C)/(C-O)<0.33; VA8:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND (O-L)/(C-O)>=1.48 AND L<REF(L,1) AND L<REF(L,2); VA9:=(C/REF(C,1)-1)>=0.08; VA10:=V>REF(V,1)*1.9 AND C>REF(C,1) AND C/REF(C,1)-1>=0.049 AND VA7; VA11:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND V>REF(V,1) AND V>REF(V,1)*2.5 AND VA7; NS1:=EMA(2.055*EMA(EMA(H,34),34)-EMA(EMA(L,34),34),5),COLORBLUE,LINETHICK2; VA12:=IF(FILTER(VA10 OR VA11 OR VA8 OR VA9 AND NS1>C,34),1,0) AND VA6; VA13:=VA5 OR VA12; VA15:=CROSS(VA13,1),VA13-VA13*0.14 AND YB; VA14:=H=C; VA16:=(C-REF(C,1))/REF(C,1)*100>=0.93 AND VA14; VA17:=BARSLAST(VA15),NODRAW; 牛股:VA17 AND VA16 AND VA17<=1,NODRAW; STICKLINE(牛股,0,3,3,0),COLORYELLOW; DRAWTEXT(牛股,2,'二板定龙头'),COLORRED;








回复

举报

GMT+8, 2025-1-19 23:03

快速回复 返回顶部 返回列表