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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 咏麟精密虚拟量--大智慧版本(源码 副图 贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-21 17:19:26
咏麟精密虚拟量--大智慧版本(源码 副图 贴图)介绍

咏麟精密虚拟量--大智慧版本(源码 副图 贴图)

{咏麟精密虚拟量}
VOL,VOLSTICK;
MS:=IF(CURRENTDATE=DATE and BETWEEN(CURRENTTIME,92959,150001),
IF(CURRENTTIME<=113000,(TIMETOT0(CURRENTTIME)-34200),
IF(BETWEEN(CURRENTTIME,113000,130000),7200,
IF(CURRENTTIME>=130000,(TIMETOT0(CURRENTTIME)-39600),0))),0);

A1:=IF(DATATYPE=8,100,
IF(DATATYPE=7,if(MOD(MS,3600)=0,3600,MOD(MS,3600)),
IF(DATATYPE=6,if(MOD(MS,1800)=0,1800,MOD(MS,1800)),
IF(DATATYPE=5,if(MOD(MS,900)=0,900,MOD(MS,900)),
IF(DATATYPE=4,if(MOD(MS,300)=0,300,MOD(MS,300)),0)))));

T8:=IF(CURRENTTIME<93000,40,
IF(CURRENTTIME<93500,40/CEILING(MS/360),
IF(CURRENTTIME<94500,80/CEILING(MS/180),
IF(CURRENTTIME<103000,120/CEILING(MS/120),
IF(CURRENTTIME<110000,240/CEILING(MS/60),14400/MS)))));

T7:=IF(CURRENTTIME<93000,12,
IF(CURRENTTIME<93400,12/CEILING(A1/300),
IF(A1<720,20/CEILING(A1/180),
IF(A1<1800,60/CEILING(A1/60),3600/A1))));

T6:=IF(CURRENTTIME<93000,6,
IF(CURRENTTIME<93300,6/CEILING(A1/300),
IF(A1<300,10/CEILING(A1/180),
IF(A1<900,30/CEILING(A1/60),1800/A1))));

T5:=IF(CURRENTTIME<93000,6,
IF(CURRENTTIME<93300,6/CEILING(A1/150),
IF(A1<105,6.923/CEILING(A1/130),
IF(A1<180,9/CEILING(A1/100),
IF(A1<600,15/CEILING(A1/60),900/A1)))));

T4:=IF(CURRENTTIME<93000,2.5,
IF(CURRENTTIME<93150,2.5/CEILING(A1/120),
IF(A1<82,3/CEILING(A1/100),
IF(A1<120,3.75/CEILING(A1/80),
IF(A1<200,5/CEILING(A1/60),300/A1)))));

TT:=IF(DATATYPE=8,T8,
IF(DATATYPE=7,T7,
IF(DATATYPE=6,T6,
IF(DATATYPE=5,T5,
IF(DATATYPE=4,T4,0)))));

VVOL:IF(RANGE(DATATYPE,3,9) AND CURRENTDATE=DATE AND CURRENTTIME>92000 AND CURRENTTIME<150000 AND A1>10 AND BARSTATUS=2,VOL*TT,VOL),LINETHICK0;
STICKLINE(BARSTATUS=2,VVOL,VOL,7.2,1),COLOR00FFFF,DOTLINE;

MA5:MA(VVOL,5),COLORWHITE;
MA35:MA(VVOL,35),COLORMAGENTA;
MA135:MA(VVOL,135),COLORGREEN;
 


 




 



gd15178

回复

举报

QQ|

GMT+8, 2024-11-18 02:21

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