Expert macd histo

 

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

 
danu:
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

Files:
 

EA here, forgotton

Regards

David

Files:
 

Hi,

I've make a little test on EUR/USD and ... work on D1

See my results.

Michel

 
 

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);