以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 把这个易经帮忙改写成金字塔的 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=52445) |
-- 作者:zzsg -- 发布时间:2013/5/26 18:45:23 -- 把这个易经帮忙改写成金字塔的 这是MC写的关于易经的 //Params //Vars // Numeric i; if ((BarCount - CurrentBar) >= 3 and (BarCount - CurrentBar)%3 == 0) Begin
if (Red_Green(0) and Red_Green(-1) and Red_Green(-2)) PlotString ("Bar_Status","乾",Low,yellow);
if (Red_Green(0) == False and Red_Green(-1) == False and Red_Green(-2) == False) PlotString ("Bar_Status","坤",Low,yellow);
if (Red_Green(0) and Red_Green(-1) == False and Red_Green(-2)) PlotString ("Bar_Status","离",Low,yellow);
if (Red_Green(0) == False and Red_Green(-1) and Red_Green(-2) == False) PlotString ("Bar_Status","坎",Low,yellow);
if (Red_Green(0) and Red_Green(-1) == False and Red_Green(-2) == False) PlotString ("Bar_Status","艮",Low,yellow);
if (Red_Green(0) == False and Red_Green(-1) == False and Red_Green(-2)) PlotString ("Bar_Status","震",Low,yellow);
if (Red_Green(0) and Red_Green(-1) and Red_Green(-2) == False) PlotString ("Bar_Status","巽",Low,yellow);
if (Red_Green(0) == False and Red_Green(-1) and Red_Green(-2)) PlotString ("Bar_Status","兑",Low,yellow); End 谢谢
|
-- 作者:RogarZ -- 发布时间:2013/5/26 19:54:14 -- 您好 我司目前无人熟悉MC的代码,这个还请用户自行翻译 |