Ema Angle Zero

 

EMAAngleZero is a filter to keep out of sideways markets when there is no trend. It uses EMA 34 with an angle threshold of .2 to .33 to detect a sideways market. As explained in the comments found in the indicator, when the angle is near zero do not trade.

The angles are measured in Radians where 1 radian is about 57 degrees. So .33 is about 19 degrees and .2 is about 11 degrees.

These values are parameters to the expert so can be changed. This includes the 3 period values for LSMA as well as the period for EMAAngleZero and the threshold.

Files:
 

Great Indicator

 
Alex.Piech.FinGeR:
Great Indicator

Thank you

 

EMA Anglezero

I understand the basics on how it works, is it possible to program it right into another EA and make it part of that EA code , instead of having it work like an indicator ??

George T

 

can someone please program an alert so that a sound plays when bars change from yellow to green or fro yellow to red??????

 

Very good idea, which slope do you use to determine whether its a good entry or not, and what TF?

 

MA Angle indicator

I donot know if this thread is still alive.

I have not seen this version in a while.

Here is a new version with alert. It can use any MA including LSMA as well as any price mode.

I also have several EAs with the code written in the EA without needing to use the indicator.

Robert

Files:
 

thanks for the update

MrPip:
I donot know if this thread is still alive.

I have not seen this version in a while.

Here is a new version with alert. It can use any MA including LSMA as well as any price mode.

I also have several EAs with the code written in the EA without needing to use the indicator.

Robert

thanks for the update

 
 
 

The other indicator is here https://www.mql5.com/en/forum/176245

Reason: