下载MetaTrader 5
要添加评论,请登录注册
他们已经使用市场获利。您可以加入他们!
wuzuwang
57
wuzuwang 2008.11.21 16:53 

Dear Rosh,How to mate it run faster?

The following code can not run at my computer at all! It took me weeks to find how to make it run at my computer,but nothing I can do.And could you help me moditying the following code ? Please!.....

(Attachment is my code,file calling me.mq4)

Thinks a lot .

附加的文件:
me.mq4 24 kb
okwh
1629
okwh 2008.11.22 03:28  

;) 计算量太大了!

先 i=20;
while(i>=0)
只计算一个 Buffer1[i]

通过了, 再一个一个增加计算 Buffer

Rashid Umarov
管理员
6600
Rashid Umarov 2008.11.22 08:06  

Khmm.... There are many letters in your source :)

When I have a little free time I'll try to study out .

wuzuwang
57
wuzuwang 2008.11.23 09:27  
Rosh 写道 >>

Khmm.... There are many letters in your source :)

When I have a little free time I'll try to study out .

At the outset,Thank you for the nice help and great kindness.

And I am waitting for your good news!

wuzuwang
57
wuzuwang 2008.11.23 09:40  
DxdCn 写道 >>

;) 计算量太大了!

先 i=20;
while(i>=0)
只计算一个 Buffer1[i]

通过了, 再一个一个增加计算 Buffer

TO DxdCn:

首先非常感谢您的回复:),整个指标文件编译没有问题,在比较新买的计算机上也可以勉强运行,

但是在已经使用了两年的计算机上就跑不动了。因为我的编程水平非常有限(偶以前只学过C语言基础...),

所以只有向各位大师求助了。

谢谢!

祝您:万事如意!

okwh
1629
okwh 2008.11.24 12:10  

是没有问题.

我改为

i=200;
while(i>=0)
.................

等一会,可以出来(注意其它货币要有数据)

再多,我也显示不好了.

只是为什么这样反复算呢?

都是类似的数据计算, 或者只算Buffer1, 然后对 Buffer1做iMAArray也可以,何必这样大计算机量的算.

/
要添加评论,请登录注册