Pine Script® indicator
Indicators and strategies
KCP Alpha Scalping Indicator [Dr. K.C.Prakash]KCP Alpha Scalping Indicator is a trend-following scalping tool that combines
EMA crossover signals with VWAP-based fair-price reference and EMA High–Low
trend zones.
This indicator provides clear BUY and SELL signals while helping traders avoid
false entries during sideways markets.
━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━
• EMA 20 × EMA 50 → Generates BUY and SELL signals
• EMA VWAP → Shows fair-value price zone
• EMA 100 High–Low → Identifies strong trend support & resistance
━━━━━━━━━━━━━━━━━━━━━━━━━━
TRADING LOGIC
━━━━━━━━━━━━━━━━━━━━━━━━━━
BUY Signal:
EMA 20 crosses above EMA 50
SELL Signal:
EMA 20 crosses below EMA 50
Better Trades When:
• Price above EMA VWAP → Strong bullish bias
• Price below EMA VWAP → Strong bearish bias
• Price outside EMA 100 High–Low zone → Strong trend
━━━━━━━━━━━━━━━━━━━━━━━━━━
BEST TIMEFRAMES
━━━━━━━━━━━━━━━━━━━━━━━━━━
• 5-min → Intraday scalping
• 15-min → Trend trades
• 30-min → Swing entries
Works well on NIFTY, BANKNIFTY, and liquid stocks/options.
━━━━━━━━━━━━━━━━━━━━━━━━━━
IMPORTANT NOTE
━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for educational purposes only.
Use proper risk management before trading.
Pine Script® indicator
Futures CompareFutures/Spot Arbitrage Across Exchanges is a tool for monitoring price spreads between major crypto exchanges for the same symbol.
What this indicator does
Calculates percentage spread of futures or spot prices on multiple exchanges relative to a selected base exchange (e.g., Binance, Bybit, OKX).
Displays the average spread as a histogram and shows a table with per-exchange spreads to the base in real time.
When more than one exchange is selected, it can focus the plot on the Binance spread to keep the chart clean while still showing all exchanges in the table.
How and where to use it
Designed primarily for crypto futures and spot markets to track cross-exchange dislocations on pairs like BTCUSDT, ETHUSDT, etc.
Useful for manual or semi-automatic arbitrage trading, market-making, and monitoring funding-related distortions between futures and spot across exchanges.
Apply it on intraday timeframes (from 1m to 1h) to see short-term spikes in spreads, or on higher timeframes to analyze the general efficiency and pricing consistency between exchanges.
Pine Script® indicator
Prev Candle SweepPrev Candle Sweep highlights two-candle reversal setups where the most recent candle “sweeps” the prior candle’s high/low and then closes back through the prior open.
Pine Script® indicator
Pine Script® indicator
NQ Session Probability MapThis Pine Script indicator is a session-based probability analysis tool for NQ futures trading that helps traders identify high-probability trading opportunities by analyzing historical patterns across different market sessions.
Core Functionality:
The indicator tracks and visualizes three major trading sessions (Asian, London, and NY) and monitors how price interacts with key session levels. It uses historical data to calculate success probabilities for different trading scenarios during specific hours of the day.
Key Features:
Session Tracking - Automatically identifies and marks different trading sessions with their respective high/low levels
Probability Heatmap - Color-codes the chart background based on historical success rates for the current hour, helping traders quickly identify favorable trading windows
Level Monitoring - Tracks important price levels from previous sessions and specific hours, showing retracement probabilities
Pattern Recognition - Identifies certain price behaviors and displays their historical success rates, with special emphasis on high-probability setups
Gap Analysis - Detects price gaps at session openings and analyzes how they combine with other patterns to create enhanced opportunities
Visual Statistics - Provides a comprehensive table showing success rates across different sessions and setup types, plus real-time information about current market conditions
What Makes It Valuable:
The indicator synthesizes multiple time-based patterns and displays probability percentages based on historical performance. This allows traders to make more informed decisions about when to trade and which setups to prioritize, without revealing the specific methodology behind the probabilities.
Pine Script® indicator
Yoda Oscillator [R2D2] v1.0Yoda Oscillator : The Sentiment GPS
(c)R2D2_4Life
-------------------------------------------------------------------------------------------------------------------
Introduction
The Yoda Oscillator is the advanced companion to the Yoda 10-in-1 Strategy . While the main Yoda indicator acts as your "Speedometer" (showing current direction), this oscillator acts as your "GPS" —revealing the strength, momentum, and hidden weakness of a trend before price even moves.
Designed for the professional trader, it aggregates 11 distinct market indicators into a single Net Sentiment Score (-100% to +100%) . It visualizes the "internal struggle" between Bulls and Bears, helping you distinguish between a true breakout and a fragile fake-out.
Why Use This? (The Value Add)
Using the Yoda 10-in-1 table alone gives you a snapshot of right now . Adding the Yoda Oscillator unlocks the "4th Dimension" of time and momentum.
Spot "Trend Lock": When the histogram hits +100% and stays flat, it confirms a "Trend Lock." This is the safest time to hold, preventing early exits during strong moves.
Detect "Internal Decay": The unique "Momentum Decay" coloring (Lime vs. Dark Green) shows you when a trend is getting tired inside the 100% zone, often bars before the price drops.
Gold Signal Line: This moving average filters out noise. If the histogram drops below the Gold Line, momentum is fading—a critical "Take Profit" signal that price action alone often hides.
The Mathematics Behind the Magic
This is not a simple "vote counter." It uses a Weighted Probability Engine based on institutional reliability rankings. The 11 indicators are weighted by tiers:
Tier 1 (The Heavyweights - 45%):
RSI (15%) + SuperTrend (15%) + EMA (15%): These provide the foundational trend direction. If these are bearish, it is mathematically very difficult for the score to turn positive.
Tier 2 (The Confirmation - 30%):
MACD (10%) + VWAP (10%) + ADX (10%): These confirm momentum and volume.
Tier 3 (The Specialists - 25%):
MFI, TTM Squeeze, ATR, Stoch RSI, PSAR (5% each): These sensitive indicators help refine the score, catching early reversals or volatility squeezes.
The Net Sentiment Formula:
Net Score = (Bullish Weight) - (Bearish Weight)
Result: A score of +80% doesn't just mean "Up"—it means 90% of the weighted indicators are in agreement. A score of 0% represents a perfectly neutral/choppy market.
Visual Guide & How to Use
1. The Histogram Colors
Bright Lime: Strong Bullish. Sentiment is positive and rising/holding.
Dark Green: Bullish Decay. Sentiment is positive, but weaker than the previous candle. Caution advised.
Bright Red: Strong Bearish. Sentiment is negative and falling/holding.
Dark Maroon: Bearish Decay. Sentiment is negative, but improving. Potential bottom forming.
2. The Gold Signal Line
The "True North" of momentum.
Bullish Crossover: When the Histogram crosses above the Gold Line, momentum is accelerating.
Bearish Divergence: If Price makes a higher high, but the Histogram drops below the Gold Line, the trend is hollow. Prepare to exit.
3. Squeeze Dots (White Radar)
White Dots on Zero Line: Indicates a TTM Squeeze is active. Volatility is crushed; a massive explosive move is imminent. Do not trade chop; wait for the breakout.
Best Setup & Strategy
Timeframe: Works on all timeframes, but highly calibrated for 4H (Swing Trading) and Daily (Trend Following).
Trend Following:
Enter: Net Score crosses above 0% (confirmed by Gold Line).
Hold: Histogram remains Bright Lime or pegged at +100 .
Exit: Histogram turns Dark Green AND drops below the Gold Signal Line.
Contra-Trend (Reversals):
Look for "Extreme Exhaustion." If the score hits -100% and then prints a Dark Maroon bar (Decay), it is a high-probability aggressive entry for a bounce.
Risk Warning: This tool gauges probability, not certainty. Always use proper risk management.
-------------------------------------------------------------------------------------------------------------------
May the Trades Be With You.
Pine Script® indicator
M15 OB RetracementThis is to track trend pullbacks using TDI FastMA crossing outer bands.
It also have a built in alert to ping when alert happens.
Pine Script® indicator
Money Flow Index - MFI | TR🎯 Overview
Money Flow Index - MFI | TR is a volume-weighted momentum oscillator that measures the strength of money flowing in and out of a security over a specified period. Developed by Tiagorocha1989, this enhanced version of the classic Money Flow Index combines price and volume data to identify overbought and oversold conditions, detect divergences, and generate clear trading signals with dual-mode operation and comprehensive visual features.
🔧 How It Works
The Money Flow Index (MFI) is often referred to as the volume-weighted Relative Strength Index (RSI). It uses both price and volume to measure buying and selling pressure, providing a more complete picture of market dynamics than price-only oscillators.
Core Calculation Logic:
The MFI calculation follows these steps:
Typical Price: (High + Low + Close) / 3 for each period
Money Flow: Typical Price × Volume
Money Flow Ratio:
If Typical Price increases, it's Positive Money Flow
If Typical Price decreases, it's Negative Money Flow
Money Flow Ratio = (Sum of Positive Money Flow over n periods) / (Sum of Negative Money Flow over n periods)
MFI: 100 - (100 / (1 + Money Flow Ratio))
The resulting oscillator oscillates between 0 and 100, with:
Readings above 80 suggesting overbought conditions (potential reversal down)
Readings below 20 suggesting oversold conditions (potential reversal up)
50 level serving as the centerline indicating neutral momentum
The indicator compares MFI to a reference line that can be either:
The traditional 50 level (centerline)
A user-defined moving average of MFI itself (MFI MA mode)
✨ Key Features
🔹 Dual Operating Modes
50 Level Mode: Classic MFI implementation where signals occur when MFI crosses above or below the 50 centerline, indicating momentum shifts
MFI MA Mode: Enhanced version where signals occur when MFI crosses its own moving average, providing smoother, filtered entries
🔹 Flexible Moving Average Selection
Choose from six MA types for the MFI MA mode:
EMA (Exponential Moving Average) for responsive signals
SMA (Simple Moving Average) for smoother readings
RMA (Rolling Moving Average) for weighted recent data
WMA (Weighted Moving Average) for customizable weighting
VWMA (Volume-Weighted Moving Average) incorporating volume
HMA (Hull Moving Average) for reduced lag
🔹 Customizable MFI Parameters
Length MFI: Lookback period for MFI calculation (default 14)
Source MFI: Price source for calculations (default Close)
🔹 Volume Integration
Unlike price-only oscillators, MFI incorporates volume, making it particularly effective for identifying genuine buying and selling pressure.
🔹 Customizable Color Themes
Eight distinct color schemes to match your charting preferences:
Classic – Green for bullish, Red for bearish
Modern – White for bullish, Purple for bearish
Robust – Amber for bullish, Maroon for bearish
Accented – Violet for bullish, Pink for bearish
Monochrome – Light gray for bullish, Dark gray for bearish
Moderate – Green for bullish, Red for bearish
Aqua – Blue for bullish, Orange for bearish
Cosmic – Pink for bullish, Purple for bearish
🔹 Comprehensive Visual Feedback
Colored MFI Line: Changes color based on position relative to the reference line
Signal Line: Yellow line showing 50 or MA reference
Gradient Fill Zones: Clear visualization of overbought (above 80) and oversold (below 20) conditions
Dynamic Zone Fills: Semi-transparent fills showing when MFI is above or below the reference line
Color-Coded Candles: Bars reflect current MFI bias (above or below reference)
Signal Markers: Triangle up/down symbols at crossover points
Live Value Display: Current MFI value shown in a floating label
Trend Table: Bullish/Bearish status displayed on the chart
🔹 Ready-to-Use Alerts
Built-in alert conditions trigger LONG signals on bullish crossovers and SHORT signals on bearish crossunders across both operating modes.
⚙️ Settings Summary
Color Choice: Select from eight visual themes (Default: Classic)
Length MFI: Lookback period for MFI calculation (Default: 14)
Source MFI: Price source for calculations (Default: Close)
Entry/Exit Signal: Choose between 50 level or MFI MA mode (Default: 50)
Length MA: Moving average period for MFI MA mode (Default: 365)
MFI MA Type: Moving average method for signal line (Default: EMA)
📈 Practical Applications
🔹 Overbought/Oversold Detection
Traditional MFI usage identifies extreme conditions:
Readings above 80 suggest overbought conditions and potential reversal down
Readings below 20 suggest oversold conditions and potential reversal up
The indicator provides gradient fills in these zones for visual clarity
Volume weighting makes these signals more reliable than RSI alone
🔹 Centerline Crossovers
In 50 Level mode, crossovers provide momentum signals:
Crossover above 50 → Bullish momentum strengthening (buying pressure exceeding selling pressure)
Crossunder below 50 → Bearish momentum strengthening (selling pressure exceeding buying pressure)
🔹 Signal Line Crossovers
In MFI MA mode, crossovers between MFI and its moving average provide filtered signals that reduce whipsaws in ranging markets while maintaining sensitivity in trends.
🔹 Divergence Trading
MFI is excellent for spotting divergences, often more reliable than price-only oscillators due to volume confirmation:
Bullish Divergence: Price makes lower low, MFI makes higher low → Potential upside reversal (weakening selling pressure)
Bearish Divergence: Price makes higher high, MFI makes lower high → Potential downside reversal (weakening buying pressure)
Divergences are most significant when occurring at extreme levels (above 80 or below 20)
🔹 Volume Confirmation
The volume component adds an extra dimension:
MFI rising with price confirms bullish trend (volume supporting the move)
MFI falling while price rises suggests weak buying pressure (potential reversal)
MFI rising while price falls suggests hidden accumulation
🔹 Failure Swings
Look for MFI moves above 80 (or below 20), a pullback, and then a move beyond the previous extreme, confirmed by volume patterns.
🔹 Multiple Timeframe Analysis
Compare MFI readings across different timeframes:
Higher timeframe MFI confirms primary trend direction with volume confirmation
Lower timeframe MFI identifies entry timing and short-term momentum shifts
🎯 Ideal For
✅ Volume-Aware Traders seeking to incorporate volume into momentum analysis
✅ Mean Reversion Traders looking for overbought and oversold opportunities with volume confirmation
✅ Divergence Traders wanting more reliable reversal signals through volume confirmation
✅ Swing Traders capturing medium-term momentum shifts with volume support
✅ System Developers needing volume-weighted momentum signals
✅ Institutional Traders who value volume analysis for confirmation
📌 Key Takeaways
Volume-Weighted Momentum: Unlike RSI, MFI incorporates volume, providing a more complete picture of buying and selling pressure
Dual-Mode Flexibility: Choose between classic 50-level crossovers for traditional signals or MA-smoothed signals for filtered entries
Comprehensive Visualization: Color themes, gradient fills for overbought/oversold zones, candles, and labels provide immediate market awareness
Divergence Capability: Volume-weighted divergences are often more reliable than price-only divergences
Alert-Ready: Built-in alerts for both LONG and SHORT signals across both operating modes
⚠️ Important Notes
MFI, like RSI, can remain in overbought or oversold territory for extended periods during strong trends. The default length of 14 is standard but can be adjusted for different trading styles. The 365-day MA default in MFI MA mode is designed for longer-term trend context on daily charts. Volume spikes can cause sudden MFI movements; consider using smooth volume inputs if available. Divergences are most reliable when they occur at extreme readings. Always combine with proper risk management and additional confirmation for best results.
Disclaimer: This indicator is provided for educational and informational purposes only. Past performance is not indicative of future results. Always conduct thorough testing and align with your risk management strategy before live deployment.
Pine Script® indicator
Cammys Swing Panelmeow meow this indicator shows you what stocks to get into for options based on weekly bias and analysis
Pine Script® indicator
70-Point NEXT Candle BUY RP rponly one trade in a day to find the strong indication of 70 points in the next candle
Pine Script® indicator
Triple EMA Strategy - Dynamic SupportTriple EMA strategy: 20, 50, and 200 periods.
- Valid only in trends, not in ranges. (EMAs aligned)
- When the price touches the 50-period EMA (orange EMA), a white circle is activated, indicating a discount zone.
- This should be confirmed with other indicators and volume.
Pine Script® indicator
Pine Script® indicator
XAUUSD Institutional OB MTF v1 Zeyno First)
XAUUSD Institutional OB MTF v2
(Daily S/R + Candle Mode | 2R / 5R System)
This strategy is designed specifically for XAUUSD (Gold) using a multi-timeframe institutional concept.
🔎 Strategy Logic
This system combines:
• Daily Support & Resistance (PDH / PDL / PDC)
• 1H Trend Direction Filter
• 15m Entry Confirmation
• Optional Lower Timeframe Scalp Confirmation (5m / 1m)
• Engulfing + Strong Body Candle Confirmation
• Momentum (RSI-based strength filter)
• Split Take Profit system (2R / 5R)
⸻
📊 How It Works
1️⃣ Trend is confirmed on 1H timeframe
2️⃣ Price reacts from Daily S/R zone
3️⃣ Entry confirmed on 15m with candle confirmation
4️⃣ Optional scalp entries on 5m / 1m if momentum appears
5️⃣ Position split into:
• TP1 = 2R
• TP2 = 5R
• Dynamic Stop Loss based on ATR
⸻
⚡ Scalp Mode
If strong momentum appears after main entry:
• Additional scalp trades may trigger
• Scalp trades are independent from main position
• Can repeat if conditions repeat
⸻
⚠ Risk Management
Recommended:
• 1% – 2% risk per trade
• Avoid trading during high-impact news
• Best performance on London & NY session volatility
⸻
🎯 Best Timeframes
• Trend: 1H
• Entry: 15m
• Confirmation: 5m / 1m
⸻استراتيجية الذهب المؤسسية متعددة الفريمات
تعتمد هذه الاستراتيجية على مفهوم السيولة المؤسسية باستخدام:
• دعم ومقاومة يومية
• تحديد الاتجاه من فريم الساعة
• دخول من فريم 15 دقيقة
• تأكيد شموع ابتلاعية + جسم قوي
• فلتر زخم RSI
• تقسيم الهدف إلى 2R و 5R
• وقف خسارة ديناميكي حسب ATR
⸻
آلية العمل
1️⃣ تحديد الاتجاه من الساعة
2️⃣ انتظار ارتداد أو كسر وتثبيت عند دعم/مقاومة يومية
3️⃣ تأكيد شموع على 15 دقيقة
4️⃣ دخول سكالب إضافي عند ظهور زخم قوي على 5 أو 1 دقيقة
5️⃣ تقسيم الصفقة إلى هدفين
⸻
إدارة رأس المال
• مخاطرة لا تتجاوز 1–2% لكل صفقة
• تجنب الأخبار القوية
• أفضل أداء في جلسة لندن ونيويورك
Pine Script® strategy
VH - Economic Calendar EventsUS Major Economic Calendar Events :
FOMC - Federal Open Market Committee
CPI - Consumer Price Index
PPI - Producer Price Index
GDP - Gross Domestic Product
NFP - Non Farm Payrolls
Color & label of each event type can be customized
There are also 10 event entries that users can customize date, event name, and color
Pine Script® indicator
KC + EMA + ORB + Vol + LevelsWhat the script is
It’s a decision dashboard that combines several “filters” into one view:
KC Bias (trend direction)
Weekly break context (key weekly level break + optional 2–3 week wait gate)
EMA filter (trend confirmation on your chart timeframe)
RVOL (is volume supportive right now?)
ORB (did price break the opening range?)
Price Action state (Bull / Bear / Chop)
Ripster MTF tiles (1H / Daily / Weekly cloud direction)
Levels (PMH/PML, DH/DL, optional prior RTH highs/lows)
ATR/DTR + Calls/Puts bands (range context)
It then outputs:
A FINAL status: CALL / PUT / NO TRADE
A CALL/PUT marker on chart when everything agrees
Tiles at bottom for quick MTF + RVOL read
Optional levels drawn on chart
How “CALL / PUT / NO TRADE” is decided
✅ CALL (FinalLongOK)
Only when ALL of these are true:
KC Bias = CALL (bull trend on HTF1 and optionally HTF2)
Weekly Break Long OK (price crossed above prev week high and wait gate is satisfied if enabled)
EMA Long OK (price above EMA trend; optional stacking)
RVOL OK (rvolNow ≥ threshold)
ORB Long OK (ORB break happened if ORB is enabled)
✅ PUT (FinalShortOK)
Same idea but bearish:
KC Bias PUT
Weekly break below prev week low (+ wait gate)
EMA short confirmation
RVOL OK
ORB short break
Otherwise
NO TRADE (means conditions are mixed or not confirmed yet)
How to read the colors (super simple)
RVOL tiles (your rule)
Yellow = weak/volume dropped (below min)
Green = good/acceptable (≥ min)
Red = best/strong (≥ min * best multiplier)
Gray = off or waiting
Price Action row
Green = Bullish
Red = Bearish
Yellow = Chop (ATR% is small = range / noisy)
Gray = neutral
Ripster tiles
Green = bullish EMA cloud direction
Red = bearish
Yellow = neutral / flat
Gray = waiting / not enough data
What ORB “No break” means
ORB is the opening range (first X minutes after 9:30).
BUILD: still inside the ORB window, range is forming
No break: after the range is set, price has not broken above ORB High or below ORB Low (based on your chosen mode: close or wick)
Long ✓: breakout above ORB High
Short ✓: breakdown below ORB Low
So “No break” does NOT mean bearish by itself. It means: no opening-range breakout signal yet.
How you can use it (practical workflow)
1) Start with the “FINAL” row
FINAL = CALL → you’re allowed to be bullish (look for long setups)
FINAL = PUT → you’re allowed to be bearish (look for short setups)
FINAL = NO TRADE → don’t force it; market is mixed or unconfirmed
This stops overtrading.
2) Use Price Action to avoid chop traps
If Price Action = Chop (Yellow):
expect whipsaws
size down, tighten targets, or skip
3) Use RVOL to confirm “move quality”
If RVOL is Yellow → breakouts often fail or move slower
If RVOL is Green/Red → moves are more likely to follow through
4) Use Ripster tiles as “big picture bias”
If 1H + Daily tiles are both Green → long setups have tailwind
If they’re mixed (1H red, Daily green) → expect chop/pullbacks
If all red → short bias
5) Use Levels as targets + invalidation zones
PMH/PML, DH/DL are natural reaction levels
You can plan:
Entry triggers near levels
Stops beyond levels
Targets at next level
Quick “rules” a beginner can follow
Trade only when FINAL says CALL/PUT
Avoid trading when Price Action is Yellow
Prefer trades when RVOL is Green/Red
Use Ripster tiles to understand “trend alignment”
Use PMH/PML and DH/DL as profit targets / stop references
Pine Script® indicator
Strong Push + Engulfing# Strong Push + Engulfing – TradingView Indicator Description
Copy one of the blocks below into your indicator's description field on TradingView (e.g. when publishing or in settings).
---
## Short (Overview)
**Strong Push + Engulfing**
Identifies reversal setups where a strong push candle (body ≥ average × multiplier) is engulfed by a larger candle in the opposite direction. Long: bearish push → bullish engulfing. Short: bullish push → bearish engulfing. Entry at close of the engulfing candle. Configurable lookback, body ratio, and optional ATR filter. No repaint.
---
## Medium (Publishing)
**Strong Push + Engulfing**
A candlestick pattern indicator that combines **Strong Push** candles with **Engulfing** patterns to spot potential reversals.
**Concept:** A strong push candle shows momentum in one direction. When the next candle engulfs it in the opposite direction, it suggests a reversal. The engulfing candle confirms the shift.
**Long Setup:** Bearish push candle → bullish engulfing candle → entry at close of the engulfing candle.
**Short Setup:** Bullish push candle → bearish engulfing candle → entry at close of the engulfing candle.
**Strong Push Definition:** A candle whose body length is at least X times the average body length over the lookback period (default: 1.5× over 20 bars).
**Engulfing Definition:** The current candle's body completely contains the previous candle's body (open/close range). The engulfing candle must be at least as large as the push candle (configurable ratio).
**Settings:**
- Lookback (default 20): Periods for average body calculation
- Body multiplier (default 1.5): Push candle must be ≥ average × multiplier
- Engulfing body ratio (default 1.0): Engulfing candle must be ≥ push candle × ratio
- Optional ATR filter: Only show signals in higher volatility
**Visuals:** Arrows, labels, background highlight, and optional box around the 2-candle setup. Customizable colors and transparency.
**Repaint:** None. Signals are confirmed at bar close.
---
## Full (Detailed)
**Strong Push + Engulfing**
A candlestick pattern indicator that identifies reversal setups by combining two concepts: **Strong Push** candles and **Engulfing** patterns.
---
### How It Works
1. **Strong Push Candle (Bar 1)**
A candle with an unusually long body compared to recent bars. Body length = |Close − Open|. The candle qualifies if:
`body ≥ SMA(body, lookback) × multiplier`
Default: body at least 1.5× the 20-bar average.
2. **Engulfing Candle (Bar 2)**
The next candle must engulf the push candle in the opposite direction:
- **Bullish engulfing:** Current candle is green, open ≤ prior close, close ≥ prior open (body fully contains prior body).
- **Bearish engulfing:** Current candle is red, open ≥ prior close, close ≤ prior open (body fully contains prior body).
The engulfing candle must be at least as large as the push candle (configurable).
3. **Entry**
At the close of the engulfing candle (bar 2).
---
### Setups
| Direction | Bar 1 (Push) | Bar 2 (Engulfing) | Entry |
|-----------|--------------|-------------------|-------|
| **Long** | Bearish | Bullish | Close of bar 2 |
| **Short** | Bullish | Bearish | Close of bar 2 |
---
### Inputs
**Strong Push**
- Lookback (default 20): Periods for average body
- Body multiplier (default 1.5): Push threshold
- ATR filter (optional): Minimum volatility
**Engulfing**
- Min. body ratio (default 1.0): Engulfing candle size vs. push candle
**Display**
- Arrows, labels, background, box
- Colors and transparency
---
### Repaint
Signals are generated only after the engulfing candle closes. No repaint or lookahead.
---
### Credits
Lean Strategy Blueprint
Pine Script® indicator
ATR Trailing Stop + Alert (Long Mode)ATR Trailing Stop (Long Mode) is a volatility-adaptive exit tool designed to protect profits while allowing strong trends to develop.
By combining the Average True Range (ATR) with a highest-value trailing mechanism, the stop dynamically adjusts to market conditions and only moves upward during active long trades. This structure helps reduce emotional decision-making and enforces disciplined risk management.
As volatility expands, the stop automatically widens to avoid premature exits. As price continues trending higher, the stop locks in gains by trailing behind price action in a systematic way.
Key advantages:
Volatility-based dynamic stop distance
Non-decreasing trailing logic (long-only mode)
Clear visual stop levels and break signals
Built-in alert for stop hits
Ideal for trend followers, swing traders, and systematic traders who want a structured and reliable method for managing long positions without second-guessing exits.
Pine Script® indicator
Fair Value Gap (FVG) Detector//@version=5
indicator("Fair Value Gap (FVG) Detector", overlay=true, max_boxes_count=500)
// === USER INPUTS ===
showBullish = input.bool(true, "Show Bullish FVG")
showBearish = input.bool(true, "Show Bearish FVG")
removeFilled = input.bool(true, "Remove Filled Gaps")
extendBars = input.int(20, "Extend Boxes (Bars)", minval=1)
// === STORAGE ARRAYS ===
var box bullishBoxes = array.new_box()
var box bearishBoxes = array.new_box()
// === BULLISH FVG CONDITION ===
// Candle structure: low of current > high of 2 candles ago
bullishFVG = low > high
// === BEARISH FVG CONDITION ===
// Candle structure: high of current < low of 2 candles ago
bearishFVG = high < low
// === DRAW BULLISH FVG ===
if showBullish and bullishFVG
top = low
bottom = high
newBox = box.new(left=bar_index , right=bar_index + extendBars,
top=top, bottom=bottom,
border_color=color.green,
bgcolor=color.new(color.green, 85))
array.push(bullishBoxes, newBox)
// === DRAW BEARISH FVG ===
if showBearish and bearishFVG
top = low
bottom = high
newBox = box.new(left=bar_index , right=bar_index + extendBars,
top=top, bottom=bottom,
border_color=color.red,
bgcolor=color.new(color.red, 85))
array.push(bearishBoxes, newBox)
// === REMOVE FILLED GAPS ===
if removeFilled
// Check Bullish
for i = array.size(bullishBoxes) - 1 to 0
b = array.get(bullishBoxes, i)
if close <= box.get_bottom(b)
box.delete(b)
array.remove(bullishBoxes, i)
// Check Bearish
for i = array.size(bearishBoxes) - 1 to 0
b = array.get(bearishBoxes, i)
if close >= box.get_top(b)
box.delete(b)
array.remove(bearishBoxes, i)
Pine Script® indicator
Multiple ATR on ChartThis script helps to visualize where 2xATR is on a chart for stops and targets.
Pine Script® indicator
A+ 0DTE ORB Retest System (9/21 EMA)A+ Setup for 0dte. This indicator will highlight an A+ setup for calls and puts
Pine Script® indicator
Indexed MACD OscillatorThis indicator transforms the traditional MACD histogram into a normalized 0-100 oscillator, making it easier to identify overbought and oversold conditions across different timeframes and instruments.
The oscillator takes the MACD histogram (12/26/9 default settings) and rescales it based on its 100-period high and low range. This normalization allows for consistent interpretation regardless of price levels or volatility.
Readings near 0 indicate extremely bearish momentum (MACD histogram at recent lows), while readings near 100 indicate extremely bullish momentum (MACD histogram at recent highs). The midpoint around 50 represents neutral momentum.
Useful for:
- Identifying overbought/oversold momentum extremes
- Comparing momentum strength across different assets
- Spotting divergences with price action
- Timing entries/exits based on momentum extremes
- Multi-timeframe momentum analysis
Pine Script® indicator
1000-Point Degree LevelsCreated by PNLPlaya
An indicator showing different relevant price levels in the market
Pine Script® indicator






















