以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- [求助]金魔方的公式怎么改成金字塔的,请帮帮,谢谢 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=50339) |
-- 作者:evergo -- 发布时间:2013/3/27 18:47:43 -- [求助]金魔方的公式怎么改成金字塔的,请帮帮,谢谢 #Run_By_Bar INPUT: NUM(10), avglen(5), thold(10); Value1 = H - lowest ( H , 60 ) ; Value2 = L - highest ( L , 60 ) ; Value9 =average( Maxlist(0,value1),avglen); Value10 =average( Minlist(0,value2),avglen); Value11 = (value9 + value10) * Sqrt(num) ; plot1(value11,\'ax\'); value12 = average(value11[1],2); if value11 < 0 then begin plot2(-thold,\'di-\'); If Value11 < Value12 then Plot4(0,\'TrendStart\'); end; if value11 > 0 then begin plot3( thold,\'di+\'); If Value11 > Value12 then Plot4(0,\'TrendStart\') ; end;
|
-- 作者:jinzhe -- 发布时间:2013/3/28 9:08:50 -- 一片函数未定义,请解释每一句话 |