bharatTrader

Mean Angles

bharatTrader Updated   
This indicator plots the trend of the angles made by the chosen means. This trend when analysed over multiple timeframes as well as different lengths can give an indication of the trend in short medium and long term.
For example, in any particular timeframe, when the 20 EMA turns a negative arctan, it signifies that on a shorter timeframe (than the current timeframe) is turning downwards in price. When 50, 100 and 200 EMA turn negative, it confirms the trend reversal. Similarly the 20 EMA will be the first one to turn "Up" or positive to indicate a possible trend reversal on the upside.

The angle of the means will oscillate between +pi/2 and -pi/2.
0 means - EMA is flat
+pi/2 means - almost vertical price rise
-pi/2 means - almost vertical price fall
Between -pi/2 and 0 means EMA is sloped downwards. Moving from -pi/2 to 0 means EMA slope is turning up. Moving from 0 to -pi/2 means EMA slope is falling down even lower and faster.
Between 0 and +pi/2 means EMA is slopped upwards. Moving from +pi/2 to 0 means EMA slope is falling down. Moving from 0 to +pi/2 means EMA slope is turning up even higher and faster.
Release Notes:
  • Removed restrictions to change EMA lengths
  • Added Leading Trend EMA - shortest EMA to singal in advance about a possible trend change
Strongly, recommend not to change the length values.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?