Custom Gold Pivot LevelsThis indicator plots custom resistance and support levels based on a central Ziro Pivot Level. The levels are adjusted dynamically based on whether you're preparing for a Buy or Sell trade. The script allows you to set percentage-based levels for both resistance and support, making it a versatile tool for traders.
Features:
Pivot Level: Set the central pivot level (Ziro Pivot) around which resistance and support levels are calculated.
Dynamic Resistance & Support Levels: Input your preferred percentages for Resistance 1, Resistance 2, Support 1 , and Support 2 .
For Buy: Resistance levels are higher, and support levels are lower.
For Sell: Resistance levels are adjusted lower, and support levels are adjusted higher.
Label Display: The indicator will display a Buy label in green above the pivot level or a Sell label in red below the pivot level, depending on the trade type you select.
Adjustable Parameters:
Ziro Pivot Level: Set the central pivot level.
Resistance & Support Levels: Adjust resistance and support levels using percentages.
Trade Type: Choose between "Buy" and "Sell" to dynamically adjust resistance and support levels.
Inputs:
1- Trade Type: Select between Buy or Sell to set the relevant resistance and support levels.
Ziro Pivot Level: Set the main pivot level around which all other levels are calculated.
Resistance Level 1 & 2: Input percentages for Resistance 1 and Resistance 2.
Support Level 1 & 2: Input percentages for Support 1 and Support 2.
How to Use:
1- Select "Buy" or "Sell" from the input options.
For Buy: The indicator will plot higher resistance levels and lower support levels.
For Sell: The indicator will plot lower resistance levels and higher support levels.
2- Adjust the Pivot Level: Set the central pivot level for the levels to be calculated around.
3- Adjust the Resistance & Support Percentages: Modify the resistance and support levels to fit your trading strategy.
4- Visual Feedback: The indicator will show a Buy label in green above the pivot level or a Sell label in red below the pivot level, making it easy to identify the trade direction at a glance.
Use Cases:
Gold & Commodity Trading: This tool is particularly useful for traders working with commodities like gold, where pivot levels can help determine potential price action points.
Swing & Day Trading: The dynamic nature of this indicator makes it great for both swing and day traders who want to monitor short-term market movements.
Support and Resistance Strategy: Traders who rely on support and resistance levels to make buy/sell decisions can use this indicator to automate and visualize these levels more effectively.
Chỉ báo và chiến lược
Relative Volume IndicatorThe Relative Volume Indicator provides a clear, easy-to-read visual representation of key market activity. It highlights potential opportunities and market shifts while offering customizable display options, allowing you to tailor the experience to your own trading style.
It has two options for displaying Relative Volatility(RV): Candle Sticks and the traditional line . (Highs and Lows of the candles are still in development and will be released upon completion.)
The indicator also provides " Buy Signals " that appear when the RV SMA moves below the RV Line or RV Candles.
Disclaimer: Buy Signals are not 100%, as nothing is in trading. However, they work extremely well when paired with Fair Value Gaps. (We will be releasing a "Better FVG Indicator" soon)
RV can be manipulated by changing the values of "RV Weight" and RV Length" in the indicator's settings.
RV Weight is a weight that gets set to the indicator that will weigh down the levels.
RV Length is comparable to an SMA of the calculation that returns RV.
Feel free to leave any great ideas in the comments or by dm that you may have to improve the indicator!
Price Extreme BandsPrice Extreme Bands Description
This indicator calculates and displays Price Extreme Bands based on an Exponential Moving Average (EMA) and True Range Average True Range (TR ATR). It utilizes a custom "Super Smoother" function to smooth the bands, providing a clearer representation of potential price extremes without sacrificing accuracy.
Usage
Built for specifically for intraday timeframes, this indicator identifies short term price extremes and volatility ranges. Traders can observe when price moves towards the outer bands, suggesting strong momentum or potential overbought/oversold conditions. The filled zones highlight areas of increased volatility which can used as exit criteria for a trade, possible reversal points in ranging markets or price ranges where price momentum could slow in trending markets.
Key Features
Length Input: Controls the length of the EMA and TR ATR calculations.
Multiplier Inputs: Uses two fixed multipliers (1.71 and 2.50) to create bands.
Super Smoother: Applies a custom smoothing function to the bands for reduced noise.
Fill Zones: Fills the areas between the inner and outer bands to highlight potential volatility ranges.
Calculation:
1. EMA (Basis): Calculates the Exponential Moving Average of the selected source.
2. TR ATR: Calculates the True Range and then smoothes it using RMA (Rolling Moving Average).
3. Bands: Calculates upper and lower bands using the EMA and ATR, with multipliers of 1.71 and 2.50.
4. Super Smoother: Applies a smoothing function to the calculated bands.
Visuals:
Basis Line: Plots the EMA (basis) (invisible by default).
Inner Bands (1.71 Multiplier): Plots the smoothed bands with a distinct color (e.g., orange) (invisible by default).
Outer Bands (2.50 Multiplier): Plots the smoothed bands with a different color (e.g., purple) (invisible by default).
Fill Zones: Fills the region between the inner and outer upper bands and the inner and outer lower bands with a translucent color (e.g. light blue).
// Note: The plot lines are invisible by default. To view the basis, upper and lower band lines, adjust the visibility settings in the indicator's settings.
Uniqueness: Ready of the box. Code and parameters built specifically for 1m to 15m timeframes provides users with an indicator to easily identify price extremes. The use of TR ATR and addition of the Super Smoother calculation create a easier visualization and implementation compared to existing price band options.
8xEMAInclude all 8 EMA 20/34/50/100/144/200/258/630 with the option to turn them off or change to different EMA values.
Power Struggle [GOODY]📊 Power Struggle – Gauge the Battle Between Bulls & Bears
"Power Struggle " is an advanced, multi-layered market strength and momentum analysis tool. It combines the classic Elder Impulse System and Elder-Ray Power Columns with modern enhancements like visual gauges, momentum shift alerts, and volume-based divergence detection — all in one clean and intuitive interface.
________________________________________
🧠 What This Indicator Shows You:
✅ Bull vs Bear Power Columns
• Visualize who’s in control with clean columns showing Bull and Bear dominance.
• Fully integrated with EMA-based Impulse logic to detect trend conviction.
✅ Buy/Sell Signal Labels & Alerts
• Trend-following signals based on dynamic power thresholds.
• Green = Bull Confirmed | Red = Bear Confirmed
• Alerts included for all signal and divergence conditions.
✅ Dynamic Volume Gauge (Horizontal or Vertical)
• A powerful gauge showing real-time buyer/seller strength.
• Includes divergence detection when volume and price disagree, often a warning sign.
• 🔄 Fully customizable layout, position, flip, rotation, and gradient styling.
✅ Active Column Gauge
• Tracks real-time momentum shifts within each candle.
• Highlights power shifts with emoji markers (🐂/🐻), and calculates where price closes within each candle's range.
✅ Volume-in-Candle Labels (Optional)
• See raw Buy vs Sell volume numbers inside the candles.
• Easily spot if price moves are supported by actual volume.
________________________________________
⚙️ Customizable Settings
• 🎚️ Set thresholds for signal strictness
• 🔔 Use built-in alerts for:
o Bullish/Bearish Impulse
o Bull/Bear Power Thresholds
o Bullish/Bearish Divergences
o Momentum Shifts
Polaris TrendThe Polaris Trend indicator is a trend-following tool available on TradingView/Discord, designed to assist traders in identifying potential buy and sell opportunities by analyzing market momentum and trend strength. Key features and functionalities include:
**Short-Term Oscillator**: Measures short-term momentum by calculating the Relative Strength Index (RSI) of the difference between two Exponential Moving Averages (EMAs). This component helps in detecting early signals for trend reversals and momentum shifts.
**Long-Term Oscillator**: Assesses the broader trend strength using the RSI of a single EMA, acting as a filter to ensure that signals align with the overall market trend.
**Smoothed Oscillator (T3)**: Applies a smoothing algorithm to the short-term oscillator to reduce noise, ensuring more reliable and less erratic signals.
**Buy and Sell Signals**: The indicator provides clear entry signals directly on the chart:
**Buy Signal**: Triggered when the short-term oscillator is above zero, the smoothed short-term oscillator is rising, and the long-term oscillator is above zero, indicating upward momentum and trend confirmation.
**Sell Signal**: Activated when the short-term oscillator is below zero, the smoothed short-term oscillator is falling, and the long-term oscillator is below zero, suggesting downward momentum and trend confirmation.
**Customization Options**: Traders can adjust parameters such as the lengths of the EMAs and RSI periods to fine-tune the indicator's sensitivity, tailoring it to specific instruments or timeframes.
**Alerts**: The indicator can generate real-time alerts for both buy and sell signals, enabling timely decision-making.
By combining these elements, the Polaris Trend indicator offers a comprehensive approach to trend analysis, helping traders make informed decisions based on momentum shifts and trend alignments.
Indicator Settings:
Input
Input = 4
Source = Close
Source
Histogram Line = Columns
Line alerts = Bottom
Cartera SuperTrends v4 PublicDescription
This script creates a screener with a list of ETFs ordered by their average ROC in three different periods representing 4, 6 and 8 months by default. The ETF
BIL
is always included as a reference.
The previous average ROC value shows the calculation using the closing price from last month.
The current average ROC value shows the calculation using the current price.
The previous average column background color represents if the ETF average ROC is positive or negative.
The current average column background color represents if the ETF average ROC is positive or negative.
The current average column letters color represents if the current ETF average ROC is improving or not from the previous month.
Changes from V2 to V3
Added the option to make the calculation monthly, weekly or daily
Changes from V3 to V4
Adding up to 25 symbols
Highlight the number of tickers selected
Highlight the sorted column
Complete refactor of the code using a matrix of arrays
Options
The options available are:
Make the calculation monthly, weekly or daily
Adjust Data for Dividends
Manual calculation instead of using ta.roc function
Sort table
Sort table by the previous average ROC or the current average ROC
Number of tickers selected to highlight
First Period in months, weeks or days
Second Period in months, weeks or days
Third Period in months, weeks or days
Select the assets (max 25)
Usage
Just add the indicator to your favorite indicators and then add it to your chart.
StockLeave Risk ModuleOverview
This indicator provides a visual reference to determine position size and approximate risk-to-reward. It is designed to support trade planning by calculating equalized risk per trade based on a stop distance derived from volatility. Additionally, it displays potential outcomes relative to structural references on the chart, such as the mean price and Keltner band extremes.
This tool is not intended for precision or predictive analysis, but rather for estimative usage; offering supportive reference points that allow for quick evaluation of risk-to-reward and position size.
Equalized Risk Per Trade
The indicator calculates the number of shares that can be traded while maintaining consistent monetary risk. The formula is based on the distance between the current price and the visual stop reference, adjusting the position size proportionally.
Position Size = Dollar Risk / (Entry Price - Stop Price)
The monetary risk is calculated as a percentage of account size; both of which can be set in the indicator’s settings tab. This creates a consistent risk exposure across trades regardless of volatility or structural stop distance.
Stop Placement Reference
The visual stop reference is by default located at 2× ATR from the current price, providing a volatility-based anchor. While this value can be customized, it serves as a practical reference when a structural stop has not yet been defined. It allows quick scenario building and visual feedback.
Visual Risk-Reward Projection
The module provides approximate reward-to-risk (R/R) projections based on dynamic price references. These should not be interpreted as practical trade targets, but rather as estimations of average price volatility and structural movement. Their purpose is to help assess directional potential relative to predefined risk.
Upper Keltner Band (Upper): Represents the upper boundaries. In bullish events, prices may expand towards this zone, completing movement from mean to upper structural extreme.
Moving Average (Mean): Represents the midpoint of structure. In reversion events, prices may revert toward this zone, completing the move from extreme back to mean.
Lower Keltner Band (Lower): Represents the lower boundaries. In bearish events, price may expand towards this zone, completing movement from mean to lower structural extreme.
The tool calculates the R/R multiple between the current price and each of these reference points in relation to the visual stop reference. This allows for a quick evaluation of risk-reward potential based on structural context and prevailing volatility. These are visible in the Signal Bars indicator. These are reference points and should should be interpreted with contextual structure.
Chart Elements
ATR Dots: Plotted above and below the current price as reference points for theoretical stop placement. The default distance is set to 2× ATR but can be adjusted in the indicator settings.
Information Table: Displays the number of shares to trade, along with R/R projections to the mean and both Keltner bands. This offers a quick overview for evaluating position sizing and potential reward relative to risk.
This indicator is accompanied by the Signal Bars Indicator .
Demand and Supply MTF with SMC By StockFusion - 3.0Demand and Supply MTF with SMC By StockFusion - 3.0 - Indicator Description
Concepts
What is Supply & Demand?
Supply and Demand are foundational forces driving market dynamics. Demand reflects the presence of buyers willing to purchase a security, while Supply indicates sellers offering it for sale. These forces create zones on the chart where price tends to react—either reversing or continuing—based on the balance between buying and selling pressure. This indicator identifies these zones using price action patterns, focusing on impulsive moves (strong directional momentum) and retracement phases (consolidation or pullbacks).
What is SMC (Smart Money Concepts)?
Smart Money Concepts (SMC) revolve around tracking the behavior of institutional traders, often called "smart money." By analyzing price action, market structure shifts, and liquidity, SMC helps retail traders align with the moves of larger players. Key SMC signals like Change of Character (CHoCH), Break of Structure (BOS), liquidity sweeps, and swing points provide insights into potential trend changes or continuations.
Overview
Demand and Supply MTF with SMC By StockFusion - 3.0 is a sophisticated, price action-based indicator designed to plot real-time Supply and Demand zones across multiple timeframes (MTF) directly on your chart. It goes beyond simple zone plotting by integrating Smart Money Concepts (SMC) and Inside Candle detection, offering traders a powerful tool for spotting high-probability reversal or continuation areas. The indicator highlights zones with customizable boxes, labels them for clarity, and provides additional SMC-driven insights such as CHoCH, BOS, liquidity sweeps, and swing high/low levels. This combination of multi-timeframe analysis, SMC, and consolidation detection creates a unique and highly practical tool for traders seeking an edge in the markets.
How It Works
The indicator operates by analyzing price action across two user-defined timeframes (Higher TF and Lower TF) to detect Supply and Demand zones. It identifies these zones based on specific price patterns:
Rally Base Rally (RBR): A bullish impulsive move, followed by consolidation, then another bullish move—indicating a Demand zone.
Drop Base Drop (DBD): A bearish impulsive move, consolidation, then another bearish move—indicating a Supply zone.
Drop Base Rally (DBR): A bearish move, consolidation, then a bullish reversal—indicating a Demand zone.
Rally Base Drop (RBD): A bullish move, consolidation, then a bearish reversal—indicating a Supply zone.
These patterns are detected using criteria like explosive candle movements (based on range-to-body ratios and ATR multipliers), volume thresholds, and base candle counts (configurable from 1 to 5 candles). Zones are plotted as horizontal bands, with Higher TF zones taking precedence to avoid overlap with Lower TF zones, ensuring clarity on the chart.
Smart Money Integration:
The indicator enhances zone analysis with SMC features:
CHoCH (Change of Character): Detects shifts in market sentiment by comparing price action against recent swing highs/lows over a customizable period.
BOS (Break of Structure): Identifies when price breaks key structural levels, signaling a potential trend shift.
Liquidity Sweeps: Marks areas where price briefly exceeds swing points before reversing, often targeting stop-loss orders.
Swings: Highlights significant swing highs and lows to track momentum and structure.
Inside Candle Detection:
Inside Candles—smaller candles contained within the range of a prior candle—are plotted to indicate consolidation or indecision, often preceding breakouts. Optional lines can be drawn around these candles for better visibility.
Key Features & How to Use
Real-Time Zone Plotting:
Automatically identifies and marks Supply and Demand zones as they form, using the RBR, RBD, DBR, and DBD patterns. Zones are color-coded (e.g., green for Demand, red for Supply) and can extend rightward for visibility.
Multi-Timeframe Analysis:
Operates on all timeframes, with separate settings for Higher TF (e.g., weekly) and Lower TF (e.g., daily) zones. This allows traders to see both macro and micro levels of market structure.
Automatic Detection:
No manual input is required—zones are plotted based on price action, volume, and SMA trends. Live candle volume is displayed for context.
Tested Zone Management:
Optionally removes zones after they’re tested (price revisits and reverses) or after a second leg-out move, keeping the chart uncluttered.
Customizable Display:
Choose which patterns to detect (RBR, RBD, etc.).
Adjust base candle counts (1-5), explosive candle parameters (Range-Body Ratio, Multiplier), and quality filters (SMA length, Volume Multiplier).
Customize colors for zones, borders, labels, and candles (boring, bullish explosive, bearish explosive).
Enable/disable labels and pattern names on boxes.
Alerts:
Set notifications for zone formation, CHoCH, BOS, and liquidity sweeps on your chosen timeframe.
Inside Candle Visualization:
Highlights consolidation phases with color-coded candles and optional lines, aiding breakout anticipation.
SMC Insights:
Visualizes CHoCH, BOS, liquidity sweeps, and swings with distinct lines and labels, helping traders follow institutional moves.
How to Use It:
Approaching Zones: When price nears a Supply or Demand zone, watch for reversal patterns (e.g., pin bars, engulfing candles) or SMC signals (e.g., BOS, liquidity sweeps) to confirm entries. Combine with your tested strategy—don’t trade zones blindly.
SMC Signals: Use CHoCH for early trend reversal clues, BOS for trend continuation, and liquidity sweeps to gauge manipulation.
Inside Candles: Monitor for breakouts after consolidation periods marked by Inside Candles.
Why It’s Unique & Valuable
This indicator stands out by blending multi-timeframe Supply and Demand analysis with Smart Money Concepts and Inside Candle detection into a single, cohesive tool. While it uses classic elements like price action and volume, its proprietary logic—combining specific pattern detection (RBR, RBD, DBR, DBD), SMC signals (CHoCH, BOS, etc.), and consolidation tracking—offers a fresh approach. Unlike generic trend-following or scalping tools, it provides actionable insights into market structure and institutional behavior, making it worth considering for traders willing to invest in a premium tool. The flexibility of customization and MTF functionality further enhances its utility across trading styles, from scalping to swing trading.
SPY MACD Histogram Reversals and RejectionsStrategy Overview: Intraday SPY Options Day Trading with MACD Histogram Reversals and Rejections
This is an intraday trading strategy designed specifically for trading SPY (or SPX) using 1DTE options. It focuses on price action during the morning session and leverages MACD histogram crossovers, volatility analysis, and short-term price rejections to enter directional trades (calls or puts). The goal is to capitalize on early momentum shifts and retracement failures after initial market moves.
Key Trading Hours and Constraints
Trading Window: Only trades between 9:50 AM and 1:00 PM EST are considered.
Trade Cutoff Buffer: New trades are blocked in the final 5 minutes before the 1:00 PM end time to avoid auto-close conflicts.
First Hour Focus: Special logic applies during the first hour of the session (9:30 AM to 10:30 AM), where reversal-based setups are tracked more aggressively.
MACD Histogram Setup
The strategy calculates both 5-minute and 10-minute MACD values.
Signals are generated when the 5-minute MACD histogram crosses the zero line, indicating a momentum shift.
The magnitude of the histogram (absolute value) must exceed a threshold (0.10) to validate strong enough momentum.
The 10-minute histogram is used as a confirmation filter: if it’s under 0.17 in magnitude, it favors a call entry (bullish breakout); otherwise, it defaults to put entry (bearish momentum).
Reversal & Protection Logic (Early Morning Retests)
Call Rejection Protection (To avoid entering long after a strong upward move and sharp retrace):
Monitors price from 9:30–10:00 AM for the lowest point.
Then from 10:00–10:35 AM, it tracks the highest price.
If price retraces more than 90% of that move up, it avoids new call entries.
Put Rejection Protection (To avoid entering short after a downward move and retrace):
Tracks the highest point from 9:30–10:00 AM, then the lowest price from 10:00–10:35 AM.
If price retraces more than 90% of that downward move, put entries are skipped.
This avoids buying into failed breakouts or deep retracements, protecting against reversal traps.
Entry Conditions Summary
A trade is considered only if:
It's within the allowed time window.
MACD histogram crosses zero with sufficient strength.
No retracement rejection conditions are triggered.
The 10-minute MACD filter confirms momentum direction.
Risk Management – Dynamic ATR-Based Stop Loss & Profit Target
Uses a 6-period ATR to size both the stop loss and profit target.
ATR multipliers are adjusted dynamically based on RSI(14) values to account for current volatility and overbought/oversold conditions:
Profit Targets: Scaled using an aggressive ATR multiplier tied to RSI position.
Stop Losses: Slightly wider to prevent premature exits from minor retracements.
This adaptive approach helps ensure realistic targets while keeping risk within bounds.
Options Profit Estimation
Estimated option move is calculated using:
The difference between entry price and the profit target (in underlying asset).
Assumes 0.48 delta to approximate the expected option gain/loss.
These values are displayed directly on the chart as part of the trade label.
Trade Execution and Labeling
Each trade is assigned a unique ID and visually labeled on the chart with:
Direction (Call or Put)
Profit target level
Estimated underlying move
Estimated option gain in dollars
Alerts are also triggered to notify on entry signals, showing the estimated option profit.
Performance Tracking and Statistics
Tracks total trades, wins, losses, and current win streak using strategy.closedtrades.
Displays these values in a live stats table on the chart for real-time feedback.
Additional Visual Aids
Table showing:
MACD profit targets and histograms
Estimated option moves
Intraday range (high – low)
Draws a horizontal line at the nearest rounded price level for quick visual context.
Marks key morning times (9:55, 10:00, and 10:30) with small labeled markers.
Overall Objective
This strategy aims to:
Catch early directional momentum in SPY within a controlled risk framework.
Avoid trading into retracements or false breakouts.
Provide visually clear, data-supported trade entries for real-time manual execution.
Estimate profitability in terms of options pricing for quick decision-making.
It's ideal for traders looking to day trade 0DTE or 1DTE SPY options using technical triggers, real-time filtering, and protective logic to reduce false signals and improve timing.
StockLeave Signal BarsOverview
The Signal Bars indicator identifies potential trade entries by highlighting expansion and reversal bars. These are defined by individual bar characteristics and further refined by contextual factors such as price position relative to structural boundaries. The purpose is to locate bars that signal potential market initiation or reaction.
Expansion Bars
The expansion captures bars that breakout from a period of reduced volatility. These often initiate directional movement and are recognized using a two-part definition.
Range Expansion: The current bar’s range must exceed the average range. This ensures the move is comparatively large and stands out from recent behavior.
Range Compression: The bars before the expansion must be below a threshold of the average range. This confirms a low-volatility lead-up, strengthening the likelihood that the expansion has significance.
This script applies additional filters: a local breakout ensures price breaks the previous bar’s high or low; a strong close confirms directional intent by requiring the close near the bar’s extreme; mean proximity checks that expansion starts near the mean price using a dynamic buffer relative to bar size; a directional filter blocks signals during extended directional runs; and consecutive suppression prevents multiple expansions to show in succession.
Pin Bar Reversals
Reversal setups aim to identify potential turning points after price has reached a zone of imbalance or extension. These bars typically exhibit long tails and occur near structural boundaries such as the outer Keltner bands. Their design favors short-term price rejection and potential reversal.
Tail Dominance: The wick (upper or lower) must be at least twice the size of the bar’s body and account for more than a certain percentage of the entire bar’s range. This ensures the bar represents strong rejection rather than mere indecision.
Close Location: The bar must close near the opposite end of its wick to confirm that rejection was held into the close. For bearish reversals, the close must be near the low; for bullish reversals, near the high. This reinforces intent and pressure in the direction of the reversal.
This script applies additional filters: local extreme ensures the bar marks a local turning point to confirm reversals occur after extension, not within structure; boundary proximity requires the bar to appear near the outer Keltner Bands, aligning bearish signals with the upper band and bullish with the lower, indicating price has reached an area of likely imbalance.
Snapback Reversals
Snapbacks are structured to capture failed extensions outside structural boundaries. While traditional reversals are identified by a single bar with a rejecting tail, snapbacks use a two-bar sequence: a strong impulse bar that closes beyond the bands, followed by a bar that reclaims in the opposite direction. The difference lies in the formation, not the intent, as both anticipate a reversion after price imbalance.
Impulse Bar Criteria: The previous bar must close beyond the upper (bullish impulse) or lower (bearish impulse) Keltner band. It must also close near its extreme and have a large body. This confirms strong directional pressure.
The current bar must close beyond the midpoint of the previous bar’s body and reverse the prior direction. This signals a failure to follow through and a snapback into the prior range. These will show only when price extends beyond the boundaries. This ensures that the setup targets failed breakouts rather than normal pullbacks or mid-range fluctuation.
Alert Configuration
The Signal Bars indicator includes an alert function with two built-in conditions to help reduce screen time and focus attention when predefined conditions are met.
Expansion: Alerts when a bar meets all conditions for a valid expansion.
Reversal: Alerts when a bar meets the criteria for a pin bar or snapback reversal.
These are built into the indicator with the alertcondition() function and can be turned on whenever the indicator is applied to a chart. Each alert includes a default message that uses dynamic placeholders; {{ticker}} for the symbol and {{interval}} for the timeframe.
Create a new alert and select the condition “StockLeave Signal Bars.”
Then select from the two options: Expansion and Reversal.
For expansions, select “once per bar” to capture developing momentum.
For reversals, use “once per bar close” to confirm rejection setups.
Apply alerts across multiple timeframes to improve coverage. Lower timeframes are better suited for fast-moving markets, while higher timeframes work well in slower or more selective environments. This process only needs to be done once. The created alerts can then be toggled on or off from the Alerts panel as preferred, without requiring reconfiguration.
Applied Discretion
The indicator functions on fixed logic, but interpretation always takes precedence. Consider price action, structure, volatility, and broader market context. Most signals will not lead to trades; while many may appear in a session, only a select few will align with context and warrant execution based on discretion.
sideways market for strangle📌 Description of "Sideways Market for Strangle" Script**
This **Pine Script** is designed to identify a **sideways market**, which is ideal for **option strangle strategies**. The script plots a **green signal** below the price chart when the market is in a low-volatility, non-trending phase.
---
🔹 How It Works**
1️⃣ **RSI Condition (Measures Market Momentum)**
- The script uses a **Relative Strength Index (RSI) with a length of 11**.
- If **RSI is between 40 and 60**, the market is neither overbought nor oversold, indicating a range-bound or sideways trend.
2️⃣ **ADX Condition (Checks Trend Strength)**
- The **Average Directional Index (ADX)** is used to measure trend strength.
- If **ADX is below 25**, it confirms a weak trend.
- Additionally, ADX must be **lower than both DI+ and DI-**, ensuring that there’s no strong bullish or bearish momentum.
3️⃣ **Signal Plotting**
- When both conditions are met (RSI between 40-60 and ADX < 25 with ADX < DI+ & DI-), a **green shape appears below the price chart**.
- This signal suggests that the market is in a **sideways phase**, making it suitable for **strangle or non-directional option strategies**.
---
🔹 Why Use This for a Strangle Strategy?**
- **Strangles perform best in a sideways market** where implied volatility is low.
- This indicator helps traders avoid **trending markets**, reducing risk.
- **Simple visualization** makes it easy to identify low-movement zones at a glance.
---
🔹 How to Use in TradingView**
1. **Add this script** as a custom indicator.
2. **Look for green signals** appearing below candles.
3. When the signal appears, consider setting up a **strangle options strategy**.
4. Avoid trading when the market shows **strong trends** (RSI out of range or ADX above 25).
---
🚀 Summary**
✅ **Detects sideways markets for strangle strategies**
✅ **Uses RSI (11) & ADX (14) for confirmation**
✅ **Filters out trending conditions**
✅ **Easy-to-use signal for option traders**
Pivot S/R with Volatility Filter## *📌 Indicator Purpose*
This indicator identifies *key support/resistance levels* using pivot points while also:
✅ Detecting *high-volume liquidity traps* (stop hunts)
✅ Filtering insignificant pivots via *ATR (Average True Range) volatility*
✅ Tracking *test counts and breakouts* to measure level strength
---
## *⚙ SETTINGS – Detailed Breakdown*
### *1️⃣ ◆ General Settings*
#### *🔹 Pivot Length*
- *Purpose:* Determines how many bars to analyze when identifying pivots.
- *Usage:*
- *Low values (5-20):* More pivots, better for scalping.
- *High values (50-200):* Fewer but stronger levels for swing trading.
- *Example:*
- Pivot Length = 50 → Only the most significant highs/lows over 50 bars are marked.
#### *🔹 Test Threshold (Max Test Count)*
- *Purpose:* Sets how many times a level can be tested before being invalidated.
- *Example:*
- Test Threshold = 3 → After 3 tests, the level is ignored (likely to break).
#### *🔹 Zone Range*
- *Purpose:* Creates a price buffer around pivots (±0.001 by default).
- *Why?* Markets often respect "zones" rather than exact prices.
---
### *2️⃣ ◆ Volatility Filter (ATR)*
#### *🔹 ATR Period*
- *Purpose:* Smoothing period for Average True Range calculation.
- *Default:* 14 (standard for volatility measurement).
#### *🔹 ATR Multiplier (Min Move)*
- *Purpose:* Requires pivots to show *meaningful price movement*.
- *Formula:* Min Move = ATR × Multiplier
- *Example:*
- ATR = 10 pips, Multiplier = 1.5 → Only pivots with *15+ pip swings* are valid.
#### *🔹 Show ATR Filter Info*
- Displays current ATR and minimum move requirements on the chart.
---
### *3️⃣ ◆ Volume Analysis*
#### *🔹 Volume Change Threshold (%)*
- *Purpose:* Filters for *unusual volume spikes* (institutional activity).
- *Example:*
- Threshold = 1.2 → Requires *120% of average volume* to confirm signals.
#### *🔹 Volume MA Period*
- *Purpose:* Lookback period for "normal" volume calculation.
---
### *4️⃣ ◆ Wick Analysis*
#### *🔹 Wick Length Threshold (Ratio)*
- *Purpose:* Ensures rejection candles have *long wicks* (strong reversals).
- *Formula:* Wick Ratio = (Upper Wick + Lower Wick) / Candle Range
- *Example:*
- Threshold = 0.6 → 60% of the candle must be wicks.
#### *🔹 Min Wick Size (ATR %)*
- *Purpose:* Filters out small wicks in volatile markets.
- *Example:*
- ATR = 20 pips, MinWickSize = 1% → Wicks under *0.2 pips* are ignored.
---
### *5️⃣ ◆ Display Settings*
- *Show Zones:* Toggles support/resistance shaded areas.
- *Show Traps:* Highlights liquidity traps (▲/▼ symbols).
- *Show Tests:* Displays how many times levels were tested.
- *Zone Transparency:* Adjusts opacity of zones.
---
## *🎯 Practical Use Cases*
### *1️⃣ Liquidity Trap Detection*
- *Scenario:* Price spikes *above resistance* then reverses sharply.
- *Requirements:*
- Long wick (Wick Ratio > 0.6)
- High volume (Volume > Threshold)
- *Outcome:* *Short Trap* signal (▼) appears.
### *2️⃣ Strong Support Level*
- *Scenario:* Price bounces *3 times* from the same level.
- *Indicator Action:*
- Labels the level with test count (3/5 = 3 tests out of max 5).
- Turns *red* if broken (Break Count > 0).
Deep Dive: How This Indicator Works*
This indicator combines *four professional trading concepts* into one powerful tool:
1. *Classic Pivot Point Theory*
- Identifies swing highs/lows where price previously reversed
- Unlike basic pivot indicators, ours uses *confirmed pivots only* (filtered by ATR)
2. *Volume-Weighted Validation*
- Requires unusual trading volume to confirm levels
- Filters out "phantom" levels with low participation
3. *ATR Volatility Filtering*
- Eliminates insignificant price swings in choppy markets
- Ensures only meaningful levels are plotted
4. *Liquidity Trap Detection*
- Spots institutional stop hunts where markets fake out traders
- Uses wick analysis + volume spikes for high-probability signals
---
Deep Dive: How This Indicator Works*
This indicator combines *four professional trading concepts* into one powerful tool:
1. *Classic Pivot Point Theory*
- Identifies swing highs/lows where price previously reversed
- Unlike basic pivot indicators, ours uses *confirmed pivots only* (filtered by ATR)
2. *Volume-Weighted Validation*
- Requires unusual trading volume to confirm levels
- Filters out "phantom" levels with low participation
3. *ATR Volatility Filtering*
- Eliminates insignificant price swings in choppy markets
- Ensures only meaningful levels are plotted
4. *Liquidity Trap Detection*
- Spots institutional stop hunts where markets fake out traders
- Uses wick analysis + volume spikes for high-probability signals
---
## *📊 Parameter Encyclopedia (Expanded)*
### *1️⃣ Pivot Engine Settings*
#### *Pivot Length (50)*
- *What It Does:*
Determines how many bars to analyze when searching for swing highs/lows.
- *Professional Adjustment Guide:*
| Trading Style | Recommended Value | Why? |
|--------------|------------------|------|
| Scalping | 10-20 | Captures short-term levels |
| Day Trading | 30-50 | Balanced approach |
| Swing Trading| 50-200 | Focuses on major levels |
- *Real Market Example:*
On NASDAQ 5-minute chart:
- Length=20: Identifies levels holding for ~2 hours
- Length=50: Finds levels respected for entire trading day
#### *Test Threshold (5)*
- *Advanced Insight:*
Institutions often test levels 3-5 times before breaking them. This setting mimics the "probe and push" strategy used by smart money.
- *Psychology Behind It:*
Retail traders typically give up after 2-3 tests, while institutions keep testing until stops are run.
---
### *2️⃣ Volatility Filter System*
#### *ATR Multiplier (1.0)*
- *Professional Formula:*
Minimum Valid Swing = ATR(14) × Multiplier
- *Market-Specific Recommendations:*
| Market Type | Optimal Multiplier |
|------------------|--------------------|
| Forex Majors | 0.8-1.2 |
| Crypto (BTC/ETH) | 1.5-2.5 |
| SP500 Stocks | 1.0-1.5 |
- *Why It Matters:*
In EUR/USD (ATR=10 pips):
- Multiplier=1.0 → Requires 10 pip swings
- Multiplier=1.5 → Requires 15 pip swings (fewer but higher quality levels)
---
### *3️⃣ Volume Confirmation System*
#### *Volume Threshold (1.2)*
- *Institutional Benchmark:*
- 1.2x = Moderate institutional interest
- 1.5x+ = Strong smart money activity
- *Volume Spike Case Study:*
*Before Apple Earnings:*
- Normal volume: 2M shares
- Spike threshold (1.2): 2.4M shares
- Actual volume: 3.1M shares → STRONG confirmation
---
### *4️⃣ Liquidity Trap Detection*
#### *Wick Analysis System*
- *Two-Filter Verification:*
1. *Wick Ratio (0.6):*
- Ensures majority of candle shows rejection
- Formula: (UpperWick + LowerWick) / Total Range > 0.6
2. *Min Wick Size (1% ATR):*
- Prevents false signals in flat markets
- Example: ATR=20 pips → Min wick=0.2 pips
- *Trap Identification Flowchart:*
Price Enters Zone →
Spikes Beyond Level →
Shows Long Wick →
Volume > Threshold →
TRAP CONFIRMED
---
## *💡 Master-Level Usage Techniques*
### *Institutional Order Flow Analysis*
1. *Step 1:* Identify pivot levels with ≥3 tests
2. *Step 2:* Watch for volume contraction near levels
3. *Step 3:* Enter when trap signal appears with:
- Wick > 2×ATR
- Volume > 1.5× average
### *Multi-Timeframe Confirmation*
1. *Higher TF:* Find weekly/monthly pivots
2. *Lower TF:* Use this indicator for precise entries
3. *Example:*
- Weekly pivot at $180
- 4H shows liquidity trap → High-probability reversal
---
## *⚠ Critical Mistakes to Avoid*
1. *Using Default Settings Everywhere*
- Crude oil needs higher ATR multiplier than bonds
2. *Ignoring Trap Context*
- Traps work best at:
- All-time highs/lows
- Major psychological numbers (00/50 levels)
3. *Overlooking Cumulative Volume*
- Check if volume is building over multiple tests
Money Printer V3 – BTC 15M EMA Crossover Strategy🚀 Overview
Money Printer V3 is a trend-following strategy built for crypto markets. It uses fast EMA crossovers with RSI filtering, optional MACD and volume confirmation, and ATR-based trailing stops to capture high-probability momentum trades. This version is optimized for 15-minute timeframes with responsive parameters to increase trade frequency and signal clarity.
📈 How It Works
Buy Conditions:
Fast EMA crosses above Slow EMA
RSI > 40 (customizable)
Optional: MACD histogram > 0
Optional: Volume above 1.5x 20-period average
Sell Conditions:
Opposite of the buy conditions
Risk Management:
Stop-loss and trailing stop are dynamically set using ATR
Position size based on account equity and ATR distance (2% risk per trade)
⚙️ Default Settings
Fast EMA: 5
Slow EMA: 20
RSI Threshold: 40
MACD Filter: OFF
Volume Filter: ON
ATR SL Multiplier: 2.5
ATR Trailing Multiplier: 3.5
Risk: 2% of equity per trade
Initial Capital: $5,000
Commission: 0.1%
Slippage: 0.5%
📊 Backtest Notes
Tested on BTC/USD 15-minute timeframe from 2018 to 2024
Produces 100+ trades for statistically relevant sample size
Strategy is not predictive — it reacts to confirmed trends with filters to reduce false signals
Past performance does not guarantee future results
📌 How to Use
Add this strategy to your BTC/USD 15M chart
Customize the input parameters to match your trading style
Enable alerts for buy/sell conditions
Always forward test before using with real funds
⚠️ Disclaimer
This script is for educational and research purposes only. Use at your own risk. Markets are unpredictable, and no strategy can guarantee profits. Always use proper risk management.
SMA Area ColorThis indicator plots two user‐selectable Simple Moving Averages (SMAs) on your chart and then fills the space between them with different colors based on whether the shorter SMA is above or below the longer SMA, and whether the current price is above or below that shorter SMA. This color‐coded background quickly highlights bullish or bearish shifts, making it easier to see changes in trend or momentum at a glance.
RSI + SAR + VOLUMEThis script is a clean and professional signal generator that combines multiple technical factors to identify high-probability entries.
🔹 Buy/Sell signals are triggered when all of the following conditions are met:
• RSI is rebounding from a configurable zone (default: 40–60)
• Parabolic SAR confirms trend direction
• Candle body is strong (closing above/below 50% of its range)
• Volume is above its 20-period average (optional)
• Volume is higher than the previous N candles (optional, default: 1)
• Signals are rate-limited to avoid repetition within the next N candles (default: 7)
🎛️ All key settings are customizable through the script's input panel.
🚫 No repainting. No lagging oscillators. Only fresh conditions based on current price action.
Ideal for scalping, swing trading, and as a confirmation layer within larger systems.
✅ Clean chart. ✅ Alert-ready. ✅ Code optimized for TradingView Pine Script v6.
— Developed with precision and purpose by Israel Orozco
📈 Focused on clean, reliable and actionable signals
💡 For feedback, improvements, or collaboration, feel free to reach out!
🧠 “Trade logic, not emotion.”
Alquimia de Tendencias"Alquimia de Tendencias" is a technical analysis system designed for traders seeking operational clarity and precision in identifying entry and exit opportunities.
The script combines classic indicators such as ATR, fractals, and EMAs, integrating them into a structured logic that clearly identifies trend shifts, entry zones, and risk management levels. Additionally, it includes the Asian range, a valuable tool to contextualize price action during key market sessions.
🧠 How it works:
Trend and Bias Panel: The system calculates an overall market bias using ATR and fractals, displaying it in a panel that summarizes trend conditions across multiple timeframes.
EMA Crosses: Two Exponential Moving Averages (EMAs) are used. When they cross, the panel changes color (red or blue), signaling a potential bullish or bearish bias.
Asian Range: Automatically draws the time window for the Asian session, helping traders identify areas of accumulation or manipulation that often precede major movements during the European or US session.
Fractal Visualization: Highlights key swing highs and lows to map out market structure, potential liquidity zones, and entries/exits.
Operational Management (SL & TP): The script automatically calculates suggested entry, stop loss, and take profit levels, projecting two TP levels based on fractal structure and current volatility.
🧩 Why it is original and useful:
While it uses well-known components, the value of “Trend Alchemy” lies in how they are combined:
This is not a simple mashup.
The logic behind signals is based on the interaction of ATR, fractals, and EMA crossovers, with multi-timeframe confirmation.
The system visually narrates price structure, making it ideal for scalpers and swing traders who require technical clarity.
🔐 Why is it invite-only?
This script is intended for professional use and is part of a structured trading methodology taught through dedicated training. It is designed to deliver real value through a clear interface, automated decision points, and a context-driven visual layout.
🧑💼 Important Note:
This script is intended for traders looking for a serious technical tool with clear visualization and integrated operational logic.
It is not an automated strategy, but rather an analysis assistant built on experience and price structure.
HB Inside BarThe indicator highlights inside bar patterns that can be used to identify price direction. This indicator supports alerts so that if you trade inside bars you can set an alert to be notified when one has formed.
Ranked Parabolic Curve Detector (Adaptive + Reversion Aware)The Parabolic Curve Detector is a smart, adaptable trading signal engine designed to help you spot true momentum — not the flashy head-fakes, but sustained, accelerating moves that have the potential to go parabolic. Whether you’re new to trading or looking to sharpen your edge, this tool combines a suite of time-tested and modern techniques into one unified signal, all while adjusting to changing market conditions.
The core idea is simple: detect when price is not just rising, but accelerating, like a curve bending upward. To do that, the script analyzes the log of price and calculates both:
Slope1: how fast the price is moving (momentum)
Slope2: how fast that momentum is changing (acceleration)
Over a user-defined number of bars (which amounts to sensitivity ), the script checks for consistency. So, for example, if both slope1 and slope2 have been positive for 4 bars, that’s a strong signal.
But it doesn’t stop there.
The key is weighted Intelligence
What makes this tool uniquely customizable is that each layer of signal logic is weighted:
Slope1 and Slope2: You can assign how much these matter (e.g., 60% for slope1, 20% for slope2)
Ichimoku Trend Filter: A bullish setup (Tenkan > Kijun) can contribute to the total score
RSI Context: The indicator checks for overextension (RSI > 70 and falling) and mean-reversion potential (RSI < 45 and rising), adjusting scores accordingly
You can fine-tune these weights to match your trading style — whether you prefer to catch early momentum, ride mature trends, or fade reversals.
Finally, there is adaptive Intelligence . This isn’t a static signal. The indicator auto-adjusts its strictness using:
Slope Flip Rate: If price changes direction frequently, the required bar count increases
Volatility (ATR): In volatile markets, the threshold for signal confirmation tightens to avoid noise
You can turn this adaptive behavior on or off. When enabled, it makes the script self-tuning across timeframes — more reactive on clean moves, more skeptical in chop.
How to Use It
Start on a log-scaled daily chart
Enable the indicator and optionally turn on Adaptive Sensitivity
Look for:
Green Circles = bullish signal with favorable RSI + trend
Orange Circles = still bullish, but possibly overextended
For bearish setups, enable Parabolic Drops in settings
I am still experimenting with it, so if you find a better way to use it, let us know!
My suggested tweaks :
sensitivity: 3–5 for normal, higher for stricter
signalThreshold: 0.7–0.85 depending on how picky you want to be
Weights for slope1/slope2/trend
RSI boost/penalty levels
Shaved Candle IdentifierThis script is different because it actually highlights the candle and is not just an icon. It will identify bars that have no wick. Each color represents a different type of candle.
Shaved candles represent major liquidity zones, and tend to get swept in the future.
Shaved candles are useful for spotting reversals and as price targets.
Green is when open = low
Red is when open = high
Blue is when close = high
Orange is when close = low
There is 0 tolerance for any deviation, if the price is 0.001 off, it will not be identified. Only absolutely shaved candles will be identified.
Beep BoopThe Beep Boop indicator is designed to simplify visual trading decisions by combining the concepts of MACD (Moving Average Convergence Divergence) and a customizable EMA trend filter. It provides clear visual cues to help traders quickly assess market momentum and the current trend direction.
### What Makes Beep Boop Unique?
This indicator uniquely modifies the standard MACD histogram to create a simplified binary visualization—highlighting either bullish or bearish momentum clearly. Rather than displaying traditional MACD bars of varying sizes, it assigns fixed positive or negative values to simplify interpretation:
- A positive histogram (fixed at 0.1) indicates bullish momentum.
- A negative histogram (fixed at 0.09) indicates bearish momentum.
Additionally, Beep Boop integrates a configurable EMA (Exponential Moving Average) to filter signals, allowing traders to identify stronger directional moves by comparing the current price action with the EMA trend line:
- Bullish bars (green) appear only when price action is above the EMA.
- Bearish bars (red) appear only when price action is below the EMA.
- Neutral bars (white) appear when price action is uncertain or mixed in relation to the EMA.
### How to Use Beep Boop?
1. Fast and Slow Lengths: Adjust these to configure the MACD calculation for different timeframes or market volatility.
2. EMA Trend: Change this parameter to fine-tune the sensitivity of the EMA filter based on your preferred trading style (short-term, swing, or long-term).
3. Simple or Exponential MA: Toggle between SMA (Simple Moving Average) or EMA calculations to personalize the responsiveness of the MACD and signal lines.
### Recommended Applications
- Trend-following strategies: Clearly identifies market direction for entries and exits.
- Momentum Trading: Provides simple momentum confirmation for scalping and short-term trading.
- Market Screening: Quickly filters assets based on bullish or bearish momentum strength.
This indicator offers traders a clean, straightforward method to gauge market conditions at a glance, simplifying the complexity inherent in traditional momentum and trend indicators.
Happy Trading!
PMH/PML ZonesThe PMH/PML Zones indicator highlights the price range between the premarket high (PMH) and low (PML) during the premarket session (4:00 AM to 9:30 AM EST). It draws a semi-transparent zone across the chart, making it easy to visualize key support and resistance levels from the premarket trading activity. This indicator is designed for intraday traders who want to focus on premarket price action, excluding regular market and after-hours data.