发布网友 发布时间:2022-05-05 11:42
共1个回答
热心网友 时间:2023-10-06 06:27
function F_XEMA()
{
close = CLOSE();
ma1 = EMA(close, 3);
DRAWLINE("EMA_1", ma1);
ma2 = EMA(close, 5);
DRAWLINE("EMA_2", ma2);
ma3 = EMA(close, 8);
DRAWLINE("EMA_3", ma3);
ma4 = EMA(close, 10);
DRAWLINE("EMA_4", ma4);
ma5 = EMA(close, 12);
DRAWLINE("EMA_5", ma5);
ma6 = EMA(close, 15);
DRAWLINE("EMA_6", ma6);
ma7 = EMA(close, 30);
DRAWLINE("EMA_6", ma7);
ma8 = EMA(close, 35);
DRAWLINE("EMA_6", ma8);
ma9 = EMA(close, 40);
DRAWLINE("EMA_6", ma9);
ma10 = EMA(close, 45);
DRAWLINE("EMA_6", ma10);
ma11 = EMA(close, 50);
DRAWLINE("EMA_6", ma11);
ma12 = EMA(close, 60);
DRAWLINE("EMA_6", ma12);
}
这个软件也没有公式编写帮助文件啊,只能拿系统再带的ema指标改一个,颜色不知道怎么写不会,将就用吧