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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信弱转强黄金尾盘主图指标公式源码


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

VAR1:=LLV(LOW,20);
VAR2:=CLOSE-VAR1;
VAR3:=HHV(HIGH,7);
VAR4:=LLV(LOW,7);
VAR5:=VAR2/(VAR3-VAR4)*100;
VAR6:=SMA(VAR5,7,1);
VAR7:=SMA(VAR6,7,1);
VAR8:=VAR6*3;
VAR9:=VAR7*2;
VAR10:=VAR8-VAR9;
VAR11:=EMA(CLOSE,1);
VAR12:=EMA(CLOSE,3);
VAR13:=VAR11-VAR12;
VAR14:=EMA(VAR13,10);
VAR15:=2*(VAR13-VAR14);
VAR16:=VAR15>0;
VAR17:=HIGH+LOW+CLOSE*2;
VAR18:=DMA(VAR17/4.785,1);
VAR19:=EMA(VAR18,9);
VAR20:=REF(VAR19,1);
VAR21:=crOSS(CLOSE,VAR20);
VAR22:=IF(CODELIKE(1) OR CODELIKE(2),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
VAR23:=IF(CODELIKE(3) OR CODELIKE(4),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
VAR24:=VAR22 AND VAR23;
VAR25:=IF(CODELIKE(1),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW);
VAR26:=IF(CODELIKE(3),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW);
VAR27:=VAR25 AND VAR26;
VAR28:=NOT(VAR24) AND NOT(VAR27);
VAR29:=IF(CODELIKE(3),0,1);
VAR30:=IF(CODELIKE(5),0,1);
VAR31:=IF(CODELIKE(6),0,1);
VAR32:=IF(CODELIKE(7),0,1);
VAR33:=IF(CODELIKE(8),0,1);
VAR34:=IF(CODELIKE(9),0,1);
VAR35:=IF(CODELIKE(10),0,1);
VAR36:=IF(CODELIKE(11),0,1);
VAR37:=VAR29 AND VAR30 AND VAR31 AND VAR32 AND VAR33 AND VAR34 AND VAR35 AND VAR36;
弱转强:VAR21 AND VAR10< 52 AND VAR16 AND VAR37 AND VAR28,NODRAW,COLORBLACK;
STICKLINE(弱转强,L,L*0.999,50,0),COLORMAGENTA;
STICKLINE(弱转强,O,C,2,0),COLORYELLOW;
DRAWICON(弱转强,L,25);





回复

举报

QQ|

GMT+8, 2024-11-13 07:02

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