汇贸 发表于 2019-11-5 09:03:02

MT4 公式问题

如何在自己定公式增加一条10日均线



hunter2018 发表于 2019-11-9 09:04:03

#property indicator_buffers 1
#property indicator_type1   DRAW_LINE
#property indicator_color1 Red
#property indicator_style1STYLE_SOLID
#property indicator_label1"MA10"
extern int mPeriod=10;
double mBuffer[];

int init()
{
   SetIndexBuffer(0,mBuffer);
   return(0);
}

汇贸 发表于 2019-11-13 09:37:33

{:1_173:}{:1_173:}{:1_173:}
页: [1]
查看完整版本: MT4 公式问题