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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信无双VOL指标公式源码


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

M1:=5;
M2:=10;
Vvol:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,(-1),(-1)),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
VAR1:=1*AMOUNT;
VAR2:=1*MA(AMOUNT,5);
VAR3:=1*MA(AMOUNT,10);
VAR4:=HHV(VAR1,30)=VAR1;
VAR5:=HHV(VAR1,60)=VAR1;
VAR6:=HHV(VAR1,100)=VAR1;
VAR7:=HHV(VAR1,250)=VAR1;
STICKLINE(VAR4,VOLUME,VOLUME*0.7,1,0),COLORMAGENTA;
STICKLINE(VAR5,VOLUME,VOLUME*0.7,1,0),COLORYELLOW;
STICKLINE(VAR6,VOLUME,VOLUME*0.7,1,0),COLORGREEN;
STICKLINE(VAR7,VOLUME,VOLUME*0.7,1,0),COLORFF7100;
VAR8:=LLV(VAR1,30)=VAR1;
VAR9:=LLV(VAR1,60)=VAR1;
VAR10:=LLV(VAR1,100)=VAR1;
VAR11:=LLV(VAR1,250)=VAR1;
STICKLINE(VAR8,(-50000),0,1,0),COLORMAGENTA;
STICKLINE(VAR9,(-50000),0,1,0),COLORYELLOW;
STICKLINE(VAR10,(-50000),0,1,0),COLORGREEN;
STICKLINE(VAR11,(-50000),0,1,0),COLORFF7100;
IF(crOSS(0.9,1/VOL*1000>0.01 AND kdj.J<0),VOLUME*5,0),COLORYELLOW,LINETHICK2;





回复

举报

QQ|

GMT+8, 2024-11-17 00:34

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