1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
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
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
KLSE Market Regime Dashboard retrieves daily data from global macro benchmarks (FBMKLCI, Dow Jones, S&P 500, VIX) and key Malaysian sector leadership proxies using security requests. The script classifies price trends via moving average alignment and measures volatility levels to assist intraday and swing equity analysis. Users can customize sector symbols, macro benchmarks, text size, and table positioning.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
KLSE Benchmark
symbol
FTSEMYX:FBMKLCI
sym_klci
US Benchmark (Dow)
symbol
DJ:DJI
sym_dow
US Risk (SPX)
symbol
SP:SPX
sym_spx
Volatility
symbol
CBOE:VIX
sym_vix
Banking (Maybank)
symbol
MYX:1155
sym_bank
Technology (Inari)
symbol
MYX:0166
sym_tech
Property (SimeProp)
symbol
MYX:5288
sym_prop
Consumer (Nestle)
symbol
MYX:4707
sym_cons
Plantation (KLK)
symbol
MYX:2445
sym_plnt
Industrial (Sime Darby)
symbol
MYX:4197
sym_indus
Energy (PChem)
symbol
MYX:5183
sym_egy
Healthcare (IHH)
symbol
MYX:5225
sym_hlth
Show all 15 settings
Setting
Type
Default
Variable
Position
string
top_right
tblPos
Text Size
string
normal
txtSize
Show Sector RS
bool
true
showSectors
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.
This indicator classifies each bar as bull, bear, or sideways from a rolling log return compared with adjustable percentage thresholds. It paints a regime ribbon on the price chart, shows a current-regime banner, and labels state changes after a minimum hold.
This indicator overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona
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 classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It
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
Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi