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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信波段起爆点指标公式源码


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

VAR1:=COUNT(REF(C,1)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR2:=COUNT(REF(C,2)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR3:=COUNT(REF(C,3)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR4:=COUNT(REF(C,4)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR5:=COUNT(REF(C,5)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR6:=COUNT(REF(C,6)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR7:=COUNT(REF(C,7)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR8:=COUNT(REF(C,8)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR9:=COUNT(REF(C,9)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR10:=COUNT(REF(C,10)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR11:=COUNT(REF(C,11)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR12:=COUNT(REF(C,12)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR13:=COUNT(REF(C,13)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR14:=COUNT(REF(C,14)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR15:=COUNT(REF(C,15)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR16:=COUNT(REF(C,16)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR17:=COUNT(REF(C,17)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR18:=COUNT(REF(C,18)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR19:=COUNT(REF(C,19)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR20:=COUNT(REF(C,20)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR21:=COUNT(REF(C,21)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR22:=COUNT(REF(C,22)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR23:=COUNT(REF(C,23)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR24:=COUNT(REF(C,24)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR25:=COUNT(REF(C,25)>MA(C,5),5)=0 AND C>MA(C,5),LINETHICK1;
VAR26:=EMA(CLOSE,8);
VAR27:=EMA(VAR26,20);
VAR28:=crOSS(VAR26,VAR27);
波段1:EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,3,1),3),COLORWHITE,LINETHICK1;
波段2:EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,5,1),3),COLORYELLOW,LINETHICK1;
波段3:EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3),COLORCYAN,LINETHICK1;
起爆点:IF(CROSS(波段1,波段2),50,20),COLORMAGENTA,LINETHICK2;





回复

举报

QQ|

GMT+8, 2024-11-19 17:00

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