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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺底部信号副图源码 贴图


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

同花顺底部信号副图源码 贴图

//#@Fname=底部信号
//#@comment=
//#@control=
//#@FuncType=
//#@style=多:Line1025,a一般价格(灰),1,0,1,5,255;空:Line0,,1,0,1,5,65280;
//#@availperiod=2147430400
//#@param=
//#@isDrawCurve=1
//#@Fdesc=底部信号
//#@defaultperiod=16384
//#@coord=D
//#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000
//#@@FUNCSPEC@=source
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
多:VAR9,colorred,POINTDOT;
空:EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),colorgreen;
STICKLINE(VAR9>VARA,VAR9,VARA,6,0),colorred;
STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORFFCC66;
STICKLINE(AA,0,30,15,1),coloryellow;
STICKLINE(AA,16,29,14,0),colorred;
STICKLINE(AA,1,14,14,0),colorred;
STICKLINE(AA,15,15,15,1),coloryellow;
STICKLINE(AA,30,50,6,0),coloryellow;
STICKLINE(AA,53,55,6,1),colorred;
STICKLINE(AA,57,59,6,1),colorred;
STICKLINE(AA,61,63,6,1),colorred;
STICKLINE(AA,65,67,6,1),colorred;
STICKLINE(AA,69,75,6,0),COLORFFCCCC;
DRAWTEXT(AA,85,'底'),coloryellow;






gd47857

回复

举报

QQ|

GMT+8, 2024-11-19 02:47

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