Indicator · Pine Script v5 · On the chart

Scalping EMA and Daily Pivots

by anoobpaul

A Pine v5 overlay that plots four EMAs (20, 50, 100 and 200) together with a daily central pivot range, taken from the previous day's values, and a full set of pivot point support and resistance levels.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code448
Settings31inputs
LicenceNone stated
Last update2 years ago10 Apr 2024

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

Pivot types include Traditional, Fibonacci, Woodie, Classic, DM and Camarilla, and the pivot timeframe, number of past pivots, labels, prices, line width and colors can be changed. It draws levels only and gives no buy or sell signals.

Details

Published by

anoobpaul on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Support & resistance, Moving averages, Sessions & time

Markets

Any symbol

Timeframes

M1-M5

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

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

SettingTypeDefaultVariable
Show Daily Pivots?booltruesd
TypestringTraditionalkind
Pivots TimeframestringAUTOpivot_time_frame
Number of Pivots Backint15look_back
Use Daily-based Valuesbooltrueis_daily_based
Show Labelsbooltrueshow_labels
Show Pricesbooltrueshow_prices
Labels PositionstringLeftposition_labels
Line Widthint1line_width
P‏ ‏ ‏colorDEF_COLORp_color
p_showbooltruep_show
S1colorDEF_COLORs1_color
Show all 31 settings
SettingTypeDefaultVariable
s1_showbooltrues1_show
‏ ‏ ‏ ‏ ‏ ‏ ‏ ‏R1colorDEF_COLORr1_color
r1_showbooltruer1_show
S2colorDEF_COLORs2_color
s2_showbooltrues2_show
‏ ‏ ‏ ‏ ‏ ‏ ‏ ‏R2colorDEF_COLORr2_color
r2_showbooltruer2_show
S3colorDEF_COLORs3_color
s3_showbooltrues3_show
‏ ‏ ‏ ‏ ‏ ‏ ‏ ‏R3colorDEF_COLORr3_color
r3_showbooltruer3_show
S4colorDEF_COLORs4_color
s4_showbooltrues4_show
‏ ‏ ‏ ‏ ‏ ‏ ‏ ‏R4colorDEF_COLORr4_color
r4_showbooltruer4_show
S5colorDEF_COLORs5_color
s5_showbooltrues5_show
‏ ‏ ‏ ‏ ‏ ‏ ‏ ‏R5colorDEF_COLORr5_color
r5_showbooltruer5_show
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

Midnight VWAP

by TradersPost
218 stars

The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal

Indicator v6 Moving averagesSessions & time
Updated 3 months ago · None stated GitHub repository of Midnight VWAP

Moon Dev GEX Walls & Trap

by moondevonyt
92 stars

This indicator estimates gamma exposure levels and intraday context for index instruments like SPY and ES. It calculates VWAP with standard deviation bands as a gamma flip proxy, highlighting market regimes through background colors. It plots prior day high, l

Indicator v5 Support & resistanceSessions & time
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Walls & Trap
9 stars

Edge Atlas draws a right-edge price-level atlas on the price chart. Modules produce day, week, and other period highs, lows, opens, and closes, plus pivot points, Fibonacci levels, support and resistance zones, session ranges, round numbers, and VWAP. A shared

Indicator v6 Support & resistanceSessions & time Repaints
Updated 2 days ago · MIT GitHub repository of Edge Atlas [WavesUnchained]

LunarTick Levels

by lunarticktrading
7 stars

LunarTick Levels plots key daily reference levels and multi-timeframe simple moving averages directly on the price chart. It highlights key price points including the Opening Print, Previous Day High and Low, and Overnight High and Low. Additionally, it projec

Indicator v6 Support & resistanceMoving averages
Updated 2 weeks ago · None stated GitHub repository of LunarTick Levels

PA Indicators

by forecho
5 stars

This indicator plots price action tools directly on the main price chart. It shades candles according to Internal Bar Strength (IBS) and optional wick-length thresholds to differentiate trend bars from trading ranges. The script tracks session bar counts durin

Indicator v6 Candlestick patternsMoving averages
Updated 8 weeks ago · None stated GitHub repository of PA Indicators

TradeKit

by tanishq-rocks
5 stars

TradeKit is an all-in-one technical analysis indicator that consolidates multiple chart overlays into a single script on the price chart. It plots up to four customizable moving averages (SMA, EMA, SMMA, WMA, or VWMA), Bollinger Bands, VWAP, and reference leve

Indicator v6 Moving averagesCandlestick patterns
Updated 3 months ago · MPL-2.0 GitHub repository of TradeKit

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