AK_Trend reversal_Range_Market_RSI + Stoch. RSIRSI + Stoch. RSI based indicator to predict trend reversal. Most applicable in range market
Pattern grafici
🤖 Advanced Market Predictor ML (FRD/FGD/3D) + News Sentimentshowcases stop hunts and market trends within any session
🤖 Advanced Market Predictor ML (FRD/FGD/3D) + News Sentimentshowcases market trends and stop hunts within the market
TSI Indicator with Trailing StopAuthor: ProfitGang
Type: Indicator (visual + alerts). No orders are executed.
What it does
This tool combines the True Strength Index (TSI) with a simple tick-based trailing stop visualizer.
It plots buy/sell markers from a TSI cross with momentum confirmation and, if enabled, draws a trailing stop line that “ratchets” in your favor. It also shows a compact info table (position state, entry price, trailing status, and unrealized ticks).
Signal logic (summary)
TSI is computed with double EMA smoothing (user lengths).
Signals:
Buy when TSI crosses above its signal line and momentum (TSI–Signal histogram) improves, with TSI above your Buy Threshold.
Sell when TSI crosses below its signal line and momentum weakens, with TSI below your Sell Threshold.
Confirmation: Optional “Confirm on bar close” setting evaluates signals on closed bars to reduce repaint risk.
Trailing stop (visual only)
Units are ticks (uses the symbol’s min tick).
Start Trailing After (ticks): activates the trail only once price has moved in your favor by the set amount.
Trailing Stop (ticks): distance from price once active.
For longs: stop = close - trail; it never moves down.
For shorts: stop = close + trail; it never moves up.
Exits shown on chart when the trailing line is touched or an opposite signal occurs.
Note: This is a simulation for visualization and does not place, manage, or guarantee broker orders.
Inputs you can tune
TSI Settings: Long Length, Short Length, Signal Length, Buy/Sell thresholds, Confirm on Close.
Trailing Stop: Start Trailing After (ticks), Trailing Stop (ticks), Show/Hide trailing lines.
Display: Toggle chart signals, info table, and (optionally) TSI plots on the price chart.
Alerts included
TSI Buy / TSI Sell
Long/Short Trailing Activated
Long/Short Trail Exit
Tips for use
Timeframes/markets: Works on any symbol/timeframe that reports a valid min tick. If your market has large ticks, adjust the tick inputs accordingly.
TSI view: By default, TSI lines are hidden to avoid rescaling the price chart. Enable “Show TSI plots on price chart” if you want to see the oscillator inline.
Non-repainting note: With Confirm on bar close enabled, signals are evaluated on closed bars. Intrabar previews can change until the bar closes—this is expected behavior in TradingView.
Limitations
This is an indicator for education/research. It does not execute trades, and visuals may differ from actual broker fills.
Performance varies by market conditions; thresholds and trail settings should be tested by the user.
Disclaimer
Nothing here is financial advice. Markets involve risk, including possible loss of capital. Always do your own research and test on a demo before using any tool in live trading.
— ProfitGang
Bullish & Bearish Gap Boxes with Gap Points 2025
Bullish & Bearish Gap Boxes with Gap Points & Table Functionality 2025
## **1. Highlighted Key Points in the Code**
* **Gap Detection Logic**
* **Bullish Gap:** `Low >= High ` (low is above the previous high) → bullish sentiment.
* **Bearish Gap:** `High <= Low ` (high is below the previous low) → bearish sentiment.
* **Configurable Filters**
* Minimum gap size in points (`minGapPoints`).
* Option to show/hide bullish and bearish gaps individually.
* Custom table position, row count, and text size for flexibility.
* **Visual Marking on Chart**
* **Boxes:** Drawn between gap high and low, extending to the right until price “fills” the gap.
* **Labels:** Show gap size (points + %), tooltip with exact high & low.
* **Automatic Gap Removal**
* Bullish gap deleted when `Low <= gapBottom` (gap filled).
* Bearish gap deleted when `High >= gapTop` (gap filled).
* **Gap Ranking Table**
* Shows **nearest** gaps to the current price, sorted by distance.
* Separate bear and bull gap lists, each limited to `maxBearRows` & `maxBullRows`.
* Displays type, gap size, gap %, high, and low.
* Uses the current chart timeframe in the title.
* **Multi-Timeframe Safe Handling**
* Uses `request.security()` to fetch OHLC for the active timeframe.
* Includes a function to translate timeframe into human-readable labels.
---
## **2. User Functionality**
From a trader’s perspective, here’s what your script allows:
Setting window divided into Two Parts for Better Handling normal & Table Section
✅ Functionality to Hide and Show_Gap_Tbl.
✅ **Detects and visually marks price gaps** automatically on any timeframe.
✅ **Extends gap zones** forward until price fills them.
✅ **Separates bullish and bearish gaps** for better decision-making.
✅ **Custom filtering** (minimum size, display toggles, table layout).
✅ **Gap watchlist table** showing only the nearest & most relevant gaps to current price.
✅ **Multi-timeframe compatibility** without repainting issues.
✅ **Clean chart control** with `max_labels_count` & `max_lines_count` limits to prevent overload.
✅ **Clean Tooltip control** with `Gap High` & `Gap Low` & Gap Range Points for Quick Understanding.
---
## **3. Why Gaps Are Important in Trading (Runaway vs. Normal Gaps)**
Gaps in price are **areas with no trading activity** between two consecutive bars. They represent **imbalances between supply and demand** and often occur due to overnight news, earnings, or strong market sentiment.
### **A. Normal (Common) Gaps**
* Appear in normal market moves.
* Often get “filled” quickly as price reverts to the mean.
* Not usually linked to major trends.
* Example: A small gap on a 5-min chart due to sudden but minor news.
### **B. Runaway (Continuation) Gaps**
* Happen **in the middle of strong trends** (uptrend or downtrend).
* Indicate **momentum acceleration** — institutions are aggressively entering.
* Rarely get filled in the short term.
* Example: During a bull rally, price gaps up and never comes back to retest.
---
### **Why Traders Watch Gaps**
1. **Support & Resistance Zones**
* Gaps act like **magnets** for price (gap fill targets) or **barriers** (price rejection).
2. **Trend Confirmation**
* Runaway gaps signal strong momentum; traders may enter in the direction of the gap.
3. **Trade Setup Opportunities**
* Fade the gap: Trade against it if expecting a fill.
* Follow the gap: Trade with it if expecting continuation.
4. **Volume Confirmation**
* High volume + gap = institutional activity → higher reliability.
🤖 Advanced Market Predictor ML (FRD/FGD/3D) + News Sentimentshowcases market segments, stop hunts and trends in the market
🤖 Advanced Market Predictor ML (FRD/FGD/3D) + News Sentimentdetects stop hunts and detects volumes within the market
Bar Counts ProThis indicator counts and labels price bars within user-defined trading sessions.
It supports customizable sessions (Asia, Europe, US, or custom) with independent time zones, automatic session-based text coloring, and optional background shading for each market.
Opening and closing markers are plotted for each major session, and bar counts are displayed at a user-defined interval.
Useful for intraday traders tracking bar progress within specific time windows.
xmtr's session highs/lowsMarks Asia & London session highs/lows with precision + PDH/PDL for daily context. Fully customizable & perfect for all traders.
Pro Maker Prev Month Wick High/LowThis indicator plots the exact Previous Month’s Wick High & Wick Low on the chart.
Levels are fixed across all timeframes (M1 to M).
High/Low lines start exactly from the first bar of the previous month and extend to the right.
Perfect for identifying important swing points and supply/demand zones.
Features:
Auto-updates at the start of a new month.
Works on any symbol & any timeframe.
Clean dotted-line visuals with color-coded High (Red) & Low (Green).
Use case:
Quickly see where the previous month’s extreme levels were.
Combine with price action or breakout strategies for higher accuracy.
5% Canary (per Thrasher) Implements Thrasher’s framework using closing prices and simple, non-optimized thresholds. The study watches for the first 5% decline from the latest 52-week closing high and classifies it:
• 5% Canary: drop occurs in ≤ 15 trading days.
• Confirmed 5% Canary: within 42 trading days of a Canary, there are two consecutive closes below the 200-DMA.
• Buy-the-Dip: the first 5% decline takes > 15 days and 50-DMA > 200-DMA (uptrend).
Includes optional 50/200-DMA plots, clutter-reduction, and alert conditions. This is a signal framework, not a standalone system—pair with your own risk management.
Weakening Selling Pressure FinderDescription:
This indicator helps traders identify potential trend reversals by detecting when selling pressure is weakening.
It uses the MACD histogram to spot moments when bearish momentum is still present but fading — a condition that often precedes a shift to bullish sentiment.
The indicator:
Highlights points where the MACD histogram is negative but rising
Marks these spots with a 📈 label for easy chart scanning
Works on any crypto pair and timeframe
Traders can use it to:
Spot early reversal setups before the crowd reacts
Time entries for potential trend changes
Complement other indicators like RSI, AO, or price action
This is a momentum shift detection tool — perfect for swing traders, scalpers, or anyone looking for early bullish signals after extended selling pressure.
Nifty50 Swing Trading Super Indicator# 🚀 Nifty50 Swing Trading Super Indicator - Complete Guide
**Created by:** Gaurav
**Date:** August 8, 2025
**Version:** 1.0 - Optimized for Indian Markets
---
## 📋 Table of Contents
1. (#quick-start-guide)
2. (#indicator-overview)
3. (#installation-instructions)
4. (#parameter-settings)
5. (#signal-interpretation)
6. (#trading-strategy)
7. (#risk-management)
8. (#optimization-tips)
9. (#troubleshooting)
---
## 🎯 Quick Start Guide
### What You Get
✅ **2 Complete Pine Script Indicators:**
- `swing_trading_super_indicator.pine` - Universal version for all markets
- `nifty_optimized_super_indicator.pine` - Specifically optimized for Nifty50 & Indian stocks
✅ **Key Features:**
- Multi-component signal confirmation system
- Optimized for daily and 3-hour timeframes
- Built-in risk management with dynamic stops and targets
- Real-time signal strength monitoring
- Gap analysis for Indian market characteristics
### Immediate Setup
1. Copy the Pine Script code from `nifty_optimized_super_indicator.pine`
2. Paste into TradingView Pine Editor
3. Add to chart on daily or 3-hour timeframe
4. Look for 🚀BUY and 🔻SELL signals
5. Use the information table for signal confirmation
---
## 🔍 Indicator Overview
### Core Components Integration
**🎯 Range Filter (35% Weight)**
- Primary trend identification using adaptive volatility filtering
- Optimized sampling period: 21 bars for Indian market volatility
- Enhanced range multiplier: 3.0 to handle market gaps
- Provides trend direction and strength measurement
**⚡ PMAX (30% Weight)**
- Volatility-adjusted trend confirmation using ATR-based calculations
- Dynamic multiplier adjustment based on market volatility
- 14-period ATR with 2.5 multiplier for swing trading sensitivity
- Offers trailing stop functionality
**🏗️ Support/Resistance (20% Weight)**
- Dynamic level identification using pivot point analysis
- Tighter channel width (3%) for precise Indian market levels
- Enhanced strength calculation with historical interaction weighting
- Provides entry/exit timing and breakout signals
**📊 EMA Alignment (15% Weight)**
- Multi-timeframe moving average confirmation
- Key EMAs: 9, 21, 50, 200 (popular in Indian markets)
- Hierarchical alignment scoring for trend strength
- Additional trend validation layer
### Advanced Features
**🌅 Gap Analysis**
- Automatic detection of significant price gaps (>2%)
- Gap strength measurement and impact on signals
- Specific optimization for Indian market overnight gaps
- Visual gap markers on chart
**⏰ Multi-Timeframe Integration**
- Higher timeframe bias from daily/weekly data
- Configurable daily bias weight (default 70%)
- 3-hour confirmation for precise entry timing
- Prevents counter-trend trades against major timeframe
**🛡️ Risk Management**
- Dynamic stop-loss calculation using multiple methods
- Automatic profit target identification
- Position sizing guidance based on signal strength
- Anti-whipsaw logic to prevent false signals
---
## 📥 Installation Instructions
### Step 1: Access TradingView
1. Open TradingView.com
2. Navigate to Pine Editor (bottom panel)
3. Create a new indicator
### Step 2: Copy the Code
**For Nifty50 & Indian Stocks (Recommended):**
```pinescript
// Copy entire content from nifty_optimized_super_indicator.pine
```
**For Universal Use:**
```pinescript
// Copy entire content from swing_trading_super_indicator.pine
```
### Step 3: Configure and Apply
1. Click "Add to Chart"
2. Select daily or 3-hour timeframe
3. Adjust parameters if needed (defaults are optimized)
4. Enable alerts for signal notifications
### Step 4: Verify Installation
- Check that all components are visible
- Confirm information table appears in top-right
- Test with known trending stocks for signal validation
---
## ⚙️ Parameter Settings
### 🎯 Range Filter Settings
```
Sampling Period: 21 (optimized for Indian market volatility)
Range Multiplier: 3.0 (handles overnight gaps effectively)
Source: Close (most reliable for swing trading)
```
### ⚡ PMAX Settings
```
ATR Length: 14 (standard for daily/3H timeframes)
ATR Multiplier: 2.5 (balanced for swing trading sensitivity)
Moving Average Type: EMA (responsive to price changes)
MA Length: 14 (matches ATR period for consistency)
```
### 🏗️ Support/Resistance Settings
```
Pivot Period: 8 (shorter for Indian market dynamics)
Channel Width: 3% (tighter for precise levels)
Minimum Strength: 3 (higher quality levels only)
Maximum Levels: 4 (focus on strongest levels)
Lookback Period: 150 (sufficient historical data)
```
### 🚀 Super Indicator Settings
```
Signal Sensitivity: 0.65 (balanced for swing trading)
Trend Strength Requirement: 0.75 (high quality signals)
Gap Threshold: 2.0% (significant gap detection)
Daily Bias Weight: 0.7 (strong higher timeframe influence)
```
### 🎨 Display Options
```
Show Range Filter: ✅ (trend visualization)
Show PMAX: ✅ (trailing stops)
Show S/R Levels: ✅ (key price levels)
Show Key EMAs: ✅ (trend confirmation)
Show Signals: ✅ (buy/sell alerts)
Show Trend Background: ✅ (visual trend state)
Show Gap Markers: ✅ (gap identification)
```
---
## 📊 Signal Interpretation
### 🚀 BUY Signals
**Requirements for BUY Signal:**
- Price above Range Filter with upward trend
- PMAX showing bullish direction (MA > PMAX line)
- Support/resistance breakout or favorable positioning
- EMA alignment supporting upward movement
- Higher timeframe bias confirmation
- Overall signal strength > 75%
**Signal Strength Indicators:**
- **90-100%:** Extremely strong - Maximum position size
- **80-89%:** Very strong - Large position size
- **75-79%:** Strong - Standard position size
- **65-74%:** Moderate - Reduced position size
- **<65%:** Weak - Wait for better opportunity
### 🔻 SELL Signals
**Requirements for SELL Signal:**
- Price below Range Filter with downward trend
- PMAX showing bearish direction (MA < PMAX line)
- Resistance breakdown or unfavorable positioning
- EMA alignment supporting downward movement
- Higher timeframe bias confirmation
- Overall signal strength > 75%
### ⚖️ NEUTRAL Signals
**Characteristics:**
- Conflicting signals between components
- Low overall signal strength (<65%)
- Range-bound market conditions
- Wait for clearer directional bias
### 📈 Information Table Guide
**Component Status:**
- **BULL/BEAR:** Current signal direction
- **Strength %:** Component contribution strength
- **Status:** Additional context (STRONG/WEAK/ACTIVE/etc.)
**Overall Signal:**
- **🚀 STRONG BUY:** All systems aligned bullish
- **🔻 STRONG SELL:** All systems aligned bearish
- **⚖️ NEUTRAL:** Mixed or weak signals
---
## 💼 Trading Strategy
### Daily Timeframe Strategy
**Setup:**
1. Apply indicator to daily chart of Nifty50 or Indian stocks
2. Wait for 🚀BUY or 🔻SELL signal with >75% strength
3. Confirm higher timeframe bias alignment
4. Check for significant support/resistance levels
**Entry:**
- Enter on signal bar close or next bar open
- Use 3-hour chart for precise entry timing
- Avoid entries during major news events
- Consider gap analysis for overnight positions
**Position Sizing:**
- **>90% Strength:** 3-4% of portfolio
- **80-89% Strength:** 2-3% of portfolio
- **75-79% Strength:** 1-2% of portfolio
- **<75% Strength:** Avoid or minimal size
### 3-Hour Timeframe Strategy
**Setup:**
1. Confirm daily timeframe bias first
2. Apply indicator to 3-hour chart
3. Look for signals aligned with daily trend
4. Use for entry/exit timing optimization
**Entry Refinement:**
- Wait for 3H signal confirmation
- Enter on pullbacks to key levels
- Use tighter stops for better risk/reward
- Monitor intraday support/resistance
### Risk Management Rules
**Stop Loss Placement:**
1. **Primary:** Use indicator's dynamic stop level
2. **Secondary:** Below/above nearest support/resistance
3. **Maximum:** 2-3% of portfolio per trade
4. **Trailing:** Move stops with PMAX line
**Profit Taking:**
1. **Target 1:** First resistance/support level (50% position)
2. **Target 2:** Second resistance/support level (30% position)
3. **Runner:** Trail remaining 20% with PMAX
**Position Management:**
- Review positions at daily close
- Adjust stops based on new signals
- Exit if trend changes to opposite direction
- Reduce size during high volatility periods
---
## 🎯 Optimization Tips
### For Nifty50 Trading
- Use daily timeframe for primary signals
- Monitor sector rotation impact
- Consider index futures for better liquidity
- Watch for RBI policy and global cues impact
### For Individual Stocks
- Verify stock follows Nifty correlation
- Check sector-specific news and events
- Ensure adequate liquidity for position size
- Monitor earnings calendar for volatility
### Market Condition Adaptations
**Trending Markets:**
- Increase position sizes for strong signals
- Use wider stops to avoid whipsaws
- Focus on trend continuation signals
- Reduce counter-trend trading
**Range-Bound Markets:**
- Reduce position sizes
- Use tighter stops and quicker profits
- Focus on support/resistance bounces
- Increase signal strength requirements
**High Volatility Periods:**
- Reduce overall exposure
- Use smaller position sizes
- Increase stop-loss distances
- Wait for clearer signals
### Performance Monitoring
- Track win rate and average profit/loss
- Monitor signal quality over time
- Adjust parameters based on market changes
- Keep trading journal for pattern recognition
---
## 🔧 Troubleshooting
### Common Issues
**Q: Signals appear too frequently**
A: Increase "Trend Strength Requirement" to 0.8-0.9
**Q: Missing obvious trends**
A: Decrease "Signal Sensitivity" to 0.5-0.6
**Q: Too many false signals**
A: Enable "3H Confirmation" and increase strength requirements
**Q: Indicator not loading**
A: Check Pine Script version compatibility (requires v5)
### Parameter Adjustments
**For More Sensitive Signals:**
- Decrease Signal Sensitivity to 0.5-0.6
- Decrease Trend Strength Requirement to 0.6-0.7
- Increase Range Filter multiplier to 3.5-4.0
**For More Conservative Signals:**
- Increase Signal Sensitivity to 0.7-0.8
- Increase Trend Strength Requirement to 0.8-0.9
- Enable all confirmation features
### Performance Issues
- Reduce lookback periods if chart loads slowly
- Disable some visual elements for better performance
- Use on liquid stocks/indices for best results
---
## 📞 Support & Updates
This super indicator combines the best of Range Filter, PMAX, and Support/Resistance analysis specifically optimized for Indian market swing trading. The multi-component approach significantly improves signal quality while the built-in risk management features help protect capital.
**Remember:** No indicator is 100% accurate. Always combine with proper risk management, market analysis, and your trading experience for best results.
**Happy Trading! 🚀**
Candlestick Suite–(Phoenix) it colors the major Reversal candlesticks
BullEngulf or BearEngulf or Engulfing() -> DARK_ORANGE
PiercingLine or DarkCloudCover -> CYAN
BullishHarami or BearishHarami -> YELLOW
BullishInsideBar or BearishInsideBar -> WHITE
📱 Mobile EMA + V2L5 (edegrano)User Manual: Mobile EMA + V2 (edegrano)
Overview
This TradingView indicator combines EMA bias analysis and multi-timeframe linear regression trendlines with key crossover signals, displayed both on the chart and summarized in a colour-coded table for quick decision-making on mobile devices or desktops.
Inputs
Input Name Description Default
Custom EMA Timeframe Timeframe used to calculate EMA 50, 100, 200 "1" (1m)
Show EMAs on Chart Toggle to plot EMAs (50-blue, 100-black, 200-red) true
Linear Regression Length Period length for linear regression trendlines 20
Show EMA 50 > EMA 200 Bias Show EMA bias row in the table (Bullish/Bearish) true
Show Trendline Slope Bias Show trendline slope bias row in the table true
Price Distance % from Cross Percentage distance used to calculate above/below cross prices in table 2.0
What It Shows
On Chart:
EMA 50 (blue), EMA 100 (black), EMA 200 (red) lines
Vertical lines at EMA 50/200 crossover bars (blue for bullish, red for bearish)
Labels “Bull Cross” or “Bear Cross” on crossover bars
Signal dots (up to 3 consecutive strong buy or sell signals)
Table (bottom-left corner):
Row Description
EMA 50 > EMA 200 Bullish if EMA 50 is above EMA 200, Bearish otherwise (colored green/red text)
Trendline slope Bullish if all 1m, 3m, 5m regression slopes are up, Bearish if all down, Neutral otherwise (green/red/gray text)
Last EMA Cross Price Price where EMA 50 and EMA 200 last crossed (light blue text)
+% Above Cross Price percentage above last EMA cross price (dark orange text)
-% Below Cross Price percentage below last EMA cross price (red text)
Final Suggestion Overall signal: “Strong Buy 💎”, “Strong Sell 💎”, or “Mixed / Neutral” with green/red/gray background
How To Use
Set your preferred timeframe for EMA calculations using the Custom EMA Timeframe input. The default is 1 minute.
Enable or disable EMAs and table rows as you prefer with toggles.
Watch the table for quick bias and trend signals with color-coded text for easy interpretation.
Use the Last EMA Cross Price and the above/below percentage price points to identify key levels for entries, stops, or take profits.
Monitor the chart for EMA crossover vertical lines and labels to confirm signals visually.
Strong Buy or Sell dots indicate good entry opportunities — limited to 3 per consecutive trend.
Tips
Adjust the Price Distance % input to increase/decrease sensitivity of above/below price levels.
Combine this indicator with volume, price action, or other tools for best results.
Use on mobile or desktop with the compact table to stay informed without clutter.
50 SMA 5-Candle Crossovercatching the cycle using very simple method. at your descrtion.
must know what you are doing.
this will work if you do not follow bindly.
3-Phase ORB Logic: Break, Retest, ConfirmWhat it is
A state-driven Opening Range framework that sequences Break → Retest → Confirm . It does not just draw ORB lines or tag any breakout; it tracks explicit state transitions with timing and tolerance to filter noise.
How it works (method & originality)
Break: After your ORB window, a valid break requires the prior close to be inside the range and the new close to be outside the ORB high/low (prevents slow drift).
Retest (configurable): Price must revisit the ORB edge within a tolerance band you define by % of the ORB range or a fixed price . Controls include Retest Side (Inside / Outside / Either), Proximity (Touch / Near), Basis (Close / Wick), and optional Cap Outside (limit far-outside closes). Retest must occur within a Max Bars window; same-bar Break→Retest is optional.
Confirm: A later bar must break beyond the max/min of the break + retest reference within Max Bars (or the same bar if enabled). Confirmation can be based on Wick , Close (same-bar only) , or Close (always) for stricter behavior.
Engine details: Per-bar state resets, explicit bar indexing for Break/Retest/Confirm, dual tolerance modes (percent or price), inside/outside/either logic, selectable wick/close handling, optional same-bar paths, and projected ORB lines. This is a sequence-and-tolerance framework, not a simple ORB level plotter.
Inputs
Session: ORB Session window
Tolerance: Mode (Percent or Price) + value
Retest controls: Retest Side (Inside/Outside/Either), Proximity (Touch/Near), Basis (Close/Wick), Cap Outside (on/off)
Timing: Max Bars for Retest, Max Bars for Confirm, Allow same-bar Break→Retest, Allow same-bar Retest→Confirm
Confirmation: Confirm Basis (Wick / Close same-bar only / Close always)
Display: Plot shapes or hide markers; ORB line projection length (bars)
Presets: Classic ORB (Outside • Touch • Close • 20%), Inside Touch (Close • 10%), Either Near (Wick • 15%), or Custom
How to use
Set the ORB session (e.g., 09:30–09:45).
Choose a Preset or use Custom and configure: Tolerance Mode/value, Retest Side/Proximity/Basis, optional Cap Outside.
Set Max Bars for Retest/Confirm and pick Confirm Basis (Wick or Close).
After a Break, wait for a valid Retest within your tolerance window, then a Confirm within the allowed bars.
Act after Confirm (or enable same-bar options if you allow them).
(Optional) Enable alerts for Break / Retest / Confirm; extend ORB lines forward for context.
Marker legend
Triangle = Break , X = Retest , Circle = Confirm (Up = long side, Down = short side.)
When signals reset or expire
Retest timeout: If Retest doesn’t occur within Max Bars , the sequence resets to Break-wait.
Confirm timeout: If Confirm doesn’t occur within Max Bars after Retest, the sequence resets.
Invalidation: With Inside retest, a move too far back inside (beyond tolerance) resets. With Outside retest and Cap Outside ON, a move too far outside (beyond tolerance) resets.
Re-entry into the range during the sequence can reset depending on your side/tolerance settings.
Non-repainting behavior
Logic evaluates bar-by-bar with explicit state resets. For stricter confirmation, select Confirm Basis = Close (always) .
Practical notes
Works on any timeframe. Match Percent tolerance to instrument volatility or use Price for fixed-tick products. Alerts are provided for each phase. The screenshot shows a full Break → Retest → Confirm sequence with only this script applied.
Bearish Breakaway-Publish-FVG concept
This indicator tracks the intraday RTH (Regular Trading Hours) high in the bearish direction to identify breakaway candles based on the Fair Value Gap (FVG) and gap breakout concept. By default, the session runs from 9:30 AM to 5:00 PM EST, but the start time can be adjusted to track other sessions such as ETH beginning at 6:00 PM.
At the start of the session, the first candle is always considered the initial intraday high. This candle becomes the anchor, and the indicator continuously updates it whenever a new intraday high is made. A bearish breakaway occurs when a candle’s high is lower than the low of the current anchor candle, creating a gap between them. This first breakaway candle is marked with a red arrow. After the first breakaway, the indicator continues to look for additional breakaways in the bearish direction, each based on the most recent breakaway candle.
If a new intraday high is formed after a breakaway candle has appeared, the anchor is reset to this new high, all previous breakaway markers are removed, and the search starts over. The high and low of the most recent breakaway candle are drawn as horizontal rays, which can act as potential resistance or support depending on the trader’s bias.
You can backtest this indicator using TradingView’s Bar Replay feature to watch the resetting process as new intraday highs are made. Because the first candle of the session is always the first intraday high, the reset behavior is easy to observe in replay mode.
Timeframe recommendations: This tool works best on 1-minute, 5-minute, 15-minute, and 30-minute charts.
Trading tips:
• At the market open, always identify the first bearish breakaway candle.
• Once the intraday high stabilizes, a bearish run may follow — the first breakaway candle often marks the start of this move.
• To trade reversals from a bearish trend, watch for a bullish breakaway candle using the bullish companion indicator.
• If the daily trend is bullish, you will often see the intraday high reset many times — this is a sign to favor bullish trades.
• If trading reversals against the prevailing trend, use the breakaway candle as your signal for potential entry.
Bullish Breakaway-Publish
This indicator tracks the intraday RTH (Regular Trading Hours) low in the bullish direction to identify breakaway candles based on the Fair Value Gap (FVG) and gap breakout concept. By default, the session runs from 9:30 AM to 5:00 PM EST, but the start time can be adjusted to track other sessions such as ETH beginning at 6:00 PM.
At the start of the session, the first candle is always considered the initial intraday low. This candle becomes the anchor, and the indicator continuously updates it whenever a new intraday low is made. A bullish breakaway occurs when a candle’s low is higher than the high of the current anchor candle, creating a gap between them. This first breakaway candle is marked with a green arrow. After the first breakaway, the indicator continues to look for additional breakaways in the bullish direction, each based on the most recent breakaway candle.
If a new intraday low is formed after a breakaway candle has appeared, the anchor is reset to this new low, all previous breakaway markers are removed, and the search starts over. The high and low of the most recent breakaway candle are drawn as horizontal rays, which can act as potential support or resistance depending on the trader’s bias.
You can backtest this indicator using TradingView’s Bar Replay feature to watch the resetting process as new intraday lows are made. Because the first candle of the session is always the first intraday low, the reset behavior is easy to observe in replay mode.
Timeframe recommendations: This tool works best on 1-minute, 5-minute, 15-minute, and 30-minute charts.
Trading tips:
• At the market open, always identify the first breakaway candle.
• Once the intraday low stabilizes, a bullish run may follow — the first breakaway candle often marks the start of this move.
• To trade reversals from a bullish trend, watch for a bearish breakaway candle using the bearish companion indicator.
• If the daily trend is bearish, you will often see the intraday low reset many times — this is a sign to favor bearish trades.
• If trading reversals against the prevailing trend, use the breakaway candle as your signal for potential entry.
You should always trade in the daily trend direction and this indicator will give you the footprint of the daily trend as they are the breakaway candle.
Double EMA & SMAThis indicator plots two Exponential Moving Averages (EMAs) and one Simple Moving Average (SMA) directly on the price chart to help identify market trends and momentum shifts.
By default, it displays:
• EMA 1 (10-period) – short-term trend
• EMA 2 (20-period) – medium-term trend
• SMA (50-period) – broader trend baseline
The combination allows traders to quickly spot trend direction, potential reversal points, and areas of dynamic support or resistance. Suitable for scalping, swing trading, and longer-term analysis across any market.
PBR Strategy Assistant Gold.D FingerGold.D Finger Strategy. This indicator gives an overview of my first strategies with several confluences. I just wanted to test what it would look like in this format, but it does not exactly match the one I actually use.
EMA band 12/60/150/200EMA band consisting of 12/60/150/200
Specifically for Indian stock market, can be used for other trading scripts after testing.
Best use case : on Daily TF.
Bull run entry criteria, Not bear market or Bottom catching.
📱 Mobile EMA + Trendline Bias (edegrano)📱 Mobile EMA + Trendline Bias (edegrano) — User Manual
What It Does
This indicator helps you spot strong bullish or bearish trends by combining:
EMA Bias: Using the relationship between EMA 50 and EMA 200 on your chosen timeframe.
Trendline Slope Bias: Using linear regression trendlines on fixed 1-minute, 3-minute, and 5-minute charts.
Signal Dots: Visual buy/sell signals limited to the first 3 occurrences after the last opposite signal to avoid noise.
Summary Table: Shows the current trend bias and final suggestion.
EMA Plots: Shows EMA 50, EMA 100, and EMA 200 lines on your chart.
Tag Label: Displays a small signature tag “📱 edegrano Mobile” on the chart.
Inputs
Input Name Description Default Notes
Custom EMA Timeframe (userTF) Timeframe used to calculate EMAs "1" (1 min) Choose your preferred timeframe (e.g., 1, 3, 5, 15, 60 minutes, etc.)
Show EMAs on Chart (showEMA) Toggle EMA lines visibility true Show or hide EMA 50, 100, and 200 lines
Linear Regression Length (regLen) Length of bars used in regression 20 Adjusts sensitivity of regression trendlines (lower = more responsive)
Show EMA Bias Row (showRowEMA50) Show/hide EMA bias row in the table true Display the EMA 50 > EMA 200 bias status in table
Show Trendline Bias Row (showRowTrend) Show/hide trendline slope row in table true Display the trendline slope bias status in table
How to Use
Set Your Timeframe:
Choose the timeframe for EMA calculations (userTF) depending on your trading style.
Scalpers might use 1-5 minute charts.
Day traders might choose 5-30 minutes.
Swing traders could go 1 hour or more.
Watch the EMA Lines:
EMA 50 (blue), EMA 100 (black), and EMA 200 (red) are plotted on your chart.
These lines help you visualize trend direction and momentum.
Understand the Bias Conditions:
EMA Bias:
Bullish: EMA 50 > EMA 200
Bearish: EMA 50 < EMA 200
Trendline Slope Bias:
Calculated on fixed 1m, 3m, and 5m charts.
Bullish if slope of all 3 regression lines is up (current value > previous).
Bearish if slope of all 3 regression lines is down.
Look for Signal Dots:
Green (lime) dots below bars: Strong Buy signals (first 3 occurrences only after last sell).
Red dots above bars: Strong Sell signals (first 3 occurrences only after last buy).
This limitation helps reduce noise from too many signals.
Check the Table (Bottom Left):
Shows EMA bias and trendline slope status.
Displays overall final suggestion:
Strong Buy 💎
Strong Sell 💎
Mixed / Neutral
Tag Label:
A small label "📱 edegrano Mobile" appears on the chart for easy identification.
Tips & Best Practices
Adjust Regression Length (regLen):
Lower values (e.g., 15-20) react faster but may generate false signals.
Higher values (30-50) smooth noise but react slower — better for longer-term trades.
Combine with Other Indicators:
Use volume, candlestick patterns, or support/resistance to confirm signals.
Don’t Trade Against the Signal:
Avoid entering buy trades during a “Strong Sell” phase and vice versa.
Monitor Multiple Timeframes:
Consider confirming trends on higher timeframes.
Parameter Suggestions by Trading Style
Style EMA Timeframe Regression Length (regLen)
Scalping 1 min 15 - 20
Day Trading 5 - 15 min 20 - 30
Swing Trading 1 hour or higher 30 - 50
Position Trading 4 hour, Daily, Weekly 50 - 100