Last Candle RangeCalculates the size of the last candle on whatever timeframe you are watching (high - low)
Indicadores e estratégias
Hidden Markov ModelDescription
This model uses a Hidden Markov Model to detect potential tops and bottoms. It is designed to probabilistically identify market regime changes and predict potential reversal point using a forward algorithm to calculate the probability of a state.
State 0: (Normal Trading): Market continuation patterns, balanced buying/selling
State 1: (Top Formation): Exhaustion patterns at price highs
State 2: (Bottom Formation): Capitulation patterns at price lows
Background: The HMM assumes that market behavior follows hidden states that aren't directly observable, but can be inferred from observable market data (emissions). The model uses a (somewhat simplified) Bayesian inference to estimate these probabilities.
How to use
1) Identify the trend (you can also use it counter-trend)
2) For longing, look for a green arrow. The probability values should be red. For shorting, look for a red arrow. The probability values should be green
3) For added confluence, look for high probability values
RSI OB/OS Alert Indicator[CongTrader]📋 Description:
🔎 Overview
The RSI OB/OS Alert Indicator is a simple yet powerful tool that helps traders identify overbought and oversold zones using the widely-known Relative Strength Index (RSI). Whenever RSI crosses into custom-defined thresholds, the indicator highlights the chart background and triggers alerts, making it easier to time entries or exits.
⚙️ Key Features
Customizable RSI length, Overbought, and Oversold levels
Clear visual markers for RSI values and threshold lines
Background color zones for quick visual recognition
Built-in alert conditions to notify you in real-time
Clean, minimalist design suitable for any asset class
🧠 How to Use
Add the indicator to your chart (supports crypto, forex, stocks, etc.)
Adjust the RSI period and OB/OS levels to match your strategy
Watch for red background = overbought, green background = oversold
Enable alerts to receive real-time notifications when RSI crosses levels
💼 Best For
Intraday and swing traders
Scalpers and longer-term investors
All asset types (Crypto, Forex, Stocks, Indices)
🛡️ Disclaimer
⚠️ This indicator is for informational and educational purposes only. It does not constitute financial advice. Trading involves risk, and users should conduct their own analysis before making any financial decisions. The author is not responsible for any financial loss.
🙏 Credits & Thank You
Thank you for using the RSI OB/OS Alert Indicator by CongTrader.
If you find it helpful, please like ❤️, share, or follow me for more quality tools and indicators to level up your trading game! #RSI #Overbought #Oversold #RSIAlert #CongTrader #TradingIndicator #CryptoRSI #ForexIndicator #StockTrading #TechnicalAnalysis #TradingView
Trap Candle (Trend H4 + RSI Filter)🔍 Trap Candle (Trend H4 + RSI Filter)
Description:
The Trap Candle indicator is designed to identify a specific and powerful two-candle price action pattern that often signals a false breakout followed by a strong reversal. It combines pure price action with two objective filters to increase signal quality and trend alignment.
📊 Pattern Logic:
Bullish Trap: The current candle breaks the previous candle’s low, but closes above its high (and is bullish).
Bearish Trap: The current candle breaks the previous candle’s high, but closes below its low (and is bearish).
This pattern often reveals institutional traps or stop hunts before directional movement.
🧠 Trend Filter (H4):
Ensures long signals occur only when the H4 close is higher than the previous H4 close (uptrend).
Ensures short signals occur only in a H4 downtrend.
Designed to align intraday entries (M15, H1) with higher timeframe momentum.
💪 RSI Confirmation:
Includes a configurable RSI filter on the current timeframe.
Only long signals are shown when RSI is above a user-defined threshold (e.g. 55).
Only short signals are shown when RSI is below a user-defined threshold (e.g. 45).
⚙️ Key Features:
Full customization of RSI period and thresholds.
Clean, visual signal plotting on the chart (with “Trap L” or “Trap S” labels).
Built-in alerts for both long and short trap candle setups.
Perfect for traders who want to trade smart reversals with trend and momentum confirmation.
✅ Recommended Timeframes:
M15 and H1 (entry)
Uses H4 for trend bias
If you’re looking to filter out noise and spot only the highest quality reversal setups, the Trap Candle (Trend H4 + RSI Filter) is a solid tool for any price action-based strategy.
Triple Configurable VWAPTriple Configurable VWAP Indicator
This advanced VWAP (Volume Weighted Average Price) indicator displays three independently configurable VWAP lines on your chart, providing multiple timeframe perspectives for better trading decisions.
Key Features:
• Three Customizable VWAP Periods: Configure each VWAP independently with periods ranging from 1 to 365 days
Default: 10-day (Green), 30-day (Red), 365-day (Blue)
• Dynamic Visual Elements:
Color-coded lines for easy identification
Smart labels at the current price level with matching colors
Contrasting text colors for optimal readability
• Interactive Information Table:
Toggle on/off display
Repositionable to any corner or side of the chart
Shows each VWAP period with corresponding color indicators
Larger, easy-to-read font size
• Professional Calculation Method:
Uses daily timeframe data for accurate VWAP calculations
Anchored VWAP starting from your specified lookback periods
Proper volume weighting for institutional-grade accuracy
Use Cases:
Short-term Trading: 10-day VWAP for recent price action analysis
Medium-term Analysis: 30-day VWAP for monthly trend assessment
Long-term Perspective: 365-day VWAP for yearly institutional levels
Perfect for traders who need multiple VWAP timeframes simultaneously to identify key support/resistance levels, trend direction, and institutional price points across different time horizons.
Rifle SHORT Rifle Short Indicator
Provides buy/sell signals on DOW symbols including YM, MYM, and US30. Algorithm monitors price action for a drop of price of X points within N minutes. On achieving this drop, the algorithm waits for the price action to drop below one of three levels. Levels end in 23/43/73. For example, 42223 or 42273. Once dropping below the level the algorithm is considered setup if the RSI is below 30. Once setup, it will remain setup until the RSI exceeds 30 or a buy signal is triggered. A buy signal triggers when setup and the following conditions are achieved: price action rises above the level, change in RSI indicates an end/exhaustion of the price drop, and the bar has positive upward momentum.
After signal entry a customizable stop loss and take profit are plotted on the chart adjusting to price action. It will signal exit accordingly.
Requirements for use:
1) 30 second chart
2) Dow symbol
The script has a matching indicator for the LONG entry. Both indicators rely on common code within the RifleShooterLib library.
Additionally, the BackTesterLib library is used to provide backtesting statistics and presentation.
Seven DaysCustom color the last 30 candles on your chart. Number of candles and candle color can be edited and customized in script.
Market Session“These are the time points I’ve studied in the Market Session, and they work very well for me.”
First Candle🕯️ First Candle Indicator (First 5-Minute Candle High/Low)
The First Candle indicator automatically marks the high and low of the first 5-minute candle of the U.S. trading session . These levels can act as key intraday support and resistance zones, often used in breakout, scalping, or opening-range trading strategies.
📌 Key Features:
Automatic detection of the first candle of the U.S. session based on the selected timeframe (default is 5 minutes).
Horizontal lines are plotted at the high and low of that candle, with fully customizable colors and thickness.
Labels show the exact level and timeframe used for the high and low.
Resets daily, removing previous session data at the start of a new session.
Displays a visual marker (blue triangle) when the first candle is detected.
Allows users to select different timeframes for defining the "first candle" (e.g., 1, 5, 15 minutes).
⚙️ Customizable Inputs:
Show First Candle Lines: toggle the display of high/low lines.
Timeframe for Marking: choose the timeframe to detect the first candle (e.g., 5 minutes).
High Line Color / Low Line Color: set the color of each level line.
Line Thickness: adjust the width of the lines (1 to 5 pixels).
🧠 Strategic Applications:
Identify breakout zones right after the market opens.
Define opening range for pullback or continuation setups.
Set clear reference levels for intraday trading decisions.
xetra//@version=5
indicator("First Candle Range", overlay=true)
// Налаштування сесії
session = input.session("0930-1030", title="Сесія")
// Визначити, чи поточна свічка — перша у сесії
is_new_session = ta.change(time(session))
// Змінні для збереження значень першої свічки
var float first_high = na
var float first_low = na
var int first_index = na
// Коли настає нова сесія — зберігаємо high та low першої свічки
if is_new_session
first_high := high
first_low := low
first_index := bar_index
// Побудова ліній
if not na(first_index)
line.new(first_index, first_high, bar_index, first_high, color=color.green, width=1, extend=extend.right)
line.new(first_index, first_low, bar_index, first_low, color=color.red, width=1, extend=extend.right)
// (Опційно) Заливка області між high та low
bgcolor(time(session) and bar_index == first_index ? color.new(color.orange, 85) : na)
OG TTM Histogram [Elite Edition] © 2025🧠 OG TTM Histogram Elite © 2025 | by OG WEALTH™
Built for sniper entries, this enhanced TTM Squeeze indicator includes:
• 🎯 Histogram Momentum Bars (Smoothed)
• ⚫ Black Dots = Squeeze Building (tight coil)
• 🟢 Green Dots = Squeeze Released (entry zone forming)
• 🔺/🔻 Entry Arrows based on Momentum + MTF Confirmation
• ⏱️ Customizable MTF Settings
• 🏷️ Compact Top-Right Squeeze Status Tag
• 🔔 Audio + Push Alerts for all major signals
Perfect for SPY, TSLA, AAPL, and crypto breakout traders.
Ideal for scalping, intraday, and swing strategies.
EPS and Sales Magic Indicator V2EPS and Sales Magic Indicator V2
EPS and Sales Magic Indicator V2
Short Title: EPS V2
Author: Trading_Tomm
Platform: TradingView (Pine Script v6)
License: Free for public use under fair usage guidelines
Overview
The EPS and Sales Magic Indicator V2 is a powerful stock fundamental visualization tool built specifically for TradingView users who wish to incorporate earnings intelligence directly onto their price chart. Designed and developed by Trading_Tomm, this upgraded version of the original 'EPS and Sales Magic Indicator' includes an enriched and more insightful presentation of company performance metrics — now with TTM EPS support, advanced color-coding, label sizing, and refined control options.
This indicator is tailored for retail traders, swing investors, and long-term fundamental analysts who need to view Quarter-over-Quarter (QoQ) earnings and revenue changes directly on the price chart without switching tabs or breaking focus.
What Does It Display?
The EPS and Sales Magic Indicator V2 intelligently detects quarterly financial updates and displays the following data points via labels:
1. EPS (Earnings Per Share) – Current Quarterly Value
This is the most recent Diluted EPS published by the company, fetched using TradingView’s request.financial() function.
Displayed in the format: EPS: ₹20.45
2. EPS QoQ Percentage Change
Shows the percentage change in EPS compared to the previous quarter.
Highlights improvement or decline using arrows (up for improvement, down for decline).
Displayed in the format: EPS: ₹20.45 (up 15.3 percent)
3. Sales (Revenue) – Current Quarterly Value
Fetches and displays Total Revenue of the company in ₹Crores for easier Indian-market readability.
Displayed in the format: Sales: ₹460Cr
4. Sales QoQ Percentage Change
Measures and presents the quarter-over-quarter percentage change in total revenue.
Uses arrows to indicate growth or contraction.
Displayed in the format: Sales: ₹460Cr (down 3.8 percent)
5. EPS TTM (Trailing Twelve Months)
You now get the TTM EPS — the sum of the last four quarterly EPS values.
This value provides a better long-term earnings snapshot compared to a single quarter.
Displayed in the format: TTM EPS: ₹78.12
All of these values are automatically calculated and displayed only on the bars where a new financial report is detected, keeping your chart clean and insightful.
Customization Features
This indicator is built with user control in mind, allowing you to personalize how and what you want to see:
Show EPS in Label: Enable or disable the display of EPS and EPS QoQ values.
Show Sales in Label: Toggle the visibility of revenue and sales change percentage.
Color Options for Label Themes: The label background color is automatically determined based on performance.
Green: Both EPS and Sales increased QoQ.
Red: Both decreased.
Orange: One increased and the other decreased.
Gray: Default color (if values are unavailable or mixed).
Label Text Size: Choose from Tiny, Small (default), or Normal.
Visual Design
Placement: The labels are positioned just below the candlesticks using yloc.belowbar, so they do not obstruct price action or interfere with technical indicators.
Anchor: Aligned precisely with the financial reporting bars to maintain clarity in historical comparisons.
Background Style: Clean, semi-transparent styling with soft text colors for comfortable viewing.
How It Works
The indicator relies on TradingView’s powerful request.financial() function to extract fiscal quarterly financials (FQ). Internally, it uses detection logic to identify fresh data updates by comparing current vs. previous values, arithmetic to compute QoQ percentage changes in EPS and Sales, logic to build formatted labels dynamically based on user selections, and conditional color and sizing logic to enhance interpretability.
Use Cases
For Long-Term Investors: Quickly identify if a company’s profitability and revenue are improving over time.
For Swing Traders: Combine recent earnings trends with price action to evaluate if post-result momentum has real backing.
For Technical and Fundamental Traders: Layer it with moving averages, RSI, or volume to create a hybrid analysis environment.
Limitations and Notes
Financial data is provided by TradingView’s financial API, and occasional missing values may occur for less-covered stocks.
This tool does not repaint but depends on the timing of the official financial updates.
All values are rounded and formatted to prioritize readability.
Works best on Daily or higher timeframes (weekly or monthly also supported).
License and Fair Use
This script is free to use and share under TradingView’s open-use guidelines. You may copy, fork, and build upon this indicator for personal or educational purposes, but commercial usage requires attribution to the author: Trading_Tomm.
Future Enhancements (Planned)
Addition of Net Profit (QoQ and TTM)
Inclusion of Operating Margin, Profit Margin, and Book Value
Option to switch between numeric and graphical display (table mode)
Alerts on extreme earnings deviation or sales slumps
Final Thoughts
The EPS and Sales Magic Indicator V2 represents a clean, visual, and smart way to monitor a company’s core performance from your chart screen. It helps you align fundamental strength with technical strategies and provides instant financial clarity, which is especially vital in today’s fast-moving markets.
Whether you’re preparing for an earnings season or scanning past performance to pick your next investment, this indicator saves time, enhances insights, and sharpens decisions.
RSI, EMA, and SMAit is a script that will add EMA RSI and SMA for you .
its helpful if you don't have a plan .
Thankyou :)
Multi EMAPlots 4 EMAs:
➝ 9 EMA (Green) → Short-term trend.
➝ 21 EMA (Blue) → Swing trend confirmation.
➝ 50 EMA (Orange) → Intermediate trend filter.
➝ 200 EMA (Red) → Long-term trend direction.
simple indicator of chart patterns same ...
if you want to use it like EMA , SMA , etc fell free to do so .
Simple Moving Averageit is a clear script that helps you by telling in lines about where you trend is going it can also be adjusted like EMA and SMA ...
15min CISD OB Highlighter📌 Summary: What This Script Is
This Pine Script:15min
Detects a CISD structure:
1 bullish candle (potential OB)
Followed by a strong bearish displacement candle
Colors the OB candle (not the breakdown candle)
Does not draw lines or labels — just visual purple coloring on the OB
EMA 11/22/5 + MACD Zero Cross Buy/SellStrategy to identify entry and sell points using EMA 11/22/5 + MACD Zero Cross Buy/Sell