编码帮助 - 页 298

 
siaful11:
大家好,我需要对下面列出的Ea进行一个简单的补充。 买入和卖出图像的例子的条目。 我已经尝试了无数的逻辑布尔'和',就是不能在第二个bband_stop断点上获得进项。先谢谢你了。

siaful11

你使用的 "BBands_Stop_v1_with_alert "的确切版本是什么?

 

谢谢你的答复,Mladen。附上Indi。

附加的文件:
 

嗨,mladen。

请帮助。

我试图在M-Candles中添加3个MA。但在图表上只出现一个MA。请检查一下(附上M-Candles+3MA.mq4)。

谢谢你,谢谢你。

anton

mladen:
anton 给你:M-Candles__ma.mq4
附加的文件:
 
anton1:
你好,mladen。

请帮助。

我试图在M-Candles中添加3个MA。但在图表上只出现一个MA。请检查一下(附上M-Candles+3MA.mq4)。

谢谢你,并请注意。

anton

anton

现在试试:M-Candles__3ma_1.mq4

附加的文件:
 

嗨,mladen。

它运行良好。

我很高兴。

非常感谢你。

最好的问候。

anton

mladen:
anton 现在就试试:m-candles__3ma_1.mq4
 
mladen:
siaful11 你使用的 "BBands_Stop_v1_with_alert "的具体版本是什么?

你好,mladen。

你有机会检查一下 代码吗?如果有任何帮助,我们将不胜感激。

 
siaful11:
嗨,mladen,你有机会检查代码吗? 如果有任何帮助,我将非常感激。

siaful11

我需要知道你使用的 "BBands_Stop_v1_with_alert "的确切版本。否则我不知道它是否被正确调用,以及问题是否从调用该指标的第一步就开始了。

 

亲爱的编码员大师...

我想让我的一个指标每5分钟更新一次......谁能检查一下 下面的代码并纠正一下,如果可以的话,我觉得它不工作....。

datetime lastCalculation_Time=0;

bool New_Time = false;

int start()

if(((TimeCurrent()- lastCalculation_Time)>PERIOD_M5*60)) return(true);

else return(false);

void CalculationTime() // Funct. detecting ..

{ // .. a new bar

lastCalculation_Time=0; // Time for calculation

New_Time=false; // No new bar

if(lastCalculation_Time!=Time[0]) // Compare time

{

lastCalculation_Time=Time[0]; // Now time is so

New_Time=true; // A new bar detected

}

}

谢谢您的时间和帮助.....

你真正的

AZRUL...

 
12BPRO:
亲爱的编码员大师...

我想让我的一个指标每5分钟更新一次......谁能检查一下下面的代码并加以纠正,如果能的话,我觉得它不工作....。

datetime lastCalculation_Time=0;

bool New_Time = false;

int start()

if(((TimeCurrent()- lastCalculation_Time)>PERIOD_M5*60)) return(true);

else return(false);

void CalculationTime() // Funct. detecting ..

{ // .. a new bar

lastCalculation_Time=0; // Time for calculation

New_Time=false; // No new bar

if(lastCalculation_Time!=Time[0]) // Compare time

{

lastCalculation_Time=Time[0]; // Now time is so

New_Time=true; // A new bar detected

}

}

谢谢你的时间和助手.....

您真正的

AZRUL...

AZRUL

把这个:

static datetime lastUpdated = 0; if ((TimeCurrent()-lastUpdated) < PERIOD_M5*60) return(0); lastUpdated=TimeCurrent() 。

作为启动过程的第一行,启动过程的其他代码将被执行,两次连续执行之间至少有5分钟的延迟。

 
mladen:
siaful11 我需要知道你使用的是哪个版本的 "BBands_Stop_v1_with_alert"。否则我不知道它是否被正确调用,也不知道问题是否在调用该指标的第一步就已开始。

你好,姆拉登。

我已经附上了Ea编码的指标。这将会起作用。

附加的文件: