EA编程初学者遇到的一个问题
本帖最后由 guchuan 于 2014-2-25 17:37 编辑本人想在副图中画一条横直线,程序编译都已经通过了,但是在窗口中没有显示出来,是什么原因呢?请教名师指点!谢谢!!
附上程序:(MT4平台)
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 LightSeaGreen
double ABC[];
int Init()
{
SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(0,ABC);
SetIndexDrawBegin(0,2);
return(0);
}
int start()
{
int limit=Bars-IndicatorCounted();
for(int i=0; i<limit; i++)
ABC=1.78;
return(0);
}
看看,看看。谢谢。你要发,我也要发。 赚钱,赚积分。顶.... EA真的能赚钱么? 回复看看 xiexiefenxiang dddddddddddddd 帮你顶下哈!! 难得一见的好帖 LZ说的很不错
页:
[1]
2