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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 波段进出 源码


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

波段进出 源码

波段进出 源码

VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
获利盘:WINNER(close );
底线:VAR02,COLORGREEN,linethick2;
趋势:VAR01,COLORCYAN;
趋势线:=EMA(趋势,3);
STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,4,0),COLORRED;
drawtext(VAR05,60,'关'),coloryellow;
drawtext(VAR05,55,'注'),coloryellow;
STICKLINE(趋势>0 AND 趋势-趋势线>=0,79,80,6,0),colorred ;
STICKLINE(趋势>0 AND 趋势-趋势线<0,79,80,6,1),colorwhite,linethick3 ;
STICKLINE(趋势-趋势线>0,趋势,趋势线,8,1),colorred ;
STICKLINE(趋势-趋势线<0,趋势,趋势线,8,1),colorwhite,linethick2;
VARF:=TROUGHBARS(3,15,1)<4;
DK:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARF=1,5) AND DK<-10,70,0,3,0),COLORRED;
STICKLINE(FILTER(VARF=1,5),70,0,3,0),COLORRED;
DRAWICON(FILTER(VARF=1,3),70,10);
STICKLINE(DK<-10,0,DK,10,10),COLORyellow;
 


 





gd13991

回复

举报

QQ|

GMT+8, 2024-11-18 07:36

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