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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信星星二代主图+副图指标


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

以下是通达信星星二代主图+副图指标

V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3)>MA(C,5);
V3:=MA(V,5)>MA(V,10)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
底部:=CROSS(RSI20,11)*1;
VAR3A:=3;
VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:=IF(FILTER(YXF=1,5),1,0);

QQ:= CLOSE>REF(CLOSE,1)*1.02;
BB1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),21,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),21,1)*1000;
GG1:=MA(BB-LLV(BB1,27),5);
AA1:=(REF(H,4)-REF(L,1))/C*100>10;

S1:=DYNAINFO(7)>3 AND DYNAINFO(7)<88;
S2:=FINANCE(7)<1900000000 AND FINANCE(1)<2100000000;
S4:=IF(NAMELIKE('S'),0,1);
S5:=IF(NAMELIKE('*'),0,1);
S6:=NOT(DYNAINFO(4)=0) AND S1 AND S2 AND S4 AND S5;

IF(底部 AND 加仓 AND AA1 AND S6 ,1,0);





回复

举报

QQ|

GMT+8, 2024-11-17 08:26

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