guchuan 发表于 2014-2-25 17:23:13

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);
}


黄昏 发表于 2014-11-25 07:53:33

看看,看看。谢谢。你要发,我也要发。

orchid 发表于 2014-11-27 01:38:49

赚钱,赚积分。顶....

沉瀹慧子 发表于 2014-11-27 02:09:24

EA真的能赚钱么?

风清云淡 发表于 2014-12-6 17:18:23

回复看看

ikon平台 发表于 2014-12-13 22:20:50

xiexiefenxiang

amm308 发表于 2014-12-13 22:26:58

dddddddddddddd

gtymczrj 发表于 2019-12-29 21:27:54

帮你顶下哈!!

徐涛 发表于 2020-1-28 12:40:48

难得一见的好帖

小小的我 发表于 2020-6-4 10:57:34

LZ说的很不错
页: [1] 2
查看完整版本: EA编程初学者遇到的一个问题