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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺波段操盘副图源码 贴图


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

同花顺波段操盘副图源码 贴图

//#@Fname=波段操盘
//#@comment=
//#@control=
//#@FuncType=
//#@style=DDX1:Line2,a一般价格(灰),2,0,1,5,255;DDX2:Line2,技术指标,2,0,1,5,65535;DDX3:Line0,技术指标;
//#@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
N:=11;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买盘:=(V9+V8);
卖盘:=(V6+V7);
买卖差:=买盘-卖盘;
DDX:=买卖差;
DX:=MA(买卖差,5)*20;
N:=5;
M:=13;
N日内净流入:=SUM(DDX,N)*3;
流入:=IF(N日内净流入>REF(N日内净流入,1),N日内净流入,DRAWNULL);
STICKLINE(DDX<0,0,DDX,8,0),COLOR006600;
STICKLINE(DDX<0,0,DDX,6,0),COLOR009900;
STICKLINE(DDX<0,0,DDX,3,0),COLOR00CC00;
STICKLINE(DDX<0,0,DDX,1,0),COLOR66CCFF;
STICKLINE(DDX>0,0,DDX,8,0),COLOR000099;
STICKLINE(DDX>0,0,DDX,6,0),COLOR0000CC;
STICKLINE(DDX>0,0,DDX,3,0),COLOR0000FF;
STICKLINE(DDX>0,0,DDX,1,0),COLORCC66FF;
DDX1:SMA(DX,3,1),COLOR0000FF;
DDX2:SMA(DDX1,3,1),COLOR00FFFF;
DDX3:(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;






gd47866

回复

举报

QQ|

GMT+8, 2024-11-18 22:34

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