Quantum Reversal Detector [JOAT]
Quantum Reversal Detector - Multi-Factor Reversal Probability Analysis
Introduction and Purpose
Quantum Reversal Detector is an open-source overlay indicator that combines multiple reversal detection methods into a unified probability-based framework. The core problem this indicator addresses is the unreliability of single-factor reversal signals. A price touching support means nothing without momentum confirmation; an RSI oversold reading means nothing without price structure context.
This indicator solves that by requiring multiple independent factors to align before generating reversal signals, then expressing the result as a probability score rather than a binary signal.
Why These Components Work Together
The indicator combines five analytical approaches, each addressing a different aspect of reversal detection:
1. RSI Extremes - Identifies momentum exhaustion (overbought/oversold)
2. MACD Crossovers - Confirms momentum direction change
3. Support/Resistance Proximity - Ensures price is at a significant level
4. Multi-Depth Momentum - Analyzes momentum across multiple timeframes
5. Statistical Probability - Quantifies reversal likelihood using Bayesian updating
These components are not randomly combined. Each filter catches reversals that others miss:
RSI catches momentum exhaustion but misses structural reversals
MACD catches momentum shifts but lags price action
S/R proximity catches structural levels but ignores momentum
Multi-depth momentum catches divergences across timeframes
Probability scoring combines all factors into actionable confidence levels
How the Detection System Works
Step 1: Pattern Detection
The indicator first identifies potential reversal conditions:
// Check if price is at support/resistance
float lowestLow = ta.lowest(low, period)
float highestHigh = ta.highest(high, period)
bool atSupport = low <= lowestLow * 1.002
bool atResistance = high >= highestHigh * 0.998
// Check RSI conditions
float rsi = ta.rsi(close, 14)
bool oversold = rsi < 30
bool overbought = rsi > 70
// Check MACD crossover
float macd = ta.ema(close, 12) - ta.ema(close, 26)
float signal = ta.ema(macd, 9)
bool macdBullish = ta.crossover(macd, signal)
bool macdBearish = ta.crossunder(macd, signal)
// Combine for reversal detection
if atSupport and oversold and macdBullish
bullishReversal := true
Step 2: Multi-Depth Momentum Analysis
The indicator calculates momentum across multiple periods to detect divergences:
calculateQuantumMomentum(series float price, simple int period, simple int depth) =>
float totalMomentum = 0.0
for i = 0 to depth - 1
int currentPeriod = period * (i + 1)
float momentum = ta.roc(price, currentPeriod)
totalMomentum += momentum
totalMomentum / depth
This creates a composite momentum reading that smooths out noise while preserving genuine momentum shifts.
Step 3: Bayesian Probability Calculation
The indicator uses Bayesian updating to calculate reversal probability:
bayesianProbability(series float priorProb, series float likelihood, series float evidence) =>
float posterior = evidence > 0 ? (likelihood * priorProb) / evidence : priorProb
math.min(math.max(posterior, 0.0), 1.0)
The prior probability starts at 50% and updates based on:
RSI extreme readings increase likelihood
MACD crossovers increase likelihood
S/R proximity increases likelihood
Momentum divergence increases likelihood
Step 4: Confidence Intervals
Using Monte Carlo simulation concepts, the indicator estimates price distribution:
monteCarloSimulation(series float price, series float volatility, simple int iterations) =>
float sumPrice = 0.0
float sumSqDiff = 0.0
for i = 0 to iterations - 1
float randomFactor = (i % 10 - 5) / 10.0
float simulatedPrice = price + volatility * randomFactor
sumPrice += simulatedPrice
float avgPrice = sumPrice / iterations
// Calculate standard deviation for confidence intervals
This provides 95% and 99% confidence bands around the current price.
Signal Classification
Signals are classified by confirmation level:
Confirmed Reversal : Pattern detected for N consecutive bars (default 3)
High Probability : Confirmed + Bayesian probability > 70%
Ultra High Probability : High probability + PDF above average
Dashboard Information
The dashboard displays:
Bayesian Probability - Updated reversal probability (0-100%)
Quantum Momentum - Multi-depth momentum average
RSI - Current RSI value with overbought/oversold status
Volatility - Current ATR as percentage of price
Reversal Signal - BULLISH, BEARISH, or NONE
Divergence - Momentum divergence detection
MACD - Current MACD histogram value
S/R Zone - AT SUPPORT, AT RESISTANCE, or NEUTRAL
95% Confidence - Price range with 95% probability
Bull/Bear Targets - ATR-based reversal targets
Visual Elements
Quantum Bands - ATR-based upper and lower channels
Probability Field - Circle layers showing probability distribution
Confidence Bands - 95% and 99% confidence interval circles
Reversal Labels - REV markers at confirmed reversals
High Probability Markers - Star diamonds at high probability setups
Reversal Zones - Boxes around confirmed reversal areas
Divergence Markers - Triangles at momentum divergences
How to Use This Indicator
For Reversal Trading:
1. Wait for Bayesian Probability to exceed 70%
2. Confirm price is at S/R zone (dashboard shows AT SUPPORT or AT RESISTANCE)
3. Check that RSI is in extreme territory (oversold for longs, overbought for shorts)
4. Enter when REV label appears with high probability marker
For Risk Management:
1. Use the 95% confidence band as a stop-loss reference
2. Use Bull/Bear Targets for take-profit levels
3. Higher probability readings warrant larger position sizes
For Filtering False Signals:
1. Increase Confirmation Bars to require more consecutive signals
2. Only trade when probability exceeds 70%
3. Require divergence confirmation for highest conviction
Input Parameters
Reversal Period (21) - Lookback for S/R and momentum calculations
Quantum Depth (5) - Number of momentum layers for multi-depth analysis
Confirmation Bars (3) - Consecutive bars required for confirmation
Detection Sensitivity (1.2) - Band width and target multiplier
Bayesian Probability (true) - Enable probability calculation
Monte Carlo Simulation (true) - Enable confidence interval calculation
Normal Distribution (true) - Enable PDF calculation
Confidence Intervals (true) - Enable confidence bands
Timeframe Recommendations
1H-4H: Best for swing trading reversals
Daily: Fewer but more significant reversal signals
15m-30m: More signals, requires higher probability threshold
Limitations
Statistical concepts are simplified implementations for Pine Script
Monte Carlo uses deterministic pseudo-random factors, not true randomness
Bayesian probability uses simplified prior/likelihood model
Reversal detection does not guarantee actual reversals will occur
Confirmation bars add lag to signal generation
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. The source code is fully visible and can be studied to understand how each component works.
This indicator does not constitute financial advice. Reversal detection is probabilistic, not predictive. The probability scores represent statistical likelihood based on historical patterns, not guaranteed outcomes. Past performance does not guarantee future results. Always use proper risk management, position sizing, and stop-losses.
- Made with passion by officialjackofalltrades
移動平均線
CBT w/15m Dashboard InfoThe same 10ema indicator, but now putting an indication in the dashboard showing where price is on the 15m compared to the 10 ema and the cloud.
Ultimate 20x MA Hub [MTF/SMA/EMA]Ultimate 20x MA Hub
This is an all-in-one Moving Average aggregator designed to overcome the indicator limit and keep your chart clean. It allows you to plot up to 20 different Moving Averages within a single indicator instance, with full Multi-Timeframe (MTF) support.
Key Features:
20 Lines in 1 Script: Manage all your MAs in one place.
Multi-Timeframe (MTF): Each line can have its own independent timeframe. For example, you can view a Daily 200 SMA while trading on a 15-minute chart.
SMA & EMA Support: Freely switch between Simple and Exponential Moving Averages for each line.
No Repainting: The MTF logic uses barmerge.gaps_on to ensure historical data does not repaint, providing a realistic backtest view.
Custom Styling: Supports different line widths and styles (e.g., dotted lines (circles) for specific MAs).
Default Configuration (Trend Setup):
MA 1: Daily (1D) 30 SMA — Blue Line (Short-term daily trend)
MA 2: Weekly (1W) 50 SMA — White Dotted Line (Medium-term weekly support/resistance)
MA 3: Weekly (1W) 200 SMA — Red Thick Line (Major long-term bull/bear divider)
MA 4 to MA 20 are disabled by default but can be enabled in the settings.
How to use: Go to the indicator settings to enable more lines, change periods, or select different timeframes (e.g., "D" for Daily, "W" for Weekly).
MADZ - Moving Average Deviation Z-ScoreMADZ - Moving Average Deviation Z-Score
MADZ is a powerful valuation oscillator that measures how far the current price has deviated from a user-selected moving average, expressed in statistical terms as a Z-Score. This normalization makes it easier to identify overvalued and undervalued conditions across different assets, timeframes, and market environments.
Overview
The indicator works by:
Calculating the percentage deviation of price from a customizable moving average (SMA, EMA, WMA, VWMA, HMA, or RMA).
Applying a Z-Score transformation to this deviation over a chosen lookback period — showing how many standard deviations the current deviation is from its historical average. Smoothing the result for a clean, responsive oscillator centered around zero.
Positive values indicate price is trading above the moving average (potentially overvalued), while negative values suggest price is below (potentially undervalued). The further from zero, the greater the relative valuation extreme.
Key Features
Customizable base moving average (type and length)
Z-Score normalization for statistically meaningful readings
Final smoothing for reduced noise
Static overbought/oversold levels (default ±1.5) — line changes color when crossed (red above, green below)
Dynamic extreme bands (±3σ) — optional display of bands calculated from the oscillator’s own volatility over a user-defined period
Extreme zone highlighting — background shading activates only during truly rare valuation events
Extreme Zone Highlighting Explained
The highlighted extreme zones (background shading) are not based on the fixed static levels. Instead, they signal statistically significant outliers using dynamic bands:
Overbought extreme zone (red background): Triggered when MADZ rises above the upper dynamic band (+3 standard deviations of the MADZ line itself over the dynamic length period).
Oversold extreme zone (green background): Triggered when MADZ falls below the lower dynamic band (-3 standard deviations).
These ±3σ bands adapt to the recent behavior of the oscillator. Because they represent three standard deviations from the mean of MADZ, crossings are rare and often precede major reversals or trend accelerations — making them valuable for spotting potential turning points in valuation extremes.
How to Use
Use zero-line crosses for trend changes or mean-reversion setups.
Watch static level crossings (±1.5 default) for early overbought/oversold warnings.
Pay special attention to extreme zone shading — these highlight high-conviction valuation dislocations that may offer superior risk/reward opportunities.
Designed on the BTC chart, but can be used on other assets.
Settings
Moving Average Settings: Type, length, source
Z-Score & Smoothing: Lookback period and smoothing length
Threshold Levels: Static overbought/oversold thresholds
Display Options: Toggle dynamic bands and extreme background highlighting
This is an educational tool designed to aid in valuation analysis. The information provided is not financial advice. Always conduct your own research and consider multiple factors before making trading decisions. Trade at your own risk.
SMA Crossover (20 & 200)I use this simple strategy consisting on 20 and 200 SMA crossover to indicate a shift in direction of price depending on the overall trend , i hope you guys can test it and maybe also improve it. thank you.
Engulfing + EMA + WMA Alejandraseñal de vela engulfing
emas
wma
multiples emas, velas engulfing y vma en un solo indicador
Quad-EMA Strategy (10/20/30/50)This indicator combines four exponential moving averages (10, 20, 30, 50) into a single, clean framework designed for scalping, short-term trading, and trend participation. Although optimized for long-side trend participation, the EMA structure remains symmetric and usable for short-selling.
While it is highly effective on lower timeframes, it also translates well to the daily chart, especially in well-defined trends.
Core Trend Logic
On the daily timeframe, a trend can be considered healthy as long as price respects the 10 EMA.
As long as candles hold above it, the structure remains intact.
A clean daily close below the 10 EMA is treated as a discipline-based exit signal.
Not because the trend must be over — but because risk begins to increase.
There are exceptions:
After extended multi-day advances, a single pullback day slightly below the 10 EMA can occur.
In those cases, partial profit-taking (“taking chips off the table”) is often a reasonable and pragmatic move.
This is not about perfection — it’s about capital preservation.
Volatility & Pullbacks
In more volatile conditions, price may pull back toward the 20 EMA or even the 30 EMA.
From a strict risk-management perspective, this is typically where the trade should already be closed.
If a trader chooses to remain involved during such phases — especially after a strong push into a local high followed by sideways consolidation — the EMAs will often compress and flatten, forming a “sideways river.”
During this phase:
Price may temporarily dip below the 20 or 30 EMA
This alone is not a guaranteed signal that the trend is over
Context and structure matter
Riding the Wave (with Discipline)
The philosophy here is simple:
Ride the trend — but exit early.
Even after the 10 EMA is breached, price will often:
-Reclaim momentum
-Continue higher without you
That is normal.
Missing continuation is the cost of discipline, not a mistake.
More aggressive traders may tolerate pullbacks to the 20 or 30 EMA — and sometimes that works.This framework, however, follows a “cockroach strategy”:
exit at the first clear sign of stress, not at the last possible moment.
The Final Line in the Sand
The 50 EMA should be viewed as the latest and clearest exit zone.
Below this level:
-Direction becomes uncertain
-The market may form a local top
-Volatility and chop increase
At that point, prediction is pointless — and unnecessary.
The trade should already be closed.
If you find yourself still searching for an exit below the 50 EMA, that is a signal in itself:
risk has taken control of the trade.
Final Note
This indicator does not predict.
It reacts.
How strictly you trade the EMAs is a personal choice — but the structure provides a clear, repeatable framework for trend participation and risk control.
Discipline first.
Profits second.
Disclaimer:
This indicator and its description reflect my personal views and market observations.
They are provided for educational and informational purposes only and do not constitute financial or investment advice.
VWAP Long Entry PROVWAP Long Entry PRO - Instruction Manual
Overview
VWAP Long Entry PRO is a Pine Script v6 indicator designed for day traders following Andrew Aziz's VWAP trading methodology from "How to Day Trade for a Living." The indicator identifies high-probability long entry opportunities when stocks bounce off VWAP with proper trend, volume, and timing confirmation.
What This Indicator Does
The indicator monitors multiple conditions simultaneously and alerts you only when ALL criteria are met for a valid VWAP long entry:
1. ✅ Price is near VWAP (within customizable proximity)
2. ✅ Price crosses above VWAP (bullish candle confirmation)
3. ✅ Uptrend confirmed (EMA 20 > EMA 50)
4. ✅ Volume spike present (volume > 1.5x average)
5. ✅ Within optimal trading hours (default: first 2 hours after market open)
Visual Elements on the Chart
1. VWAP Line (Yellow)
* Shows the Volume Weighted Average Price for the current session
* Acts as dynamic support/resistance
2. EMA Lines
* Blue Line: 20-period Exponential Moving Average
* Red Line: 50-period Exponential Moving Average
* Trend is bullish when blue is above red
3. Green Triangle Markers
* Appear below candles when ALL entry conditions are met
* These are your entry signals
4. Background Colors
* Light Yellow Background: Price is within proximity zone of VWAP
* Light Red Background: Price crossed VWAP but filters failed (helps identify missed opportunities)
5. Filter Status Table (Top Right)
Real-time dashboard showing current status of all filters:
Filter Status
Trend ✓ (green) or ✗ (red)
Volume ✓ (green) or ✗ (red)
Time ✓ (green) or ✗ (red)
Near VWAP ✓ (green) or ✗ (red)
Entry OK ✓ GO (lime) or ✗ (orange)
How to Use the Indicator
Step 1: Apply to Your Watchlist
1. Add VWAP Long Entry PRO to charts of stocks on your morning gappers watchlist
2. Use 1-minute, 2-minute, or 5-minute timeframes
3. Monitor multiple stocks simultaneously
Step 2: Wait for Setup
Watch the Filter Status Table in the top right corner. A valid entry requires:
* All filters showing green ✓
* "Entry OK" showing ✓ GO in lime/green
Step 3: Execute the Trade
When a green triangle appears below a candle:
* Entry: Enter long at or near the close of that candle
* Stop Loss: Place stop just below VWAP (typically 2-5 cents below)
* Profit Target: Use resistance levels, previous highs, or VWAP + ATR
Step 4: Manage the Trade
* Hold as long as price stays above VWAP
* Exit if price closes back below VWAP
* Scale out at resistance levels
Customizable Settings
Access settings by clicking the gear icon next to the indicator name.
VWAP Proximity
* Default: 0.002 (0.2%)
* Purpose: Defines how close price must be to VWAP
* Adjust If:
* Too many signals → increase (e.g., 0.001 = 0.1%)
* Too few signals → decrease (e.g., 0.003 = 0.3%)
Filters Group
Trend Filter
* Use Trend Filter: Toggle on/off
* EMA 20 Length: Default 20
* EMA 50 Length: Default 50
* Purpose: Ensures you're trading with the trend
* Disable If: Trading reversals or range-bound stocks
Volume Filter
* Use Volume Filter: Toggle on/off
* Volume Multiplier: Default 1.5 (volume must be 1.5x average)
* Volume Average Period: Default 20 bars
* Purpose: Confirms institutional participation
* Adjust If:
* Too restrictive → lower to 1.2x
* Need stronger confirmation → increase to 2.0x
Time Filter
* Use Time Filter: Toggle on/off
* Start Hour (EST): Default 9
* Start Minute: Default 30
* Hours to Trade: Default 2
* Purpose: Focus on highest probability time window (9:30-11:30 AM EST)
* Adjust If:
* Trading afternoon momentum → extend hours to 4-6
* Power hour trading → change start to 15:00, 1 hour
Alert Setup
Creating an Alert
1. Click the Alert Icon (clock) in top toolbar
2. Condition: Select "VWAP Long Entry PRO"
3. Alert Trigger: Choose "VWAP Long Entry PRO"
4. Options: Select "Once Per Bar Close"
5. Expiration: Set to desired timeframe (default: 60 days)
6. Alert Actions: Enable:
* ✓ Notify on App
* ✓ Show Popup
* ✓ Send Email (optional)
* ✓ Play Sound
7. Message: The default message includes:
* Ticker symbol
* Close price
* VWAP value
* Confirmation that all filters passed
Multi-Symbol Alert
To monitor multiple stocks with one alert:
1. In the alert creation dialog, use the Symbol dropdown
2. Select multiple tickers from your watchlist
3. The alert will fire when ANY of those stocks meet the criteria
Trading Strategy
Based on Andrew Aziz's VWAP Methodology
Setup Requirements:
* Stock must be "in play" (gap, news, high relative volume from morning scanner)
* Price pulls back to VWAP during the trading day
* VWAP acts as support for longs (or resistance for shorts)
Entry Rules:
1. Wait for price to approach VWAP
2. Confirm VWAP as support with a bullish candle closing above it
3. Enter long on confirmation candle close or next candle open
4. All filters (trend, volume, time) must be green
Stop Loss:
* Place stop 2-5 cents below VWAP
* Adjust based on stock volatility and your risk tolerance
Profit Targets:
* First target: Previous resistance or swing high
* Second target: Daily pivot or Fibonacci extension
* Trailing stop: Move stop to breakeven once up 1:1 risk/reward
Risk Management:
* Risk 1-2% of account per trade
* Position size based on distance from stop loss
* Aim for 2:1 or 3:1 reward-to-risk ratio
Common Scenarios
Scenario 1: Clean VWAP Bounce
* All filters green ✓
* Price pulls back to VWAP
* Green triangle appears
* Action: Enter long immediately
Scenario 2: Failed Volume
* Trend ✓, Time ✓, Near VWAP ✓
* Volume ✗ (red X)
* Action: Wait for volume increase or skip trade
Scenario 3: Wrong Time Window
* All filters green except Time ✗
* Action: If you trade mid-day, consider extending time window in settings
Scenario 4: Downtrend
* Trend ✗ (EMA 20 < EMA 50)
* Action: Skip long entry; consider short setup instead
Scenario 5: False Breakout
* Light red background appears (filters failed)
* Price crossed VWAP but no confirmation
* Action: No entry; indicator correctly filtered out weak signal
Best Practices
1. Pre-Market Preparation
* Run your gappers scanner at 9:00 AM EST
* Identify 3-5 stocks "in play"
* Add VWAP Long Entry PRO to each chart
* Set up alerts for your watchlist
2. Chart Timeframe Selection
* 1-minute: Scalping, high-frequency entries (more signals, more noise)
* 2-minute: Balanced (recommended for beginners)
* 5-minute: Swing entries, fewer but higher-quality signals
3. Combine with Price Action
The indicator is a filter and alert system, not a complete strategy. Also consider:
* Support/resistance levels
* Candlestick patterns (hammer, engulfing)
* Overall market trend (SPY, QQQ)
* Stock-specific news and catalysts
4. Backtesting
* Use TradingView's Bar Replay feature
* Review past signals on your favorite stocks
* Adjust filter settings based on your results
* Document win rate and average R:R
5. Paper Trading First
* Test the indicator with paper trading for 1-2 weeks
* Track all signals and outcomes
* Refine settings before risking real capital
Troubleshooting
Problem: No Signals Appearing
Solutions:
* Check if all filters are enabled (they may be too restrictive)
* Verify stock has sufficient volume and volatility
* Try increasing VWAP proximity from 0.2% to 0.3%
* Disable time filter if trading mid-day
* Check if stock is actually near VWAP on chart
Problem: Too Many Signals
Solutions:
* Decrease VWAP proximity from 0.2% to 0.1%
* Increase volume multiplier from 1.5x to 2.0x
* Enable all filters (trend, volume, time)
* Use 5-minute chart instead of 1-minute
Problem: Filter Status Table Not Visible
Solutions:
* Scroll chart to right (table is in top right corner)
* Check if indicator is loaded (should appear in indicator list on left)
* Refresh chart and re-add indicator
* Close other overlapping indicators
Problem: Alert Not Firing
Solutions:
* Verify alert is set to "Once Per Bar Close" (not "Only Once")
* Check alert hasn't expired
* Ensure correct symbols are selected in alert
* Confirm indicator is applied to chart with alert
Limitations
What This Indicator Does NOT Do:
* ❌ Automatically enter/exit trades
* ❌ Calculate position size
* ❌ Account for fundamental news or earnings
* ❌ Work on stocks without sufficient liquidity
* ❌ Guarantee profitable trades
When NOT to Use:
* Pre-market or after-hours (VWAP resets at market open)
* Low-volume penny stocks (< 100K daily volume)
* Stocks without clear trend or catalyst
* During major news events or FOMC meetings
* First 5 minutes after market open (price discovery phase)
Example Trade Walkthrough
Stock: XYZ (from morning gappers, +5% gap on earnings)
Time: 10:15 AM EST
Timeframe: 2-minute chart
Filter Status Table Shows:
* Trend: ✓ (EMA 20 > EMA 50)
* Volume: ✓ (2.3x average)
* Time: ✓ (within 9:30-11:30 window)
* Near VWAP: ✓ (price at $50.05, VWAP at $50.00)
* Entry OK: ✗ (waiting for bullish close)
Next Candle:
* Opens at $50.02
* Drops to $49.98 (testing VWAP)
* Closes at $50.08 (bullish candle, above VWAP)
* Green triangle appears!
* Entry OK: ✓ GO
Trade Execution:
* Entry: $50.10 (next candle open)
* Stop Loss: $49.95 (5 cents below VWAP)
* Risk: $0.15 per share
* Target 1: $50.40 (previous resistance) = 2:1 R:R
* Target 2: $50.70 (daily high) = 4:1 R:R
Outcome:
* Price rallies to $50.45
* Scale out 50% at Target 1
* Move stop to breakeven ($50.10)
* Exit remaining 50% at $50.65
* Result: Profitable trade with 3:1 average R:R
Frequently Asked Questions
Q: Can I use this for short entries?
A: The current version is for long entries only. For shorts, you'd need to reverse the logic (price rejecting VWAP as resistance, downtrend, etc.).
Q: What stocks work best with this indicator?
A: Mid-cap momentum stocks ($1B-$10B market cap), price $10-$100, daily volume > 1M, with a clear catalyst (earnings, news, sector move).
Q: Can I trade this on daily or weekly charts?
A: No. VWAP is an intraday indicator that resets each trading day. Use only on intraday timeframes (1m, 2m, 5m, 15m, 30m).
Q: Should I take every signal?
A: No. Use the indicator as a filter, not a mechanical system. Consider overall market conditions, stock-specific catalysts, and your own price action analysis.
Q: How accurate is this indicator?
A: Accuracy depends on market conditions, stock selection, and your execution. Expect 50-65% win rate with proper 2:1+ risk/reward, similar to Aziz's methodology.
Resources
* Book: "How to Day Trade for a Living" by Andrew Aziz
* VWAP Strategy: Focus on Chapters 7.6 (VWAP Strategy) and supporting examples
* Community: Bear Bull Traders (www.bearbulltraders.com)
* Practice: Use TradingView's Bar Replay and Paper Trading features
Support & Updates
For questions, issues, or feature requests, refer to the TradingView script comments or the Bear Bull Traders community.
Version: 1.0
Pine Script Version: v6
Last Updated: December 30, 2025
Disclaimer: This indicator is for educational purposes only. Trading involves substantial risk. Past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
1. www.tradingview.com
SB - HULL MANifty Options Scalping @ 1 Minute TF
Call Entry - If both MA turns bullish.
Put Entry - If Both MAs turns bearish.
Best results - If both MAs complement each other in the same direction.
Exit Plan - My opinion, If slow MA turns bearish. However one can also plan to exit if any one of the MA turns bearish.
Display - Make your own setting as per your own comfort
Keep this indicator in a separate pane below the chart. It will give clarity view of the chart.
Works well on nifty derivatives @ 1 minute TF , can do well on other instruments too.
SB - HULL MANifty Derivatives Scalping @ 1 Minute TF
Call Side - If both the MAs turns bullish
Put Side - If both the MAs turns bearish.
Can be applied on options charts directly. Better to plan 50 points in the money Call or Put option from Spot.
Exit - My opinion, if slow MA turns bearish. You can either exit if anyone of the MA turns bearish also.
Best for nifty derivatives scalping at 1 Minute TF, can work well on other instruments too.
Display Setting - As per your own convenience, Mine snap is below :
Area per IntervalDescription
This indicator shades the area between 2 curves, an SMA and the nearest open/close to the SMA, and their intersections. The black labels with leader lines describe the calculated area of each shaded section, and the total area accumulated per total number of time intervals for that area. The additional value visible in the status line that is not displayed on the chart is, at any bar index (time interval), the current total area of the incomplete shaded area.
Usage
- The default color of the shaded areas denote the type of momentum being built before the cross. Green for bullish, red for bearish.
- The area value of the shaded areas can be used as a capacity indicator, denoting imbalances between the previous and next crosses.
- The area per interval value of the shaded areas can be used as a momentum indicator, denoting which area is carrying more price movement before the price crosses.
- Similar to indicators that use dynamic price differences between OHLC data, moving averages, etc, confluence with other momentum indicators that use different elements creates additional confirmation.
Conclusion
Simple momentum indicator. Comment for possible updates that can be made.
SB - VWDEMA - V2Derivatives - Scalping @ 1 Minute TF
Rules : -
CE entry - If ATR a& Dema both turns Green.
PE entry - If ATR and Dema both turns Red.
If both are in opposite colour code, wait till both align in direction and colour coding.
Vwap - If price is above Vwap, Calls will be rewarded well ( Try to find out entry in call options ).
If Price is below VWAP, Puts will be rewarded well also, try to figure out entry in Put options.
Best results - Nifty derivative @ 1 minute TF , However can work well in all other instruments.
Display - make your own settings as per your convenience. Mine is attached below for your reference :
SB - VWDEMAScalping @ 1 Minute time frame.
Rules : -
1. Call entry - If Dema and ATR both turns green ( 1 minute TF )
2. Put Entry - If Dema and ATR both turns red ( 1minute TF )
If one is red and other is green wait till both align in same direction.
Vwap - Price above VWAP, call side entry will be rewarded well ( Try to find entry in calls) and if price is below Vwap Put side entry will be rewarded well ( Try to find entry in Puts).
Exit - Follow ATR stop loss line at 1 minute TF ( candle closing basis ).
Can be used on option charts directly.
Best results - Nifty derivatives @ 1 Minute TF, however it can work well with other instruments too.
Make your display setting as per your convenience.
777 SigmaDev Clustersyeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaaah buddyyyyyyyyyyyyyyyyyyyyyyyyyyyy!
777 expected Movehell yeaaaaaaaaaaaah, we back at it again yfm, some bs right here, will NOT tap ever!!!!!!
Algonova TrendFlowWhat was previously a (very!) manual process of looking at "UPs" and "DOWNs" to determine which way the market is "flowing" has now been automated! Urban TrendFlow is an immense timesaver for our users as we search for opportunities to go long and short (and especially when we need to sit on our hands and let uncertain markets "find their flow".
ICT Clean CISD & Mitigated MTF FVGs Clean CISD & MTF FVGs
Minimalist Institutional Order Flow Tool
Key Features:
CISD (Change in State of Delivery): Marks the first sign of an order flow shift. Displayed as a clean black line + label (no bulky boxes).
High-Probability FVGs: Scans 15m, 1h, and 4h timeframes for gaps.
Displacement Filter: Only shows "Crucial" gaps. Tiny, insignificant imbalances are automatically filtered out using an ATR threshold.
Auto-Cleaning Logic: Boxes are automatically deleted once price fills or closes through them, keeping your chart 100% clean.
ilker %90This strategy is a short-term momentum approach based on moving averages and volume. Studies show it performs more effectively on the 1-hour and 4-hour timeframes. Take-profit and stop-loss distances are kept short, resulting in a high win rate, while the profit factor ranges between 1.4 and 2.
40 SMA Scaling StrategyThis trend-following strategy focuses on capturing momentum when price breaks above the 40-period Simple Moving Average (SMA) while utilizing a systematic scale-out (Take Profit) approach to lock in gains during extended runs.
Strategy Logic
Entry: Opens a Long position with 100% of current equity when the price closes above the 40 SMA. This ensures maximum capital efficiency at the start of a new perceived trend.
Scaling Take Profits: To reduce risk as the trade progresses, the strategy automatically closes 25% of the initial position for every 1% increase in price from the entry point.
Exit: The entire remaining position is closed immediately if the price closes below the 40 SMA, acting as a trailing stop that adapts to the moving average.
Key Features
Capital-Efficient: Starts with a full account allocation to maximize exposure to the initial breakout.
Systematic De-risking: By scaling out in 25% increments, the strategy banks profits early while leaving a portion of the trade active for potential "moon shots."
Trend-Following Exit: Uses a classic SMA filter to exit, aiming to stay in the trade as long as the medium-term trend remains bullish.
%-to-Tick Trailing Stop & VisualizerPercent-to-Tick Trailing Stop (strategy.exit Framework + Visualizer)
Overview
This script focuses on exit management and visualization, not entry performance. The included MA crossover entry is intentionally simple and replaceable.
Core idea (Percent → Tick conversion)
strategy.exit() trailing parameters are tick-based (trail_points, trail_offset, and loss).
This script lets you input distances in percent (%) and converts them into integer ticks using syminfo.mintick, making the same exit logic portable across most tick-based symbols/exchanges with different tick sizes.
//==What it provides==//
1. % → tick conversion for:
- Fixed stop loss (loss)
- Trailing activation distance (trail_points)
- Trailing offset distance (trail_offset)
2. On-chart visualization:
- Entry average price
- Trailing activation threshold
- Fixed stop-loss line
- Trailing stop line (with an exit-bar alignment attempt to reduce gaps)
//==How to use==//
1. Keep the included MA crossover entries, or replace them with your own entries.
2. Configure:
- Fixed Stop Loss % (loss_pct)
- Trailing Activation % (t_points_pct)
- Trailing Offset % (t_offset_pct)
3. Adjust commission/slippage defaults to match your market.
//==Important limitations (must read)==//
- calc_on_every_tick=true recalculates on realtime bars only; historical bars are evaluated differently. Backtests can differ from realtime behavior and may change after reload.
- Tick rounding: percent distances are rounded to integer ticks, so small differences can occur depending on tick size and price level.
- For more realistic intrabar backtesting, consider enabling Bar Magnifier in Strategy Properties (if available).
# Average Entry Price (Basis):
"Calculations are based on the position's average entry price (strategy.position_avg_price)."
# Pine Script v6:
"Written in the latest Pine Script v6."
요약
이 스크립트의 핵심은 “진입 전략”이 아니라 **strategy.exit()의 tick 기반 트레일링 파라미터를 % 입력으로 일반화(%→ticks 변환)**하여, 다양한 심볼/거래소의 서로 다른 tick size 환경에서도 동일한 exit 로직을 재사용할 수 있게 만든 “청산 프레임워크”입니다. 또한 calc_on_every_tick=true 환경에서 트리거/손절/트레일 라인을 실시간에 가깝게 시각화하는 데 중점을 두었습니다.
단, calc_on_every_tick은 실시간 바에서만 틱 단위 재계산이 적용되며, 히스토리 바/백테스트는 평가 방식이 달라 결과가 다를 수 있습니다.
SMAcross-mvrOverview
SMAcross-mvrNew is a flexible, non-repainting moving-average strategy designed for clarity, configurability, and reliable backtesting.
It supports multiple entry styles, optional layered exits, and full-capital position sizing, while remaining stable during chart zooming and dragging.
🚀 What’s New in v2
✅ Multiple Entry Modes
You can now choose how trades are entered:
Entry Mode A: Short SMA crosses Long SMA
Entry Mode B: Price crosses Long SMA
This allows both classic MA-crossover trading and trend-continuation pullback entries using the same strategy.
✅ Modular Exit System (Checkbox-Based)
Exit logic is now fully modular using independent checkboxes:
☑ Exit on opposite signal
☑ Exit when price closes beyond Short SMA
You may enable one, both, or neither.
If both are enabled, the strategy exits on whichever condition occurs first.
✅ Terminology Clarity
All labels, inputs, and alerts now use semantic naming:
Short SMA (formerly 13 SMA)
Long SMA (formerly 30 SMA)
This makes the strategy easier to understand and future-proof if SMA lengths are changed.
✅ Full-Capital Position Sizing
Each trade uses 100% of available equity, allowing performance to naturally compound over time during backtests.
✅ Optional Visual Enhancements
Optional cross price labels (can be toggled on/off)
Color-filled zone between Short and Long SMAs for quick trend recognition
Optional 200 SMA (off by default) for higher-timeframe context
✅ Alert-Ready (TV-Safe)
All alerts use static messages compatible with TradingView’s alert system, making the strategy suitable for:
Manual trade notifications
Webhook-based automation
Broker integrations
🔒 Design Principles
No repainting
No line continuations (TradingView-safe formatting)
Stable behavior when zooming or scrolling
Clear separation of entry logic, exit logic, and visuals
⚠️ Notes
This script is intended for educational and research purposes.
Always forward-test and apply proper risk management before live trading.
Tabla de EMA's y TimeframesGraphic and permanent representation of the trend of an action/CFD/stock/crypto, directly related to the technical analysis of its EMA's.






















