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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺动力线副图指标 源码


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

同花顺动力线副图指标 源码

紫色与绿色线持续上翘,后面紫色上穿0轴买入参考

量:=V;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
DLX:=(买盘-(-卖盘))/量*换手;
STICKLINE(DLX>0,0,DLX,2,0),colorred;
STICKLINE(DLX<0,0,DLX,2,0),colorliblue;
STICKLINE(DLX>0,0,DLX,5,0),colorred;
STICKLINE(DLX>0,0,DLX,4,0),COLOR0000CC;
STICKLINE(DLX>0,0,DLX,3,0),COLOR3300CC;
STICKLINE(DLX>0,0,DLX,2,0),COLORBB52FF;
STICKLINE(DLX>0,0,DLX,1,0),COLORA4D1FF;
STICKLINE(DLX<0,0,DLX,5,0),COLOR1EFF1E;
STICKLINE(DLX<0,0,DLX,4,0),COLOR00F700;
STICKLINE(DLX<0,0,DLX,3,0),COLOR51FF51;
STICKLINE(DLX<0,0,DLX,2,0),COLOR75FF75;
STICKLINE(DLX<0,0,DLX,1,0),COLORA4FFA4;
DLX1:SUM(DLX,6),coloryellow;
DLX2:MA(DLX1,5),colormagenta;
DLX3:MA(DLX1,10),colorgreen;
A1:=SUMBARS(VOL,CAPITAL);
CMA:=IF(CAPITAL>0,SUM(AMOUNT,A1)/SUM(VOL,A1)/100,EMA(CLOSE,120));
换手价:CMA,LINETHICK0,COLORFFC0FF;






gd46807

回复

举报

QQ|

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

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