Renko Emulator - Rev NR - Released - 12-29-22Renko Emulator - Rev NR - Released 12-29-22
By Hockeydude84
Simple script to Emulate Renko Charting behavior on standard candle stick charts. Code provide capability to select between standard(ish) Renko bricks (in this code it's defined by percent vs ticks/value), or an ATR brick option. For ATR bricks, the code provides an option to inhibit emulator movement (formation of new bricks) by providing a minimum threshold that must be present. This threshold is the "Standard Brick" input (the input pulls double duty). Code also provides multiple plotting options.
Use the code to help see trends and reduce the chop/erroneous data. Also helps to identify where trend deviations are present.
Komut dosyalarını "chart" için ara
Pivot Pattern Boundaries [cajole]
This script automatically detects horizontal support / resistance levels based on user-programmable criteria.
For example, you can detect boundaries with >3 touches within 200 days, allowing a tolerance of 1/4*ATR.
"Touches" are defined from pivots on the chart. The best way to search for larger/smaller patterns is to increase/decrease the pivot size.*
Future versions will allow "exceptions (i.e. keep drawing the horizontal line even if it is breached once or twice).
*TradingView's Pine script defines a Pivot as the highest point in a group. So, entering "2" means that a day's high needs to be above 2 days before and after (xxYxx) to be considered a high pivot.
This script can be an aid in drawing multiple patterns with horizontal boundaries (rectangles, triangles, head and shoulders, cup & handles, VCPs). I have intentionally avoided trying to code detection of the "other side" of these patterns, as that is where the craft of charting becomes an art.
FluidTrades - SMC Lite
Price action and supply and demand is a key strategy use in trading. We wanted it to be easy and efficient for user to identify these zones, so the user can focus less on marking up charts and focus more on executing trades.
This indicator shows you supply and demand zones by using pivot points to show you the recent highs and the recent lows.
Features
This indicator includes some features relevant to SMC , these are highlighted below:
Full internal & swing market structure labeling in real-time
Swing Structure: Displays the swing structure labels & solid lines on the chart (BOS).
Supply & demand ( bullish & bearish )
Swing Points: Displays swing points labels on chart such as HH, HL, LH, LL.
Options to style the indicator to more easily display these concepts
White OB (supply): search for short opportunities
Blue OB (demand): search for long opportunities
Break of structure ( BOS )
For markets to move up and down a break in market structure must occur. A break in market structure occurs when the market begins to shift direction and break the previous HH and HL or HL and LL of the market. We also integrated the feature that you can see the BOS lines. In the indicator settings you can adjust the color of the label.
Settings
SwingHigh/Low Length: Allows the user to select Historical (default) or Present, which displays only recent data on the chart.
Supply/demand box width: Allows user to change the size of the supply and demand box
History to keep: allows the user to select how many most recent supply & demand box appear on the chart.
Visual settings
Show zig zag : allow user to see market patters within the market
Show price action labels: allow user to turn on/off the (swing points)
Supply box color : allow users to change the color of their supply box
Demand box color : allow users to change the color of their supply box
Bos label color : allow users to change the color of their BOS label
Poi label color : allow user to change the color of their POI label
Price action label : allow users to change the color of their swing points labels
Zig zag color : allow users to change the color of the zig/zag market patters
Warning
Never blindly take a trade on a supply/demand box - wait for a proper market structure to occur before considering a trade.
Weekly Power 3Did you know there is a simple line you can place on your chart to immediately make the weeks price action more understandable? Its called the Weekly Open Line. And its the opening price of the trading week. It was created by The Inner Circle Trader (ICT) and incorporates another one of his concepts called Power 3.
The Weekly Power 3 indicator takes the idea of the Weekly Open Line and builds a suite of intelligent and dynamic tools around it that will immediately help the user to start understanding how price moves within the trading week context.
Features
Static Weekly Open Line
Intelligent Days of the Week Text
Dynamic Weekly High Line
Dynamic Weekly Low Line
Weekly High Candle Label (highest candle of the week)
Weekly Low Candle Label (lowest candle of the week)
Best Odds High of the Week Zone Line & Text
Best Odds Low of the Week Zone Line & Text
Components
The primary feature is a line that forms on the weekly open price and grows as the week progresses. Additionally, lines are created for the highest and lowest prices of the week so the weekly profile can be easily recognized. A dynamic label marks each weeks highest and lowest point. This will automatically move as prices expand throughout the week.
A very useful component of the Weekly Power 3 indicator is the Days of the Week text. Each Day of the Week text is displayed in the middle of each trading day and also the user can specify in the Settings whether to position the text at the high or low of the weeks price range. Additionally, there is a Buffer setting that allows the user to move the Days of the Week text up or down to prevent chart overlapping.
To help the user visualize the span of time with the best odds of forming the weekly highs or weekly lows, according to ICT, this indicator adds at static line and optional label into the charts future that projects the span from Tuesday’s London Open to Wednesday’s New York. Having a static line out in the future on your chart really helps to picture where price could be drawn to based solely around time of the week.
Premise
ICT says that the weekly open price is the most important level that price reacts to across the five days of a trading week. If the week profile is expected to be bullish then price many times goes below the weekly open line at the beginning of the week and above it later in the week (a.k.a Bullish Power 3). Consequently, if the week is anticipated to be a bearish week, price often times starts the week high and then goes lower throughout the week (a.k.a Bearish Power 3).
ICT always specifies that the weekly high or weekly low have the best odds of forming between the Tuesday’s London Open and Wednesday’s New York Open.
Inputs and Style
Like all scripts publish by Infinity Trading, everything in the indicator is customizable by the user. Every label, line, or text can be individually toggled ON or OFF so the user has complete control over the elements they want displayed on their chart. All of the lines can be individually adjusted by color, line style, or line width. The color and text color on the high and low of the week labels can be individually changed. The text in the chart (day of the week & best odds zones text) each have a “buffer” value. This allows the user to individually move the text up or down on the chart to declutter the chart. And lastly, the day of the week text can be positioned above or below the weeks price action and the text will dynamically move higher or lower as price expands throughout the week.
Previous weeks have all of the Weekly Power 3 markups so it's easy to study past price action and identify trends.
Gallery
View the weeks price action
View multiple weeks price action
Visualize future price action
Trend/Retracement - ZigZag - New wayZigZag for Trend and Retracements - New way
It's another way to plot ZigZag based on lookback period for trend and % of trend lookback period to plot retracements.
█ OVERVIEW
Plot ZigZag, Trend lines, Retracements, Support levels, Resistance levels
█ Objective:
Draw ZigZag lines along with unbroken support and resistance levels. ZigZag lines are drawn for main trend and the retracements.
Main Trend – This is calculated based on lookback period.
Retracements – Retracements are calculated as 25% of main trend.
Support and Resistance line: The indicator draws 2 types of support and resistance lines
1. Un-broken – Once formed (plotted), these are the support and resistance which are not yet broken
2. Tested – One can also choose to see support and resistance lines which are tested but not broken. Tested support/resistance are those levels which are touched by high/low price but close price has not crossed the level.
█ How main trend point is calculated:
E.g.
Chart timeframe = 15m
Lookback period = 250
Retracement = 25% of main trend ( 25% of 250 = 62 )
A price point on a chart is considered as trend point if distance between current price and previous highest price is 250 candles
A price point is considered as a retracement if distance between current price and previous highest price is 62 candles. Please note retracements are calculated only after finding a main trend point.
█ Input parameters:
Zigzag Parameters
Use predefined Lookback – If checked pre-defined timeframe-based lookback parameters are used.
Trend lookback candles – If ‘Use predefined Lookback’ is unchecked then this value is used as lookback period.
Retracement % of look back candles– If ‘Use predefined Lookback’ is unchecked then this value is used for calculating retracement lookback period
Mark retracements – If unchecked only main trend lines are plotted
Plot support/resistance – To plot support/resistance levels
Show support/resistance tested lines – If checked tested support/resistance liens are shown on the chart
█ TF based Lookback period config (Defaults are set as specified below, One can change these defaults to use different lookback periods)
The defaults set here are used based on the chart timeframe. e.g. if chart timeframe is changed from say 15m to 60m then 60m chart defaults (i.e. trend lookback = 90) are used to plot the trend and the retracements. At the bottom-right of the chart, parameters used for plotting are displayed all the time.
Timeframe in minute – Default = 5m
Trend lookback candles – Default = 375 (~ 5 days of data)
Timeframe in minute – Default = 15m
Trend lookback candles – Default = 250 (~10 days of data)
Timeframe in minute – Default = 60m
Trend lookback candles = Default = 90 (~ 15 days of data)
Trend lookback candles for timeframe 'D' – Default = 30 (~1 month data)
Trend lookback candles for timeframe 'W' – Default = 21 (~6 months data)
Trend lookback candles for timeframe 'M' – Default = 12 (~1year data)
Retracement % of look back candles – Default = 25%
█ When and where one can use this indicator (Refer to chart examples)
To view support and resistance based on lookback period
To view ZigZag lines
One can use it to find chart patterns easily
Trend and retracement lines can help in drawing Elliott waves.
█ Chart examples:
1. Chart patterns can be easily identified - One can disable the candle charts which will help to identify and draw chart patterns easily
2. Trend and retracement lines can also help is analyzing charts (e.g. Elliott Waves can be marked based on trend lines)
3. Tested but not broken support and resistance lines can be viewed
4. You can select 'NOT' to plot tested support and resistance lines
5. Uncheck the Mark retracements to plot main trend lines (Retracements are not marked)
Chart VWAP█ OVERVIEW
This indicator displays a Volume-Weighted Average Price anchored to the leftmost visible bar of the chart. It dynamically recalculates when the chart's visible bars change because you scroll or zoom your chart.
If you are not already familiar with VWAP, our Help Center will get you started. The typical VWAP is designed to be used on intraday charts, as it resets at the beginning of the day. Our Rolling VWAP , instead, resets on a rolling time window. You may also find the VWAP Auto Anchored built-in indicator worth a try.
█ HOW TO USE IT
Load the indicator on an active chart (see the Help Center if you don't know how). By default, it displays the chart's VWAP in orange and a simple average of the chart's visible close values in gray. This average can be used as a companion to the VWAP, since both are calculated from the same set of bars. The script's settings allow you to hide it.
You may also use the script's settings to enable the display of the chart's OHLC (open, high, low, close) levels and the values of the high and low. These are also calculated from the range of visible bars. You can complement the high and low lines with their price and their distance in percent from the chart's latest visible close . You can use the levels to quickly identify the distances from extreme points in the visible price range, as well as observe the visible chart's beginning and end prices.
█ NOTES FOR Pine Script™ CODERS
This script showcases three novelties:
• Dynamic recalculation on visible bars
• The VisibleChart library by PineCoders
• The new `anchor` parameter of ta.vwap()
Dynamic recalculation on visible bars
This script behaves in a novel way made possible by the recent introduction of two new built-in variables: chart.left_visible_bar_time and chart.right_visible_bar_time , which return the opening time of the leftmost and rightmost visible bars on the chart. These are only two of many new built-ins in the `chart.*` namespace. See this blog post for more information, or look up them up by typing "chart." in the Pine Script™ Reference Manual .
Any script using chart.left_visible_bar_time or chart.right_visible_bar_time acquires a unique property, which triggers its recalculation when traders scroll or zoom their chart, causing the range of visible bars to change. This new capability is what makes it possible for this script to calculate its VWAP on the chart's visible bars only, and dynamically recalculate if the user scrolls or zooms their chart.
This script is just a start to the party; endless uses for indicators that redraw on changes to the chart will no doubt emerge through the hands of our community's Pine Script™ programmers.
The VisibleChart library by PineCoders
The newly published VisibleChart library is designed to help programmers benefit from the new capabilities made possible by the fact that Pine Script™ code can now tell when it is executing on visible bars. The library's description, functions and example code will help programmers make the most of the new feature.
This script uses three of the library's functions:
• `PCvc.vVwap()` calculates a VWAP for visible bars.
• `PCvc.avg()` calculates the average of a source value for visible bars only. We use it to calculate the average close (the default source).
• `PCvc.chartXTimePct(25)` calculates a time value corresponding to 25% of the horizontal distance between visible bars, starting from the left.
The new `anchor` parameter of ta.vwap()
Our script also uses this new `anchor` parameter to reset the VWAP at the leftmost visible bar. See how simple the code is for the VisibleChart library's `vVwap()` function.
Look first. Then leap.
Charting the US02Y-US10YPutting together a script that charts the US02Y - US10Y in visual format. First script I've ever written and would like some feed back as to how I could improve. Also currently have to turn on "Indicator Last Value Label, and Indicator Name Label" if you would like data to appear on the chart. Works best when the US02Y-US10Y chart is being displayed!
{FREE} Candlestick Patterns [NASAlgoTrading]{FREE} Candlestick Patterns identifies and plots various candlestick patterns on price charts. It helps traders visualize potential reversal and continuation patterns in the market.
Key Features
Bullish Reversal Patterns Detected:
Hammer - Signals potential bullish reversal after a downtrend
Inverted Hammer - Indicates possible bullish reversal
Three White Soldiers - Strong bullish reversal pattern showing consecutive bullish candles
Bullish Harami - Shows potential trend reversal from bearish to bullish
Bearish Reversal Patterns Detected:
Hanging Man - Warns of potential bearish reversal after an uptrend
Shooting Star - Suggests possible bearish reversal
Three Black Crows - Strong bearish reversal pattern showing consecutive bearish candles
Bearish Harami - Indicates potential trend reversal from bullish to bearish
Dark Cloud Cover - Shows bearish reversal potential
Continuation Patterns Detected:
Rising Three Methods - Bullish continuation pattern
Falling Three Methods - Bearish continuation pattern
Gravestone Doji - Can indicate potential reversals (shown in orange)
Long-legged Doji - Shows market indecision (shown in orange)
Dragonfly Doji - Can signal potential reversals (shown in orange)
Benefits for Traders
Visual Pattern Recognition: Automatically identifies and labels patterns on the chart, saving traders time in manual analysis.
Comprehensive Coverage: Detects multiple important candlestick patterns in a single indicator.
Clear Visual Cues:
Bullish patterns marked in green below price bars
Bearish patterns marked in red above price bars
Doji patterns marked in orange
Trend Analysis: Helps identify both reversal and continuation patterns, providing insights into potential market direction.
Confirmation Tool: Can be used alongside other technical indicators to confirm trading signals.
Educational Value: Helps new traders learn to recognize important candlestick patterns.
Customization: The indicator allows for up to 50 lines to be displayed (max_lines_count = 50).
Implementation Notes
The indicator uses precise mathematical conditions to identify each pattern, including:
Relative candle body and wick sizes
Previous candle patterns and trends
Price relationships between current and historical candles
This systematic approach ensures consistent pattern recognition that might be subjective when done manually.
Absorption DetectorABSORPTION DETECTOR -
The Absorption Detector identifies institutional order flow by detecting "absorption" patterns where smart money quietly accumulates or distributes positions by absorbing retail order flow. This creates high-probability support and resistance zones for trading. This is an approximation only and does not read any footprint data.
WHAT IS ABSORPTION?
Absorption occurs when institutions take the opposite side of retail trades, creating specific candlestick patterns with high volume and significant wicks. The indicator identifies two main patterns:
SELLING ABSORPTION (P-Pattern): Red zones above candles where institutions sell into retail buying pressure, creating resistance levels. Look for high volume candles with large upper wicks that close in the lower half.
BUYING ABSORPTION (B-Pattern): Green zones below candles where institutions buy from retail selling pressure, creating support levels. Look for high volume candles with large lower wicks that close in the upper half.
KEY FEATURES
- Automatic detection of institutional absorption patterns
- Dynamic support and resistance zone creation
- Customizable styling for all visual elements
- Historic zone display for backtesting analysis
- Strength-based filtering to show only high-probability setups
- Real-time alerts for new absorption patterns
- Professional info panel with key statistics
- Multi-timeframe compatibility
MAIN SETTINGS
Volume Threshold (1.2): Minimum volume surge required compared to average. Higher values = fewer but stronger signals.
Minimum Volume (2500): Absolute volume floor to prevent signals during low-volume periods.
Min Wick Size (0.2): Minimum wick size as ATR multiple. Ensures significant rejection occurred.
Minimum Strength (1.5): Combined volume and wick strength filter. Higher values = higher quality signals.
Show Historic Zones (OFF): Enable to see all historical zones for backtesting. Disable for better performance.
Zone Extension (20): How many bars to project zones forward for anticipating future reactions.
TRADING APPROACH
ZONE REACTION STRATEGY: Wait for price to approach absorption zones and trade the bounce or rejection. Use the zones as dynamic support and resistance levels.
BREAKOUT STRATEGY: Trade decisive breaks of strong absorption zones with proper risk management. Failed zones often lead to strong moves.
CONFLUENCE TRADING: Combine absorption zones with other technical analysis for highest probability setups. Look for alignment with trend lines, Fibonacci levels, and key support/resistance.
RISK MANAGEMENT: Always use stop losses beyond the absorption zones. Target minimum 1:2 risk-reward ratios. Position size appropriately based on zone strength.
OPTIMIZATION GUIDE
For Conservative Trading (fewer, higher quality signals):
- Volume Threshold: 1.5
- Minimum Strength: 2.0
- Min Wick Size: 0.3
For Aggressive Trading (more signals, requires careful filtering):
- Volume Threshold: 1.1
- Minimum Strength: 1.0
- Min Wick Size: 0.15
BEST PRACTICES
Markets: Works best on liquid instruments with good volume - major forex pairs, popular stocks, liquid futures, and established cryptocurrencies.
Timeframes: Effective on all timeframes from 1-minute scalping to daily swing trading. Adjust settings based on your timeframe and trading style.
Confirmation: Never trade absorption signals in isolation. Always combine with trend analysis, market structure, and proper risk management.
Session Timing: Be aware of market sessions and avoid trading during low liquidity periods or major news events.
Backtesting: Use the historic zones feature to validate performance on your chosen market and timeframe before live trading.
CUSTOMIZATION
The indicator offers complete visual customization including zone colors, border styles, label appearances, and info panel positioning. All colors can be adapted to match your chart theme and personal preferences.
Alert system provides both basic and custom message alerts for real-time notifications of new absorption patterns.
PERFORMANCE NOTES
Default settings are optimized for most markets and timeframes. For best performance on older charts, keep "Show Historic Zones" disabled unless specifically backtesting.
The indicator maintains excellent performance even with extensive historical analysis enabled, handling up to 500 zones and 100 labels for comprehensive backtesting.
QEMO: Quantum Electromagnetic Oscillator (Safe Adjusted)This is a highly conceptual and oscillator and It attempts to model market dynamics by borrowing concepts from quantum physics and electromagnetism to create a unique oscillator. It does not represent any real physical phenomena but uses these concepts as metaphors for market forces.
Here is a breakdown of its core components:
1. Quantum Price Wavefunction (The Core Price Engine)
This is the most abstract part of the script. It tries to model price not as a single point, but as a "wavefunction" representing a distribution of probable future prices.
Volatility & Price Grid: It first calculates recent market volatility. Based on this volatility, it creates a dynamic grid of possible price levels (price_bins) around the current price.
Probability Density: It assigns a probability to each price level in the grid.
"Energy" Operators:
Kinetic Energy: Metaphorically represents the "momentum" or rate of change of the price probabilities.
Potential Energy: A force field that influences the probabilities, derived from a combination of volatility and trading volume.
Expected Price: After evolving these probabilities, it calculates a single "expected price" which is the weighted average of all prices in the grid, based on their final probabilities.
2. Electromagnetic Fields (Buying vs. Selling Pressure)
This section models the battle between buyers and sellers in a more familiar way:
E-Field (Electric/Buying): Represents buying pressure, calculated from upward price moves (close - open) multiplied by volume.
B-Field (Magnetic/Selling): Represents selling pressure, calculated from downward price moves (open - close) multiplied by volume.
Lorentz Force (F_net): This is the net force (E - B), representing the overall directional pressure in the market. A positive value means buyers are in control; a negative value means sellers are.
3. Entanglement Entropy (Systemic Risk/Stability)
This component aims to measure the market's stability or "systemic risk."
It calculates a form of auto-correlation on recent price returns.
A high degree of instability in this correlation results in a high "Entropy" (S) value.
Essentially, a high S suggests the market is chaotic and unpredictable (low stability), while a low S suggests it is more stable and trending.
4. Final QEMO Calculation & Plotting
All the components are combined to create the final oscillator value:
Final Value: The qemo value is a product of the expected_price, the amplified net force, and the market stability (1 - S).
Smoothing: This raw qemo value is then smoothed with an Adaptive Moving Average (AMA) to produce the final line that gets plotted on the chart.
Visualization:
The main oscillator line is plotted below the chart. Its color changes based on its value (e.g., blue for positive, red for negative).
The background color of the indicator pane changes based on the Entropy (S), providing an immediate visual cue of market stability (e.g., black for stable, white for chaotic).
The script also plots 99th and 1st percentile bands to help identify statistically extreme readings in the oscillator's value.
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
DP_ORB Entry & Exit IndicatorDisclaimer:
This indicator is for educational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Also, I cannot take full credit for 'ORB' as its a well known strategy amongst many traders, but I do need to give a special shout out to @TheBigDaddyMax for putting me on to this.
DP_ORB Entry & Exit Indicator
Description:
The DP_ORB Entry & Exit Indicator is a powerful tool designed for traders who utilize the Opening Range Breakout (ORB) strategy on the NYSE session. This indicator visually identifies the initial volatility window of the trading day, by marking the 15m High, and 15m Low into a ORB Box, & then tracks breakout opportunities, and provides clear, dynamic trade management levels—all directly on your chart.
Key Features:
Automatic Opening Range (ORB) Box:
Identifies and plots the high and low of the user-defined opening range (default 9:30–9:45 NYSE) for visual reference and strategy foundation.
Breakout Entry Signals:
Automatically detects and marks long or short breakout entries when price closes above or below the ORB range, with additional momentum confirmation.
Dynamic Stop Loss:
Stop loss is intelligently set to the previous bar’s low for long trades (or high for shorts), adapting to market structure at entry.
Take Profit Targets:
Up to three fully adjustable take-profit levels are plotted, calculated as percentages from entry, supporting progressive trade management.
Visual Trade Management:
Entry, stop loss, and take profit levels are displayed as extending dashed lines from entry point to the current bar, with labels always shown just to the right of price for clarity on all timeframes.
Automatic Reset and Cleanup:
Visuals and logic reset daily and upon exit, ensuring a clean, uncluttered chart experience.
How to Use:
Set your preferred opening range time and take profit levels in the settings.
Wait for a breakout and confirmation during the NYSE session.
Use the on-chart lines and labels to manage your trade according to your risk and strategy plan.
Best For:
Day traders and scalpers seeking a disciplined, visual, and fully-automated approach to opening range breakout trading.
EdgeXplorer - Dynamic Price ActionEdgeXplorer – Dynamic Price Action
Dynamic Price Action by EdgeXplorer is a high-precision structural framework that detects and maps market structure shifts, liquidity zones, and sweep events in real time. Built for traders who prioritize price behavior over indicators, this suite intelligently interprets swing pivots, volatility ranges, and institutional footprints to surface key decision-making zones on your chart.
Whether you trade Smart Money Concepts (SMC), classical price action, or hybrid strategies, Dynamic Price Action helps you visualize where price is reacting, where it’s hunting stops, and when structure is shifting — without the noise.
⸻
🔍 What Does Dynamic Price Action Do?
This indicator tracks three core elements:
1. Market Structure Shifts – Bullish and bearish swing breaks (BOS and MSS)
2. Liquidity Zones – Dynamic detection of potential buy-side and sell-side liquidity pools
3. Sweep Events – Real-time detection when liquidity is taken out (aka stop hunts or raids)
It also contains logic for Order Block detection, giving you a foundational structure for further Smart Money analysis (note: OB visuals are currently off by default but fully supported).
⸻
⚙️ How It Works – Technical Breakdown
1. Market Structure (BOS / MSS)
• Detects swing highs and lows using a 3-bar pivot system
• When a valid swing is confirmed:
• A BOS (Break of Structure) line is drawn for bullish shifts
• An MSS (Market Structure Shift) line is drawn for bearish transitions
• Lines are plotted with customizable styles and optional labels
2. Liquidity Detection
• Liquidity zones are marked based on:
• Recent confirmed swing highs or lows
• ATR-based range check (swing must exceed Liquidity Sensitivity threshold)
• Post-swing candle direction (bullish or bearish close)
• Sell-Side Liquidity = swing highs likely containing stop clusters
• Buy-Side Liquidity = swing lows likely containing stop clusters
• Each zone is tagged visually and stored for later sweep checks
3. Sweep Recognition
• If price breaches a previously tagged liquidity level:
• A “Sell Sweep” label appears above the former sell-side zone
• A “Buy Sweep” label appears below the former buy-side zone
• Zones are removed after being swept to reduce clutter
4. Order Block Logic (Optional)
• The script includes full logic to detect bullish/bearish order blocks based on:
• Body-based or wick-based structure (user preference)
• Candle volume criteria
• Visuals are turned off for now but can be easily re-enabled
⸻
📈 What You See on the Chart
Visual Element Meaning
Green BOS Line Bullish break of market structure (higher high)
Red MSS Line Bearish shift in structure (lower low)
“Sellside Liquidity” Label Area above a swing high likely to hold resting liquidity
“Buyside Liquidity” Label Area below a swing low likely to hold resting liquidity
“Sell Sweep” Label A stop hunt above a prior high
“Buy Sweep” Label A stop hunt below a prior low
All elements are dynamically drawn, adapting to price behavior with zero repainting.
⸻
📊 Inputs & Settings Explained
Market Structures
Setting Description
Enable Market Structures Toggle BOS/MSS logic
Detection Mode Conceptual filter: Short-Term, Mid-Term, Long-Term (doesn’t affect logic)
Show Labels Display BOS and MSS labels above/below structure
Line Style Choose between Solid, Dashed, or Dotted
Bullish/Bearish Colors Customize line and label appearance
Liquidity Zones
Setting Description
Liquidity Sensitivity How large a swing must be (ATR multiplier) to qualify as a liquidity point
Order Blocks
Setting Description
Use Candle Body If true, OB zones are based on open/close instead of high/low
⸻
🧠 How Traders Can Interpret Dynamic Price Action
Structure-Based Bias:
• BOS = bullish structure continuing → look for long setups
• MSS = bearish structure breaking down → caution for reversals
Liquidity Zones:
• Price nearing a Sellside Liquidity zone? Watch for sweep + rejection
• Price tapping Buyside Liquidity? Look for absorption or reversal
Sweep Events:
• A Buy Sweep can signal accumulation
• A Sell Sweep can mark distribution or a trap breakout
Use sweeps as confirmation, trap detection, or entry filters.
⸻
🧪 Strategy Use Cases
• 🔍 Smart Money Concepts (SMC): Combine BOS/MSS + sweeps for refined CHoCH entries
• 🔄 Reversal Traders: Wait for sweep + structure shift before entering against prior trend
• 📉 Trend Continuation: Use BOS + liquidity clears to confirm direction
• 🎯 Scalping: Sweep zones act as high-probability entry areas on LTFs
GalihRidha ZoneX — Adaptive MTF S&R + Smart Money AreasWelcome to ZoneX: The new frontier of Support & Resistance for modern traders!
ZoneX is more than just S&R — it’s a hybrid price map that fuses classic pivots with institutional logic, visualizing the zones that really matter.
What Makes ZoneX Different?
Multi-Timeframe S&R:
Instantly spot the true key levels from higher timeframes, not just what everyone else sees on the current chart.
Smart Money Order Blocks:
Automatically highlights supply and demand zones where institutions accumulate or distribute — find the real “trap” areas and avoid getting faked out.
VWAP Bands:
See where the liquidity is thickest — these bands act as magnets for price, great for both reversals and breakouts.
Midline Channel:
Identify the market’s equilibrium — know when you’re in value and when you’re at the edge.
Previous High/Low:
Mark institutional magnets and classic stop-hunt zones, updated in real-time.
Ultra Customizable:
One-click to enable/disable any feature. Clean for minimalists, packed for pros.
How to Use ZoneX
Breakout?
Wait for price to clear a ZoneX band or order block with momentum — enter on the retest.
Reversal?
Fade wicks and exhaustion right in the highlighted zone — confirm with price action or volume.
Range/Balance?
Trade the ping-pong between ZoneX midline and outer bands — great for scalping and mean reversion.
Who’s It For?
Active traders who want an edge beyond standard S&R.
Institutional-mindset scalpers and swing traders.
Anyone who loves a clean chart but craves real market context.
Level up your chart, see what the big players see —
and never trade blind again. This is ZoneX.
The Great Anchors: Dual AVWAP Powered by RSI
The Great Anchors
*Dual Anchored Volume Weighted Average Price Powered by RSI*
---
📌 Overview
The Great Anchors is a dual AVWAP-based indicator that resets dynamically using RSI extremes — either from the current asset or a master symbol (e.g., BTCUSDT). It identifies meaningful shifts in price structure and momentum using these "anchored" levels.
It’s designed to help traders spot trend continuations, momentum inflection points, and entry signals aligned with overbought/oversold conditions — but only when the market confirms through volume-weighted price direction.
---
🛠 Core Logic
• AVWAP 1 (favwap): Anchored when RSI reaches overbought levels (top anchor)
• AVWAP 2 (savwap): Anchored when RSI reaches oversold levels (bottom anchor)
• AVWAPs are recalculated each time a new OB/OS condition is triggered — acting like "fresh anchors" at key market turning points.
---
⚙️ Key Features
🔁 Auto or Manual RSI Thresholds
→ Automatically determines dynamic RSI OB/OS levels based on past peaks and troughs, or lets you set fixed levels.
🧠 Master Symbol Control
→ Use the RSI of a separate asset (like BTCUSDT, ETHUSDT, SOLUSDT, BNBUSDT, SUPRAUSDT) or indices (like TOTAL, TOTAL2, BFR) to control resets — ideal for tracking how BTC/major coins impacts altcoins/others.
🔍 Trend-Filtering Signal Logic
→ Signals are filtered for less noise and are triggered when:
- Both AVWAPs are rising (bullish) or falling (bearish)
- Price action confirms the structure
🎯 Visual Markers & Alerts
→ "💥" for bullish signals and "🔥" for bearish ones. Alerts included for automation or push notifications.
---
🎯 How to Use It
1. Add the indicator to your chart.
2. Choose whether to use RSI from the current symbol or a master symbol (e.g., BTC).
3. Select auto-adjusted or manual OB/OS levels.
4. Watch for:
- AVWAP(s) making a significant change (at this point it's one of the AVWAPs resetting)
- Check if price flip it upwards or downwards
- If price goes above both AVWAPs thats a likely bullish trend
- If price can't go above both AVWAPs up and fall bellow both that's a likely bearish trend
- Price retesting upper AVWAP and bounce
- likely bullish continuation
- Price retesting lower AVWAP and dip
- likely bearish continuation
- Signal icons on chart ("💥 - Bullish" or "🔥- Bearish")
Best suited for:
• Swing traders
• Momentum traders
• Traders timing altcoin entries using BTC/Major asset's RSI
---
🔔 Signal Explanation
💥 Bullish Signal =
• Both AVWAPs rising
• Higher lows in price structure
• Bullish candle close
• Triggered from overbought RSI reset
🔥 Bearish Signal =
• Both AVWAPs falling
• Lower highs in price structure
• Bearish candle close
• Triggered from oversold RSI reset
Signals reset by opposite signals to prevent noise or overfitting.
---
⚠️ Tips & Notes
• Use AVWAPs as dynamic support/resistance, even without signal triggers
• Pair with volume or divergence tools for stronger confirmation
---
🧩 Credits & Philosophy
This tool is built with a simple philosophy:
"Anchor your trades to meaningful moments in price — not arbitrary time."
The dual AVWAP concept helps you see how price reacts after momentum peaks, giving you a cleaner bias and more precise trade setups.
---
Smart Directional Fib Zone (Selectable Session)🎯 Overview
This indicator plots a dynamic Fibonacci zone between the 0.5 and 0.618 levels , calculated from the previous day’s price action , and is designed specifically for intraday traders.
It visually highlights key retracement or reaction areas where the market often pauses or reverses.
🔍 How it works
At the start of each day, the script automatically captures:
the previous day’s open (pdo),
high (pdh),
low (pdl),
and close (pdc).
It then determines if the previous day was bullish (Close > Open) or bearish (Close < Open).
Based on that:
If the previous day was bullish, it projects the Fibonacci levels down from the high (typical for expecting retracements).
If bearish, it projects them up from the low.
The two key levels are:
0.5 (50%) retracement / projection
0.618 (61.8%) retracement / projection
A colored zone is plotted between these levels to act as a leading guide for intraday setups.
⏰ Time filtering & session customization
A unique feature is the dynamic session filtering:
By default, the zone is only plotted during active market hours, keeping your chart clean outside trading hours.
The script provides a dropdown selector so you can quickly switch between:
India session (9:15 to 15:30)
Europe session (9:00 to 17:30)
US session (9:30 to 16:00)
Or even define your own custom session times.
This makes it ideal for intraday traders in any region.
🎨 Visual features
The fill zone changes color based on the previous day’s sentiment:
Green zone if the previous day was bullish
Red zone if the previous day was bearish
🚨 Alerts
The script includes an alert condition, so you can easily set up TradingView alerts to notify you when:
Price enters the Fibonacci zone.
This is extremely helpful for catching retracements or reversals without staring at the screen all day.
⚙️ How to use
✅ Works on any intraday timeframe (1 min, 5 min, 15 min, etc.).
✅ Simply add it to your chart, pick your session in the dropdown, and watch the Fibonacci zone automatically adjust to your selected market hours.
Use it as a confluence tool alongside other indicators like VWAP, EMAs, Bollinger Bands, or price action patterns to time entries and exits.
💪 Why this is powerful
This is more than a simple Fib retracement tool:
It dynamically adapts to the previous day’s sentiment, helping you trade in alignment with recent market psychology.
The session filtering ensures your charts are focused only on the periods
🦄 Unicorn Entry Checklist🦄 *Unicorn Entry Checklist* is a visual decision-making tool for SMC/ICT traders who want to validate confluence before entering a trade.
It provides a structured approach based on Smart Money Concepts including:
✅ Liquidity Grab
✅ MSS with Displacement
✅ BB + FVG/IFVG
✅ Killzone Timing
✅ SMT / 3Drive / StopHunt
✅ Accumulation / Reaccumulation Zones
🎯 Use it to confirm high-probability entries and avoid weak setups.
Built for discretionary traders who want clarity and consistency on their charts.
Clean visual table with live checklist and auto-scoring.
Developed by *@dragosburdulea*
Logistic Regression ICT FVG🚀 OVERVIEW
Welcome to the Logistic Regression Fair Value Gap (FVG) System — a next-gen trading tool that blends precision gap detection with machine learning intelligence.
Unlike traditional FVG indicators, this one evolves with each bar of price action, scoring and filtering gaps based on real market behavior.
🔧 CORE FEATURES
✨ Smart Gap Detection
Automatically identifies bullish and bearish Fair Value Gaps using volatility-aware candle logic.
📊 Probability-Based Filtering
Uses logistic regression to assign each gap a confidence score (0 to 1), showing only high-probability setups.
🔁 Real-Time Retest Tracking
Continuously watches how price interacts with each gap to determine if it deserves respect.
📈 Multi-Factor Assessment
Evaluates RSI, MACD, and body size at gap formation to build a full context snapshot.
🧠 Self-Learning Engine
The logistic regression model updates on each bar using gradient descent, refining its predictions over time.
📢 Built-In Alerts
Get instant alerts when a gap forms, gets retested, or breaks.
🎨 Custom Display Options
Control the color of bullish/bearish zones, and toggle on/off probability labels for cleaner charts.
🚩 WHAT MAKES IT DIFFERENT
This isn’t just another box-drawing indicator.
While others mark every imbalance, this system thinks before it draws — using statistical modeling to filter out noise and prioritize high-impact zones.
By learning from how price behaves around gaps (not just how they form), it helps you trade only what matters — not what clutters.
⚙️ HOW IT WORKS
1️⃣ Detection
FVGs are identified using ATR-based thresholds and sharp wick imbalances.
2️⃣ Behavior Monitoring
Every gap is tracked — and if respected enough times, it becomes part of the elite training set.
3️⃣ Context Capture
Each new FVG logs RSI, MACD, and body size to provide a feature-rich context for prediction.
4️⃣ Prediction (Logistic Regression)
The model predicts how likely the gap is to be respected and assigns it a probability score.
5️⃣ Classification & Alerts
Gaps above the threshold are plotted with score labels, and alerts trigger for entry/respect/break.
⚙️ CONFIGURATION PANEL
🔧 System Inputs
• Max Retests – How many times a gap must be respected to train the model
• Prediction Threshold – Minimum score to show a gap on the chart
• Learning Rate – Controls how fast the model adapts (default: 0.009)
• Max FVG Lifetime – Expiration duration for unused gaps
• Show Historic Gaps – Show/hide expired or invalidated gaps
🎨 Visual Options
• Bullish/Bearish Colors – Set gap colors to fit your chart style
• Confidence Labels – Show probability scores next to FVGs
• Alert Toggles – Enable alerts for:
– New FVG detected
– FVG respected (entry)
– FVG invalidated (break)
💡 WHY LOGISTIC REGRESSION?
Traditional FVG tools rely on candle shapes.
This system relies on probability — by training on RSI, MACD, and price behavior, it predicts whether a gap will act as a true liquidity zone.
Logistic regression lets the system continuously adapt using new data, making it more accurate the longer it runs.
That means smarter signals, fewer false positives, and a clearer view of where real opportunities lie.
Pivot Swings w Table Pivot Swings w Table — Intraday Structure & Range Analyzer
This indicator identifies key pivot highs and lows on the chart and highlights market structure shifts using a real-time table display. It helps traders visually confirm potential trade setups by tracking unbroken swing points and measuring the range between the most recent pivots.
🔍 Features:
🔹 Automatic Pivot Detection using configurable left/right bar logic.
🔹 Unbroken Pivot Filtering — only pivots that haven't been invalidated by price are displayed.
🔹 Dynamic Range Table with:
Latest valid Pivot High and Pivot Low
Total Range Width
Upper & Lower 25% range thresholds (useful for value/imbalance analysis)
🔹 Trend-Based Color Coding — the table background changes based on which pivot (high or low) occurred more recently:
🟥 Red: Downward bias (last pivot was a lower high)
🟩 Green: Upward bias (last pivot was a higher low)
🔹 Optional extension of pivot levels to the right of the chart for support/resistance confluence.
⚙️ How to Use:
Adjust the Left Bars and Right Bars inputs to fine-tune how swings are defined.
Look for price reacting near the Upper or Lower 25% zones to anticipate mean reversion or breakout setups.
Use the trend color of the table to confirm directional bias, especially useful during consolidation or retracement periods.
💡 Best For:
Intraday or short-term swing traders
Traders who use market structure, support/resistance, or trend-based strategies
Those looking to avoid low-quality trades in tight ranges
✅ Built for overlay use on price charts
📈 Works on all symbols and timeframes
🧠 No repainting — pivots are confirmed with completed bars
All SMAs Bullish/Bearish Screener (Visually Enhanced)Title: All SMAs Bullish/Bearish Screener Enhanced: Uncover Elite Trend Opportunities with Confidence & Clarity
Description:
Are you striving to master the art of trend-following, but often find yourself overwhelmed by market noise and ambiguous signals? Do you yearn for a trading edge that clearly identifies high-conviction opportunities and equips you with robust risk management principles? Look no further. The "All SMAs Bullish/Bearish Screener Enhanced" is your ultimate solution – a meticulously crafted Pine Script indicator designed to cut through the clutter, pinpointing stocks where the trend is undeniably strong, and providing you with the clarity you need to trade with confidence.
The Pinnacle of Confluence: Beyond Simple Averages
This is not just another moving average indicator. This is a sophisticated, multi-layered analytical engine built on the profound principle of Confluence. While our core strength lies in tracking a comprehensive suite of six critical Simple Moving Averages (5, 10, 20, 50, 100, and 200-period SMAs), this Enhanced version elevates signal reliability by integrating powerful, independent confirmation layers:
Momentum (Rate of Change - ROC): A true trend isn't just about direction; it's about the force and persistence of price movement. The Momentum filter ensures that the trend is backed by accelerating buying (for bullish signals) or selling (for bearish signals) pressure, validating its underlying strength.
Volume Confirmation: Smart money always leaves a trail. Significant price moves, especially trend continuations or reversals, demand genuine participation. This enhancement confirms that the "All SMAs" alignment is accompanied by above-average volume, signaling institutional conviction and differentiating authentic moves from mere whipsaws.
Relative Strength Index (RSI) Bias: The RSI helps gauge the health of the trend. For a bullish signal, we confirm RSI maintains a bullish bias (above 50), while for a bearish signal, we look for a bearish bias (below 50). This adds another layer of qualitative validation, ensuring the trend isn't overextended without confirmation.
When a stock's price is trading above ALL six critical SMAs, and is simultaneously confirmed by strong positive Momentum, robust Volume, and a bullish RSI bias, you are witnessing a powerful "STRONGLY BULLISH" signal. This rare alignment often precedes sustained upward moves and signifies a prime accumulation phase across all time horizons. Conversely, a "STRONGLY BEARISH" signal, where price is below ALL SMAs with compelling negative Momentum, validating Volume, and a bearish RSI bias, indicates significant distribution and potential for substantial downside.
Seamless Usage & Unmatched Visual Clarity:
Adding this script to your TradingView chart is simple, and its visual design has been meticulously optimized for maximum readability:
Easy Integration: Paste the script into your Pine Editor and click "Add to Chart."
Full Customization: All SMA lengths, RSI periods, Volume SMA periods, and Momentum periods are easily adjustable via user-friendly input settings, allowing you to fine-tune the strategy to your precise preferences.
Optimal Timeframes:
For identifying robust, actionable trends for swing and position trading, Daily (1D) and 4-Hour (240 min) timeframes are highly recommended. These capture significant market movements with reduced noise.
While the script functions on shorter timeframes (e.g., 15min, 60min), these are best reserved for highly active day traders seeking precise entry triggers within broader trends, as shorter timeframes are prone to increased volatility and noise.
Important Note on Candle Size: The width of candles on your chart is controlled by TradingView's platform settings and your zoom level, not directly by Pine Script. To make candles appear larger, simply zoom in horizontally on your chart or adjust the "Bar Spacing" in your Chart Settings (Right-click chart > Settings > Symbol Tab).
Crystal-Clear Visual Signals:
Subtle Background Hues: The chart background will subtly tint lime green for "STRONGLY BULLISH" and red for "STRONGLY BEARISH" conditions. This transparency ensures your underlying candles remain perfectly visible.
Distinct Moving Averages: SMAs are plotted with increased line thickness and a carefully chosen color palette for easy identification.
Precise Signal Triangles: Small, clean green triangles below the bar signify "STRONGLY BULLISH," while small red triangles above the bar mark "STRONGLY BEARISH" conditions. These are unobtrusive yet clear.
Dedicated Indicator Panes: RSI and Momentum plots, along with their key levels, now appear in their own separate, clean sub-panes below the main price chart, preventing clutter and allowing for focused analysis.
On-Chart Status Table: A prominent table in your chosen corner of the chart provides an immediate, plain-language update on the current trend status.
Real-Time Screener Power (via TradingView Alerts): This is your ultimate automation tool. Set up custom alerts for "Confirmed Bullish Trade" or "Confirmed Bearish Trade" conditions. Receive instant notifications (email, app, webhook) for any stock in your watchlist that meets these stringent, high-conviction criteria, allowing you to react swiftly to premium setups across the market without constant chart monitoring.
Mastering Risk & Rewards: The Trader's Edge
Finding a signal is only the first step. This script helps you trade intelligently by guiding your risk management:
Strategic Stop-Loss Placement: Your stop-loss is your capital protector. For a "STRONGLY BULLISH" trade, place it just below the most recent significant swing low (higher low). This is where the uptrend's structure is invalidated. For "STRONGLY BEARISH" trades, place it just above the most recent significant swing high (lower high). As an alternative, consider placing your stop just outside the 20-period SMA; a close beyond this mid-term average often signals a crucial shift. Always ensure your chosen stop-loss aligns with your strict risk-per-trade rules (e.g., risking no more than 1-2% of your capital per trade).
Disciplined Profit Booking: Don't just let winners turn into losers. Employ a strategy to capture gains:
Trailing Stop-Loss: As your trade moves into profit, dynamically move your stop-loss upwards (for longs) or downwards (for shorts). You can trail it by following subsequent swing lows/highs or by using a faster Moving Average like the 10 or 20-period SMA as a dynamic exit point if price closes beyond it. This allows you to ride extended trends while protecting accumulated gains.
Target Levels: Identify potential profit targets using traditional support/resistance levels, pivot points, or Fibonacci extensions. Consider taking partial profits at these key junctures to secure gains while letting a portion of your position run.
Loss of Confluence: A unique exit signal for this script is the breakdown of the "STRONGLY BULLISH" or "STRONGLY BEARISH" confluence itself. If the confirmation layers or even a few of the core SMAs are no longer aligned, it might be time to re-evaluate or exit, even if your hard stop hasn't been hit.
The "All SMAs Bullish/Bearish Screener Enhanced" is more than just code; it's a philosophy for disciplined trend trading. By combining comprehensive multi-factor confluence with intuitive visuals and robust risk management principles, you're equipped to make smarter, higher-conviction trading decisions. Add it to your favorites today and transform your approach to the markets!
#PineScript #TradingView #SMA #MovingAverage #TrendFollowing #StockScreener #TechnicalAnalysis #Bullish #Bearish #MarketScanner #Momentum #Volume #RSI #Confluence #TradingStrategy #Enhanced #Signals #Analysis #DayTrading #SwingTrading
Warrior Trading Momentum Strategy
# 🚀 Warrior Trading Momentum Strategy - Day Trading Excellence
## Strategy Overview
This comprehensive Pine Script strategy replicates the proven methodologies taught by Ross Cameron and the Warrior Trading community. Designed for active day traders, it identifies high-probability momentum setups with strict risk management protocols.
## 📈 Core Trading Setups
### 1. Gap and Go Trading
- **Primary Focus**: Stocks gapping up 2%+ with volume confirmation
- **Entry Logic**: Breakout above gap open with momentum validation
- **Volume Filter**: 2x average volume requirement for quality setups
### 2. ABCD Pattern Recognition
- **Pattern Detection**: Automated identification of classic ABCD reversal patterns
- **Validation**: A-B and C-D move relationship analysis
- **Entry Trigger**: D-point breakout with volume confirmation
### 3. VWAP Momentum Plays
- **Strategy**: Entries near VWAP with bounce confirmation
- **Distance Filter**: Configurable percentage distance for optimal entries
- **Direction Bias**: Above VWAP bullish momentum validation
### 4. Red to Green Reversals
- **Setup**: Reversal patterns after consecutive red candles
- **Confirmation**: Volume spike with bullish close required
- **Momentum**: Trend change validation with RSI support
### 5. Breakout Momentum
- **Logic**: Breakouts above recent highs with volume
- **Filters**: EMA20 and RSI confirmation for quality
- **Trend**: Established momentum direction validation
## ⚡ Key Features
### Smart Risk Management
- **Position Sizing**: Automatic calculation based on account risk percentage
- **Stop Loss**: 2 ATR-based stops for volatility adjustment
- **Take Profit**: Configurable risk-reward ratios (default 1:2)
- **Trailing Stops**: Profit protection with adjustable triggers
### Advanced Filtering System
- **Time Filters**: Market hours trading with lunch hour avoidance
- **Volume Confirmation**: Multi-timeframe volume analysis
- **Momentum Indicators**: RSI and moving average trend validation
- **Quality Control**: Multiple confirmation layers for signal accuracy
### PDT-Friendly Design
- **Trade Limiting**: Built-in daily trade counter for accounts under $25K
- **Selective Trading**: Priority scoring system for A+ setups only
- **Quality over Quantity**: Maximum 2-3 high-probability trades per day
## 🎯 Optimal Usage
### Best Timeframes
- **Primary**: 5-minute charts for entry timing
- **Secondary**: 1-minute for precise execution
- **Context**: Daily charts for gap analysis
### Ideal Market Conditions
- **Volatility**: High-volume, momentum-driven markets
- **Stocks**: Market cap $100M+, average volume 1M+ shares
- **Sectors**: Technology, biotech, growth stocks with news catalysts
### Account Requirements
- **Minimum**: $500+ for proper position sizing
- **Recommended**: $25K+ for unlimited day trading
- **Risk Tolerance**: Active day trading experience preferred
## 📊 Performance Optimization
### Entry Criteria (All Must Align)
1. ✅ Time filter (market hours, avoid lunch)
2. ✅ Volume spike (2x+ average volume)
3. ✅ Momentum confirmation (RSI 50-80)
4. ✅ Trend alignment (above EMA20)
5. ✅ Pattern completion (setup-specific)
### Risk Parameters
- **Maximum Risk**: 1-2% per trade
- **Position Size**: 25% of account maximum
- **Stop Loss**: 2 ATR below entry
- **Take Profit**: 2:1 risk-reward minimum
## 🔧 Customization Options
### Gap Trading Settings
- Minimum gap percentage threshold
- Volume multiplier requirements
- Gap validation criteria
### Pattern Recognition
- ABCD ratio parameters
- Swing point sensitivity
- Pattern completion filters
### Risk Management
- Risk-reward ratio adjustment
- Maximum daily trade limits
- Trailing stop trigger levels
### Time and Session Filters
- Trading session customization
- Lunch hour avoidance toggle
- Market condition filters
## ⚠️ Important Disclaimers
### Risk Warning
- **High Risk**: Day trading involves substantial risk of loss
- **Capital Requirements**: Only trade with risk capital
- **Experience**: Strategy requires active monitoring and experience
- **Market Conditions**: Performance varies with market volatility
### PDT Considerations
- **Day Trading Rules**: Accounts under $25K limited to 3 day trades per 5 days
- **Compliance**: Strategy includes trade counting for PDT compliance
- **Alternative**: Consider swing trading modifications for smaller accounts
### Backtesting vs Live Trading
- **Slippage**: Real trading involves execution delays and slippage
- **Commissions**: Factor in broker fees for accurate performance
- **Market Impact**: Large positions may affect fill prices
- **Psychological Factors**: Live trading involves emotional challenges
## 📚 Educational Value
This strategy serves as an excellent learning tool for understanding:
- Professional day trading methodologies
- Risk management principles
- Pattern recognition techniques
- Volume and momentum analysis
- Multi-timeframe analysis
## 🤝 Community and Support
Based on proven Warrior Trading methodologies with active community support. Strategy includes comprehensive plotting and information tables for educational purposes and trade analysis.
---
**Disclaimer**: This strategy is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
**Tags**: #DayTrading #Momentum #WarriorTrading #GapAndGo #ABCD #VWAP #PatternTrading #RiskManagement
RSI OS/OB Background StripesThe "RSI OS/OB Background Stripes" indicator is a simple tool designed to help traders visualize overbought and oversold market conditions using the Relative Strength Index (RSI). It highlights these conditions by displaying colored background stripes directly on your chart, making it easy to spot potential trading opportunities.
How It Works:RSI Calculation: The indicator calculates the RSI, a popular momentum indicator that measures the speed and change of price movements, using a default period of 14 (customizable).
Overbought/Oversold Levels: It marks areas where the RSI is above a user-defined overbought level (default: 70) with red background stripes, and below an oversold level (default: 30) with green background stripes.
Visual Feedback: The colored stripes appear on the chart when the RSI enters overbought (red) or oversold (green) zones, helping you quickly identify market conditions.
Customization: You can adjust the RSI period, overbought/oversold levels, background colors, and transparency. You can also choose to show the RSI line in a separate panel or display RSI values on the chart for debugging.
Alerts: The indicator includes optional alerts that notify you when the RSI crosses into overbought or oversold territory.
Who It’s For: This indicator is perfect for beginner and intermediate traders who want a clear, visual way to track RSI-based overbought and oversold conditions without cluttering their charts.
Key Features:Easy-to-read background stripes for overbought (red) and oversold (green) conditions.
Fully customizable RSI settings, colors, and transparency.
Optional RSI plot and value display for deeper analysis.
Alerts to keep you informed of key RSI level crossings.
This indicator is a straightforward way to monitor market momentum and make informed trading decisions.
RSI Divergence (Nikko)RSI Divergence by Nikko
🧠 RSI Divergence Detector — Nikko Edition This script is an enhanced RSI Divergence detector built with Pine Script v6, modified for better visuals and practical usability. It uses linear regression to detect bullish and bearish divergences between the RSI and price action — one of the most reliable early signals in technical analysis.
✅ Improvements from the Original:
- Clean divergence lines using regression fitting.
- Optional label display to reduce clutter (Display Labels toggle).
- Adjustable line thickness (Display Line Width).
- A subtle heatmap background to highlight RSI overbought/oversold zones.
- Uses max accuracy with high calc_bars_count and custom extrapolation window.
🔍 How It Works: The script applies linear regression (least squares method) on both RSI data, and Price (close) data.
It then compares the direction of RSI vs. direction of Price over a set length. If price is making higher highs while RSI makes lower highs, it's a bearish divergence. If price is making lower lows while RSI makes higher lows, it's a bullish divergence. Additional filters (e.g., momentum and slope thresholds) are used to validate only strong divergences.
🔧 Input Parameters: RSI Length: The RSI period (default: 14). RSI Divergence Length: The lookback period for regression (default: 25). Source: Which price data to calculate RSI from (default: close). Display Labels: Show/hide “Bullish” or “Bearish” labels on the chart. Display Line Width: Adjusts how thick the plotted divergence lines appear.
📣 Alerts: Alerts are built-in for both RSI Buy (bullish divergence) and RSI Sell (bearish divergence) so you can use it in automation or notifications.
🚀 Personal Note: I’ve been using this script daily in my own trading, which is why I took time to improve both the logic and visual clarity. If you want a divergence tool that doesn't clutter your chart but gives strong signals, this might be what you're looking for.