非滞后工具 - 页 39

 

你有蓝色和红色蜡烛图的指标吗?

你有蓝色和红色蜡烛图的指标吗?

 
bigsteely101:
嘿,伙计们,我之前的问题几乎没有得到回应,我想我应该添加一些多头和空头触发器的截图,这些触发器将在我所描述的策略下激活欧元/美元。 这是一个流行的外汇交易网站,还是有其他的网站,也许我应该进行查询? 考虑到MTF非滞后移动平均线指标是由Igorad开发的,我认为这将是最好的网站。 不幸的是,我是这个网站的新成员,无法直接联系Igorad。 因此,我附上了一张截图,显示了在满足我前面提到的条件时,多头和空头触发的位置。 竖线(红色=短线,绿色=长线)表示当三条(细线)或四条(粗线)MTF非滞后MA线开始向同一方向移动。

这个指标是什么,请问

谢谢你

 
mrtools:
这个非滞后的牛熊多时间段的警报,无法决定它是否有用,也许你们都能决定。

你好,mrtools。

我发现这个指标非常有用,而且我自己也在编写EA,所以我的问题是。你有可能为我提取牛市和熊市的信号吗?我想在我的EA中实现它,并试一试。

如果你想测试我的EA,我会通过邮件给你发送一个链接。

请注意。

班扎克

 
banzak:
你好,mrtools。

我发现这个指标非常有用,而且我自己也在编写EA,所以我的问题是。你有可能为我提取牛市和熊市的信号吗?我想在我的EA中实现它,并试一试。

如果你想测试我的EA,我会通过邮件给你发送一个链接。

请注意。

班扎克

你好,Banzak。

希望我的理解是正确的,我删除了 MTF和警报。

附加的文件:
 
mrtools:
你好,Banzak,希望我的理解是正确的,我删除了MTF和警报。

你好,mrtools。

我想在我的EA中直接建立这个指标,所以我的问题是如果我把

nlm = iNonLagMa(iMA(NULL,0,1,0,MODE_SMA,BullBearPrice,i),BullBearPeriod,i,0);

bears = nlm - Low;

bulls = High - nlm;

trend = trend;

if (bulls > bears) trend = 1;

if (bulls < bears) trend =-1;[/CODE]

and adapt it only for the actual value - this only 50%, cause in the

double iNonLagMa(double price, double length, int r, int instanceNo=0)

-function there is a lot of stuff I didn't really unterstand at the moment..

The code above it's a normal calculation for bears & bulls. It's look in my ea like this:

[CODE]//+------------------------------------------------------------------+

// Function Bears_Get() - Indicator |

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

//| Input parameters: |

//| symbol - Symbol. |

//| timeframe - Timeframe. |

//| BearsPeriod - Period for calculation |

//| Shift - Index of the value taken from the indicator buffer. |

//+------------------------------------------------------------------+

double Bears_Get(string symbol,int timeframe,int BearsPeriod,int Shift)

{

//+-- Definition of Variables

double Temp, Bears;

//+-- End of Definition

//+-- Function-Body

if (symbol=="" || symbol=="0") symbol=Symbol();

Temp = iMA(symbol,timeframe,BearsPeriod,0,MODE_EMA,PRICE_CLOSE,Shift);

Bears = iLow(symbol,timeframe,Shift)-Temp;

//+-- End of Body

//+-- Function-Result

return(Bears);

//+-- End of Result

}

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

// Function Bulls_Get() - Indicator |

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

//| Input parameters: |

//| symbol - Symbol. |

//| timeframe - Timeframe. |

//| BullsPeriod - Period for calculation |

//| Shift - Index of the value taken from the indicator buffer. |

//+------------------------------------------------------------------+

double Bulls_Get(string symbol,int timeframe,int BullsPeriod,int Shift)

