I need a indicator suggestion

 
My EA is running at M5.

It is a MA cross and take good movements of the market but lose money at side market trading at false signals.

I need to add a indicator to filter the trades that should be open.

What is the best choice?

Thanks.
 

Ed

IMHO you need two - as you are after trends with your MAs - they're too laggy to make much out of ranging conditions.

Use ADX(24?) > 30? (test for exact values) to check pair is trending rather than ranging.

Use StDev(10?) > 0.003? (test for exact values) to check pair is showing enough volatility (action) to follow through on the cross of the MA's.

Good luck

-BB-

 
edfiuza wrote >>
My EA is running at M5.

It is a MA cross and take good movements of the market but lose money at side market trading at false signals.

I need to add a indicator to filter the trades that should be open.

What is the best choice?

Thanks.

MA works better if you use two timelines, for example 6-day and 14-day. MACD is also good at detecting possible trend changes.

Reason: