Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:把这个易经帮忙改写成金字塔的

1楼
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

谢谢
2楼
RogarZ 发表于:2013/5/26 19:54:14
您好 我司目前无人熟悉MC的代码,这个还请用户自行翻译
共2 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.01953 s, 3 queries.