Expert macd histo

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

Bob Davids
1982
Bob Davids  
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:
Bob Davids
1982
Bob Davids  

EA here, forgotton

Regards

David

Files:
dmbsys
145
dmbsys  

Hi,

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

See my results.

Michel

BrunoFX
1177
BrunoFX  
dmbsys
145
dmbsys  

Yes,

+/- 11% per year = more that in my bank

Michel

[Deleted]  

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

[Deleted]  

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 !

[Deleted]  

Ok, how can I fix it?

Thanks in advance,

E

lovesub69
23
lovesub69  

Macd Ea

Hi,

May be someone can put BreakEaven option and changeable MACD parameters in to this EA.

Thank's

daylight
7
daylight  

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