这是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
谢谢
您好 我司目前无人熟悉MC的代码,这个还请用户自行翻译