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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 倍量炸板主图之上指选股指标公式


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

VAR1:=IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1));
VAR2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,VAR1)));
VAR3:=IF(MOD(FROMOPEN,VAR2)<0.5,VAR2,MOD(FROMOPEN,VAR2));
VAR4:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),V*(VAR2+3)/(VAR3+3),V);
VAR5:=IF(FINANCE(3)=2,0.3,IF((FINANCE(3)=3 OR FINANCE(3)=4 OR FINANCE(3)=6),0.2,0.1));
VAR6:=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5));
VAR7:=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5));
VAR8:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H!=L AND H>0;
VAR9:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H=L AND H>0;
VAR23:=REF(VAR8 OR VAR9,1) AND C<O;
VAR24:=VAR23 AND (V>=REF(V,1)*1.9 OR AMOUNT>=REF(AMOUNT,1)*1.9);
VAR25:=BARSLAST(VAR24);
VAR26:=H=C OR (O>=REF(H,1) AND C>O);
VAR27:=H-MAX(O,C)<MAX(O,C)-MIN(O,C);
VAR28:=MAX(O,C)-MIN(O,C)>(H-MAX(O,C))*1.38;
VAR29:=MAX(O,C)-MIN(O,C)>MIN(O,C)-L AND MAX(O,C)-MIN(O,C)>H-MAX(O,C);
VAR30:=IF(VAR26,1,IF(L=O,VAR27,IF(H-MAX(O,C)>MIN(O,C)-L,VAR28,IF(L<O AND H>C,VAR29,DRAWNULL))));
破倍阴均:REF(C,1)<=REF(REF(AMOUNT/V/100,VAR25),1) AND C>REF(REF(AMOUNT/V/100,VAR25),1) AND VAR30,COLORYELLOW;
上指:破倍阴均 AND EMA(C,5)>=REF(EMA(C,5),1) AND C>EMA(C,5) AND REF(COUNT(破倍阴均,VAR25),1)<=2;





回复

举报

QQ|

GMT+8, 2024-11-5 11:33

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