I seek an expert avisors who uses histograme macd. the histograme going to the line 0 it going to buy and sell in the opposite direction
here you go
Regards
David
Yes,
+/- 11% per year = more that in my bank
Michel
Help!!!!!!! Need help with EA's MACD code
I'm calculating MACD and the histogram values as such and putting an arrow on the chart. Periodically I will get a false crossover signal. Can anyone tell me why?
Thanks very much in advance,
E
MacdCurrent=iMACD(NULL,0,8,17,9,PRICE_CLOSE,MODE_M AIN,0);
MacdPrevious=iMACD(NULL,0,8,17,9,PRICE_CLOSE,MODE_ MAIN,1);
SignalCurrent=iMACD(NULL,0,8,17,9,PRICE_CLOSE,MODE _SIGNAL,0);
SignalPrevious=iMACD(NULL,0,8,17,9,PRICE_CLOSE,MOD E_SIGNAL,1);
MacdHist = MacdCurrent - SignalCurrent;
if(MacdHist > 0 && MacdCurrent > SignalCurrent && MacdPrevious < SignalPrevious)
-- Draw Arrow
if(MacdHist < 0 && MacdCurrent SignalPrevious)
-- Draw Arrow
Its the data feed baby...
Say its hourly data, then the calculations occur during the hour, not just at the end of the hourly bar.
So 30 mins into hourly bar, you may get an arrow, but when full 60 min are up the arrow should not be there as there was no trigger !
Ok, how can I fix it?
Thanks in advance,
E
Macd Ea
Hi,
May be someone can put BreakEaven option and changeable MACD parameters in to this EA.
Thank's
MACD_Histogram as EA
please help to make MACD_Histogram as expert
the proplem here the expert donot make any order sell or order buy bool
IsIndicatorPeak(int shift) /// sell
{
if(MACDLineBuffer[shift] >= MACDLineBuffer[shift+1] && MACDLineBuffer[shift] > MACDLineBuffer[shift+2] &&
MACDLineBuffer[shift] > MACDLineBuffer[shift-1])
return(true);
else
return(false);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
bool IsIndicatorTrough(int shift) //// buy
{
if(MACDLineBuffer[shift] <= MACDLineBuffer[shift+1] && MACDLineBuffer[shift] < MACDLineBuffer[shift+2] &&
MACDLineBuffer[shift] < MACDLineBuffer[shift-1])
return(true);
else
return(false);
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I seek an expert avisors who uses histograme macd. the histograme going to the line 0 it going to buy and sell in the opposite direction