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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信波段通吃指标公式副图附图源码


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

以下是通达信波段通吃指标公式副图附图源码

波段通吃,吃尽每一个波段!

VARA:=LLV(LOW,35);

VARB:=HHV(HIGH,30);

VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;

QS: VARC,COLORWHITE;

STICKLINE(VARC < 10 AND 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)) > 97,0,25,2,1),COLORFF00FF;

STICKLINE(VARC > 90,100,85,2,1),COLOR009F00;

VARD:=87.5;

VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;

DRAWTEXT(IF(CROSS(QS,VARD) AND VARE=100,50,0),56,'目标');

DRAWTEXT(IF(CROSS(VARD,QS),87,0),85,'跑');

DRAWTEXT(IF(CROSS(QS,VARE) AND QS > 87,87,0),70,'卖');

VAR6:=(2*CLOSE+HIGH+LOW)/4;

VAR8:=LLV(LOW,30);

VARAA:=HHV(HIGH,30);

B:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);

B1:=EMA(B,5);

STICKLINE(B > 0 AND B-B1 >= 0,79,80,1,0),COLORWHITE;

STICKLINE(B > 0 AND B-B1 < 0,79,80,1,0),COLORCYAN;

STICKLINE(B > 0 AND B-B1 >= 0,49,50,1,0),COLORRED;

STICKLINE(B > 0 AND B-B1 < 0,49,50,1,0),COLORRED;

STICKLINE(B > 0 AND B-B1 >= 0,19,20,1,0),COLORWHITE;

STICKLINE(B > 0 AND B-B1 < 0,19,20,1,0),COLORCYAN;

STICKLINE(B-B1 > 0,B,B1,3,1),COLOR4D4DFF;

STICKLINE(B-B1 < 0,B,B1,3,1),COLORWHITE;

V1:=(2*CLOSE+HIGH+LOW)/4; V2:=LLV(LOW,21);

VA:=HHV(HIGH,34);

FB:=EMA((V1-V2)/(VA-V2)*100,13);

FBB:=EMA((0.667*REF(FB,1)+0.333*FB),2);

ZLX:EMA(0.382*REF(FB,2)+0.618*FB,12),COLORFF0000;








回复

举报

QQ|

GMT+8, 2024-11-18 16:48

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