以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://www.weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://www.weistock.com/bbs/list.asp?boardid=4) ---- 股票后台程序化问题 (http://www.weistock.com/bbs/dispbbs.asp?boardid=4&id=146982) |
-- 作者:zhouyang -- 发布时间:2017/1/17 10:11:38 -- 股票后台程序化问题 老师: 用于股票后台程序化序列模式,我想写一个当前价格跌破日内分时图的均线,怎么写,求指教。
|
-- 作者:jinzhe -- 发布时间:2017/1/17 10:16:12 -- n1:=todaybar; dm:=4-INTPART(LOG(C)); 均线:ROUNDS(IF(sum(vol,n1)=0,C,sum(C*vol,n1)/sum(vol,n1)),2+dm),colorred; 价格跌破均线:cross(均线,close); |