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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信主力轨迹跟踪指标公式源码


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

N:=9;
M1:=3;
M2:=3;
100,COLORCCFF99,POINTDOT;
VAR2:=REF(LOW,1);
VAR3:=SMA(Abs(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹:STICKLINE(VAR9>-120,0,VAR9,6,1),COLORF00FF0;
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORFF937F;
k线:=SMA(快线,M1,1),COLORWHITE,LINETHICK1;
D线:=SMA(K线,M2,1),COLORYELLOW;
主力筹码:100*WINNER(CLOSE*0.9);
STICKLINE(主力筹码>30,0,主力筹码,6,1),COLORRED;
VUR1:=vol/CAPITAL;
VUR2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
VUR3:=2.5*MAX(VUR1,VUR2);
VUR4:=DMA(CLOSE,VUR3);
VUR5:=20*(VUR4/REF(VUR4,1)-1)*38;
VUR6:=EMA(VUR5,2);
VUR7:=EMA(VUR5,2);
VUR8:=EMA(VUR7,3);
VURS:=EMA(VUR7,8);
VUR9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1);
VURB:=2.5*MAX(VUR1,VUR9);
VURC:=DMA(INDEXC,VURB);
VURD:=EMA(20*(VURC/REF(VURC,1)-1),1)*38;
VURE:=EMA(VURD,2);
D强:STICKLINE(VURD>0,0,VURD,2,1),COLORB210E4;
D弱:STICKLINE(VURD> 0,0,VURD,2,1),COLORFFB6B6;
极强:STICKLINE(VUR5> 0,0,VUR5,2,0),COLOR00FFFF;
强势:STICKLINE(VUR6> 0,0,VUR6,2,0),COLOR0000FF;
极弱:STICKLINE(VUR5< 0,0,VUR5,2,0),COLOR10D010;
弱势:STICKLINE(VUR6< 0,0,VUR6,2,0),COLORE4E410;
DX:VURE,LINETHICK2,COLOR1088FF;
VAR10:=100*(C-COST(10))/COST(10);
空跌幅度:IF(VAR10< 0,VAR10,0),COLORYELLOW,LINETHICK2;
-10,COLORCCFF99,POINTDOT;





回复

举报

QQ|

GMT+8, 2024-11-18 09:45

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