非滞后工具 - 页 16

 

1月2日

嗨,所有人都是好日子。

做多电缆1.9686,+10,最后在+20=30点出场。

做多欧元1.3524,+10,最后以+20=30点离场。

伦敦时段的总和。

新年快乐,伙计们。

 

我今天早上的数据有很大的差距,所以无法交易。

 

我唯一的缺口是在昨晚[1月1日],当时市场还没有打开。 我的经纪人直到美国东部时间5点才开盘,但价格已经开始向下跳空,然后在经纪人开盘前又向上跳空。

 

错。

有些元数据转换器有缺口,有些则没有,试试其他的,这样你就可以每天交易了,在美国时段不会交易,因为是哀悼日。

 

非LagMA_v5

嗨,Newdigital,我知道你以前帮助过我。 我正试图在一个EA中使用NonLagMA_v5,但我在获得信号方面遇到了困难。 我已经重新阅读了我们之前的帖子,但我仍然有问题。

这是我的代码,你能看出问题出在哪里吗?

如果(UseNonLagMA)

{

double NonLagUp = iCustom(NULL,0, "NonLagMA_v5",0,NonLagLength,0,0,1,0,1,1)。

double NonLagDown=iCustom(NULL,0, "NonLagMA_v5",0,NonLagLength,0,0,1,0,2,1)。

}

如果(NonLagUp>0){GridDirectionUp=true;Print("GridDirectionUp");}。

如果(NonLagDown>0){GridDirectionDown=true;Print("GridDirectionDown"); }

我得到的是网格方向向上和向下都是真。 我引入打印函数 来做一些故障查找,日志显示这两个都是真的,因此EA的行为不正常。

我研究了这个主题中唯一的Nonlag ea,但我无法理解它的编码。

我还在EA的早期引入了bool GridDirectionUp=false和NonLagUp=0,试图避免任何问题。

我知道你很忙,但我真的被卡住了,希望你能帮忙。

编码只是我打的,EA中没有错别字。

 

今天我们有一个十字星,空头信号,太早了,没有拿下它,后来在1.9721拿下了空头,获得了+10和+1。

 
waltini:
你好,Newdigital,我知道你以前帮助过我。 我正试图在EA中使用NonLagMA_v5,但我在获得信号方面遇到了困难。 我已经重新阅读了我们之前的帖子,但我仍然有问题。

这是我的代码,你能看出问题出在哪里吗?

如果(UseNonLagMA)

{

double NonLagUp = iCustom(NULL,0, "NonLagMA_v5",0,NonLagLength,0,0,1,0,1,1);

double NonLagDown=iCustom(NULL,0, "NonLagMA_v5",0,NonLagLength,0,0,1,0,2,1)。

}

如果(NonLagUp>0){GridDirectionUp=true;Print("GridDirectionUp");}。

如果(NonLagDown>0){GridDirectionDown=true;Print("GridDirectionDown"); }

我得到的是网格方向向上和向下都是真。 我引入打印函数来做一些故障查找,日志显示这两个都是真的,因此EA的行为不正常。

我研究了这个主题中唯一的Nonlag ea,但我无法理解它的编码。

我还在EA的早期引入了bool GridDirectionUp=false和NonLagUp=0,试图避免任何问题。

我知道你很忙,但我真的被卡住了,希望你能帮忙。

编码只是我在打字,Ea中没有错别字。

你好。

尝试使用这段代码。

如果(UseNonLagMA)

{

double NonLagTrend = iCustom(NULL,0, "NonLagMA_v5",0,NonLagLength,0,0,1,0,3,1)。

GridDirectionUp=false, GridDirectionDown=false。

如果(NonLagTrend>0){GridDirectionUp=true;Print("GridDirectionUp"); }

如果(NonLagTrend<0){GridDirectionDown=true;Print("GridDirectionDown");}

}

问候。

伊戈尔

 
waltini:
嗨,Newdigital,我知道你以前曾帮助过我。 我正试图在EA中使用NonLagMA_v5,但我在获得信号方面遇到了困难。 我已经重新阅读了我们之前的帖子,但我仍然有问题。

