1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
36 lines of Pine Script v6 from scripts/trend-dashboard.pine.txt, published under MPL-2.0. Keep the author's credit and licence lines when you reuse it.
trend-dashboard.pine.txt
//@version=6
indicator("Trend Dashboard", overlay = true)
// 1. Settings: the trend line length and three timeframes
emaLen = input.int(50, "Trend average length")
tf1 = input.timeframe("15", "Timeframe 1")
tf2 = input.timeframe("60", "Timeframe 2")
tf3 = input.timeframe("D", "Timeframe 3")
// 2. One question: is the price above its trend line?
trendUp() => close > ta.ema(close, emaLen)
plot(ta.ema(close, emaLen), "Trend", color.orange, 2)
// 3. Ask each timeframe the same question
up1 = request.security(syminfo.tickerid, tf1, trendUp())
up2 = request.security(syminfo.tickerid, tf2, trendUp())
up3 = request.security(syminfo.tickerid, tf3, trendUp())
// 4. Create the table once, in the top right corner
var table dash = table.new(position.top_right, 2, 4, border_width = 2)
// 5. A helper that writes one cell
cell(col, row, txt, bg) =>
table.cell(dash, col, row, txt, text_color = color.white, bgcolor = bg,
text_size = size.large)
// 6. Fill in the table on the last candle only
if barstate.islast
cell(0, 0, "Timeframe", color.gray)
cell(1, 0, "Trend", color.gray)
cell(0, 1, tf1, color.gray)
cell(1, 1, up1 ? "UP" : "DOWN", up1 ? color.green : color.red)
cell(0, 2, tf2, color.gray)
cell(1, 2, up2 ? "UP" : "DOWN", up2 ? color.green : color.red)
cell(0, 3, tf3, color.gray)
cell(1, 3, up3 ? "UP" : "DOWN", up3 ? color.green : color.red)
Overview
Trend Dashboard evaluates whether price sits above the EMA for three custom timeframes and displays the results as UP or DOWN labels in a table at the top right. The table colors the status green for UP and red for DOWN. Settings control the EMA length and the three timeframes. The script draws the trend line and table directly on the chart. It provides a visual multi-timeframe trend overview but contains no entry or exit rules.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Trend average length
int
50
emaLen
Timeframe 1
timeframe
15
tf1
Timeframe 2
timeframe
60
tf2
Timeframe 3
timeframe
D
tf3
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi
This indicator plots five moving averages of a chosen source on the price chart, defaulting to EMA lengths 10, 20, 30, 40 and 50. The user can switch the average type to SMA, WMA or HMA and recolor each line. Wide translucent glows sit under the lines, and sof
Calculates exponential moving averages for fast, pivot, and slow lengths along with optional 50, 100, and 200 simple moving average context lines. It visualizes bullish and bearish ribbon fills on the main price chart alongside MACD calculations to generate ea
This indicator analyzes historical candle direction and price range over a configurable lookback window to gauge market trend. It categorizes trend direction using candle count, price range sum, or both. Signals are filtered using a Simple Moving Average to en
This indicator evaluates market momentum and risk by calculating trend metrics and volatility stats, displaying them in an on-chart table pane. It measures short-term and long-term trend strength via two MACD configurations built on three customizable EMA leng
Market Monitor - 15m is a directional bias chart overlay designed for 15-minute intraday chart analysis. It calculates a triple exponential moving average ribbon with EMA cloud shading, session VWAP with multiplier bands, prior day levels, a 30-minute opening