PineWave

MA Directional Table

PineWave Updated   
"MA Directional Table" primary objective is to analyze the direction of the trend based on two Moving Averages (MA) for various timeframes and customizing the inputs to match your preferred style.

Features:
Moving Average Type: You can select which type of Moving Average to use (SMA, EMA, VWMA).
Moving Average Lengths: You can set the lengths for the short-term and long-term moving averages.
Table Position: The indicator provides a table which can be placed at the top or bottom, and to the left or right of the chart. It shows the trend status for multiple timeframes (1 min, 5 min, 15 min, 1 hour, 4 hours, 1 day).
Table Orientation: The table can be oriented either horizontally or vertically.
Price Condition: Optionally, the table color can be set to yellow if the current price deviates from the Moving Average trend and crosses MA1.
Cloud Settings: You can opt to show a cloud between the two moving averages. The color of the cloud changes based on the direction of the trend (bullish or bearish).
Extra MA: Optionally, an extra Moving Average can be plotted on the chart.
Release Notes:
Added Customizable Table Inputs:
- Bullish Status Color
- Bearish Status Color
- Neutral Status Color
- Price Condition Status Color
- Table Header Color
Release Notes:
Added Text Size & Text Color Inputs
Script Clean up
Release Notes:
- Added New Extra MA Input "Include In Table" - Display Extra MA value on table instead of bullish/bearish.
- Fixed VWMA to show on extraMAType
Release Notes:
- Table Updated
Bullish/Bearish text changed to Green/Red and/or yellow circles to represent the direction of the MAs.
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?