Download MetaTrader 5

Indicators: MA-Crossover_Alert

To add comments, please log in or register
Download MQL5 library codes via MetaTrader. It is convenient!
MetaQuotes Software Corp.
Moderator
181164
MetaQuotes Software Corp. 2008.01.09 12:35 

MA-Crossover_Alert:

Shows arrows crossing of two МА.

Author: John Smith

macleod77
49
macleod77 2009.03.25 22:23  

Jason,

is it possible to further refine this indicator by adding the conditions:

draw an up arrow if MA crosses AND price closes above both MA's within 3 bars before or after the MA cross

draw a down arrow if MA crosses AND price closes below both MA's within 3 bars before or after the MA cross

my thinking is that this might help to filter out uneccessary "noise" signals, allowing one to capture a true reversal.

Thanks,

-E-

To add comments, please log in or register