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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺底升副图指标 源码


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

同花顺底升副图指标 源码

波段操作,自带提示。出现枪弹轻仓介入。

TEND:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1),3,1),COLORFF00FF;
TJ0:IF(TEND<=10,12,0),LINETHICK2,COLORFF00FF;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
VAR13,COLOR000000;
A1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;
A2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));
A3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));
A4:=HHVBARS(HIGH,50)<LLVBARS(LOW,100);
A5:=A1 AND A2>0.5 AND A3>0.3 AND A4;
A6:=COUNT(A5,20)=1;
TJ1:=A6 AND A5;
STICKLINE(TJ1,0,20,4,0),COLOR009999;
STICKLINE(TJ1,0,20,2,0),COLOR00BBBB;
STICKLINE(TJ1,0,20,1,0),COLOR00DDDD;
STICKLINE(TJ1,0,20,0.4,0),COLOR00FFFF;
DRAWTEXT(TJ1 ,22,'抢弹'),COLOR00BBFF;
VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(VAR2W,3);
VAR3W:=EMA(VAR2W,7);
M1:= EMA(VAR3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
TJ2:IF((MB1),20,0),LINETHICK2,colorred;
DRAWTEXT(CROSS(MW,M1) AND M1<20,22,'★抄底'),colorred;
SAL: IF(TEND>=98,90,100),LINETHICK3,COLORFF0000;
DRAWICON(CROSS(80,TEND),80,2);
XG:TJ0 AND TJ2;
STICKLINE(XG,0,30,4,0),COLOR000099;
STICKLINE(XG,0,30,2,0),COLOR0000BB;
STICKLINE(XG,0,30,1,0),COLOR0000DD;
STICKLINE(XG,0,30,0.4,0),COLOR0000FF;
TJ3:=CROSS(TEND,VAR12) AND VAR12<60;
DRAWICON(TJ3,VAR12,23);
DRAWTEXT(TJ3,TEND,'拉升'),COLORFFFFFF;






gd47293

回复

举报

QQ|

GMT+8, 2024-11-18 14:46

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