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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信很不错的抄底山峰指标源码


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

以下是通达信很不错的抄底山峰指标源码

很不错的抄底山峰指标源码

VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;

山峰:SMA(VAR1,5,1)-8,LINETHICK2,COLORCYAN;

STICKLINE(山峰,0,山峰,1,0),COLORC8FF00;

VAR2:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

VAR3:=SMA(VAR2,5,1)-16;

STICKLINE(VAR3>山峰,0,-5,4,2),COLORYELLOW;

STICKLINE(VAR3<山峰,0,-5,4,2),COLOR9800FF;

山谷: STICKLINE(FILTER(CROSS(VAR3,山峰),5)=1 AND 山峰<15,0,20,13,2),COLORGREEN;

DRAWTEXT(FILTER(CROSS(VAR3,山峰),5)=1 AND 山峰<15,-12,'山谷'),COLORGREEN;

山头: STICKLINE(CROSS(山峰,VAR3) AND VAR3>=55 AND VAR3<70,0,75,13,0),COLORYELLOW;

DRAWTEXT(CROSS(山峰,VAR3) AND VAR3>=55 AND VAR3<70,-12,'跑吧'),COLORYELLOW;

山顶:STICKLINE(FILTER(CROSS(山峰,80),20)=1,0,85,25,0),COLORRED;

DRAWTEXT(FILTER(CROSS(山峰,80),20)=1,-12,'山顶'),COLORRED;

大本营: -20,CIRCLEDOT,COLOR3098FF;

VAR4:=SMA(VOL,5,1);

VAR5:=(VAR4-LLV(VAR4,10))/(HHV(VAR4,10)-LLV(VAR4,10))*100;

VAR6:=SMA(VAR5,3,1);

VAR7:=100-VAR6;

VAR8:=REF(VAR7,1)>REF(VAR7,2) AND VAR7<34;

VAR9:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;

VAR10:=FILTER(VAR8,3);

群山:SMA(VAR9,3,1),COLORBLUE,LINESTICK;

下山:STICKLINE(VAR10 AND 群山>60,0,75,13,0),COLORMAGENTA;

DRAWTEXT(VAR10 AND 群山>60,-12,'下山'),COLORMAGENTA;









回复

举报

QQ|

GMT+8, 2024-11-17 06:48

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