Previous Day H/L with Pivot & S/R LevelsThis script checks Previous Day High & Low and accordingly identifies Pivot, Support & Resistance
Điểm Pivot và cấp độ
Psychological Levels 25 Gold [UkutaLabs]This indicator is specifically designed to display key psychological levels for Gold (XAUUSD) trading, focusing on increments of $25. It automatically plots major and minor levels, providing traders with clear visual cues for potential support and resistance areas.
Key Features:
25 Dollar Increments: Draws lines at every $25 increment, highlighting significant price levels for Gold.
Major & Minor Levels: Distinguishes between major ($25 increments) and minor (mid-point) levels with customizable colors and styles.
Nearest Century Line: Displays the nearest 25 dollar increment to the current price with a distinct color.
Customizable Appearance: Allows users to adjust line colors, styles (dashed, dotted, solid), and widths to suit their preferences.
Number of Lines: Allows users to set the number of psychological lines to be displayed above and below the current price.
Clear Visuals: Provides clean and easily interpretable lines on the chart.
How to Use:
Add the indicator to your Gold (XAUUSD) chart.
Observe the plotted lines for potential support and resistance areas.
Customize the line colors and styles in the indicator's settings to match your chart theme.
Use these levels in conjunction with other technical analysis tools for informed trading decisions.
Disclaimer:
This indicator is for informational purposes only and should not be considered financial advice. Trading involves risks, and past performance is not indicative of future results. 1 2 Always conduct thorough research and consult with a qualified financial 3 advisor before making any trading decisions.
Psychological Levels 25 Gold [UkutaLabs]Here's a description you can use when publishing your "Psychological Levels 25 Gold " indicator on TradingView:
Title: Psychological Levels 25 Gold
Description:
"This indicator is specifically designed to display key psychological levels for Gold (XAUUSD) trading, focusing on increments of $25. It automatically plots major and minor levels, providing traders with clear visual cues for potential support and resistance areas.
Key Features:
25 Dollar Increments: Draws lines at every $25 increment, highlighting significant price levels for Gold.
Major & Minor Levels: Distinguishes between major ($25 increments) and minor (mid-point) levels with customizable colors and styles.
Nearest Century Line: Displays the nearest 25 dollar increment to the current price with a distinct color.
Customizable Appearance: Allows users to adjust line colors, styles (dashed, dotted, solid), and widths to suit their preferences.
Number of Lines: Allows users to set the number of psychological lines to be displayed above and below the current price.
Clear Visuals: Provides clean and easily interpretable lines on the chart.
How to Use:
Add the indicator to your Gold (XAUUSD) chart.
Observe the plotted lines for potential support and resistance areas.
Customize the line colors and styles in the indicator's settings to match your chart theme.
Use these levels in conjunction with other technical analysis tools for informed trading decisions.
Disclaimer:
This indicator is for informational purposes only and should not be considered financial advice. Trading involves risks, and past performance is not indicative of future results. Always conduct thorough research and consult with a qualified financial advisor before making any trading decisions.
Mondays' Ranges - VinssContains monday range for past data. Highs and Lows are given for each monday for a week.
S/R Zones (Daily and Weekly) from 1H CandlesS/R Zones (Daily and Weekly) from 1H Candles
🧠 Core Concept: Higher Timeframe Accuracy via Lower Timeframe Data
This indicator delivers high-precision daily and weekly support & resistance (S/R) zones by extracting price-weighted volume data from the 1H timeframe, taking these data into account: approximate POCs, volume spikes, price pivots, etc. Unlike traditional indicators based on current or higher timeframes, this method provides more accurate and responsive levels, ideal for traders focusing on retests, breakouts, and structure-based entries.
⚠ Important: Due to Pine Script limitations, this indicator must be applied on a 1H chart, even though it is intended for daily and weekly trading setups.
🚨 Usage Restrictions
✅ Apply this indicator ONLY on a 1H chart — use the zones for trading decisions on the daily or weekly timeframe.
❌ Do not apply directly on daily or weekly charts — it will not function correctly under current TradingView limitations.
🛠 How to Use It
Input trading hours per day and trading days per week in the indicator settings according to the asset being analysed.
Use the 1H chart for application, but base your trades on the daily or weekly S/R zones it reveals.
Best suited for crypto and tech stocks. May work for commodities and FX, but might require parameter adjustments for optimal performance.
🔍 Support & Resistance Categorisation
Zones are determined by analysing price-weighted volume behaviour on the 1H timeframe, with a 3-day or 3-week confirmation period required before a zone is plotted.
📦 Zone Colors & Labels
• Blue – Daily Support
• Orange – Daily Resistance
• Green – Weekly Support
• Red – Weekly Resistance
• Aqua – 4H Support
• Fuchsia – 4H Resistance
4H Zones are designed to help fine-tune entries/exits when daily or weekly zones are too wide. They are less reliable due to signal strength limitations and should be treated as secondary reference levels. Only the latest 4H zones are shown for clarity.
🔄 Dynamic Features
✅ Automatic Zone Adjustment
When a daily or weekly zone breaks (as detected via the 4H chart), the indicator automatically shifts to the next relevant historical zone just above or below the most recent 1H candle. This reduces guesswork and simplifies post-breakout analysis. You can customise the appearance of adjusted zones in the indicator settings.
✅ Expanded Zone History
Supports up to 100 historical daily and weekly zones, offering a broader view of market structure and context. This setting is adjustable in the indicator menu.
📊 Example in Action
ETH just broke a major weekly support and multiple daily supports — a clearly bearish signal. But where’s the next key level?
The indicator instantly reveals the next major support range (e.g., 1540–1650), helping you decide whether to:
• 📉 Take profits on short positions
• 📈 Re-enter long positions if signs of reversal appear
🧩 Final Thoughts
This tool is more than an S/R indicator — it acts as a signal generator for both long and short trades. It will soon be integrated into a comprehensive trading system, including a risk management module.
📢 Stay tuned for updates – and happy trading! 🚀
Breakout Trading Rules📄 Breakout Trading Rules – Confirmed Entry Logic
This open-source indicator helps identify confirmed bullish breakouts using a combination of price action and technical filters. It is designed for traders who prefer rule-based entries and want to visually track confirmation signals on the chart.
🧠 Core Logic
A BUY signal is confirmed only when all of the following conditions are met:
Price breaks above a key breakout level, which can be:
The most recent pivot high (automatically detected), or
A manually set level (if override is enabled).
The breakout is confirmed by two consecutive closes above the level.
Volume is above a reference average (user-defined period).
MACD is bullish (MACD line > signal line).
RSI is above a custom threshold (default is 50).
📊 What the Script Displays
A dynamic horizontal breakout line on the chart (green if price is above, red if below).
A "BUY" label plotted on the candle when all entry conditions are satisfied.
A compact checklist table in the top-right corner showing the real-time status of all entry conditions.
An alert that triggers when the breakout and all confirmations are active.
Option to manually set the breakout level for more control.
⚙️ Inputs You Can Customize
Pivot lookback period
Volume comparison lengths
RSI threshold
Manual override for breakout level
✅ Intended Use
This tool supports users in identifying confirmed breakout entries by combining simple price action with confirmation from volume and momentum indicators. It is most suitable for daily timeframe (1D) setups, but it works on other timeframes as well.
⚠️ Important Notes
This script does not repaint, and all signals are calculated using historical bar closes.
It is not a strategy, but a visual aid for discretionary entries based on clearly defined rules.
No indicator should be used in isolation. Always combine with broader market context and proper risk management.
Global M2 Level + OffsetA simple Global M2 indicator with a configurable offset (default is 105 days) and a smoothing line.
If you like it, consider donating a few sats: talvasconcelos@nostr.com
Dual RSIHello everyone! I want to show you my version of the RSI indicator. As you may have noticed, in this indicator I decided to use 2 RSI at once, and here's why. I discovered that crossovers between fast and slow RSI can generate good signals. Very often we can determine an entry point with it, and it works just as well as RSI versions with divergences.
So, all you need to do is configure the timeframe from which the RSI will be displayed. For example, when I work on an hourly timeframe, I enable both hourly and four-hour RSI. When the hourly RSI crosses the four-hour RSI from above, it signals that you should look for a short entry point. Conversely, if the hourly RSI crosses the four-hour RSI from below, you should look for a long entry point.
Overall, everyone can choose these settings for themselves. You can also adjust the overbought and oversold zones to increase or decrease the frequency of signals.
This indicator can be a good addition to your strategy. Good luck!
R0S0 Levels PlotterSImple indicator to paint R0S0 and levels of support resistance.
Input is manual, enter the various zones/levels.
Allows for selection of if a resist/support is a zone/single price level.
SMC+The "SMC+" indicator is a comprehensive tool designed to overlay key Smart Money Concepts (SMC) levels, support/resistance zones, order blocks (OB), fair value gaps (FVG), and trap detection on your TradingView chart. It aims to assist traders in identifying potential areas of interest based on price action, swing structures, and volume dynamics across multiple timeframes. This indicator is fully customizable, allowing users to adjust lookback periods, colors, opacity, and sensitivity to suit their trading style.
Key Components and Functionality
1. Key Levels (Support and Resistance)
This section plots horizontal lines representing support and resistance levels based on highs and lows over three distinct lookback periods, plus daily nearest levels.
Short-Term Lookback Period (Default: 20 bars)
Plots the highest high (short_high) and lowest low (short_low) over the specified period.
Visualized as dotted lines with customizable colors (Short-Term Resistance Color, Short-Term Support Color) and opacity (Short-Term Resistance Opacity, Short-Term Support Opacity).
Adjustment Tip: Increase the lookback (e.g., to 30-50) for less frequent but stronger levels on higher timeframes, or decrease (e.g., to 10-15) for scalping on lower timeframes.
Long-Term Lookback Period (Default: 50 bars)
Plots broader support (long_low) and resistance (long_high) levels using a solid line style.
Customizable via Long-Term Resistance Color, Long-Term Support Color, and their respective opacity settings.
Adjustment Tip: Extend to 100-200 bars for swing trading or major trend analysis on daily/weekly charts.
Extra-Long Lookback Period (Default: 100 bars)
Identifies significant historical highs (extra_long_high) and lows (extra_long_low) with dashed lines.
Configurable with Extra-Long Resistance Color, Extra-Long Support Color, and opacity settings.
Adjustment Tip: Use 200-500 bars for monthly charts to capture macro-level key zones.
Daily Nearest Resistance and Support Levels
Dynamically calculates the nearest resistance (daily_res_level) and support (daily_sup_level) based on the current day’s price action relative to historical highs and lows.
Displayed with Daily Resistance Color and Daily Support Color (with opacity options).
Adjustment Tip: Works best on intraday charts (e.g., 15m, 1h) to track daily pivots; combine with volume profile for confirmation.
How It Works: These levels update dynamically as new highs/lows form, providing a visual guide to potential reversal or breakout zones.
2. SMC Inputs (Smart Money Concepts)
This section identifies swing structures, order blocks, fair value gaps, and entry signals based on SMC principles.
SMC Swing Lookback Period (Default: 12 bars)
Defines the period for detecting swing highs (smc_swing_high) and lows (smc_swing_low).
Adjustment Tip: Increase to 20-30 for smoother swings on higher timeframes; reduce to 5-10 for faster signals on lower timeframes.
Minimum Swing Size (%) (Default: 0.5%)
Filters out minor price movements to focus on significant swings.
Adjustment Tip: Raise to 1-2% for volatile markets (e.g., crypto) to avoid noise; lower to 0.2-0.3% for forex pairs with tight ranges.
Order Block Sensitivity (Default: 1.0)
Scales the size of detected order blocks (OBs) for bullish reversal (smc_ob_bull), bearish reversal (smc_ob_bear), and continuation (smc_cont_ob).
Visuals include customizable colors, opacity, border thickness, and blinking effects (e.g., SMC Bullish Reversal OB Color, SMC Bearish Reversal OB Blink Thickness).
Adjustment Tip: Increase to 1.5-2.0 for wider OBs in choppy markets; keep at 1.0 for precision in trending conditions.
Minimum FVG Size (%) (Default: 0.3%)
Sets the minimum gap size for Fair Value Gaps (fvg_high, fvg_low), displayed as boxes with Fair Value Gap Color and FVG Opacity.
Adjustment Tip: Increase to 0.5-1% for larger, more reliable gaps; decrease to 0.1-0.2% for scalping smaller inefficiencies.
How It Works:
Bullish Reversal OB: Detects a bearish candle followed by a bullish break, marking a potential demand zone.
Bearish Reversal OB: Identifies a bullish candle followed by a bearish break, marking a supply zone.
Continuation OB: Spots strong bullish momentum after a prior high, indicating a continuation zone.
FVG: Highlights bullish gaps where price may retrace to fill.
Entry Signals: Plots triangles (SMC Long Entry) when price retests an OB with a liquidity sweep or break of structure (BOS).
3. Trap Inputs
This section detects potential bull and bear traps based on price action, volume, and key level rejections.
Min Down Move for Bear Trap (%) (Default: 1.0%)
Sets the minimum drop required after a bearish OB to qualify as a trap.
Visualized with Bear Trap Color, Bear Trap Opacity, and blinking borders.
Adjustment Tip: Increase to 2-3% for stronger traps in trending markets; lower to 0.5% for ranging conditions.
Min Up Move for Bull Trap (%) (Default: 1.0%)
Sets the minimum rise required after a bullish OB to flag a trap.
Customizable with Bull Trap Color, Bull Trap Border Thickness, etc.
Adjustment Tip: Adjust similarly to bear traps based on market volatility.
Volume Lookback for Traps (Default: 5 bars)
Compares current volume to a moving average (avg_volume) to filter low-volume traps.
Adjustment Tip: Increase to 10-20 for confirmation on higher timeframes; reduce to 3 for intraday sensitivity.
How It Works:
Bear Trap: Triggers when price drops significantly after a bearish OB but reverses up with low volume or support rejection.
Bull Trap: Activates when price rises after a bullish OB but fails with low volume or resistance rejection.
Boxes highlight trap zones, resetting when price breaks out.
4. Visual Customization
Line Width (Default: 2)
Adjusts thickness of support/resistance lines.
Tip: Increase to 3-4 for visibility on cluttered charts.
Blink On (Default: Close)
Sets whether OB/FVG borders blink based on Open or Close price interaction.
Tip: Use "Open" for intraday precision; "Close" for confirmed reactions.
Colors and Opacity: Each element (OBs, FVGs, traps, key levels) has customizable colors, opacity (0-100), border thickness (1-5 or 1-7), and blink effects for dynamic visualization.
How to Use SMC+
Setup: Apply the indicator to any chart and adjust inputs based on your timeframe and market.
Key Levels: Watch for price reactions at short, long, extra-long, or daily levels for potential reversals or breakouts.
SMC Signals: Look for entry signals (triangles) near OBs or FVGs, confirmed by liquidity sweeps or BOS.
Traps: Avoid false breakouts by monitoring trap boxes, especially near key levels with low volume.
Notes:
This indicator is a visual aid and does not guarantee trading success. Combine it with other analysis tools and risk management strategies.
Performance may vary across markets and timeframes; test settings thoroughly before use.
For optimal results, experiment with lookback periods and sensitivity settings to match your trading style.
The default settings are optimal for 1 minute and 10 second time frames for small cap low float stocks.
Continuation OB are Blue.
Bullish Reversal OB color is Green
Bearish Reversal OB color is Red
FVG color is purple
Bear Trap OB is red with a green border and often appears with a Bearish Reversal OB signaling caution to a short position.
Bull trap OB is green with a Red border signaling caution to a long position.
All active OB area are highlighted and solid in color while other non active OB area are dimmed.
My personal favorite setups are when we have an active bullish reversal with an active FVG along with an active Continuation OB.
Another personal favorite is the Bearish reversal OB signaling an end to a recent uptrend.
The Trap OB detection are also a unique and Original helpful source of information.
The OB have a white boarder by default that are colored black giving a simulated blinking effect when price is acting in that zone.
The Trap OB border are colored with respect to direction of intended trap, all of which can be customized to personal style.
All vaild OB zones are shown compact in size ,a unique and original view until its no longer valid.
Intraday LevelsWhat it shows:
This indicator is useful for day trading, where it will track and display you important price levels which includes:
Premarket Low (PML)
Premarket High (PMH)
Previous Day Low (PDL)
Previous Day High (PDH)
Previous Day Close (PDC)
After Hours Low (AHL)
After Hours High (AHH)
Day Low (DL)
Day High (DH)
The price level lines and labels will automatically adjust itself as the price moves, eliminating the need of manually having to adjusting these levels.
How to use it:
At these levels it can act as important support resistance points during the day and can often serve as a important pivot point for any ticker. You can expect price rejection or bounce when the price approaches these levels.
Key settings:
For each of the levels, user can adjust in the settings menu:
Line Colour
Line Thickness
Line Style
Label Text
Price Labelling on Label
Label Location (Offset from current bar)
Ability to turn on/off the price level and label
Display levels for either all days or on the day
Enhanced Custom Signal (v6) - IndicatorThis indicator give you Buy and sell signals for scalping AND swing trading.
Fully adjustable settings.
[Forexroboot super scalper v1]this indicator trade on crypto and forex
trade on any time frame
enjoyed
inst: Forexroboot
ما
forexroboot
AOSM - Standard Pivot PointsThis is Standard Pivot Point ( Levels for intraday , swing and positional Trading ) copy from ''Pivot Point Standard'' from @TradingView Pine Script Code ( OPEN PUBLISH )
Here's the updated Pine Script code with individual color settings for each pivot level, maintaining the existing color input structure but allowing unique colors per level instead of using a single default color
Remove extra setting and do very simple for Beginners
Remove History PIVOT for Clean Chart and dafault 1 for new level for everyday and keep option for history pivot for backtesting...
I've modified the color inputs to assign unique default colors to each level
and trade level like :
P: Pivot main (Blue)
S1: Basic Support (Green Light)
R1: Basic Resistance (Red Light )
S2: Important Support (Green Light)
R2: Important Resistance (Red Light)
S3: Major Support (Green Light)
R3: Major Resistance (Green Light)
S4: Extra Support (Green)
R4: Extra Resistance (Red)
S5: Extra Support (Green)
R5: Extra Resistance (Red)
keep 2 support and 2 Resistance extra for better accuracy and given option for it toggle....
Quantify [Trading Model] | FractalystNote: In this description, "TM" refers to Trading Model (not trademark) and "EM" refers to Entry Model
What’s the indicator’s purpose and functionality?
You know how to identify market bias but always struggle with figuring out the best exit method, or even hesitating to take your trades?
I've been there. That's why I built this solution—once and for all—to help traders who know the market bias but need a systematic and quantitative approach for their entries and trade management.
A model that shows you real-time market probabilities and insights, so you can focus on execution with confidence—not doubt or FOMO.
How does this Quantify differentiate from Quantify ?
Have you managed to code or even found an indicator that identifies the market bias for you, so you don’t have to manually spend time analyzing the market and trend?
Then that’s exactly why you might need the Quantify Trading Model.
With the Trading Model (TM) version, the script automatically uses your given bias identification method to determine the trend (bull vs bear and neutral), detect the bias, and provide instant insight into the trades you could’ve taken.
To avoid complications from consecutive signals, it uses a kNN machine learning algorithm that processes market structure and probabilities to predict the best future patterns.
(You don’t have to deal with any complexity—it’s all taken care of for you.)
Quantify TM uses the k-Nearest Neighbors (kNN) machine learning algorithm to learn from historical market patterns and adapt to changing market structures. This means it can recognize similar market conditions from the past and apply those lessons to current trading decisions.
On the other hand, Quantify EM requires you to manually select your directional bias. It then focuses solely on generating entry signals based on that pre-determined bias.
While the entry model version (EM) uses your manual bias selection to determine the trend, it then provides insights into trades you could’ve taken and should be taking.
Trading Model (TM)
- Uses `input.source()` to incorporate your personal methodology for identifying market bias
- Automates everything—from bias detection to entry and exit decisions
- Adapts to market bias changes through kNN machine learning optimization
- Reduces human intervention in trading decisions, limiting emotional interference
Entry Model (EM)
- Focuses specifically on optimizing entry points within your pre-selected directional bias
- Requires manual input for determining market bias
- Provides entry signals without automating alerts or bias rules
Can the indicator be applied to any market approach/trading strategy?
Yes, if you have clear rules for identifying the market bias, then you can code your bias detection and then use the input.source() user input to retrieve the direction from your own indicator, then the Quantify uses machine-learning identify the best setups for you.
Here's an example:
//@version=6
indicator('Moving Averages Bias', overlay = true)
// Input lengths for moving averages
ma10_length = input.int(10, title = 'MA 10 Length')
ma20_length = input.int(20, title = 'MA 20 Length')
ma50_length = input.int(50, title = 'MA 50 Length')
// Calculate moving averages
ma10 = ta.sma(close, ma10_length)
ma20 = ta.sma(close, ma20_length)
ma50 = ta.sma(close, ma50_length)
// Identify bias
var bias = 0
if close > ma10 and close > ma20 and close > ma50 and ma10 > ma20 and ma20 > ma50
bias := 1 // Bullish
bias
else if close < ma10 and close < ma20 and close < ma50 and ma10 < ma20 and ma20 < ma50
bias := -1 // Bearish
bias
else
bias := 0 // Neutral
bias
// Plot the bias
plot(bias, title = 'Identified Bias', color = color.blue,display = display.none)
Once you've created your custom bias indicator, you can integrate it with Quantify :
- Add your bias indicator to your chart
- Open the Quantify settings
- Set the Bias option to "Auto"
- Select your custom indicator as the bias source
The machine learning algorithms will then analyze historical price action and identify optimal setups based on your defined bias parameters. Performance statistics are displayed in summary tables, allowing you to evaluate effectiveness across different timeframes.
Can the indicator be used for different timeframes or trading styles?
Yes, regardless of the timeframe you’d like to take your entries, the indicator adapts to your trading style.
Whether you’re a swing trader, scalper, or even a position trader, the algorithm dynamically evaluates market conditions across your chosen timeframe.
How Quantify Helps You Trade Profitably?
The Quantify Trading Model offers several powerful features that can significantly improve your trading profitability when used correctly:
Real-Time Edge Assessment
It displays real-time probability of price moving in your favor versus hitting your stoploss
This gives you immediate insight into risk/reward dynamics before entering trades
You can make more informed decisions by knowing the statistical likelihood of success
Historical Edge Validation
Instantly shows whether your trading approach has demonstrated an edge in historical data
Prevents you from trading setups that historically haven't performed well
Gives confidence when entering trades that have proven statistical advantages
Optimized Position Sizing
Analyzes each setup's success rate to determine the adjusted Kelly criterion formula
Customizes position sizing based on your selected maximum drawdown tolerance
Helps prevent account-destroying losses while maximizing growth potential
Advanced Exit Management
Utilizes market structure-based trailing stop-loss mechanisms
Maximizes the average risk-reward ratio profit per winning trade
Helps capture larger moves while protecting gains during market reversals
Emotional Discipline Enforcement
Eliminates emotional bias by adhering to your pre-defined rules for market direction
Prevents impulsive decisions by providing objective entry and exit signals
Creates psychological distance between your emotions and trading decisions
Overtrading Prevention
Highlights only setups that demonstrate positive expectancy
Reduces frequency of low-probability trades
Conserves capital for higher-quality opportunities
Systematic Approach Benefits
By combining machine learning algorithms with your personal bias identification methods, Quantify helps transform discretionary trading approaches into more systematic, probability-based strategies.
What Entry Models are used in Quantify Trading Model version?
The Quantify Trading Model utilizes two primary entry models to identify high-probability trade setups:
Breakout Entry Model
- Identifies potential trade entries when price breaks through significant swing highs and swing lows
- Captures momentum as price moves beyond established trading ranges
- Particularly effective in trending markets when combined with the appropriate bias detection
- Optimized by machine learning to filter false breakouts based on historical performance
Fractals Entry Model
- Utilizes fractal patterns to identify potential reversal or continuation points
- Also uses swing levels to determine optimal entry locations
- Based on the concept that market structure repeats across different timeframes
- Identifies local highs and lows that form natural entry points
- Enhanced by machine learning to recognize the most profitable fractal formations
- These entry models work in conjunction with your custom bias indicator to ensure trades are taken in the direction of the overall market trend. The machine learning component analyzes historical performance of these entry types across different market conditions to optimize entry timing and signal quality.
How Does This Indicator Identify Market Structure?
1. Swing Detection
• The indicator identifies key swing points on the chart. These are local highs or lows where the price reverses direction, forming the foundation of market structure.
2. Structural Break Validation
• A structural break is flagged when a candle closes above a previous swing high (bullish) or below a previous swing low (bearish).
• Break Confirmation Process:
To confirm the break, the indicator applies the following rules:
• Valid Swing Preceding the Break: There must be at least one valid swing point before the break.
3. Numeric Labeling
• Each confirmed structural break is assigned a unique numeric ID starting from 1.
• This helps traders track breaks sequentially and analyze how the market structure evolves over time.
4. Liquidity and Invalidation Zones
• For every confirmed structural break, the indicator highlights two critical zones:
1. Liquidity Zone (LIQ): Represents the structural liquidity level.
2. Invalidation Zone (INV): Acts as Invalidation point if the structure fails to hold.
How does the trailing stop-loss work? what are the underlying calculations?
A trailing stoploss is a dynamic risk management tool that moves with the price as the market trend continues in the trader’s favor. Unlike a fixed take profit, which stays at a set level, the trailing stoploss automatically adjusts itself as the market moves, locking in profits as the price advances.
In Quantify, the trailing stoploss is enhanced by incorporating market structure liquidity levels (explain above). This ensures that the stoploss adjusts intelligently based on key price levels, allowing the trader to stay in the trade as long as the trend remains intact, while also protecting profits if the market reverses.
What is the Kelly Criterion, and how does it work in Quantify?
The Kelly Criterion is a mathematical formula used to determine the optimal position size for each trade, maximizing long-term growth while minimizing the risk of large drawdowns. It calculates the percentage of your portfolio to risk on a trade based on the probability of winning and the expected payoff.
Quantify integrates this with user-defined inputs to dynamically calculate the most effective position size in percentage, aligning with the trader’s risk tolerance and desired exposure.
How does Quantify use the Kelly Criterion in practice?
Quantify uses the Kelly Criterion to optimize position sizing based on the following factors:
1. Confidence Level: The model assesses the confidence level in the trade setup based on historical data and sample size. A higher confidence level increases the suggested position size because the trade has a higher probability of success.
2. Max Allowed Drawdown (User-Defined): Traders can set their preferred maximum allowed drawdown, which dictates how much loss is acceptable before reducing position size or stopping trading. Quantify uses this input to ensure that risk exposure aligns with the trader’s risk tolerance.
3. Probabilities: Quantify calculates the probabilities of success for each trade setup. The higher the probability of a successful trade (based on historical price action and liquidity levels), the larger the position size suggested by the Kelly Criterion.
How can I get started to use the indicator?
1. Set Your Market Bias
• Choose Auto.
• Select the source you want Quantify to use as for bias identification method (explained above)
2. Choose Your Entry Timeframes
• Specify the timeframes you want to focus on for trade entries.
• The indicator will dynamically analyze these timeframes to provide optimal setups.
3. Choose Your Entry Model and BE/TP Levels
• Choose a model that suits your personality
• Choose a level where you'd like the script to take profit or move stop-loss to BE
4. Set and activate the alerts
What tables are used in the Quantify?
• Quarterly
• Monthly
• Weekly
Terms and Conditions | Disclaimer
Our charting tools are provided for informational and educational purposes only and should not be construed as financial, investment, or trading advice. They are not intended to forecast market movements or offer specific recommendations. Users should understand that past performance does not guarantee future results and should not base financial decisions solely on historical data.
Built-in components, features, and functionalities of our charting tools are the intellectual property of @Fractalyst Unauthorized use, reproduction, or distribution of these proprietary elements is prohibited.
- By continuing to use our charting tools, the user acknowledges and accepts the Terms and Conditions outlined in this legal disclaimer and agrees to respect our intellectual property rights and comply with all applicable laws and regulations.
Tracking Lines with TP/SL + Labels at LeftA simple indicator so you can set your TP and SL tolerance along with capital and leverage.
A red line and green line will represent where current TP and SL would be on the chart along with the number of tokens you need to trade to meet the USD capital to be trades.
Just gives a visual representation of SL to key zones on the chart so you can judge scalp entries a little better :)
Bull Bear Pivot by RawstocksThe "Bull Bear Pivot" indicator is a custom Pine Script (v5) tool designed for TradingView to assist traders in identifying key price levels and pivot points on intraday charts (up to 1-hour timeframes). It combines time-based open price markers, pivot high/low detection, and candlestick visualization to provide a comprehensive view of potential support, resistance, and trend reversal levels. Below is a detailed description of the indicator’s functionality, features, and intended use.
Indicator Overview:
The "Bull Bear Pivot" indicator is tailored for intraday trading, focusing on specific times of the day to mark significant price levels (open prices) and detect pivot points. It plots horizontal lines at the open prices of user-defined sessions, identifies pivot highs and lows on the current chart timeframe, and overlays custom candlesticks to highlight price action. The indicator is designed to work on timeframes of 1 hour or less (e.g., 1-minute, 3-minute, 5-minute, 15-minute, 30-minute, 60-minute) and includes a warning mechanism for invalid timeframes.
Key Features:
Time-Based Open Price Markers:
The indicator allows users to define up to five time-based sessions (e.g., 4:00 AM, 8:30 AM, 9:30 AM, 10:00 AM, and a custom time) to capture the open price at the start of each session.
For each session, it plots a horizontal line at the 1-minute open price, extending from the session start to the market close at 4:00 PM EST.
Each line is accompanied by a label positioned 5 bars to the right of the market close (4:00 PM EST), with the text right-aligned and vertically centered on the line.
Users can enable/disable each marker, customize the session time, label text, line color, and text color via the indicator’s settings.
Pivot Highs and Lows:
The indicator calculates pivot highs and lows on the current chart timeframe using the ta.pivothigh and ta.pivotlow functions.
Pivot highs are marked with green triangles above the bars, and pivot lows are marked with red triangles below the bars.
The pivot period (lookback/lookforward) is user-configurable, allowing flexibility in detecting short-term or longer-term reversals.
Custom Candlesticks:
The indicator overlays custom candlesticks on the chart, colored green for bullish candles (close > open) and red for bearish candles (close < open).
This feature helps visualize price action alongside the open price markers and pivot points.
Timeframe Restriction:
The indicator is designed to work on timeframes of 1 hour or less. If the chart timeframe exceeds 1 hour (e.g., 4-hour, daily), a warning label ("Timeframe > 1H Indicator Disabled") is displayed, and no elements are plotted.
Customizable Appearance:
Users can customize the appearance of the open price marker lines, including the line style (solid, dashed, dotted) and line width.
Labels for the open price markers have no background (transparent) and use customizable text colors.
CME Price Limits (Futures Prop Firm Rule)This indicator shows the CME Price Limit, combined with a safety distance that is used by several futures prop firms. Trading in the highlighted area means a rule violation for many Futures prop firm accounts.
The levels are calculated from the "Settlement as close" closing price of the previous daily candle.
JPMorgan Collar LevelsThis indicator visualizes the current JPMorgan Hedging Collar strategy commonly used by institutional funds like JHEQX. It plots three key levels:
– Short Call strike (upper bound)
– Long Put strike (protection level)
– Short Put strike (cost reduction)
The area between the long put and short call is shaded to represent the active hedging zone. This setup is updated quarterly and can influence SPX market behavior near expiration dates.
Inputs are customizable to reflect the latest collar configuration. Useful for traders tracking institutional hedging flows or analyzing market structure near key option expirations.
10K's RTH open ±0.35% for CMEInstant Visualization of ±0.35% from RTH Open — Spot Intraday Reversals at a Glance!
This is a visual tool designed for the U.S. regular trading hours (RTH), which instantly highlights the ±0.35% range from the RTH opening price of futures at the start of the session.
The range is displayed as a light purple box, accompanied by a dashed line marking the exact opening price, helping traders quickly assess how price reacts around this key level.
With adjustable transparency settings, this tool is ideal for intraday analysis of price positioning and directional strength — a valuable aid for short-term trading strategies.
Market Phases (ZigZag + MA + RSI)This script is a TradingView Pine Script that visualizes market phases using the ZigZag pattern, Moving Averages (MA), and the Relative Strength Index (RSI). It allows traders to identify key market conditions, such as accumulating, distributing, bullish, and bearish phases based on price movements and momentum indicators.
#### Components
1. ZigZag Settings:
- Depth: Controls the sensitivity of the ZigZag indicator. A higher value results in fewer price points being considered as reversals.
- Deviation: Defines the minimum percentage change needed to identify a ZigZag point, preventing small fluctuations from being registered.
- Backstep: Specifies the number of bars to look back for identifying highs and lows.
2. Moving Average Settings:
- MA Length: The number of periods used to calculate the moving average.
- MA Type: The type of moving average to use, either Simple Moving Average (SMA) or Exponential Moving Average (EMA).
3. RSI Settings:
- RSI Length: The period for calculating the RSI.
- Overbought Level: The threshold above which the asset is considered overbought.
- Oversold Level: The threshold below which the asset is considered oversold.
4. Calculations:
- Moving Average and RSI Calculation: The script calculates either an SMA or EMA and the RSI based on user-defined settings.
5. ZigZag Enhanced Calculation:
- It identifies swing highs and lows to determine the ZigZag points for improved trend analysis.
6. Trend Direction:
- The script checks the direction of the trend based on the latest ZigZag points.
7. Market Phase Determination:
- The script defines the market phase (Accumulation, Distribution, Bullish, Bearish) based on the trend direction and levels from the RSI and relationship with the moving average.
8. Background Colors:
- The background is tinted according to the identified market phase for visual clarity.
9. Labels and Plotting:
- Labels are generated at the last bar with the current phase and RSI value.
- The moving average and last ZigZag points are plotted on the chart for further reference.
### Conclusion
This script provides a comprehensive view of market conditions by integrating multiple indicators, helping traders make informed trading decisions based on market dynamics. The ability to visualize phases and key indicators aids in recognizing potential entry and exit points in trading strategies.
If you have any questions or need further modifications, feel free to ask!
50%er(PreMarket & ORB)50%er(PreMarket & ORB)
Overview:
50%er(PreMarket & ORB) is a streamlined version of my full 50%er script. It calculates the critical 50% level of the previous candle and extends this to daily, weekly, monthly, quarterly, and yearly timeframes. The script also detects and plots previous highs and lows for these timeframes, providing key price levels for traders. Additionally, it calculates and displays opening levels for the day, week, month, quarter, and year. A custom timeframe feature adds flexibility for setting 50% and high/low levels, catering to different trading preferences.
How It Works:
The script calculates the 50% midpoint of the previous candle’s high and low, a key support/resistance level for traders. It extends this logic across multiple timeframes, including daily, weekly, monthly, quarterly, and yearly, and tracks previous highs and lows for these periods. It also prints opening levels for various timeframes. The premarket high/low and ORB (Opening Range Breakout) levels are included when extended hours are enabled.
How to Use:
Adding to Chart: Apply the 50%er Script Lite to your TradingView chart.
Configuring Inputs: Adjust timeframes and levels to match your trading strategy. The custom timeframe feature allows for personalization.
Analyzing Levels: Use the plotted 50% lines and opening levels to identify potential support and resistance areas, as well as breakout or breakdown points.
Strategizing Trades: Incorporate these levels into your trading plan for potential entry and exit points.
What Makes It Original:
50%er Lite stands out for its simplicity and precision. It focuses on the essential 50% line and key price levels, offering a clear view of the market without unnecessary complexity. The inclusion of premarket levels and ORB breakout levels, along with the custom timeframe feature, makes it a versatile tool for traders of all levels.
Pivot Clouds [SS]Hey everyone,
Whopper indicator here that I have been working on for some time, excited to finally release it! So let's get into it!
☁️☁️ What are Pivot Clouds?! ☁️☁️
The concept for pivot clouds came from trailing and erroring different iterations of support and resistance (which ultimately led to the creation of the BIN Based Support and Resistance indicator).
In the design and creation of my BIN support and resistance indicator, I initially tried to do something similar with pivot points. However, I found pivots to be relatively ineffective as support and resistance, especially in very trendy markets, and the BIN approach reigned supreme. However, not wanting to abandon the utility of pivots, I tried something different, creating a pivot based SMA.
This proved most useful and very helpful for determining directions, rejections and trends! From there, came this indicator, the Pivot Clouds. This is currently iteration 32 haha, which will be the final iteration for the time being and most functional.
The pivot cloud indicator works by smoothing pivot highs and pivot lows over the course of your inputted length. My general suggestion is to keep it between 150 to 250. Going to low will make it incredibly choppy. Using 200 seems to be the sweet spot for most tickers.
Over the course of the pivot lookback, it collects all pivot highs and pivot lows, then averages them out to create 2 separate SMAs, those being an SMA for the pivot high and an SMA for the pivot low. Together, these create the cloud you see in the main chart.
In addition to creating this cloud, the indicator marks and tracks pivot maxes to both the upside and downside and will draw cloud support on a fall below the main cloud and cloud resistance on a rise above the main cloud, as exampled here:
Above:
And Below:
These clouds represent the average of the pivot high/pivot low and extend to the max or min (high or low depending on position on the main cloud).
💡 Alternative Abilities 💡
Resulting from the sometimes inadequacy of pivots to determine targets and resistance/support, the indicator is capable of pulling in ATR target prices. This allows the user to either use both, pivot max/min clouds AND ATR targets, or simply one or the other.
The ATR targets can be customized in the indicator settings, with a default of daily timeframe targets on a 14 ATR lookback.
Here are some examples of how the ATR targets look:
And to the upside:
📈 Standalone Strategy 📈
This indicator can be used as a standalone strategy, or to complement other strategies. I will go over both briefly, starting with standalone strategy:
Select your target preference (ATR, Pivot Maxes and Mins or both)
Long on a break and hold over the main cloud to the targets; or
Shrot on a break below the main cloud to the targets.
That simple!
🎯Supplemental to existing Strategy 🎯
This indicator for me is gold for my strategy, which involves longing or shorting to calculated target prices.
You essentially follow the above, only your targets are determined by your strategy. So for me, I look for a rejection or hold of the cloud, to long or short to my targets:
💰Customizing the Indicator 💰
Let's quickly go over these options:
Smooth length: Creates a smooth cloud. Suggested limits are 150 - 250
Lookback Length: This determines the length of lookback for the indicator to store historical pivot information and create the clouds.
Pivot Lookforward/backward: Allows the user to select custom pivot timeframes. The traditional rule is 10, but 5 sometimes is preferred on larger timeframes.
Show Pivot Max and Min: These enables the pivot max and min cloud for a crossover or crossunder of the main cloud.
ATR timeframe: determines the ATR target price levels to look for. You can toggle weekly, daily, hourly, whichever you prefer.
ATR Length: Allows you to customize the lookback for determining the ATR targets.
USE ATR targets: This will turn on / off the ATR targets, if you wish to use/not use these reference points with the indicator, same as with the pivot max and min cloud toggle.
And that's the indicator, folks!
Hope you like it,
Take care and safe trades!🚀
ORB - Futures and Stocks (Breakouts + Alerts + ORB Selector)This indicator shows the Opening Range Breakout (ORB) based on the time range you choose.
Important:
It only works for intraday trading on time frames less than 1 day (like 1-minute, 5-minute, or hourly charts).
You can use it with any stock or futures, such as US500, NAS100, or GER40.
Inputs:
ORB Range - Your preference.
Session Start
Time Zone Offset
Examples:
for EU Frankfurt, DAX (GER40):
Set your ORB range
Session Start 0900
Time Zone Offset +1
For US Stock Market and US500, NAS100:
Set your ORB range
Session Start 0930
Time Zone Offset -5
Created using ChatGPT