这是我的代码,你能看出问题出在哪里吗?

如果(UseNonLagMA)

{

double NonLagUp = iCustom(NULL,0, "NonLagMA_v5",0,NonLagLength,0,0,1,0,1,1);

double NonLagDown=iCustom(NULL,0, "NonLagMA_v5",0,NonLagLength,0,0,1,0,2,1)。

}

如果(NonLagUp>0){GridDirectionUp=true;Print("GridDirectionUp");}。

如果(NonLagDown>0){GridDirectionDown=true;Print("GridDirectionDown"); }

我得到的结果是网格方向向上和向下都是真。 我引入打印函数来做一些故障查找,日志显示这两个都是真的,因此EA的行为不正常。

我研究了这个主题中唯一的Nonlag ea,但我无法理解它的编码。

我还在EA的早期引入了bool GridDirectionUp=false和NonLagUp=0,试图避免任何问题。

我知道你很忙,但我真的被卡住了,希望你能帮忙。

编码只是我打的,Ea中没有错别字。

我没有使用NonLagMA_v5。

我在公共趋势线精英趋势线中 使用了NonLagMA_v4.1。

Igorad在EA中使用这个NonLagMA指标,而不是作为自定义指标。他在EA中插入了指标的代码,EA不能很容易地进行回测(因为里面没有任何自定义指标。他是以非常复杂的方式进行的。

double NonLagMA( .....)

{

double Cycle=4;

double pi = 3.1415926535, Weight=0, ...

double Coeff = 3*pi;

....[/CODE]

So if you have access to elite section (asctrend thread) you may see.

But I am not very professional with programming and am using custom function.

For example.

In the beginning of EA (settings):

extern string PARAMETERS_INDICATOR_TWO = "NonLagMA_v4";

extern int Price = 0;

extern int Length = 100;

extern int Displace = 0;

extern int Filter = 1;

extern int Color = 1;

extern int ColorBarBack = 0;

extern double Deviation = 0;[/CODE]

And then:

double diNonLagUp=iCustom(NULL,0,"NonLagMA_v4.1",Price,Length,Displace,Filter,Color,ColorBarBack,Deviation,1,1);

double diNonLagDown=iCustom(NULL,0,"NonLagMA_v4.1",Price,Length,Displace,Filter,Color,ColorBarBack,Deviation,2,1);

double diNonLagUp1=iCustom(NULL,0,"NonLagMA_v4.1",Price,Length,Displace,Filter,Color,ColorBarBack,Deviation,1,2);

double diNonLagDown1=iCustom(NULL,0,"NonLagMA_v4.1",Price,Length,Displace,Filter,Color,ColorBarBack,Deviation,2,2);

So,

- diNonLagUp is blue colored line of the indicator (buy color - because of 1) on the 1-st bar.

- diNonLagUp1 is buy (blue) colored line of the indicator on the 2 bar.

- diNonLagDown is sell (Tomato) colored line of the indicator (because of 2) on the 1 bar.

- diNonLagDown1 is sell colored line of the indicator on the 2 bar.

And buy will be as the following:

[CODE]diNonLagUp > 0 && diNonLagDown1 > 0

Sell:

[CODE]diNonLagDown > 0 && diNonLagUp1 > 0
附加的文件:
 
igorad:
你好。

尝试使用这段代码。

如果(UseNonLagMA)

{

double NonLagTrend = iCustom(NULL,0, "NonLagMA_v5",0,NonLagLength,0,0,1,0,3,1)。

GridDirectionUp=false, GridDirectionDown=false。

如果(NonLagTrend>0){GridDirectionUp=true;Print("GridDirectionUp"); }

如果(NonLagTrend<0){GridDirectionDown=true;Print("GridDirectionDown");}

}

谢谢。

伊戈尔

我们在同一时间做了这件事。

所以waltini请使用Igorad的建议。

我想提醒一下NonLagMa的声音警报在这个主题

 

非常感谢

非常感谢Igorad和Newdigital。

正是因为有了你们两位的大力帮助,这个论坛才会如此受到高度重视和欢迎。

欢呼声

沃尔蒂尼