ORB Range Indicator with Fibonacci Targets
This script plots the Opening Range (ORB) high and low based on a configurable time window (5–45 minutes from the U.S. session open at 9:30 AM EST).
Once the ORB window closes, the indicator draws horizontal lines marking:
ORB High and Low
The size of the range in price and %
Fibonacci-based price targets above and below the range (0.382, 0.618, 1.000, 1.618, 2.000)
You can control:
Which Fibonacci levels to display
Whether to show long targets, short targets, or both
All drawings are automatically cleared at the start of each trading day.
Ideal for breakout traders using ORB and Fibonacci extensions for target planning.
Pine實用程式
Sessions with timeframe filter🕒 Smart Timeframe Filtering
This session indicator includes an automatic filter that disables all session boxes when the chart timeframe is greater than the user-defined input. This helps keep higher-timeframe charts clean and focused by hiding intraday sessions when they’re no longer relevant — especially helpful for multi-timeframe traders.
🔍 Features:
📦 Draws up to 3 customizable session boxes with dynamic high/low tracking.
⏱️ Auto-disables on higher timeframes (Smart Timeframe Filter).
🌍 Fully customizable session times, box colors, and time zone (GMT-based).
⚡ Optimized for performance using lightweight, non-overlapping box logic.
👨🍳 UI is organized like a chef’s kitchen: clean, intuitive, and easy to navigate. Settings are grouped and filtered to avoid clutter.
✅ Best Use:
This indicator is most useful for intraday traders on 1m–15m charts.
It’s designed to keep your workspace clean on 30m+ charts or whatever threshold you define.
XRP Scalping Bot v2 (Freq-Boost + Risk Mgmt)sumn i made with help from ai. uses bollinger, adx, atr, macd, rsi, ema. originally for XRP/USDC for 3commas. just trying to get something right
ICT Concepts Toolkit [TWS]
ICT Concepts Toolkit – by Trade With Stevie
Unlock the full power of Inner Circle Trader (ICT) concepts with this all-in-one indicator built for serious traders.
The ICT Concepts Toolkit combines the most powerful price action tools into one clean, efficient, and highly customizable interface — perfect for mastering market structure and timing precision entries.
✅ Features Included:
🟩 Order Blocks – Automatically detect key institutional levels for potential reversals and entries.
📉 Fair Value Gaps (FVGs) – Visualize imbalances in price action to spot high-probability targets and mitigation zones.
📊 Support & Resistance – Dynamically plotted levels to track market structure and trend shifts in real-time.
📅 Previous Daily Highs/Lows – Key liquidity zones marked for precision scalping and swing setups.
🕒 Session Zones – Clearly defined Asian, London, and New York sessions with customizable times and colors.
📌 Extension Lines – Extends each session’s high and low to the current candle for ongoing bias and liquidity mapping.
🚦ICT Morning Signal – Your personal directional bias assistant: smart signals showing when to Buy or Sell based on ICT’s powerful Morning Model logic.
Whether you're trading Forex, Futures, or Crypto — this toolkit gives you a cleaner chart, clearer bias, and more confidence in your setups.
💡 Created by Trade With Stevie — follow for more smart tools and signal insights.
RSI with Williams %R Coloringsimple fusion of RSI to seek divergence and williams % R coloring to see overbought/oversold price.
not my own work, just merely took two standard indicators and infused them.
TQQQ Live PnL TrackerTQQQ PnL Tracker by IceTrader Team - #MakeMyPortfolioGreatAgain
Once you add the script, modify this section of the code to match your exact TQQQ order and start tracking its Profit/Loss.
code block:
entryPrice = 86.65 (set the price at which you bought)
positionSize = 1155 (set the exact quantity of stocks you bought)
direction = "Long" (Change to "Short" if it's a short trade)
Timed Trade Close AlertEnables you to set up alerts that can be used to close all trades when used in conjunction with web hooks.
Firstly, you can enable a daily alert at a regular time to avoid spread blow outs during roll overs. ie: This will alert at the same time each day
Additionally, you can enable and program up to 8 individual alerts to address news events or any other situations that you would want to halt your trading. The day, hour and minute can be adjusted according
Previous Day High/Low/Close - Static Daily Lines (Custom Colors)previous day high low closing
statick line can be change with tihe time frame 5 to 15
Custom EMA 9/21/50/200Chart Screenshots: Include a chart screenshot showing the EMAs with different colors and line styles (e.g., EMA 9 dashed, EMA 21 dotted, EMA 50 solid, EMA 200 solid) to demonstrate the visual output.
Backtest Results: If you want to add credibility, you can mention that the indicator is designed for visual analysis but can be integrated into strategies (though no trading logic is included here).
TradingView Guidelines: Ensure compliance with TradingView’s publishing rules (e.g., original content, no misleading claims).
This description is concise yet comprehensive, highlighting the indicator’s features and usability to attract traders on TradingView. Let me know if you need help with additional publishing steps or want to tweak the description further!
✅ TrendSniper Pro✅ SPNIPER ENTRY – Precision Trend Reversal Signals
The SPNIPER ENTRY is a smart trend-following and reversal indicator designed for traders who want timely entries, clear trend confirmation, and clean visuals.
Key Features:
✅ Triple TEMA Trend Confirmation (21, 50, 200): Ensures you're entering only when all moving averages agree on direction.
🎯 Dip/Top Detection: Uses pivot analysis and ATR proximity to detect ideal pullback entries in the prevailing trend.
📉 Stop Loss & Take Profit Zones: ATR-based dynamic SL/TP levels plotted automatically.
📛 False Signal Filter: Avoids multiple entries by maintaining a position until an opposite signal occurs.
📊 Clean Chart Coloring: Candles turn green for confirmed uptrend and red for downtrend—easy to follow.
🔔 Built-in Alerts: Be notified when conditions align perfectly for a high-probability trade.
👁️ Optional TEMA Display: Toggle visibility of trend components for deeper insight.
How it Works:
A buy signal occurs only when:
All 3 TEMA slopes are positive
Price pulls back near a recent pivot low (dip)
A valid uptrend is in place
A sell signal occurs only when:
All 3 TEMA slopes are negative
Price nears a recent pivot high (top)
A confirmed downtrend is active
This indicator is ideal for swing traders, intraday traders, and scalpers who want precise entries based on structure, slope, and volatility.
Macros, Sessions, and Quarters - psyploThis script was developed for my personal trading workflow, where I rely heavily on macro time windows and session-based timing to guide my strategy. I designed this tool to help visualize important time-based zones that are crucial in my trading approach, and I believe other traders might find it useful as well.
Features
Macro Time Window Boxes: Visual representation of price range within a configurable time window around the top of every hour.
Session Ribbon Boxes: Clearly marks the Asia, London, and New York trading sessions, labeled distinctly for better visual separation.
Session Quarters: Each session is automatically divided into four quarters, providing more granular time segmentation within sessions.
Time Zone: All session calculations are based on UTC +8 (Asia/Singapore) timezone.
This tool helps traders:
Identify volatility zones around hourly opens.
Track session-specific market dynamics.
Recognize shifts in momentum or liquidity during each session quarter.
I created this for my own strategies, but it can serve any trader who benefits from time-based market segmentation.
Feel free to adjust the colors and time window settings to suit your preferences!
Apex Edge - RSI Trend LinesThe Apex Edge - RSI Trend Lines indicator is a precision tool that automatically draws real-time trendlines on the RSI oscillator using confirmed pivot highs and lows. These dynamic trendlines track RSI structure in motion, helping you anticipate breakout zones, reversals, and hidden divergences.
Every time a new pivot forms, the indicator automatically re-draws the RSI trendline between the two most recent pivots — giving you an always-current view of momentum structure. You’ll instantly see when RSI begins compressing or expanding, long before price reacts.
Key Features: • Dynamic RSI trendlines drawn from the last 2 pivots
• Auto re-draws in real-time as new pivots form
• Optional "Full Extend" or "Pivot Only" modes
• Slope color-coded: green = support, red = resistance
• Built-in dotted RSI levels (30/70 default)
• Alert conditions for RSI trendline breakout signals
• Ideal for spotting divergence, compression, and early SMC confluence
This is not your average RSI — it’s a fully reactive momentum edge overlay designed to give you clarity, structure, and timing from within the oscillator itself. Perfect for traders using Smart Money Concepts, divergence setups, or algorithmic trend tracking.
⚔️ Built for precision. Built for edge. Built for Apex.
Apex Edge - VantageApex Edge – Vantage
Quarter-Wick Reversal System | Price Action Based | Non-Repainting | Visual Confirmation Tool
Overview:
Apex Edge – Vantage is a precision price action indicator built to assist traders in identifying high-probability reversal entries — not based on indicators, but on how candles behave at their extremes.
This tool implements a clean, repeatable framework that reflects how I personally trade:
Spot a candle that closes with strong directional intent,
Then wait for a controlled pullback into the outer quarter,
And strike — only if price respects that line.
There’s no magic here — just raw, tactical logic visualized clearly on your chart. It's not designed to predict the market — it's built to respond when price offers you Vantage.
Core Logic:
Dot Detection – Final Quarter Close Candles
A green dot prints below a bullish candle if it closes within the top 25% of its wick-to-wick range.
A red dot prints above a bearish candle if it closes within the bottom 25% of its range.
These dots signify candles that made a strong, deliberate move in one direction — where price was pushed to an extreme and held that extreme into the close. These candles often signal institutional intent or momentum imbalance.
Entry Confirmation – Controlled Wick Rebalance
On the very next candle only, price must wick into the prior dot candle's outer quarter — but must not pass beyond it.
For buy entries, the wick must enter the bottom 25% of the previous green dot candle, but not dip below it.
For sell entries, the wick must reach into the top 25% of the red dot candle, but not exceed it.
This wick into the quarter is seen as a controlled rebalancing — a tactical reaction back into the origin zone before potential continuation.
Arrow Printing – Visual Entry Signal
Once the entry criteria are confirmed, an arrow is printed after the candle closes.
This arrow continues to print on each new candle as long as price does not violate the original entry zone — giving visual confirmation that the trade thesis is still valid.
If price breaks above/below the quarter range, the arrow disappears.
This ongoing confirmation is useful for staying in trades, managing risk, or spotting failed setups early.
Automatic Stop Loss Level
A horizontal Stop Loss line is drawn from the extreme wick of the original dot candle.
For buy entries, SL is placed below the green dot candle's low.
For sell entries, SL is placed above the red dot candle's high.
This provides immediate risk context — perfect for traders using limit orders or looking to scale in.
Coding Logic:
This script uses plotshape() and plot() functions for all visual elements.
Dot candles are identified using quarter-range logic via:
pinescript
Copy
Edit
close >= high - (high - low) * 0.25 // for bullish
close <= low + (high - low) * 0.25 // for bearish
Entry validation logic triggers only on the next candle, using:
pinescript
Copy
Edit
low >= quarterLine and low <= high // for buy entries
high <= quarterLine and high >= low // for sell entries
Arrows and SL lines are plotted only on closed candles, ensuring non-repainting behavior.
alertcondition() is used for real-time alerts on valid buy/sell triggers.
How I Personally Use It:
I wait for a dot to print — this shows directional conviction.
On the next candle, I watch for a tap into the outer quarter.
If the wick meets the criteria and the candle closes, I’ll execute manually at the close of that candle.
As long as the arrow remains on the chart, I know the setup hasn’t been invalidated.
I combine this with market structure, session timing, and liquidity context to build confluence around each trade.
Alerts Included:
Buy Entry Alert: When a green arrow prints (entry confirmed)
Sell Entry Alert: When a red arrow prints (entry confirmed)
These fire once per confirmed signal, allowing you to react in real-time or automate if desired.
Who This Is For:
Manual traders who want clean price-based entries
Anyone who uses market structure, SMC, or liquidity concepts
Traders looking to replace indicators with pure candle logic
Discretionary or semi-systematic traders who want visual tools to guide their decisions
Final Word
Apex Edge – Vantage doesn’t predict price — it shows you where price is offering you control.
This is a surgical tool designed to help you act only when the market gives you a measurable edge — and to stay in the trade as long as that edge holds.
If you're ready to stop chasing trades and start striking from a position of Vantage, then this tool belongs on your chart.
MTF Trend Table - Manual InputMTF Trend Table - Manual Input
Description:
This indicator displays a simple and clear multi-timeframe (MTF) trend table in the upper right corner of your chart. You can manually set the current trend direction (Up, Down, or Neutral) for each timeframe: Monthly, Weekly, Daily, 4h, 1h, and 15min. The table shows the status of each timeframe with colored backgrounds—green for Up, red for Down, and gray for Neutral—making it easy to monitor trend alignment across different timeframes at a glance.
Features:
Manual selection of trend direction for each timeframe.
Color-coded status: green (Up), red (Down), gray (Neutral).
Quickly visualize trend alignment across Monthly, Weekly, Daily, 4h, 1h, and 15min.
Table is positioned in the top right corner of the chart for easy reference.
How to use:
Open the indicator settings and select the trend direction for each timeframe based on your own analysis. Use this tool as a visual aid to track and confirm trend bias in your trading system.
NEPALI DASHBOARD NEPALI DASHBORAD - All-In-One Sentiment Dashboard
Overview
The NEPALI DASHBORAD is a comprehensive, all-in-one dashboard designed to give day traders a quick yet powerful overview of market sentiment. Instead of cluttering your chart with dozens of individual indicators, this tool consolidates the signals from 11 different technical indicators into a single, easy-to-read table. It calculates an overall bull/bear sentiment score and provides a trading recommendation based on the confluence of these signals, helping you make more informed decisions at a glance.
The dashboard is fully customizable, allowing you to adjust indicator settings, change the table size, and move it to any corner of your chart.
Key Features
Multi-Indicator Analysis: Gathers data from 11 essential indicators covering trend, momentum, volume, and volatility.
Sentiment Score: Calculates a simple "Bull vs. Bear" score to instantly gauge market sentiment.
Actionable Recommendations: Provides a clear trading recommendation (Strong Buy, Buy, Sell, Strong Sell, Hold) based on the strength of the confluence.
Higher Timeframe (HTF) Context: Includes an HTF trend analysis to ensure your trades align with the bigger picture.
Customizable Dashboard: Easily change the size and position of the dashboard to fit your workspace.
How to Use
Check the Market Sentiment: Look at the "Bull vs. Bear" score first. A high score (e.g., 8 vs. 3) indicates strong confluence in one direction.
Verify the HTF Trend: Ensure your intended trade direction aligns with the higher timeframe trend for better probability. For example, be cautious about taking "SELL" signals if the HTF Trend is strongly "BULL."
Use the Recommendation as a Guide: The "Recommendation" and "Confidence" % give you a summary of the indicator signals. A "STRONG BUY" or "STRONG SELL" means that a significant majority of the indicators are in agreement.
Drill Down into Indicators: Use the individual indicator statuses in the table to understand why the market sentiment is bullish or bearish. For example, you might see that momentum indicators (RSI, Stoch) are bullish, but trend indicators (MA, MACD) are still lagging.
Combine with Your Strategy: This dashboard is a powerful confirmation tool. Use its signals to confirm entries and exits for your existing trading strategy. Do not use it as a standalone signal provider.
Disclaimer
In simple terms: This is a tool for analysis, not a signal to trade. Your money is your responsibility.
This script is for educational and informational purposes only. I am not a financial advisor; I am just a learner sharing my work. The information and tools provided are not, and should not be construed as, financial advice, an offer, or a solicitation to buy or sell any securities.
Trading and investing in financial markets involve substantial risk of loss and is not suitable for every investor. I do not guarantee the accuracy, completeness, or profitability of this script. All trading decisions you make are your own, and you are solely responsible for any resulting profits or losses.
Always conduct your own research and seek advice from a qualified financial advisor before making any investment decisions. By using this script, you agree that I am not liable for any and all losses you may incur.
Ticker Industry and Competitor LookupThe Ticker Industry and Competitor Lookup is a comprehensive indicator that provides instant access to industry classification data and competitive intelligence for any ticker symbol. Built using the advanced SIC_TICKER_DATA library, this tool delivers professional-grade sector analysis with enterprise-level performance. It's a simple yet great tool for competitor research, sector studies, portfolio diversification, and investment decision-making.
This indicator is a simple tool built on based on our SIC_TICKER_DATA library to demonstrate the use cases of the library. In this case, you enter a ticker and it displays the sector, SIC or Standard Industrial Classification which is a SEC identifier, and more importantly, the competitors that are listed to be in the exact same SIC by SEC.
There isn't much to say about the indicator itself but we strongly recommend checking out the SIC_TICKER_DATA library we just published to learn more about the types of indicators you can build using it.
Profitable Loser Model [MMT]Profitable Loser Model
Overview
The Profitable Loser Model is a powerful PineScript v6 indicator designed to enhance your trading by visualizing key price levels, session open zones, Fibonacci retracements, and premium/discount zones. This overlay indicator provides traders with a customizable toolkit to analyze market structure across any timeframe, making it ideal for intraday and swing trading strategies.
Features
Open Zone Visualization
- Plots a box based on the open and close of the first candle in a user-defined timeframe (default: 5-minute).
- Customizable box color, projection offset, and label size (Tiny, Small, Normal, Large).
- Displays a timeframe label (e.g., "5m Open Zone") for quick reference, toggleable on/off.
Session Open Lines
- Optionally draws horizontal lines at key session opens (8:30 AM, 9:30 AM, 1:30 PM, Midnight, New York time).
- Customize line color, style (Solid, Dashed, Dotted), width, and label size for each session.
- Perfect for identifying critical intraday price levels.
Premium and Discount Zones
- Highlights premium (above midpoint) and discount (below midpoint) zones based on session high/low.
- Toggleable with customizable colors and projection offsets.
- Helps traders spot overbought/oversold areas for potential mean-reversion trades.
Fibonacci Retracement Levels
- Plots user-defined Fibonacci levels (default: 0.23, 0.35, 0.5, 0.62, 0.705, 0.79, 0.886, 1, 1.1).
- Customizable line style, width, color, and labels (showing percentage and/or price).
- Dynamically adjusts based on price movement relative to the open zone.
Take Profit (TP) and Stop Loss (SL) Levels
- Highlights TP (default: 0.23) and SL (default: 1.1) Fibonacci levels with distinct colors.
- Fully customizable to align with your risk-reward strategy.
How It Works
- Session Detection : Resets daily (or per user-defined timeframe) to capture the first candle's open, high, low, and close.
- Open Zone : Draws a box between the open and close, extended forward by the projection offset.
- Session Lines : Plots lines at specified session opens with customizable styles and labels.
- Fibonacci Retracement : Adjusts levels dynamically based on session high/low and price action.
- Premium/Discount Zones : Calculated from the session range midpoint, updated in real-time.
Settings
- Open Zone :
- Timeframe (default: 5m), Calculate Timeframe (default: Daily).
- Toggle label, adjust size, box color, and projection offset.
- Session Open Lines :
- Enable/disable lines for 8:30 AM, 9:30 AM, 1:30 PM, Midnight.
- Customize color, style, width, label size, and vertical offset.
- Premium/Discount Zones :
- Toggle visibility, set colors, and adjust projection offset.
- Fibonacci Retracement :
- Toggle visibility, set custom levels, line style, width, color, and label options.
- Adjust projection offset.
- TP/SL :
- Set TP/SL Fibonacci levels and colors.
Use Cases
- Intraday Trading : Use session open lines and open zones to trade key market hours.
- Swing Trading : Leverage Fibonacci levels for potential reversal or continuation zones.
- Risk Management : Set precise TP/SL levels based on Fibonacci retracements.
- Market Structure : Identify overbought/oversold zones with premium/discount areas.
Notes
- Optimized with `dynamic_requests = true` for efficient real-time data handling.
- Visual elements (boxes, lines, labels) are cleaned up at the start of each new session.
- Session lines use New York time (`America/New_York`) for alignment with major markets.
AshishBediSPLThis tool, called "AshishBediSPL," is a special indicator for traders using TradingView. Its main purpose is to help you track and trade the combined price of a Call and a Put option at the same strike price, a strategy known as a Short Straddle.
What It Does:
Tracks Straddle Prices: You can select a specific Indian index or a stock like Reliance, choose a strike price and expiry date, and the indicator will show you the combined price of that Call and Put option as a single line on your chart.
Calculates Everything for You: You don't need to manually add the prices. The indicator automatically does the math to show you the total premium of the straddle.
Adds Trading Signals: You can turn on various popular trading tools (like VWAP, EMA, Supertrend, etc.). The indicator will then use these tools to automatically show "Buy" and "Sell" signals directly on the chart, helping you decide when to enter or exit a trade.
Customizable: You can choose which trading tools you want to use and adjust their settings to fit your personal trading style.
What is it Used For?
This indicator is specifically for traders who:
Trade a Short Straddle: This is a neutral options strategy where you expect the market to stay in a small range. The indicator helps you monitor the total premium you've collected.
Want to Simplify Analysis: Instead of looking at a Call chart and a Put chart separately, this tool combines them into one easy-to-read chart.
Use Technical Analysis: It helps you apply standard technical indicators directly to the combined premium price, giving you clear signals for your straddle trades.
Normalized Fibonacci Retracement (MTF/LOG)A question: Instead of creating indicators that constantly plot Fibonacci Retracement levels in a visually overwhelming way, why don't we redefine them on a different scale? 🤨
Overview
The Normalized Fibonacci Retracement indicator converts price data to a 0-100 scale based on the selected timeframe's high-low range, displaying normalized candlesticks alongside standard Fibonacci levels (23.6%, 38.2%, 50%, 61.8%, 78.6%). This normalization reveals patterns that may be hidden in absolute price charts and allows consistent analysis across different instruments.
Originality
By normalizing prices to percentages, this indicator enables pattern recognition independent of absolute price levels. The same formation at $10-$20 and $1000-$2000 appears identical on the normalized scale, helping traders identify recurring structures across various assets and timeframes.
Concepts
The indicator uses a simple formula to transform price data into percentages. This creates a bounded scale where patterns become comparable regardless of the underlying asset's price range. The normalized view often reveals symmetries and relationships not visible in traditional price charts.
Mechanics
The system tracks highs and lows within the selected timeframe as anchor points. When a new period begins, fresh boundaries are established and prices recalculated. Trend direction is determined by timing of extremes. Linear scaling uses direct percentage calculation, while logarithmic scaling applies exponential interpolation for assets with large percentage moves.
Functions
Timeframe Selection: Higher timeframe analysis on any chart resolution
Normalized Display: OHLC data converted to 0-100 percentage scale
Fibonacci Levels: Standard retracement levels plotted automatically
Scaling Options: Linear or logarithmic calculation methods
Pattern Recognition: Reveals formations hidden in absolute price charts
Moving Average: Optional 20-period SMA overlay
Notes
Ensure chart data covers the full selected timeframe for accurate calculations. Use logarithmic scaling for volatile assets with large percentage moves. The normalized scale is effective at revealing patterns and structures that remain consistent across different price ranges, making it particularly useful for comparative analysis and pattern-based trading strategies.
I hope it helps everyone. Do not forget to manage your risk. And trade as safely as possible. Best of luck!
SMA+Volume Buy AlertsOverview
This lightweight indicator combines trend and momentum filters to pinpoint high-conviction, oversold entries on ETFs or stocks. It plots your choice of two SMAs (default 100- & 200-day) and a 20-day volume moving average, then only flags a “BUY” when price crosses below an SMA and daily volume exceeds its average.
Use it to capture institutional-strength reversals without alert noise, and receive a single, clear signal exactly when market participants step in.
Key Features
Dual SMA Trend Lines (100/200-day by default)
Volume Filter (20-day avg): only overshoots on above-average volume signal
One-Shot Buy Markers: triangles appear beneath the precise bar that crosses under your SMA on high volume
Alert Conditions: “Buy 100 SMA + High Vol” and “Buy 200 SMA + High Vol” ready for desktop, mobile, or webhooks
Show/Hide Toggle for your SMA lines
100% Pine v6, optimized for speed and compatibility
Inputs
Short SMA Length (default 100)
Long SMA Length (default 200)
Volume MA Length (default 20)
Show SMA Lines toggle
How to Use
Add to Chart: Copy & paste this script into TradingView’s Pine editor, then Save & Add to Chart.
Configure Inputs: Adjust SMA and volume-MA lengths to your trading style.
Create Alerts:
Open “Create Alert,” select the “SMA-VOL-BUY” indicator.
Choose “Buy 100 SMA + High Vol” or “Buy 200 SMA + High Vol.”
Set trigger to “Once Per Bar Close.”
Trade with Confidence: Only the most significant, high-volume overshoots get flagged—no spam, just high-quality setups.
Best Practices
Frame Alignment: Combine daily signals with a weekly SMA trend filter for multi-timeframe confirmation.
Volume Context: Ensure that “high” volume truly represents above-average activity in your chosen security.
Risk Management: Use the signal bar’s low as your stop, and size positions to match your risk tolerance.
Review & Iterate: Tweak SMA or volume lengths to suit fast-moving sectors (e.g. 50/100 SMAs) or slower large-caps.
SMA Undervalue Buy AlertsSMA Undervalue Buy Alerts
Free, open-source Pine v6 indicator for spotting undervalued ETF/stock entries
This simple yet powerful indicator plots two user-configurable Simple Moving Averages (default 100- and 200-day) on your chart and automatically marks any bar where price closes below those SMAs with an on-chart “BUY” triangle. It’s ideal for ETF traders who want a systematic, price-action-based signal whenever a major trend filter is breached to the downside—often a sign of short-term overselling in an otherwise up-trending market.
Key Features
Dual SMA Lines (default 100/200): Smooth out noise and highlight medium- and long-term trend backdrops
Automatic Buy Markers: Triangles appear beneath any candle that closes under your chosen SMA, so you never miss an overshoot
Built-in Alert Conditions: Four alert hooks—“Buy 100 SMA” and “Buy 200 SMA”—let you receive desktop, mobile or webhook notifications the moment a close beneath your SMAs occurs
Show/Hide Toggle: Quickly turn the SMA lines on or off without removing the script
100% Pine v6: Fast, lightweight, and compatible with all TradingView chart types
How to Use
Add to Chart: Copy & paste the Pine v6 code into TradingView’s Pine editor, then Save & Add to Chart.
Configure Inputs: Adjust “Short SMA Length” and “Long SMA Length” to your preferred look-back periods (e.g. 50/200, 20/50, etc.).
Create Alerts: In the Create Alert dialog, choose your indicator, then select “Buy 100 SMA” or “Buy 200 SMA” under Series. Set it to “Once Per Bar Close” for reliable signals.
Trade Management: Use the buy markers as entry triggers or confirm with volume, RSI, or other confluence tools before committing.
Best Practices
Trend Confirmation: Combine with a higher-TF trend filter (e.g. 200 SMA on weekly) to stay aligned with the broader market
Volume Check: Look for above-average volume on overshoot candles to validate institutional interest
Risk Control: Always define your stop (e.g. below the low of the signal bar) and position-size responsibly