以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  请教老师,仓差副图指标线如何分色显示  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=138431)

--  作者:belle
--  发布时间:2016/8/23 9:25:55
--  请教老师,仓差副图指标线如何分色显示
我想让仓差副图指标线分色,比如9点到下午3点是绿色的,夜盘变成红色。

这个公式怎么写?

--  作者:jinzhe
--  发布时间:2016/8/23 9:28:33
--  

if time>130000 and  time<=190000 then cc1:仓差,colorgreen;

if time>010000 and time<=063000 then cc2:仓差,colorred;