Indicator · Pine Script v5 · Own pane

Simple Market Metrics v5

by turnupdigital

An indicator in a separate pane that shows buy and sell signals with optional chop, moving average and time-of-day filters.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code891
Settings40inputs
LicenceNone stated
Last update1 year ago12 Aug 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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

Simple Market Metrics v5 adds profit target lines at a tick distance, a profit wave band, background trend colouring and candle colouring. Built-in text describes trading rules, preferring Heikin Ashi candles and short timeframes on index futures. The code header restricts redistribution, and the author states small position sizing and practice on a simulator are advisable.

Details

Published by

turnupdigital on GitHub

Type

Indicator, Pine Script v5

Draws

Separate pane below the chart

Category

Trend, Scalping

Markets

Indices

Timeframes

M1-M5

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Please Read The Trading Rules ----->boolfalserulesCheck
Frequently Asked Questions ------->boolfalsefaqCheck
Final Notes & Contact Info --------->boolfalsenotesCheck
Enable Buy & Sell SignalsbooltrueenableBuySellSignals
Enable Buy & Sell PricebooltrueenableBuySellPrice
Buy Signal Colorcolorcolor.new(#4caf50, 0)buySignalColor
Sell Signal Colorcolorcolor.new(#b22833, 0)sellSignalColor
Enable Chop FilterbooltrueenableChopFilter
Enable MA FilterbooltrueenableMaFilter
MA Filter TypestringEMAmaFilterType
MA Filter Periodint200maFilterLength
MA Filter Colorcolorcolor.new(color.white, 0)maFilterColor
Show all 40 settings
SettingTypeDefaultVariable
Enable Time FilterboolfalseenableTimeFilter
Your TimezonestringGMT-5usersTimezone
Start - End Timesession0930-1600startEndTime
Enable Profit Target LinesbooltrueenableProfitLines
Profit Target (Ticks/Pips/Cents)int20profitTarget
Max Profit Target Linesint10profitTargetMaxLines
Profit Target Lines Colorcolorcolor.new(color.yellow, 0)profitTargetColor
Enable Profit WavebooltrueenableProfitWave
Profit Wave Bullish Top Colorcolorcolor.new(#00ff8480, 50)profitWaveUpperBullishColor
Profit Wave Bullish Bottom Colorcolorcolor.new(color.green, 50)profitWaveLowerBullishColor
Profit Wave Bearish Top Colorcolorcolor.new(#8c0000, 50)profitWaveLowerBearishColor
Profit Wave Bearish Bottom Colorcolorcolor.new(#ff0000, 50)profitWaveUpperBearishColor
Enable Background Trend ColorbooltrueenableBgColor
Bullish Background Colorcolorcolor.new(#66ff00, 70)bgTrendBullishCol
Bearish Background Colorcolorcolor.new(#ff0000, 70)bgTrendBearishCol
Bullish Candle Colorcolorcolor.new(#089981, 0)bullishCandleColor
Bearish Candle Colorcolorcolor.new(#f23645, 0)bearishCandleColor
Enable Candle Color MatchingbooltrueenableTrendCandleColoring
Match Candle Colors TostringProfit WavecandleColoringType
Enable Support & Resistance Linesbooltrueensr
Resistance Lines Colorcolor#ff0000resistanceColor
Support Lines Colorcolor#66ff00supportColor
Support & Resistance Lines StylestringDottedsrStyle
Support & Resistance Lines Widthint2srLineWidth
Extend Lines UntilstringCloseextendLinesType
Enable Real Price Lineboolfalseshowrealprice
Extend Real Price LineboolfalseextendLine
Real Price Line Colorcolorcolor.new(color.white, 0)showrealpricelinecolor
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.

Similar Pine Scripts

This lower-pane indicator tracks a custom Supertrend built from ATR and a selectable average, then colors trend states such as rising, bear, pretrend, overbought, and oversold. It can paint bars, plot optional arrows, and show a dashboard of EMA lengths and sc

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of J8 30 123 Spy Scalping Lower Pro
7 stars

This multi-timeframe indicator calculates Stochastic oscillator directional bias across three user-defined timeframes. It compares %K and %D to determine whether momentum is bullish or bearish on each timeframe. When all three timeframes align in the same dire

Indicator v6 Oscillators & momentumTrend Repaints
Updated 3 months ago · None stated GitHub repository of Stoch MTF 3 TF Direction Only
6 stars

Wick Rejection S/R Strategy identifies key support and resistance zones based on candlestick wick rejections and liquidity sweeps directly on the price chart. It calculates potential reversal and breakout retest zones using configurable wick thresholds, level

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Wick Rejection S/R Strategy

Scalping PullBack Tool R1.1

by Ahmed-GoCode
5 stars

This indicator plots a Price Action Channel (PAC) based on high, low, and close moving averages alongside fast, medium, and slow trend EMAs directly on the price chart. It detects regular and Bill Williams fractals to track market structure and identifies pull

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Scalping PullBack Tool R1.1
3 stars

This indicator plots a fast and a slow exponential moving average on the price chart and marks buy and sell signals for Bitcoin scalping. A buy appears when the fast EMA crosses above the slow EMA, RSI is above its buy threshold, the MACD line is above its sig

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · MIT GitHub repository of BTC 1–5 min Scalping Signals

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers