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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信强庄异动指标公式源码副图


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

HGW:=IF(CODELIKE('688'),0,1); 换手:=vol/CAPITAL*100; JJ:=(HIGH+LOW+CLOSE)/3; VAR1:=VOL/IF(HIGH=LOW,4,HIGH-LOW); VAR2:=IF(CAPITAL=0,VAR1*(JJ-MIN(CLOSE,OPEN)),VAR1*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))); VAR3:=IF(CAPITAL=0,VAR1*(MIN(OPEN,CLOSE)-LOW),VAR1*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN)))); VAR4:=IF(CAPITAL=0,VAR1*(HIGH-MAX(OPEN,CLOSE)),VAR1*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE)))); VAR5:=IF(CAPITAL=0,VAR1*(MAX(CLOSE,OPEN)-JJ),VAR1*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ))); ddx:=((VAR2+VAR3)-(VAR4+VAR5))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK; VAR6:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1); VAR7:=SMA(VAR6*120/FROMOPEN*5,2,1); VAR8:=SMA(VAR7,5,1); VAR60:=SMA(VAR8,5,1); DY:=CURRBARSCOUNT=1 AND C< REF(C,1); VAR9:=REF(VAR6,1)-DY; TT:=(VAR6*1.01-REF(VAR6,1)); VAR10:=(REF(VAR6*1.01,1)-REF(VAR6,2)); YY:=TT>3*Abs(VAR10); VAR11:=EMA(VAR6,15); VAR12:=COST(85); VAR13:=COST(15); VAR14:=VAR12-VAR13; VAR15:=(VAR12+VAR13)/2; 筹码:=VAR14/VAR15*100< 30,LINETHICK0; VAR16:=HHV(HIGH,250); VAR17:=LLV(LOW,250); VAR18:=VAR16-VAR17; VAR19:=(VAR15-VAR17); 比例:=VAR15< (VAR18*04+VAR17),LINETHICK0; 吸筹结束:=筹码 AND 比例; BU5:=C/REF(C,1)>1.04; 主力持股%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3); 主力持股:=主力持股%>=75 AND C>0 AND CLOSE>OPEN; VAR入场:=FILTER(主力持股 AND 吸筹结束 AND VAR19 AND WINNER(C)>=0.90 AND BU5 AND C/REF(C,1)>1.092 AND C=H AND C< 40 AND HGW AND 换手< 20 ,10); STICKLINE(VAR入场,2,0,2,0),COLORYELLOW; STICKLINE(VAR入场,1,0,2,0),COLORRED; DRAWICON(VAR入场,3,34);








回复

举报

QQ|

GMT+8, 2024-11-28 01:46

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