Indicator · Pine Script v5 · On the chart

Snagprofit WMA MA

by dearvn

Snagprofit WMA MA combines multi-timeframe Weighted Moving Averages (1M, 5M, 15M, and 1H) with a Simple Moving Average filter to assess trend momentum across different time horizons.

View on GitHub

Repaints

GitHub stars4on the repository
Pine versionv5runs as is
Lines of code495
Settings23inputs
LicenceNone stated
Last update4 years ago25 Jul 2022

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

Snagprofit WMA MA plots shape signals directly on the price chart when candle breakouts align with the SMA direction. An on-screen status dashboard displays short-term, mid-term, and long-term bias alongside volume spike flags. Support and resistance levels are calculated using historical 15-minute high and low markers. Multi-timeframe calculations without historical bar offsets may cause repainting on closed chart bars.

Details

Published by

dearvn on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, Moving averages, Screeners & dashboards, Support & resistance

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Topics

futurestrading-strategiestradingview

Settings

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

SettingTypeDefaultVariable
Lengthint125len_wma
Moving Averageint50len_sma
Panel positionstringtopi_tableYpos
i_tableXposstringrighti_tableXpos
Buycolorcolor.new(color.green, 30)i_c_buy
Sellcolorcolor.new(color.red, 10)i_c_sell
Neutralcolorcolor.new(color.gray, 30)i_c_neutral
Extend previous S/R?booltrueExtendLines
Show Time Frame Label?booltrueShowLabel
Label LocationstringRightlabel_loc
Right Label Offsetint15label_offset
S/R Line Style (H/L)stringSolidLineStyleHLInput
Show all 23 settings
SettingTypeDefaultVariable
S/R Line Width (H/L)int1LineWidthHLInput
S/R Line Style (Close)stringSolidLineStyleCloseInput
S/R Line Width (Close)int1LineWidthCloseInput
Display Lines Only, With Zones, or Disable ................stringS/R ZonesTF1_Menu
Time Frame 1stringChartTF1_input
Volume MA - Thresholdint6TF1_VolMA1Input
Resistance Lines Colorcolorcolor.new(color.red, 20)TF1_ResLinesColor
Resistance Zone Colorcolorcolor.new(color.red, 90)TF1_ResZoneColor
...................... Support Lines Colorcolorcolor.new(color.lime, 20)TF1_SupLinesColor
...................... Support Zone Colorcolorcolor.new(color.lime, 90)TF1_SupZoneColor
AlertsstringNoneTF1_Alerts
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

Market Monitor - 1m

by chris-c-thomas
14 stars

Market Monitor - 1m is an overlay indicator designed for multi-chart monitoring and directional bias assessment. It plots a fast, mid, and slow EMA ribbon with a fill cloud, session VWAP with standard deviation bands, and previous day key levels. It evaluates

Indicator v6 TrendMoving averages Repaints
Updated 6 months ago · MIT GitHub repository of Market Monitor - 1m

5 EMAs

by hirawatt
11 stars

5 EMAs calculates and plots five Exponential Moving Averages derived from five configurable timeframes directly onto the main price chart. It also plots the high and low lines fetched from an additional custom timeframe, accompanied by a small on-screen table

Indicator v4 Moving averagesTrend Repaints
Updated 2 years ago · MIT GitHub repository of 5 EMAs
257 stars

This indicator analyzes short-term price action on index futures and options charts by applying Rational Quadratic kernel smoothing to detect sideways consolidation ranges and potential breakouts. It processes pivot highs and lows over customizable loopback pe

Indicator v5 Support & resistanceTrend Repaints
Updated 6 weeks ago · None stated GitHub repository of SPX 30M - Trading Chart

Ichimoku Cloud

by harryguiacorn
219 stars

This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ichimoku Cloud

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