Download MetaTrader 5

Coding a cross

To add comments, please log in or register
flwilliams87
222
flwilliams87  
Trying to code when EMA5 crosses above EMA10 for an Expert Advisor Program and I'm stuck.  I can use ArrayMaximum and ArrayMinimum function to some affect but that just tells if the values are greater than or less not if it crossed.  Thoughts?
Marco vd Heijden
Moderator
6063
Marco vd Heijden  
modify MACD Sample
To add comments, please log in or register