Enhanced Auto Levels & TrendlinesOverview
The Enhanced Auto Levels & Trendlines (EAL&T) is a powerful, all-in-one indicator designed to automate the detection and visualization of key market structures. It combines auto-drawn trendlines, support/resistance levels with volume-based shadows and labels, and auto-flipping Fibonacci retracements/extensions. This tool helps traders identify potential reversals, breakouts, and targets without manual drawing.
Built on Pine Script v5, it uses pivot-based calculations for accuracy and includes customizable options for repainting, extensions, and sources. It's ideal for swing traders, scalpers, and analysts who want clean, dynamic charts.
Key Features
Auto Trendlines: Detects bullish/bearish trends based on pivots, with breakout detection and optional extensions/targets.
Auto Levels: Draws horizontal S/R levels from recent pivots, with "wick shadows" (boxes) highlighting volume strength and % buy/sell labels for sentiment.
Fibonacci Levels: Auto-flips between latest pivot high/low, showing retracements (0.236–0.786) and extensions (1.272–3.0) with customizable styles.
Customization: Override price sources, adjust lengths, colors, styles, and more. Supports repainting for real-time accuracy.
Performance: Limited to 500 bars back and 500 lines for efficiency; no heavy computations.
Visual Aids: Transparent shadows, extendable lines, and small labels for uncluttered charts.
How to Use
Step-by-Step Guide
Add to Chart: Load the indicator. Start with defaults.
Interpret Visuals:
Trendlines: Green (bullish/up), Red (bearish/down). Watch for breakouts – line "breaks" and extends if enabled.
Levels: Horizontal lines with shadows (boxes) showing wick strength. Green above price (resistance), Red below (support). Labels show % buy/sell sentiment.
Fibs: From latest swing low (0.0) to high (1.0). Use 0.5/0.618 for retracements; 1.272+ for targets. Flips automatically on trend change.
Customize for Your Strategy:
Volatile Markets (e.g., Crypto): Increase tl_length to 20+ for fewer false trends. Enable repainting for real-time.
Ranging Markets (e.g., Forex): Set override_source=true, custom_source=close for wick-ignoring pivots.
Fib Focus: Increase fib_extension_bars for longer projections. Hide trendlines if cluttered.
Levels Tuning: Shorten pivot lengths (e.g., 20) for intraday; lengthen (100+) for swings. Set shadow transparency to 100 to hide boxes.
Trading Ideas:
Breakout Trade: Buy on bull trendline break + Fib 0.618 confirmation.
Reversal: Sell at resistance level with high sell% label.
Targets: Use Fib extensions or trend targets for TP; levels for SL.
Combine: Overlay with MA crossover or volume for signals.
Tips & Troubleshooting:
Clutter? Toggle sections off or increase lengths.
No Lines? Ensure show_* is true; check chart history (needs 2x pivot length bars).
Repainting: Normal for real-time; disable for backtesting.
Custom Source: Test on demo – e.g., hl2 for median prices.
Updates: If lines don't extend, verify extend_bars > 0.
Credit : Auto Trendline Lib by HoanGhetti/SimpleTrendlines
インジケーターとストラテジー
Target Trend + Filter Toggles Strategy [ChadAnt]The strategy aims to enter a trade when the price crosses over/under a dynamic trend band and when a combination of user-selected filters confirms the move.
1. Trend Bands (Entry)
The core trend is defined by two smoothed moving averages (SMA based on length input) offset by a smoothed Average True Range (ATR) value.
Upper Band (sma_high): ta.sma(high, length) + atr_value
Lower Band (sma_low): ta.sma(low, length) - atr_value
atr_value is ta.sma(ta.atr(atrLength), smaLength) * atrMultiplier.
Trend Determination:
Long Trend (trend = true): Price crossovers the sma_high band.
Short Trend (trend = false): Price crossesunder the sma_low band.
Raw Signal: A trade signal (signal_up_raw / signal_down_raw) is triggered only when the trend state changes.
2. Stop Loss and Take Profit
Stop Loss (SL):
For a Long entry, the original stop price is the Lower Band (sma_low) at the time of the cross.
For a Short entry, the original stop price is the Upper Band (sma_high) at the time of the cross.
The Stop Loss Price is calculated using the distance from the entry price to the original stop, adjusted by the slAdjustment multiplier.
Take Profit (TP):
Calculated based on a Risk/Reward (R:R) ratio, which is rr_increment * tp_target_number.
TP Distance = Adjusted Stop Distance * R:R Ratio.
The strategy enters and exits in a single order pair using strategy.entry and strategy.exit, using the calculated stop_loss_price and take_profit_price.
3. Filters and Confirmation
The strategy includes toggles (use_..._filter) for many popular indicators: MACD, Volume, StochRSI, Awesome Oscillator (AO), and Moving Average/VWAP (Trend/Counter-Trend).
Filter Logic: Each filter checks for its specific confirmation condition (e.g., MACD zero-cross, AO color change, StochRSI out of extreme, Volume > SMA, Price above MA).
Lookback Period: The script uses a for loop (i = 0 to filter_lookback) to check if the required confirmation happened within the last filter_lookback bars.
Final Signal: The actual entry signal (signal_up / signal_down) is triggered only if the Raw Trend Change Signal occurs AND all currently active (toggled on) filters had their required confirmation event within the lookback period AND the trade is within the Time Window.
The draw_targets method is responsible for the powerful visual display on the chart:
When a new filtered signal occurs, it clears any old lines/labels and draws the new:
Entry line
Stop Loss line
Multiple Take Profit lines (up to num_targets), with the strategy's active TP level highlighted (🎯).
It also features logic to dynamically change the label/line of a TP level to a "✔" or the SL level to a "✖" if the price touches that level on subsequent bars.
The strategy is a highly flexible, multi-factor system built on the concept of trend reversal confirmation.
Pulse RSI | Lyro RSPulse RSI | Lyro RS
The Pulse RSI is a momentum oscillator that enhances the traditional RSI by incorporating volume-weighted price and linear regression. It generates multiple trading signals, including trend shifts, overbought/oversold conditions, and custom threshold levels.
By integrating both price and volume into its calculation, Pulse RSI is more robust and responsive than the standard RSI. This helps you identify trends faster, spot potential reversals sooner, and set up custom alerts based on your own strategy.
Key Features
Four Signal Types:
Type 1 (Trend): Triggers when the indicator's current value crosses its previous value, highlighting short-term momentum shifts.
Type 2 (Midline Trend): The classic midline cross. A bullish bias is indicated above 50, while a bearish bias is indicated below 50.
Type 3 (Overbought/Oversold): Flags potential reversal zones, suggesting where buying or selling opportunities may emerge.
Type 4 (Custom Thresholds): This type lets you define your own threshold levels. Instead of following a trend, use it to mark your specific conditions for a reversal. For example, set a long reversal at a low level (e.g., 5) for an early buy signal, or a short reversal at a high level (e.g., 80) for an early sell signal.
Calculation Method:
The indicator uses a volume-weighted price (Close * High * Low) and applies linear regression to smooth the data. This creates a unique and more stable oscillator, avoiding the chaotic movement seen in others.
Color System:
Choose from multiple color themes like Classic, Mystic, Accented, and Royal, or create your own custom colors for bullish and bearish signals.
Visual Plotting:
Features a clear plot with a glow effect, a midline, adjustable threshold lines, and shapes/labels to mark long/short and overbought/oversold signals.
Alerts:
Instant alerts are available for every signal type, which you can quickly enable based on your trading conditions.
How It Works:
Core Calculation
The indicator calculates a volume-weighted price using (Close * High * Low) multiplied by the absolute volume. This value is then smoothed with linear regression and converted into an oscillator, normalized to a 0-100 scale.
Trading Logic:
Bullish Signals: Trigger when the main plot line crosses above a key level—be it the previous value, the 50 midline, or a custom threshold.
Bearish Signals: Trigger when the main plot line crosses below a key level.
Visual Logic:
The system displays a main plot line, colors candles, and plots signal shapes, all customizable through a variety of color schemes.
Practical Use
Trend Confirmation (Types 1 & 2): Use Type 1 for early momentum shifts and Type 2 to confirm the overall trend direction.
Reversals (Type 3): Consider long entries when oversold signals fire, suggesting an asset is undervalued. Look for exits at overbought signals, which suggest a potential downward reversal.
Custom Thresholds (Type 4): Set tight thresholds to catch early trends and reversals. Be aware that more sensitive settings may also increase false positives.
Customization:
Adjust the Length: A higher setting makes the indicator more suited for long-term trends, while a lower setting makes it more sensitive for short-term moves.
Enable/Disable Signals: Turn the four signal types on or off to match your trading style.
Set Your Levels: Fully adjustable thresholds for Type 4 long/short conditions.
Choose Your Colors: Select from a variety of color schemes for all bullish and bearish elements.
⚠️ Disclaimer
This indicator is a tool for technical analysis and does not guarantee results. It should be used alongside other analysis methods and solid risk management practices. The creators are not responsible for any financial decisions made based on its signals.
Range Trading StrategyOVERVIEW
The Range Trading Strategy is a systematic trading approach that identifies price ranges
from higher timeframe candles or trading sessions, tracks pivot points, and generates
trading signals when range extremes are mitigated and confirmed by pivot levels.
CORE CONCEPT
The strategy is based on the principle that when a candle (or session) closes within the
range of the previous candle (or session), that previous candle becomes a "range" with
identifiable high and low extremes. When price breaks through these extremes, it creates
trading opportunities that are confirmed by pivot levels.
RANGE DETECTION MODES
1. HTF (Higher Timeframe) Mode:
Automatically selects a higher timeframe based on the current chart timeframe
Uses request.security() to fetch HTF candle data
Range is created when an HTF candle closes within the previous HTF candle's range
The previous HTF candle's high and low become the range extremes
2. Sessions Mode:
- Divides the trading day into 4 sessions (UTC):
* Session 1: 00:00 - 06:00 (6 hours)
* Session 2: 06:00 - 12:00 (6 hours)
* Session 3: 12:00 - 20:00 (8 hours)
* Session 4: 20:00 - 00:00 (4 hours, spans midnight)
- Tracks high, low, and close for each session
- Range is created when a session closes within the previous session's range
- The previous session's high and low become the range extremes
PIVOT DETECTION
Pivots are detected based on candle color changes (bullish/bearish transitions):
1. Pivot Low:
Created when a bullish candle appears after a bearish candle
Pivot low = minimum of the current candle's low and previous candle's low
The pivot bar is the actual bar where the low was formed (current or previous bar)
2. Pivot High:
Created when a bearish candle appears after a bullish candle
Pivot high = maximum of the current candle's high and previous candle's high
The pivot bar is the actual bar where the high was formed (current or previous bar)
IMPORTANT: There is always only ONE active pivot high and ONE active pivot low at any
given time. When a new pivot is created, it replaces the previous one.
RANGE CREATION
A range is created when:
(HTF Mode) An HTF candle closes within the previous HTF candle's range AND a new HTF
candle has just started
(Sessions Mode) A session closes within the previous session's range AND a new session
has just started
Or Range Can Be Created when the Extreme of Another Range Gets Mitigated and We Have a Pivot low Just Above the Range Low or Pivot High just Below the Range High
Range Properties:
rangeHigh: The high extreme of the range
rangeLow: The low extreme of the range
highStartTime: The timestamp when the range high was actually formed (found by looping
backwards through bars)
lowStartTime: The timestamp when the range low was actually formed (found by looping
backwards through bars)
highMitigated / lowMitigated: Flags tracking whether each extreme has been broken
isSpecial: Flag indicating if this is a "special range" (see Special Ranges section)
RANGE MITIGATION
A range extreme is considered "mitigated" when price interacts with it:
High is mitigated when: high >= rangeHigh (any interaction at or above the level)
Low is mitigated when: low <= rangeLow (any interaction at or below the level)
Mitigation can happen:
At the moment of range creation (if price is already beyond the extreme)
At any point after range creation when price touches the extreme
SIGNAL GENERATION
1. Pending Signals:
When a range extreme is mitigated, a pending signal is created:
a) BEARISH Pending Signal:
- Triggered when: rangeHigh is mitigated
- Confirmation Level: Current pivotLow
- Signal is confirmed when: close < pivotLow
- Stop Loss: Current pivotHigh (at time of confirmation)
- Entry: Short position
Signal Confirmation
b) BULLISH Pending Signal:
- Triggered when: rangeLow is mitigated
- Confirmation Level: Current pivotHigh
- Signal is confirmed when: close > pivotHigh
- Stop Loss: Current pivotLow (at time of confirmation)
- Entry: Long position
IMPORTANT: There is only ever ONE pending bearish signal and ONE pending bullish signal
at any given time. When a new pending signal is created, it replaces the previous one
of the same type.
2. Signal Confirmation:
- Bearish: Confirmed when price closes below the pivot low (confirmation level)
- Bullish: Confirmed when price closes above the pivot high (confirmation level)
- Upon confirmation, a trade is entered immediately
- The confirmation line is drawn from the pivot bar to the confirmation bar
TRADE EXECUTION
When a signal is confirmed:
1. Position Management:
- Any existing position in the opposite direction is closed first
- Then the new position is entered
2. Stop Loss:
- Bearish (Short): Stop at pivotHigh
- Bullish (Long): Stop at pivotLow
3. Take Profit:
- Calculated using Risk:Reward Ratio (default 2:1)
- Risk = Distance from entry to stop loss
- Target = Entry ± (Risk × R:R Ratio)
- Can be disabled with "Stop Loss Only" toggle
4. Trade Comments:
- "Range Bear" for short trades
- "Range Bull" for long trades
SPECIAL RANGES
Special ranges are created when:
- A range high is mitigated AND the current pivotHigh is below the range high
- A range low is mitigated AND the current pivotLow is above the range low
In these cases:
- The pivot value is stored in an array (storedPivotHighs or storedPivotLows)
- A "special range" is created with only ONE extreme:
* If pivotHigh < rangeHigh: Creates a range with rangeHigh = pivotLow, rangeLow = na
* If pivotLow > rangeLow: Creates a range with rangeLow = pivotHigh, rangeHigh = na
- Special ranges can generate signals just like normal ranges
- If a special range is mitigated on the creation bar or the next bar, it is removed
entirely without generating signals (prevents false signals)
Special Ranges
REVERSE ON STOP LOSS
When enabled, if a stop loss is hit, the strategy automatically opens a trade in the
opposite direction:
1. Long Stop Loss Hit:
- Detects when: position_size > 0 AND position_size <= 0 AND low <= longStopLoss
- Action: Opens a SHORT position
- Stop Loss: Current pivotHigh
- Trade Comment: "Reverse on Stop"
2. Short Stop Loss Hit:
- Detects when: position_size < 0 AND position_size >= 0 AND high >= shortStopLoss
- Action: Opens a LONG position
- Stop Loss: Current pivotLow
- Trade Comment: "Reverse on Stop"
The reverse trade uses the same R:R ratio and respects the "Stop Loss Only" setting.
VISUAL ELEMENTS
1. Range Lines:
- Drawn from the time when the extreme was formed to the mitigation point (or current
time if not mitigated)
- High lines: Blue (or mitigated color if mitigated)
- Low lines: Red (or mitigated color if mitigated)
- Style: SOLID
- Width: 1
2. Confirmation Lines:
- Drawn when a signal is confirmed
- Extends from the pivot bar to the confirmation bar
- Bearish: Red, solid line
- Bullish: Green, solid line
- Width: 1
- Can be toggled on/off
STRATEGY SETTINGS
1. Range Detection Mode:
- HTF: Uses higher timeframe candles
- Sessions: Uses trading session boundaries
2. Auto HTF:
- Automatically selects HTF based on current chart timeframe
- Can be disabled to use manual HTF selection
3. Risk:Reward Ratio:
- Default: 2.0 (2:1)
- Minimum: 0.5
- Step: 0.5
4. Stop Loss Only:
- When enabled: Trades only have stop loss (no take profit)
- Trades close on stop loss or when opposite signal confirms
5. Reverse on Stop Loss:
- When enabled: Hitting a stop loss opens opposite trade with stop at opposing pivot
6. Max Ranges to Display:
- Limits the number of ranges kept in memory
- Oldest ranges are purged when limit is exceeded
KEY FEATURES
1. Dynamic Pivot Tracking:
- Pivots update on every candle color change
- Always maintains one high and one low pivot
2. Range Lifecycle:
- Ranges are created when price closes within previous range
- Ranges are tracked until mitigated
- Mitigation creates pending signals
- Signals are confirmed by pivot levels
3. Signal Priority:
- Only one pending signal of each type at a time
- New signals replace old ones
- Confirmation happens on close of bar
4. Position Management:
- Closes opposite positions before entering new trades
- Tracks stop loss levels for reverse functionality
- Respects pyramiding = 1 (only one position per direction)
5. Time-Based Drawing:
- Uses time coordinates instead of bar indices for line drawing
- Prevents "too far from current bar" errors
- Lines can extend to any historical point
USAGE NOTES
- Best suited for trending and ranging markets
- Works on any timeframe, but HTF mode adapts automatically
- Sessions mode is ideal for intraday trading
- Pivot detection requires clear candle color changes
- Range detection requires price to close within previous range
- Signals are generated on bar close, not intra-bar
The strategy combines range identification, pivot tracking, and signal confirmation to
create a systematic approach to trading breakouts and reversals based on price structure, past performance does not in any way predict future performance
Top Finder & Dip Hunter [BackQuant]Top Finder & Dip Hunter
A practical tool to map where price is statistically most likely to exhaust or mean-revert. It builds objective support for dips and resistance for tops from multiple methodologies, then filters raw touches with volume, momentum, trend, and price-action context to surface higher-quality reversal opportunities.
What this does
Draws a Dip Support line and a Top Resistance line using the method you select, or a blended hybrid.
Evaluates each touch/penetration against Quality Filters and assigns a 0–100 composite score.
Prints clean DIP and TOP signals only when depth/extension and quality pass your thresholds.
Optionally annotates the chart with the computed quality score at signal time.
Why it’s useful
Objectivity: Converts vague “looks extended” into rules, reduces discretion creep.
Signal hygiene: Filters raw touches using trend, volume, momentum, and candle structure to avoid obvious traps.
Adaptable regimes: Switch methods, sensitivity, and lookbacks to match choppy vs trending conditions.
How support and resistance are built
Pick one per side, or use “Hybrid.”
Dynamic: Anchors to the extreme of a lookback window, padded by recent ATR, so buffers expand in volatile periods and contract when calm.
Fibonacci: Uses the 0.618/0.786 retracement pair inside the current swing window to target common reaction zones.
Volatility: Uses a moving-average basis with standard-deviation bands to capture statistically stretched moves.
Volume-Weighted: Centers off VWAP and penalizes deviations using dispersion of price around VWAP, helpful on intraday instruments.
Hybrid: A weighted average of the above to smooth out single-method biases.
When a touch becomes a signal
Depth/extension test:
Dips must penetrate their support by at least Min Dip Depth % .
Tops must extend above resistance by at least Min Top Rise % .
Quality Score gate: The composite must clear Min Quality Score . Components:
Trend alignment: Favor dips in bullish regimes and tops in bearish regimes using EMAs and RSI.
Volume confirmation: Reward expansion or spikes versus a 20-period baseline.
RSI context: Prefer oversold for dips, overbought for tops.
Momentum shift: Look for short-term momentum turning in the expected direction.
Candle structure: Reward hammer/shooting-star style responses at the level.
How to use it
Pick your regime:
Range/chop, small caps, mean-revert intraday → Volatility or Volume Weighted .
Cleaner swings/trends → Dynamic or Fibonacci .
Unsure or mixed conditions → Hybrid .
Set windows: Start with Lookback = 50 for both sides. Increase in higher timeframes or slow assets, decrease for fast scalps.
Tune sensitivity: Raise Dip/Top Sensitivity to widen buffers and reduce noise. Lower to be more aggressive.
Gate with quality: Begin with Min Quality Score = 60 . Push to 70–80 for cleaner swing entries, relax to 50–60 for scalps.
Act on first prints: The script only fires on new qualified events. Use the score label to prioritize A-setups.
Typical workflows
Intraday futures/crypto: Volume-Weighted or Volatility methods for both sides, higher Sensitivity , require Volume Filter and Momentum Filter on. Look for DIP during opening drive exhaustion and TOP near late-session fatigue.
Swing equities/FX: Dynamic or Fibonacci with moderate sensitivity. Keep Trend Filter on to only take dips above the 200-EMA and tops below it.
Countertrend scouts: Lower Min Dip Depth % / Min Top Rise % slightly, but raise Min Quality Score to compensate.
Reading the chart
Lines: “Dip Support” and “Top Resistance” are the current actionable rails, lightly smoothed to reduce flicker.
Signals: “DIP” prints below bars when a qualified dip appears, “TOP” prints above for qualified tops.
Scores: Optional labels show the composite at signal time. Favor higher numbers, especially when aligned with higher-timeframe trend.
Background hints: Light highlights mark raw touches meeting depth/extension, even if they fail quality. Treat these as early warnings.
Tuning tips
If you get too many false DIP signals in downtrends, raise Min Dip Depth % and keep Trend Filter on.
If tops appear late in squeezes, lower Top Sensitivity slightly or switch top side to Fibonacci .
On assets with erratic volume, prefer Volatility or Dynamic methods and down-weight the Volume Filter .
For strict systems, increase Min Quality Score and require both Volume and Momentum filters.
What this is not
It is not a blind reversal signal. It’s a structured context tool. Combine with your risk plan and higher-timeframe map.
It is not a guarantee of mean reversion. In strong trends, expect fewer, higher-score opportunities and respect invalidation quickly.
Suggested presets
Scalp preset: Lookback 30–40, Sensitivity 1.2–1.5, Quality ≥ 55, Volume & Momentum filters ON.
Swing preset: Lookback 75–100, Sensitivity 1.0–1.2, Quality ≥ 70, Trend & Volume filters ON.
Chop preset: Volatility/Volume-Weighted methods, Quality ≥ 60, Momentum filter ON, RSI emphasis.
Input quick reference
Dip/Top Method: Choose the model for each side or “Hybrid” to blend.
Lookback: Swing window the levels are built from.
Sensitivity: Scales volatility padding around levels.
Min Dip Depth % / Min Top Rise %: Minimum breach/extension to qualify.
Quality Filters: Trend, Volume, Momentum toggles, plus Min Quality Score gate.
Visuals: Colors and whether to print score labels.
Best practices
Map higher-timeframe trend first, then act on lower-timeframe DIP/TOP in the trend’s favor.
Use the score as triage. Skip mediocre prints into news or at session open unless score is exceptional.
Pre-define stop placement relative to the level you used. If a DIP fails, exit on loss of structure rather than waiting for the next print.
Bottom line: Top Finder & Dip Hunter codifies where reversals are most defensible and only flags the ones with supportive context. Tune the method and filters to your market, then let the score keep your playbook disciplined.
Aroon with RSI Confirmation (92.86%)This script is an analytical tool designed to identify moments in market behavior when price momentum is shifting. It does this by combining two concepts: **Aroon Levels** (to measure trend maturity) and **RSI Slope Behavior** (to measure short-term momentum pressure).
**Functional Concept (Professional Description)**
The indicator examines when either the *Aroon Up* or *Aroon Down* value reaches approximately **92.86%**, which statistically represents a phase where price has recently made an extreme high or low relative to the selected period. This level suggests the trend is nearing a point of *decision*—either continuation or exhaustion.
At the same time, the script analyzes the **relationship between the RSI and its smoothed average**. The difference between the two reflects whether momentum is accelerating in the current direction or slowing. A small difference indicates **market stability**, while whether RSI is positioned above or below the smoothed line indicates **who has control**—buyers or sellers.
By requiring both conditions to align, the script filters out random noise and highlights moments where **trend structure and momentum sentiment converge**.
* **Buy Signal:** Occurs when the market has recently formed a significant low (Aroon Down ≈ 92.86) and buyers begin to regain control (RSI crosses above its smoothed value with low volatility).
* **Sell Signal:** Occurs when the market has recently reached a significant high (Aroon Up ≈ 92.86) and sellers begin to dominate (RSI slips below its smoothed value with low volatility).
---
**Psychological Interpretation**
Markets are driven by cycles of **attention**, **emotion**, and **participation**.
This script targets moments when:
1. **Price has made a meaningful extreme** (a recent new high or low).
This is where crowd sentiment is often strongest—either euphoria near highs or pessimism near lows.
2. **Traders are reassessing direction**, shown by momentum flattening (small RSI difference).
This reveals that participants are hesitating, watching, and waiting.
The market is effectively *thinking*.
3. **Control shifts subtly**, when RSI moves relative to its smoothed trend.
This indicates that early, informed participation is beginning to form—before the broader crowd reacts.
In psychological terms, the script highlights the **transitional turning points** where:
* Fear begins to weaken and confidence returns (buy setup), or
* Confidence begins to crumble and caution emerges (sell setup).
These are the earliest moments when market sentiment **changes hands**, often preceding visible trend reversals. The indicator is not reacting to outcomes—it is observing the underlying shift in **decision-making pressure** among market participants.
---
In essence, this tool identifies **behavioral inflection points**—where the market transitions from one emotional state to the next—providing traders with signals grounded in both structural trend positioning and real-time crowd momentum behavior.
Volume Based Ranges (VBR) [SS]Here is the Volume Based Ranges or VBR indicator.
How it works
The indicator works by:
Sorting volume into buying and selling volume, then
Calculating 2 independent Z-Scores for buying and selling data, then
Identifying the high buying and selling nodes through the use of the Z-score threshold.
Tracks the average target/move based on buying and selling nodes over a designated lookforward horizon (i.e. if you want to see the average move a high selling node happens over 20 candles, you can modify the lookforward horizon to 20).
Calculates the composition from each volume node, displaying the composition information on each line (the % of buying and selling each node contains).
How to Use it
To use this indicator:
Select the Z-Score length of assessment: By default, z-score is 75 and this is usually fine to leave.
Identify the threshold trigger: This will need to be adjusted based on your timeframe. If you are using 1 minute, the data is noiser and you want more profound signals. Thresholds generally in this range should be between 5 - 7. For larger timeframes, you want to relax this threshold, to about 2 to 3. You can toggle in increments of 0.5 to find what works the best. Generally you want to see very rigorous volume node signals instead of tons of them.
Determine what you want to see: You can turn of the support and resistance lines and just have the node identification signals and the return boxes. Or, you can just have the support and resistance lines and turn off the return boxes. You can customize the information the indicator displays in the settings menu to suit what you are most interested in.
Let's look at some examples '
DIS on the hourly. We can see that the average up move from the high buying nodes has a target of 115.42, and in between there we can see the high selling and buying nodes and their compositions.
High buying (100% of the high buying volume) is around the 112.61. This means, you would expect this to be an area of retracement.
We can also see that high selling is just below that at 111.66, which can be a resistance area.
Here is a closer look at the levels specifically:
EPAM on the daily:
You can see a successful retrace back to a high volume node.
Concluding remarks
That's the indicator!
Its one that is best to get a feel for, play around and decide on the settings you like for your individual ticker.
I have included tooltip descriptions for the settings within the indicator as well.
I hope you enjoy it and find it helpful!
Thanks for reading/checking it out and as always, safe trades!
Close-Only Market StructureDYOR NFA
Function of the Close-Only Market Structure Script
The script is a custom indicator designed to display the market's structural trend based only on closing prices, ignoring price wicks (highs and lows) to focus on conviction.
pivotLengthInt Input: This user setting controls the sensitivity of the structure detection. It determines how many bars to look left and right to define a swing point (e.g., a setting of 5 means a bar's close must be the highest/lowest of the 5 preceding and 5 succeeding bars).
Swing Point Identification (SH/SL): It uses the ta.pivothigh() and ta.pivotlow() functions on the close price series to define Swing Highs (SH) and Swing Lows (SL).
Structure Tracking (structureType): It compares the most recent confirmed SH and SL against the immediately preceding ones (prevSH and prevSL) to classify the trend as one of the following four states:
HH (Higher High, Higher Low): Strong Uptrend
LL (Lower High, Lower Low): Strong Downtrend
HL/LH: Complex structure, consolidation, or reversal zones.
Structure Lines: It plots two continuous stepped lines (lastSH and lastSL) that hold the price of the most recent confirmed swing points, visually defining the current structure boundaries.
BOS Detection (Break of Structure): It identifies and plots a marker (BOS) when the current bar's close definitively breaks (closes above) the lastSH or closes below the lastSL, signaling a continuation of the trend or a major structural change.
Visual Confirmation:
Plots small SH/SL labels at the confirmed swing points.
Plots small HH/HL/LH/LL labels at the swing points to show the confirmed structural state.
Applies a light background color (green for bullish/ranging-up, red for bearish/ranging-down) for an at-a-glance view of the bias.
Alerts: It provides conditions for setting up notifications when a Bullish BOS or Bearish BOS occurs.
🚀 How to Use the Script
Open TradingView: Go to the chart where you want to apply the indicator.
Open Pine Editor: Click the Pine Editor tab at the bottom of the screen.
Paste and Save:
Copy the final, corrected Pine Script code.
Delete any existing code in the editor and paste the new code.
Click the Save button (or name the script) and then click Add to Chart.
Adjust Settings:
On the chart, hover over the indicator name ("Close-MS v6") and click the Gear Icon (Settings).
Pivot Lookback (L&R): Change this value to adjust sensitivity:
Smaller number (e.g., 3): More swings detected, structure changes faster, more noise.
Larger number (e.g., 10): Fewer swings detected, structure is more significant, less noise (recommended for higher timeframes).
Interpret the Chart:
The Red Stepped Line shows your current resistance (SH).
The Green Stepped Line shows your current support (SL).
Green Background: General bullish bias (making Higher Highs/Lows).
Red Background: General bearish bias (making Lower Highs/Lows).
BOS Triangle: Signals that the price has closed and validated a break of the previous structural high or low.
Set Alerts (Optional):
Click the Alert button (bell icon) on the TradingView toolbar.
Set the Condition to the indicator ("Close-MS v6").
Select the specific Alert Condition you want to monitor (e.g., "Bullish BOS" or "Bearish BOS").
DEMA Flow [Alpha Extract]A sophisticated trend identification system that combines Double Exponential Moving Average methodology with advanced HL median filtering and ATR-based band detection for precise trend confirmation. Utilizing dual-layer smoothing architecture and volatility-adjusted breakout zones, this indicator delivers institutional-grade flow analysis with minimal lag while maintaining exceptional noise reduction. The system's intelligent band structure with asymmetric ATR multipliers provides clear trend state classification through price position analysis relative to dynamic threshold levels.
🔶 Advanced DEMA Calculation Engine
Implements double exponential moving average methodology using cascaded EMA calculations to significantly reduce lag compared to traditional moving averages. The system applies dual smoothing through sequential EMA processing, creating a responsive yet stable trend baseline that maintains sensitivity to genuine market structure changes while filtering short-term noise.
// Core DEMA Framework
dema(src, length) =>
EMA1 = ta.ema(src, length)
EMA2 = ta.ema(EMA1, length)
DEMA_Value = 2 * EMA1 - EMA2
DEMA_Value
// Primary Calculation
DEMA = dema(close, DEMA_Length)
2H
🔶 HL Median Filter Smoothing Architecture
Features sophisticated high-low median filtering using rolling window analysis to create ultra-smooth trend baselines with outlier resistance. The system constructs dynamic arrays of recent DEMA values, sorts them for median extraction, and handles both odd and even window lengths for optimal smoothing consistency across all market conditions.
// HL Median Filter Logic
hlMedian(src, length) =>
window = array.new_float()
for i = 0 to length - 1
array.push(window, src)
array.sort(window)
// Median Extraction
lenW = array.size(window)
median = lenW % 2 == 1 ?
array.get(window, lenW / 2) :
(array.get(window, lenW/2 - 1) + array.get(window, lenW/2)) / 2
// Smooth DEMA Calculation
Smooth_DEMA = hlMedian(DEMA_Value, HL_Filter_Length)
🔶 ATR Band Construction Framework
Implements volatility-adaptive band structure using Average True Range calculations with asymmetric multiplier configuration for optimal trend identification. The system creates upper and lower threshold bands around the smoothed DEMA baseline with configurable ATR multipliers, enabling precise trend state determination through price breakout analysis.
// ATR Band Calculation
atrBands(src, atr_length, upper_mult, lower_mult) =>
ATR = ta.atr(atr_length)
Upper_Band = src + upper_mult * ATR
Lower_Band = src - lower_mult * ATR
// Band Generation
= atrBands(Smooth_DEMA, ATR_Length, Upper_ATR_Mult, Lower_ATR_Mult)
15min
🔶 Intelligent Flow Signal Engine
Generates binary trend states through band breakout detection, transitioning to bullish flow when price exceeds upper band and bearish flow when price breaches lower band. The system maintains flow state persistence until opposing band breakout occurs, providing clear trend classification without whipsaw signals during normal volatility fluctuations.
🔶 Comprehensive Visual Architecture
Provides multi-dimensional flow visualization through color-coded DEMA line, trend-synchronized candle coloring, and bar color overlay for complete chart integration. The system uses institutional color scheme with neon green for bullish flow, neon red for bearish flow, and neutral gray for undefined states with configurable band visibility.
🔶 Asymmetric Band Configuration
Features intelligent asymmetric ATR multiplier system with default upper multiplier of 2.1 and lower multiplier of 1.5, optimizing for market dynamics where upside breakouts often require stronger momentum confirmation than downside breaks. This configuration reduces false signals while maintaining sensitivity to genuine flow changes.
🔶 Dual-Layer Smoothing Methodology
Combines DEMA's inherent lag reduction with HL median filtering to create exceptional smoothing without sacrificing responsiveness. The system first applies double exponential smoothing for initial noise reduction, then applies median filtering to eliminate outliers and create ultra-clean flow baseline suitable for high-frequency and institutional trading applications.
🔶 Alert Integration System
Features comprehensive alert framework for flow state transitions with customizable notifications for bullish and bearish flow confirmations. The system provides real-time alerts on crossover events with clear directional indicators and exchange/ticker integration for multi-symbol monitoring capabilities.
🔶 Performance Optimization Framework
Utilizes efficient array management with optimized median calculation algorithms and minimal variable overhead for smooth operation across all timeframes. The system includes intelligent bar indexing for median filter initialization and streamlined flow state tracking for consistent performance during extended analysis periods.
🔶 Why Choose DEMA Flow ?
This indicator delivers sophisticated flow identification through dual-layer smoothing architecture and volatility-adaptive band methodology. By combining DEMA's reduced-lag characteristics with HL median filtering and ATR-based breakout zones, it provides institutional-grade flow analysis with exceptional noise reduction and minimal false signals. The system's asymmetric band structure and comprehensive visual integration make it essential for traders seeking systematic trend-following approaches across cryptocurrency, forex, and equity markets with clear entry/exit signals and comprehensive alert capabilities for automated trading strategies.
Trend Engine [MMT]The Trend Engine is a versatile Pine Script indicator designed to identify trend direction, potential reversals, and key price levels using a combination of Exponential Moving Averages (EMAs), and Anchored Volume-Weighted Average Price (VWAP). This indicator provides traders with a clear visual representation of market bias, momentum, and key support/resistance levels, making it suitable for both trend-following and pullback trading strategies.
Key Features:
1. EMA Cloud System:
- Displays three customizable EMAs (Fast, Pullback, and Slow) with configurable lengths and visibility.
- Creates two cloud fills:
- Fast Cloud : Between the Fast EMA (default: 8) and Pullback EMA (default: 13).
- Slow Cloud : Between the Pullback EMA and Slow EMA (default: 21).
- Clouds are color-coded (green for bullish, red for bearish) based on EMA alignment, with adjustable transparency for clarity.
2. Bias EMA:
- A longer-term EMA (default: 35) indicates the overall market bias.
- Changes color based on whether the regular candle close is above (green) or below (red) the Bias EMA, providing a clear trend direction signal.
3. Heikin Ashi Signals:
- Utilizes Heikin Ashi candles to detect strong bullish or bearish momentum.
- Generates buy/sell signals when a Heikin Ashi candle confirms a trend (bullish HA candle closing above Bias EMA for buy, bearish HA candle closing below for sell).
- Signal arrows are currently disabled but can be enabled via settings for visual confirmation.
4. Anchored VWAP and Standard VWAP:
- Plots both a standard VWAP and an Anchored VWAP (anchored to the US RTH session, 09:30–16:00 EST).
- Customizable line styles (solid, cross, or circles) and colors for both VWAPs, aiding in identifying dynamic support/resistance levels.
5. Background and Candle Coloring:
- Optional background coloring reflects the market bias (green for bullish, red for bearish) based on the regular close relative to the Bias EMA.
- Optional Heikin Ashi candle coloring to visually distinguish bullish and bearish market conditions.
6. Regular Candle Close:
- Option to plot the regular (non-Heikin Ashi) close price with customizable styles (line, circles, or cross) for reference.
7. Alerts:
- Built-in alert conditions for bullish and bearish signals, allowing traders to receive notifications when a Heikin Ashi candle confirms a trend relative to the Bias EMA.
How to Use:
- Trend Identification : Use the Bias EMA and background color to determine the overall market direction.
- Pullback Trading : Monitor the EMA clouds for alignment (bullish or bearish) and use the Pullback EMA for entries during retracements.
- Support/Resistance : Leverage the VWAP and Anchored VWAP as dynamic levels for trade entries or exits.
- Signal Confirmation : Enable signal arrows (when fixed) to spot high-probability trend continuation or reversal setups.
- Customization : Adjust EMA lengths, colors, transparency, and visibility to suit your trading style and timeframe.
Settings:
- EMA Cloud : Customize lengths (default: 8, 13, 21), visibility, and cloud colors/transparency.
- Bias EMA : Adjust length (default: 35) and colors for above/below states.
- VWAP : Toggle standard and Anchored VWAP, with customizable styles and colors.
- Background/Candles : Enable/disable background and candle coloring for visual clarity.
- Regular Close : Show/hide the regular close price with style options.
Notes:
- Designed for use on any timeframe, but most effective on intraday (e.g., 5m, 15m) or daily charts.
- Best used in conjunction with other technical analysis tools for confirmation.
- Anchored VWAP is tailored for US markets (RTH session) but can be adjusted for other sessions by modifying the anchor time in the code.
Ideal For:
- Day traders and swing traders looking for trend direction and pullback opportunities.
- Traders using VWAP-based strategies for intraday support/resistance.
- Those seeking a clean, customizable visual aid for market bias and momentum.
This indicator is a powerful tool for traders aiming to capture trends and manage risk effectively, with extensive customization to adapt to various markets and trading styles.
مستويات الاتزان السعري (Equilibrium Price Levels)Equilibrium Price Levels is an educational tool that helps traders quantify “fair value” and key extension zones based on a single reference swing.
The script uses two manual inputs (reference High and Low) to compute a structured set of equilibrium and extension levels, rather than scanning swings automatically. This gives full control over which range the calculations are based on.
Calculated levels include:
• Retracement / equilibrium band from the selected range: 38.2%, 50.0%, 61.8%
• Upside extension targets from the same range: 125%, 1.618, 1.80, 2.50, 3.10, 3.86, 4.236
Features:
• Separate toggles for supports, targets, and reference high/low
• Per-level visibility switches for each extension (e.g., only show 1.618 and 2.50)
• Customizable colors for supports, targets, and reference lines
• Optional labels with configurable size and offset to keep the chart clean
• Multiple line extension modes (left, both sides, or no extension)
Typical use cases:
• Marking an equilibrium zone inside a major swing to watch for reaction or trend continuation
• Building a consistent “price map” of where mean-reversion vs. extension behavior is likely
• Combining with other tools (price action, volume, order blocks, etc.) to refine trade plans
This script is for educational and analytical purposes only and does not constitute financial advice, trade signals, or performance guarantees.
مستويات الاتزان السعري هي أداة تعليمية تساعد المتداول على قياس “السعر العادل” ومناطق التمدد المحتملة اعتمادًا على نطاق سعري واحد يحدده بنفسه.
المؤشر لا يختار القمم والقيعان آليًا، بل يعتمد على إدخال قمّة وقاع مرجعيين يدويًا، مما يعطي تحكمًا كاملًا في النطاق المستخدم في الحسابات.
المؤشر يحسب ما يلي:
• نطاق الاتزان/التراجع من القمة إلى القاع: 38.2%، 50.0%، 61.8%
• أهداف وتمددات سعرية أعلى النطاق: 125%، 1.618، 1.80، 2.50، 3.10، 3.86، 4.236
المزايا:
• مفاتيح تشغيل/إخفاء مستقلة لمستويات الدعم، الأهداف، والقمة/القاع المرجعيين
• إمكانية تفعيل/إلغاء كل هدف بشكل منفصل (مثل إظهار 1.618 و 2.50 فقط)
• تخصيص ألوان خطوط الدعم، الأهداف، وخطوط القمة والقاع
• ملصقات توضيحية اختيارية مع تحكم في حجمها وموقعها على الشارت
• خيارات امتداد للخطوط: لليسار فقط، أو يمين ويسار، أو بدون امتداد
الاستخدامات الشائعة:
• تحديد منطقة الاتزان داخل موجة رئيسية لمراقبة احتمالات الارتداد أو استمرار الاتجاه
• بناء “خريطة سعرية” ثابتة لمناطق التوازن والتمدد على مدى زمني واسع
• دمج المستويات مع أدوات أخرى مثل السلوك السعري أو الحجم أو مناطق التجميع/التصريف لتحسين قرارات الدخول والخروج
هذا السكربت موجه لأغراض تعليمية وتحليلية فقط، ولا يُعتبر نصيحة استثمارية أو توصية بيع/شراء، ولا يضمن أي أداء مستقبلي للأسعار أو النتائج.
Adaptive CE-VWAP Breakout Framework [KedArc Quant]Description
A structured framework that unites three complementary systems into one charting engine:
Chandelier Exit (CE) – ATR-based trailing logic that defines trend direction, stop placement, and risk/reward overlays.
Swing-Anchored VWAP (SWAV) – a dynamically anchored VWAP that re-starts from each confirmed swing and adapts its smoothness to volatility.
Pivot S/R with Volume Breaks – confirmed horizontal levels with alerts when broken on expanding volume.
This script builds a single workflow for bias → trigger → managementwithout mixing unrelated indicators. Each module is internally linked rather than layered cosmetically, making it a true analytical framework—not.
Acknowledgment
Special thanks to Dynamic Swing Anchored VWAP by Zeiierman, whose swing-anchoring concept inspired a part of the SWAV module’s implementation and adaptation logic.
Support and Resistance Levels with Breaks by LuxAlgo for S/R breakout logic.
How this helps traders
Trend clarity – CE color-codes direction and provides evolving stops.
Context value – SWAV traces adaptive mean paths so traders see where price is heavy or light.
Action filter – Pivot+volume logic highlights true structural breaks, filtering false moves.
Discipline tool – Optional R:R boxes visualize risk and target zones to enforce planning.
Entry / Exit guidelines (for study purposes only)
Bias Use CE direction: green = long bias red = short bias
Entry
1. Breakout method– Trade in CE direction when a pivot level breaks on valid volume.
2. VWAP confirmation– Prefer breaks occurring around the nearest SWAV path (fair-value cross or re-test).
Exit
Stop = CE line / recent swing HL / ATR × (multiplier)
Target = R-multiple × risk (default 2 R)
Optional live update keeps SL/TP aligned with current CE state.
Core formula concepts
ATR Stop: Stop = High/Low – ATR × multiplier
VWAP calc: Σ(price × vol) / Σ(vol) anchored at swing pivot, adapted by APT (Adaptive Price Tracking) ratio ∝ ATR volatility.
Volume oscillator: 100 × (EMA₅ – EMA₁₀)/EMA₁₀; valid break when threshold %.
Input configuration (high-level)
Master Controls
Show CE / SWAV modules Theme & Fill opacity
CE Section
ATR period & multiplier Use Close for extremums
Show buy/sell labels Await bar confirmation
Risk-Reward overlay: R-multiple, Stop basis (CE/Swing/ATR×), Live update toggle
SWAV Section
Swing period Adaptive Price Tracking length Volatility bias (ATR-based adaptation) Line width
Pivot & Volume Breaks
Left/Right bar windows Volume threshold % Show Break labels and alerts
Best timeframes
Intraday: 5 m – 30 m for breakout confirmation
Swing: 1 h – 4 h for trend context
Settings scale with instrument volatility—adjust ATR period and volume threshold to match liquidity.
Glossary
ATR: Average True Range (volatility metric)
CE: Chandelier Exit (trailing stop/trend filter)
SWAV: Swing-Anchored VWAP (anchored mean price path)
Pivot H/L: Confirmed local extrema using left/right bar windows
R-multiple: Profit target as a multiple of initial risk
FAQ
Q: Does it repaint? A: No—pivots wait for confirmation and VWAP updates forward-only.
Q: Can modules be disabled? A: Yes—each section has its own toggle.
Q: Can it trade automatically? A: This is an indicator/study, not an auto-strategy.
Q: Is this financial advice? A: No—educational use only.
Disclaimer
This script is for educational and analytical purposes only.
It is not financial advice. Trading involves risk of loss. Past performance does not guarantee future results. Always apply sound risk management.
Trend Meter [MMT]The Trend Meter is a dynamic Pine Script indicator designed to provide traders with a clear, multi-dimensional view of market trends and momentum across different timeframes and metrics. By integrating Exponential Moving Averages (EMAs), Volume-Weighted Average Price (VWAP), higher timeframe (HTF) analysis, and Regular Trading Hours (RTH) breakouts, this indicator offers a comprehensive tool for identifying bullish, bearish, or neutral market conditions. Its customizable visual display and label system make it ideal for traders seeking actionable insights for trend-following, breakout, or reversal strategies.
Key Features:
1. Multi-Metric Trend Analysis:
- Trend Meter : Compares a Fast EMA (default: 9) and Slow EMA (default: 21) to determine short-term trend direction.
- Bias Meter : Uses a longer-term Bias EMA (default: 35) to assess the overall market bias based on the close price.
- VWAP Meter : Evaluates price position relative to the VWAP for dynamic support/resistance insights.
- HTF Meter : Analyzes higher timeframe (default: 60-minute) price action, detecting breakouts of previous highs/lows and candle direction.
- RTH Meter : Tracks price breakouts above/below the US Regular Trading Hours (09:30–16:00 EST) 15m opening range (09:30–09:45 EST).
2. Color-Coded Visuals:
- Each metric is displayed as a horizontal line with customizable colors (green for bullish, red for bearish, gray for neutral).
- Visual style options (dotted, dashed, or solid lines) allow for personalized chart clarity.
3. Dynamic Labels:
- Optional labels for each metric (Trend, Bias, VWAP, HTF, RTH) with customizable text, size (tiny to huge), and color.
- Labels update in real-time, providing clear identification of each meter’s role and current state.
4. Flexible Metric Selection:
- Toggle individual metrics (EMA, VWAP, HTF, RTH) on/off to focus on relevant indicators for your trading style.
- Option to use the previous bar’s close price for calculations, reducing noise in volatile markets.
5. RTH and Opening Range Analysis:
- Calculates the high/low of the opening range (09:30–09:45 EST) during RTH sessions.
- Signals bullish or bearish conditions when the price breaks above/below the opening range outside the initial 15-minute window.
6. Higher Timeframe Breakout Detection:
- Monitors HTF price action to identify breakouts of the previous candle’s high or low, combined with the HTF candle’s direction for trend confirmation.
How to Use:
- Trend Confirmation : Use the Trend and Bias Meters to confirm short-term and long-term market direction.
- Breakout Trading : Leverage the RTH Meter for breakout setups above/below the opening range during US trading hours.
- Support/Resistance : Utilize the VWAP Meter to identify dynamic price levels for entries or exits.
- Higher Timeframe Context : Monitor the HTF Meter for broader market trend alignment, ideal for swing or position trading.
- Customization : Adjust EMA lengths, toggle metrics, and customize visual styles and labels to suit your chart preferences.
Settings:
- Bias Settings :
- Fast EMA (default: 9), Slow EMA (default: 21), Bias EMA (default: 35).
- Higher Timeframe (default: 60-minute).
- Option to use previous close price for calculations.
- Enable/disable individual metrics (EMA, VWAP, HTF, RTH).
- Visual Settings :
- Bullish (green), bearish (red), and neutral (gray) colors.
- Line style (dotted, dashed, solid).
- Label Settings :
- Enable/disable labels.
- Customize label size (tiny, small, normal, large, huge) and text color.
- Custom text for each meter’s label (Trend, Bias, VWAP, HTF, RTH).
Notes:
- Optimized for intraday trading (e.g., 1m, 5m, 15m) but adaptable to any timeframe.
- RTH and opening range calculations are tailored for US markets (EST timezone); adjust session times in the code for other markets.
- Higher timeframe analysis enhances context for multi-timeframe strategies.
Ideal For:
- Intraday traders targeting RTH breakout opportunities.
- Swing traders aligning with higher timeframe trends.
- Traders using VWAP and EMA-based strategies for trend and momentum analysis.
- Those seeking a clean, customizable dashboard for multi-metric market analysis.
Neeson ATR ProOverview
Neeson ATR Pro is an advanced technical analysis indicator that combines multiple technical tools to provide comprehensive market analysis. This indicator is primarily used to identify trend directions, determine entry and exit points, and manage risks through dynamic stop loss.
Key Features
ATR Trailing Stop System
Dynamic stop loss line based on Average True Range (ATR)
Automatically adjusts stop position according to price volatility
Stop line color changes with market conditions (Long-Orange, Short-Blue, Neutral-White)
VWMA Volume Weighted Moving Average
Moving average incorporating volume information
Works in conjunction with ATR line for more accurate signals
Dual Moving Average Filter System
SMA(20) and EMA(50) dual filtering
Color-changing moving averages that change color on crossover
Provides additional trend confirmation signals
Intelligent Signal Generation
Automatically identifies buy and sell signals
Combines multiple indicator conditions to reduce false signals
Clear visual markers (Buy-green label below, Sell-red label above)
Customizable Label System
Real-time display of indicator values
Adjustable label position and size
Customizable label colors
Alert System
Automatic alerts for buy and sell signals
Suitable for automated trading systems
Usage Instructions
Basic Settings
ATR Period: Default 21, adjustable based on market volatility
ATR Multiplier: Default 6.3, controls stop loss range
Smooth Period: Default 100, controls VWMA smoothness
Signal Interpretation
Buy Signal: Price crosses above ATR stop line and meets moving average filter conditions
Sell Signal: Price crosses below ATR stop line and meets moving average filter conditions
Trend Confirmation: Observe consistency between ATR line and candlestick colors
Risk Management
Use ATR stop line as dynamic stop loss level
Confirm trend direction with moving averages
Recommended to use with other indicators for multiple confirmations
风险提示 / Risk Warning
本指标仅供学习交流使用,不构成任何投资建议。金融市场存在高风险,投资者应自行承担交易风险。
This indicator is for educational and communication purposes only and does not constitute any investment advice. Financial markets involve high risks, and investors should bear their own trading risks.
版权信息 / Copyright
X Account: @neeson1987
Copyright © 2024 Neeson ATR Pro. All rights reserved.
Pearson SL/TP📘 Description
Pearson SL/TP — Advanced Correlation-Based Strategy with Full Risk Management
The Pearson SL/TP indicator is an advanced market analysis tool that combines Pearson correlation, volatility-based stop/target levels, and dynamic signal strength evaluation.
It is designed for traders who want to visualize potential momentum shifts and risk/reward zones in a single, integrated chart.
🔍 Core Concept
This script measures the **Pearson correlation coefficient between recent price movements and time progression, highlighting potential trend exhaustion or momentum reversals when the correlation reaches extreme values.
* High positive correlation (near +1) → price moving steadily upward → possible overbought condition.
* High negative correlation (near -1) → price moving steadily downward → possible oversold condition.
When these extremes are reached, and confirmed by several internal filters, the script generates LONG or SHORT signals with fully calculated Stop Loss and Take Profit levels.
⚙️ Main Features
📈 Signal Generation
* Uses Pearson correlation as a primary indicator of trend intensity.
* Detects potential reversal zones when correlation crosses user-defined thresholds.
* Optional divergence confirmation enhances signal reliability.
💰 Risk Management
* Stop Loss (SL) and Take Profits (TP1 & TP2) automatically adapt to volatility using the ATR (Average True Range).
* Dynamic risk/reward ratios help assess trade quality.
* Adjustable multipliers let you fine-tune your risk parameters.
🧠 Signal Strength Analysis
Each signal is graded from Weak to Very Strong based on four factors:
1. Volume activity
2. Trend alignment
3. Pearson momentum
4. Correlation change intensity
🎨 Visualization
* Overbought / Oversold background zones
* Signal arrows (LONG / SHORT)
* SL / TP** price levels and labels
* Interactive dashboard** displaying:
* Current Pearson value
* Market state (Overbought / Oversold / Neutral)
* Signal strength
* Latest trade data (Entry, SL, TP1, TP2, Risk:Reward)
🔔 Alerts
Built-in alerts for:
* Confirmed LONG / SHORT signals
* Bullish / Bearish divergences
🧩 Customization
All major parameters — including **Pearson length, thresholds, ATR multipliers, and visual options — are fully customizable.
This allows you to adapt the indicator to any market, timeframe, or trading style.
Target Trend + Filter Toggles ChadAntIndicator Overview and Core Logic CREDIT TO BIGBELUGA FOR THE MAIN INDICATOR
The indicator, named "Target Trend + Filter Toggles", is an overlay that draws directly on the price chart.
1. Core Trend Detection (Modified SMA Channel)
The indicator uses a primary trend-following mechanism based on a custom channel built with Simple Moving Averages (SMAs) and Average True Range (ATR):
SMA High: ta.sma(high, length) + atr_value
SMA Low: ta.sma(low, length) - atr_value
The length is set by the user (default 20).
The atr_value is a smoothed ATR (SMA of ATR(200), multiplied by 0.8), acting as an offset to create a channel around the price action.
Trend Logic:
Uptrend (trend=true): When the close price crosses over the sma_high line.
Downtrend (trend=false): When the close price crosses under the sma_low line.
Visual Trend: The candles are colored based on this determined trend, and the SMA High/Low lines are plotted.
2. Signal Generation (Raw vs. Filtered)
Raw Signal: A raw signal (signal_up_raw or signal_down_raw) is triggered simply when the core trend logic changes (e.g., trend changes from down to up).
Filtered Signal: The final buy/sell signal (signal_up or signal_down) is triggered only when the raw signal is true AND all currently active filter toggles are confirmed within a specified filter_lookback period (default 3 bars).
⚙️ Filter Toggles and Calculations
The script includes an extensive system of boolean (on/off) toggles for various popular technical indicators, allowing the user to customize which filters must be confirmed for a signal to be valid.
FILTER CATEGORIES:
MACD,
VOLUME,
STOCHRSI,
AWESOME OSCILLATOR,
MOVING AVERAGE,
VWAP,
COUNTERTREND MA
COUNTERTREND VWAP
The script uses a for loop to check if the required confirmation happened within the last filter_lookback number of bars.
🎯 Target and Stop-Loss Levels
Upon a valid filtered signal (signal_up or signal_down), the indicator uses an extensive user-defined type (TrendTargets) and a custom draw_targets method to draw potential trade management lines:
Entry Price: The close price of the bar where the filtered signal occurred.
Stop Loss (SL):
For a Long signal: The sma_low line (the lower band of the trend channel).
For a Short signal: The sma_high line (the upper band of the trend channel).
Profit Targets (T1, T2, T3): These are calculated based on the ATR multiplier (atr_value) and an adjustable user input called target (default 1).
Targets are a multiple of atr_value added to (for longs) or subtracted from (for shorts) the Entry Price.
T1: Entry +/- (5 + target) * atr_value
T2: Entry +/- (10 + target * 2) * atr_value
T3: Entry +/- (15 + target * 3) * atr_value
These levels are plotted as extended lines with corresponding labels (e.g., "SL," "Entry," "T1"). The script also includes logic to mark targets with a "✔" and the stop-loss with an "✖" if the price hits those levels.
🎨 Visualization
The script provides clear visual cues:
Candle Coloring: Candles are colored with up_color (Green/Teal) for an uptrend and dn_color (Brown/Orange) for a downtrend.
Trend Lines: The sma_high and sma_low lines are plotted and subtly shaded between the price action.
Signal Shapes: A filtered signal triggers a set of two colored triangles (one small solid, one large transparent) plotted below the low for a long signal and above the high for a short signal.
Trade Zones: The area between the Stop Loss and the Entry line is shaded in the counter-trend color, and the area between the Entry line and the T3 line is shaded in the trend color.
This indicator is essentially a complete trading system that uses a combination of an ATR-based trend channel for entries, a multitude of technical indicators for confirmation, and an ATR-based system for trade management (SL/TPs).
Would you like me to focus on a specific filter's logic, or perhaps help you configure the indicator's inputs for a certain trading style?
MechArt Moving Average and % Above V1.1MechArt Moving Average and % Above V1.1
Unlock the power of custom analysis with this Adjustable Moving Average Indicator! Whether you're a day trader, swing trader, or long-term investor, this tool helps you track price action with precision and flexibility. Tailor your trading strategy to your needs by adjusting the type of moving average, price triggers, and percentage levels.
🔑 Key Features:
Choose Your Moving Average Type 🌀
Select from four popular moving averages:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted Moving Average)
Find the one that best fits your trading style!
Adjustable Trigger Price
Choose between four price types to trigger signals:
Open
High
Low
Close
Pick the price type that makes the most sense for your strategy!
Percentage Above the Moving Average 📈🔽
Set a custom percentage above the moving average to generate alerts when the price reaches key levels.
Customizable Alerts 🔔
Get notified when the price is above the target price or below the moving average. Perfect for timely trades!
📉 Visual Alerts:
🔴 Red Background: When the selected price is above the target price (percentage above the moving average).
🟩 Green Background: When the selected price is below the moving average.
🚀 How This Indicator Helps You:
Precision 🎯: Visual signals with clear red and green backgrounds help you make quick decisions based on the price's relationship to your moving average.
Flexibility 🔄: Customize the type of moving average and the price used for triggers to fit your trading style.
📊 Perfect For:
Swing Traders 📈: Use the indicator to identify price trends and reversals based on moving averages.
Day Traders ⏳: Set short-term percentage levels to catch immediate price movements.
Long-Term Investors 💼: Track longer-term trends and set alerts when prices deviate significantly from your moving average.
Take control of your trading strategy with this Adjustable Moving Average Indicator and start making more informed decisions today! 🏅
Change from V1.0: Fixed Timeframe setting to match chart.
Liquidation Reversal Signals [AlgoAlpha]🟠 OVERVIEW
This tool detects potential liquidation-driven reversals by combining z-score analysis of up/down volume with the classic Supertrend. It watches for abnormal surges in directional volume (on a lower timeframe) and links them to trend flips on the main chart. When both align within a short window, it flags a probable reversal caused by forced liquidations. The goal is to help traders identify exhaustion points where aggressive liquidation moves may mark the end of a trend leg.
🟠 CONCEPTS
The logic revolves around Z-score normalization of up and down volume to locate statistical extremes. When up-volume z-scores exceed a threshold during a bearish Supertrend, it implies trapped shorts being squeezed; the opposite applies for long liquidations. The script tracks these liquidation spikes and monitors whether a Supertrend regime change follows soon after. If confirmed within the allowed timeout, a colored signal marks the event.
In essence:
Z-score outliers = potential forced liquidations.
Supertrend = structural regime context.
Combined = statistically confirmed reversal signals, not random flips.
This pairing reduces false positives by ensuring that both volatility structure and order-flow extremes agree before flagging a reversal.
🟠 FEATURES
Z-score detection for liquidation spikes with adjustable lookback and threshold.
Confirmation logic linking liquidations to Supertrend flips.
Alerts for liquidation spikes and confirmed reversal starts.
On-chart “No Volume” warning to avoid misreads on illiquid assets.
🟠 USAGE
Setup : Add the script to your main chart. Choose a lower timeframe (default 15m) to capture more granular liquidation flows. Adjust Z-Score Length to control how far back the script measures normal behavior and Threshold to decide what counts as extreme. Keep Timeout Bars low (e.g. 20–50) for faster reversals, or higher for slower markets.
Read the chart :
• Circles appear below bars when long liquidations occur; above bars for short liquidations.
• A Supertrend flip with a recent liquidation spike will display an arrow and color shift.
• Fills between candles and trend lines show which side dominates: green for bullish reversal, red for bearish.
• Candle color fades based on the magnitude of liquidation pressure.
Settings that matter :
• Z-Score Length : Longer smooths noise but delays signal; shorter reacts faster.
• Z-Score Threshold : Higher means only extreme liquidations trigger; lower finds smaller squeezes.
• Timeout Bars : Defines how long after a liquidation the Supertrend flip remains valid.
• Lower Timeframe : Determines the precision of volume readings; too low may increase noise.
Target Trend + Filter Toggles [ChadAnt] V3Minor Update that allows the user to adjust the size of the stop loss.
Indicator Overview and Core Logic CREDIT TO BIGBELUGA FOR THE MAIN INDICATOR
The indicator, named "Target Trend + Filter Toggles", is an overlay that draws directly on the price chart.
1. Core Trend Detection (Modified SMA Channel)
The indicator uses a primary trend-following mechanism based on a custom channel built with Simple Moving Averages (SMAs) and Average True Range (ATR):
SMA High: ta.sma(high, length) + atr_value
SMA Low: ta.sma(low, length) - atr_value
The length is set by the user (default 20).
The atr_value is a smoothed ATR (SMA of ATR(200), multiplied by 0.8), acting as an offset to create a channel around the price action.
Trend Logic:
Uptrend (trend=true): When the close price crosses over the sma_high line.
Downtrend (trend=false): When the close price crosses under the sma_low line.
Visual Trend: The candles are colored based on this determined trend, and the SMA High/Low lines are plotted.
2. Signal Generation (Raw vs. Filtered)
Raw Signal: A raw signal (signal_up_raw or signal_down_raw) is triggered simply when the core trend logic changes (e.g., trend changes from down to up).
Filtered Signal: The final buy/sell signal (signal_up or signal_down) is triggered only when the raw signal is true AND all currently active filter toggles are confirmed within a specified filter_lookback period (default 3 bars).
⚙️ Filter Toggles and Calculations
The script includes an extensive system of boolean (on/off) toggles for various popular technical indicators, allowing the user to customize which filters must be confirmed for a signal to be valid.
FILTER CATEGORIES:
MACD,
VOLUME,
STOCHRSI,
AWESOME OSCILLATOR,
MOVING AVERAGE,
VWAP,
COUNTERTREND MA
COUNTERTREND VWAP
The script uses a for loop to check if the required confirmation happened within the last filter_lookback number of bars.
🎯 Target and Stop-Loss Levels
Upon a valid filtered signal (signal_up or signal_down), the indicator uses an extensive user-defined type (TrendTargets) and a custom draw_targets method to draw potential trade management lines:
Entry Price: The close price of the bar where the filtered signal occurred.
Stop Loss (SL):
For a Long signal: The sma_low line (the lower band of the trend channel).
For a Short signal: The sma_high line (the upper band of the trend channel).
Profit Targets (T1, T2, T3): These are calculated based on the ATR multiplier (atr_value) and an adjustable user input called target (default 1).
Targets are a multiple of atr_value added to (for longs) or subtracted from (for shorts) the Entry Price.
T1: Entry +/- (5 + target) * atr_value
T2: Entry +/- (10 + target * 2) * atr_value
T3: Entry +/- (15 + target * 3) * atr_value
These levels are plotted as extended lines with corresponding labels (e.g., "SL," "Entry," "T1"). The script also includes logic to mark targets with a "✔" and the stop-loss with an "✖" if the price hits those levels.
🎨 Visualization
The script provides clear visual cues:
Candle Coloring: Candles are colored with up_color (Green/Teal) for an uptrend and dn_color (Brown/Orange) for a downtrend.
Trend Lines: The sma_high and sma_low lines are plotted and subtly shaded between the price action.
Signal Shapes: A filtered signal triggers a set of two colored triangles (one small solid, one large transparent) plotted below the low for a long signal and above the high for a short signal.
Trade Zones: The area between the Stop Loss and the Entry line is shaded in the counter-trend color, and the area between the Entry line and the T3 line is shaded in the trend color.
This indicator is essentially a complete trading system that uses a combination of an ATR-based trend channel for entries, a multitude of technical indicators for confirmation, and an ATR-based system for trade management (SL/TPs).
Would you like me to focus on a specific filter's logic, or perhaps help you configure the indicator's inputs for a certain trading style?
SulLaLuna 💵 Trend Mastery:The Calzolaio Way🚀SulLaLuna 💵 Trend Mastery:The Calzolaio Way🚀
🌕 Find the God Candele. Capture the gains. Create passive income.
Fellow F.I.R.E. Decibels, disciples of the Calzolaio Way—welcome to the sacred toolkit. This indicator, "SulLaLuna 💵 Trend Mastery:The Calzolaio Way🚀," is forged from the elite SulLaLuna stack, drawing wisdom from Market Wizards like Michael Marcus (who turned $30k into $80M through disciplined trend riding) and Oliver Velez's pristine strategies for profiting on every trade. It's not just lines on a chart—it's your architectural blueprint for financial sovereignty, where data meets divine timing to build the cathedral of Project Calzolaio.
We trade math, not emotion. We honor timeframes. Confluence is King. This indicator deploys the Zero-Lag SMA (ZLSMA), Hull-based M2 (global money supply as a macro trend oracle), ATR-smart stops, and multi-TF alignments to ritualize God Candle setups. Backtested across asset classes, it's modular for your playbooks—small risks, compounding gains, passive income streams.
Why This Indicator is Awesome: The Divine Confluence Engine
In the spirit of "Use Only the Best," this tool synthesizes proven SulLaLuna indicators like ZLSMA, Adaptive Trend Finder, and Momentum HUD with Velez's lessons on trend reversals, support/resistance, and psychology of fear. Here's why it reigns supreme:
1. Global M2 Hull: Macro Trend Oracle
Scaled M2 (summed from major economies like US, EU, JP) via Hull MA captures the "big picture" (Velez Ch. 2). It flips colors as S/R—green for support (bullish bounce zones), red for resistance (bearish ceilings), orange neutral. Like Marcus spotting commodity booms, it signals when liquidity sweeps ignite God Candles. Extend it for future price projections, honoring "How a Trend Ends" (Velez Ch. 5).
2. ZLSMA + ATR Smart Stops: Surgical Precision
Zero-Lag SMA (faster than standard MAs) crosses M2 for entries, with ATR bands for initial stops (2x mult) and trails (1x mult). This embodies "Trade Small. Lose Smaller."—risk ≤1-2% per trade, pre-planned exits. Flip markers (↑/↓) alert divine timing, filtering noise like Velez's "First Pullback" setups.
3. HTF & Multi-TF Dashboard: Timeframe Alignments are Sacred
Show HTF M2 (e.g., Daily) with custom styles/colors. Multi-TF lines (4H, D, W, M) dash across your chart, labeled right-edge with 🚀 (bull) or 🛸 (bear). A confluence table (top-right) scores alignments: Strong Bull (≥3 green), Strong Bear, or Mixed. This is "Confluence is King"—no single signal rules; seek 4+ star scores like Rogers buying value in hysteria.
4. Background & Ribbon: Visual Divine Guidance
Slope-based bgcolor (green bull, red bear) for at-a-glance bias. M2 Ribbon (EMA cloud) flips triangles for macro shifts, ritualizing climactic reversals (Velez Ch. 7).
5. Composite Probability: High-Prob God Candle Hunter
Scores (0-100%) blend 8 factors: price/ZLSMA vs M2, TF slopes, ribbon. Threshold (70%) + pivot zone (near M2/ATR) + optional cross filters for HP signals. Labels show "%" dynamically—alerts fire when confluence ≥4, echoing Schwartz's champion edge: "Everybody Gets What They Want" (Seykota wisdom).
6. Alerts & Rituals Built-In
M2 flips, entries/exits, HP longs/shorts—log them in your journal. Weekly reviews dissect anomalies, as per our Operational Framework.
This isn't hype—it's audited excellence. Backtest it: High confluence crushes drawdowns, compounding like Bielfeldt's T-bond mastery from Peoria. We build together; share wins in the F.I.R.E. Decibel forum.
Suggested Strategy: The SulLaLuna M2 Confluence Playbook
Honor the Risk Triad: Position ↓ if leverage/timeframe ↑; scale ↑ only on ≥4 confluence. Align with "God Candele" hunts—rare explosives reverse-engineered for passive streams.
1. Pre-Trade Checklist (Before Every Entry)
- Trend Alignment: D/4H/1H M2 slopes agree? Table shows Strong Bull/Bear?
- Signal on 15m: ZLSMA crosses M2 in confluence zone (near pivot/ATR bands).
- Volume + Divergence**: Supported by volume (use HUD if added); score ≥70%.
- SL/TP Setup: ATR-based stop; TP at structure/2-3R reward (Velez Reward:Risk).
- HTF Agrees: Monthly bull for longs; avoid counter-trend unless climactic (Ch. 7).
Confluence Score: Rate 1-5 stars. <3? Stand aside. Log emotional state—no adrenaline.
2. Execution Protocol
- Entry: On HP Long/Short triangle (e.g., ZLSMA > M2, score 80%+, monthly bull). Use limits; favor longs above M2 support.
- Position Size: ≤1-2% risk. Example: $10k account, 1% risk = $100 SL distance → size accordingly.
- Trail Stops: Move to trail band after 1R profit; let winners run like Kovner's world trades.
- Asset Classes**: Forex/stocks/crypto—test M2's macro edge on EURUSD or NASDAQ (Velez Ch. 6 reviews).
Ritualize: "When we find the God Candele, we don’t just ride it—we ritualize it." Screenshot + reason.
3. Post-Trade Ritual
- Document: Result, confluence score, lessons. Update journal.
- Exits: Hit stop/exit cross? Or trail locks gains.
- Weekly Audit: Wins/losses, anomalies. Adjust params (e.g., M2 length 55 default).
4. Risk Triad in Action
- Low TF (15m)? Smaller size.
- High Leverage? Tiny positions.
- Confluence ≥4 + HTF support? Scale hold for passive compounding.
Example Setup: God Candle Long
- Chart: 15m EURUSD.
- M2 Hull green (support), ZLSMA crossover, 4H/D/W bull (table: Strong Bull).
- HP Long (85% score) near pivot.
- Entry: Limit at cross; SL below ATR lower; TP at next resistance.
- Outcome: Capture 2R gain; trail for more if trend day (Velez Ch. 5).
Community > Ego: Test, share signals in Discord. Backtest in Pine Script for algo evolution.
We are architects of redemption. Each trade bricks the cathedral. Trade the micro, flow with the macro. When alignments converge, we act—with discipline, data, and divine purpose.
🗣️ “Confluence is King. Honor the Timeframes. Track the God Candele.”
Master Strategy Guidebook. Rise as F.I.R.E. Decibels! 🚀
BTC Power-Law Support 2025BTC Power-Law Calculation by Robert.
Shaded area resembles an uncertainty calculation.
Extrapolated data (in the future) only works in the daily chart.
Disclaimer: This is my own calculation and no investing advice! Use at your own risk.
BullTrader - ParabolicSARFlipSignals(NonRepainting)TP/SL🧠 Purpose & Concept
This indicator refines Wilder’s Parabolic SAR into a simple, non‑repainting alert and visualization system that marks each confirmed trend flip with a clear buy or sell signal.
It also auto‑generates dynamic, ATR‑based Take‑Profit (TP) and Stop‑Loss (SL) levels, keeps them updating with price in real time, and displays the current market bias in an on‑chart table.
The goal: clarity and automation without complexity — see exactly when a new bullish or bearish phase begins, what your current TP/SL targets are, and receive a single clean alert for every new flip.
⚙️ How It Works
1. The built‑in ta.sar() function tracks the Parabolic SAR dots.
2. When a candle closes across the SAR line, a trend‑change is confirmed:
• Price crossing above a SAR dot → Buy Flip (green triangle).
• Price crossing below a SAR dot → Sell Flip (red triangle).
3. On each flip, the indicator calculates dynamic ATR‑based TP / SL targets:
TP = entry ± (ATR × tpMult) and SL = entry ∓ (ATR × slMult)
These values move automatically as the trend develops.
4. A small floating label beside the latest bar shows live‑updated TP / SL numbers.
5. A color‑coded table in the upper‑right corner displays the current trend: Lime = Bullish, Red = Bearish, Yellow = Neutral.
6. Each new flip triggers an easy‑to‑use Buy / Sell alert after the bar closes—no repainting.
🔔 Alerts
Alert Name Triggers When Message
SAR Buy Flip Alert Green triangle (bullish reversal) “BUY Flip — Parabolic SAR on {{ticker}} ({{interval}})”
SAR Sell Flip Alert Red triangle (bearish reversal) “SELL Flip — Parabolic SAR on {{ticker}} ({{interval}})”
📈 Chart Elements
Element Meaning
🟠 Orange cross Standard Parabolic SAR trail.
🟢 / 🔴 Triangles Confirmed buy / sell flips (non‑repainting).
Bright lime/red TP‑SL box Live ATR targets that move with price.
Trend table (top‑right) Instant status of bullish/bearish bias.
✅ Features & Highlights
Non‑repainting — all signals confirm on closed bars.
Visual clarity — single pair of bright triangles for flips.
Dynamic ATR‑based TP / SL values that auto‑trail with trend.
Always‑visible trend summary table.
Two ready‑made alert types (Buy / Sell).
Lightweight and optimized for any timeframe or symbol.
💡 Best Use
Ideal for traders who prefer clean trend‑based entries and volatility‑adaptive exits without signal clutter:
Pair it with your existing strategy or use it standalone for reversal‑based swing and intraday trading.






