{

//+-- Definition of Variables

double Temp, Bulls;

//+-- End of Definition

//+-- Function-Body

if (symbol=="" || symbol=="0") symbol=Symbol();

Temp = iMA(symbol,timeframe,BullsPeriod,0,MODE_EMA,PRICE_CLOSE,Shift);

Bulls = iHigh(symbol,timeframe,Shift)-Temp;

//+-- End of Body

//+-- Function-Result

return(Bulls);

//+-- End of Result

}

//+------------------------------------------------------------------+

我需要的是带有Nonlag的扩展...

谢谢。

班扎克

 
banzak:
你好,mrtools。

我想在我的EA中直接建立这个指标,所以我的问题是如果我把

nlm = iNonLagMa(iMA(NULL,0,1,0,MODE_SMA,BullBearPrice,i),BullBearPeriod,i,0);

bears = nlm - Low;

bulls = High - nlm;

trend = trend;

if (bulls > bears) trend = 1;

if (bulls < bears) trend =-1;[/CODE]

and adapt it only for the actual value - this only 50%, cause in the

double iNonLagMa(double price, double length, int r, int instanceNo=0)

-function there is a lot of stuff I didn't really unterstand at the moment..

The code above it's a normal calculation for bears & bulls. It's look in my ea like this:

[CODE]//+------------------------------------------------------------------+

// Function Bears_Get() - Indicator |

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

//| Input parameters: |

//| symbol - Symbol. |

//| timeframe - Timeframe. |

//| BearsPeriod - Period for calculation |

//| Shift - Index of the value taken from the indicator buffer. |

//+------------------------------------------------------------------+

double Bears_Get(string symbol,int timeframe,int BearsPeriod,int Shift)

{

//+-- Definition of Variables

double Temp, Bears;

//+-- End of Definition

//+-- Function-Body

if (symbol=="" || symbol=="0") symbol=Symbol();

Temp = iMA(symbol,timeframe,BearsPeriod,0,MODE_EMA,PRICE_CLOSE,Shift);

Bears = iLow(symbol,timeframe,Shift)-Temp;

//+-- End of Body

//+-- Function-Result

return(Bears);

//+-- End of Result

}

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

// Function Bulls_Get() - Indicator |

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

//| Input parameters: |

//| symbol - Symbol. |

//| timeframe - Timeframe. |

//| BullsPeriod - Period for calculation |

//| Shift - Index of the value taken from the indicator buffer. |

//+------------------------------------------------------------------+

double Bulls_Get(string symbol,int timeframe,int BullsPeriod,int Shift)

{

//+-- Definition of Variables

double Temp, Bulls;

//+-- End of Definition

//+-- Function-Body

if (symbol=="" || symbol=="0") symbol=Symbol();

Temp = iMA(symbol,timeframe,BullsPeriod,0,MODE_EMA,PRICE_CLOSE,Shift);

Bulls = iHigh(symbol,timeframe,Shift)-Temp;

//+-- End of Body

//+-- Function-Result

return(Bulls);

//+-- End of Result

}

//+------------------------------------------------------------------+

我需要的是带有Nonlag的扩展...

谢谢。

班扎克

Banzak,我想我知道,但不确定是否有足够的建议,以及它如何在EA中工作,对我来说,所有的方式都更简单,只需调用该指标,只是使用趋势缓冲区><0。

 
mrtools:
Banzak,我想我知道,但不确定是否有足够的建议,以及它如何在Ea中工作,对我来说,所有的方式更容易,只是调用指标,只是使用趋势缓冲区><零。

先生,您好。

请帮助我,当蓝线和黄线相互交叉时,我想要这个指标中的箭头。

附加的文件:
 

谁能在不滞后的情况下添加方法/模式?

有一个快速的尝试,但一定是错过了一些地方,因为没有变化。

非常感谢

nonlag_ma_histo_mtfalerts.mq4

附加的文件:
 

增加了模式(我想)。

顺序中的模式,没有什么区别,但总是值得一试。

nonlag_ma_histo_mtfalerts.1.mq4

附加的文件:
 

谢谢工具先生。

我只是想为我的系统找到最后的indi。

然后我将尝试学习编码