Heiken Ashi Supertrend ATR-SL StrategyThis indicator combines Heikin Ashi candle pattern analysis with Supertrend to generate high-probability trading signals with built-in risk management. It identifies potential entries and exits based on specific Heikin Ashi candlestick formations while providing automated ATR-based stop loss management.
Trading Logic:
The system generates long signals when a green Heikin Ashi candle forms with no bottom wick (indicating strong bullish momentum). Short signals appear when a red Heikin Ashi candle forms with no top wick (showing strong bearish momentum). The absence of wicks on these candles signals a high-conviction market move in the respective direction.
Exit signals are triggered when:
1. An opposite pattern forms (red candle with no top wick exits longs; green candle with no bottom wick exits shorts)
2. The ATR-based stop loss is hit
3. The break-even stop is activated and then hit
Technical Approach:
- Select Heiken Ashi Canldes on your Trading View chart. Entried are based on HA prices.
- Supertrend and ATR-based stop losses use real price data (not HA values) for trend determination
- ATR-based stop losses automatically adjust to market volatility
- Break-even functionality moves the stop to entry price once price moves a specified ATR multiple in your favor
Risk Management:
- Default starting capital: 1000 units
- Default risk per trade: 10% of equity (customizable in strategy settings)
- Hard Stop Loss: Set ATR multiplier (default: 2.0) for automatic stop placement
- Break Even: Configure ATR threshold (default: 1.0) to activate break-even stops
- Appropriate position sizing relative to equity and stop distance
Customization Options:
- Supertrend Settings:
- Enable/disable Supertrend filtering (trade only in confirmed trend direction)
- Adjust Factor (default: 3.0) to change sensitivity
- Modify ATR Period (default: 10) to adapt to different timeframes
Visual Elements:
- Green triangles for long entries, blue triangles for short entries
- X-marks for exits and stop loss hits
- Color-coded position background (green for long, blue for short)
- Clearly visible stop loss lines (red for hard stop, white for break-even)
- Comprehensive position information label with entry price and stop details
Implementation Notes:
The indicator tracks positions internally and maintains state across bars to properly manage stop levels. All calculations use confirmed bars only, with no repainting or lookahead bias. The system is designed for swing trading on timeframes from 1-hour and above, where Heikin Ashi patterns tend to be more reliable.
This indicator is best suited for traders looking to combine the pattern recognition strengths of Heikin Ashi candles with the trend-following capabilities of Supertrend, all while maintaining disciplined risk management through automated stops.
Candlestick analysis
Bias TableOverview
The Bias Table Indicator is a multi-timeframe analysis tool designed to provide a quick sentiment overview across multiple timeframes. It combines signals from Moving Averages (MAs) and Oscillators to determine market bias, helping traders make more informed decisions.
Key Features
✔ Multi-Timeframe Analysis (MTF) – Displays market bias across up to five timeframes.
✔ Customizable Signals – Choose whether bias is based on Moving Averages (MAs), Oscillators, or a combination of both.
✔ Visual Table Format – The indicator presents the bias as a color-coded table in the bottom-right corner of the chart for quick reference.
✔ Adjustable Colors & Display Settings – Users can customize colors for different sentiment states (Strong Buy, Buy, Neutral, Sell, Strong Sell).
How It Works
Bias Calculation: The indicator evaluates market conditions using preset values (which can be replaced with actual logic) to determine sentiment for each timeframe.
Multi-Timeframe Support: The table can display bias from hourly to monthly timeframes, giving traders a broader view of market conditions.
Customizable Signals: Users can filter the table to show bias based only on MAs, Oscillators, or a combination of both.
Interpreting the Table
📊 Timeframes: The leftmost column shows selected timeframes (e.g., 1H, 4H, 1D, 1W, 1M).
📈 Signal Columns:
MAs – Bias based on Moving Averages.
Oscillators – Bias based on momentum indicators like RSI, Stochastics, etc.
All – A combined bias based on both MAs & Oscillators.
🚦 Color-Coded Ratings:
🔵 Strong Buy – High bullish strength.
🔹 Buy – Moderate bullish sentiment.
⚪ Neutral – No clear trend.
🔸 Sell – Moderate bearish sentiment.
🔴 Strong Sell – High bearish strength.
Best Used For:
📈 Trend Confirmation: Validate signals from your primary strategy.
⏳ Multi-Timeframe Analysis: See whether short-term and long-term trends align.
⚡ Quick Sentiment Check: Get a high-level view of market conditions without analyzing multiple indicators separately.
Customization Options:
Select which timeframes to include in the table.
Choose whether to base bias on MAs, Oscillators, or both.
Adjust colors for each signal type.
Clean OHLC Lines | BaksPlots clean, non-repainting OHLC lines from higher timeframes onto your chart. Ideal for tracking key price levels (open, high, low, close) with precision and minimal clutter.
Core Functionality
Clean OHLC Lines = Historical Levels + Non-Repainting Logic
• Uses lookahead=on to anchor historical lines, ensuring no repainting.
• Displays OHLC lines for customizable timeframes (15min to Monthly).
• Optional candlestick boxes for visual context.
Key Features
• Multi-Timeframe OHLC:
Plot lines from 15min, 30min, 1H, 4H, Daily, Weekly, or Monthly timeframes.
• Non-Repainting Logic:
Historical lines remain static and never recalculate.
• Customizable Styles:
Adjust colors, line widths (1px-4px), and transparency for high/low/open/close lines.
• Candle Display:
Toggle candlestick boxes with bull/bear colors and adjustable borders.
• Past Lines Limit:
Control how many historical lines are displayed (1-500 bars).
User Inputs
• Timeframe:
Select the OHLC timeframe (e.g., "D" for daily).
• # Past Lines:
Limit historical lines to avoid overcrowding (default: 10).
• H/L Mode:
Draw high/low lines from the current or previous period.
• O/C Mode:
Anchor open/close lines to today’s open or yesterday’s close.
• Line Styles:
Customize colors, transparency, and styles (solid/dotted/dashed).
• Candle Display:
Toggle boxes/wicks and adjust bull/bear colors.
Important Notes
⚠️ Alignment:
• Monthly/weekly timeframes use fixed approximations (30d/7d).
• For accuracy, ensure your chart’s timeframe ≤ the selected OHLC timeframe (e.g., use 1H chart for daily lines).
⚠️ Performance:
• Reduce # Past Lines on low-end devices for smoother performance.
Risk Disclaimer
Trading involves risk. OHLC lines reflect historical price levels and do not predict future behavior. Use with other tools and risk management.
Open-Source Notice
This script is open-source under the Mozilla Public License 2.0. Modify or improve it freely, but republishing must follow TradingView’s House Rules.
📈 Happy trading!
Pivot Point Calculator PPC V2 by [KhedrFx]📈 Trade Smarter with the Pivot Point Calculator (PPC) by KhedrFx
Want to spot key price levels and make better trading decisions? The Pivot Point Calculator (PPC) by KhedrFx is your go-to TradingView tool for identifying potential support and resistance zones. Whether you’re a Scalper trader, day trader, swing trader, or long-term investor, this script helps you plan precise entries and exits with confidence.
🔹 How to Use Pivot Points in Trading
📊 Step 1: Identify Key Levels
The PPC automatically plots:
Pivot Point (P): The main level where sentiment shifts between bullish and bearish.
Support Levels (S1, S2, S3): Areas where price may bounce higher.
Resistance Levels (R1, R2, R3): Areas where price may face selling pressure.
These levels act as dynamic price zones, helping you anticipate potential market movements.
🔥 Step 2: Choose Your Trading Strategy
1️⃣ Breakout Trading
Buy when the price breaks above the pivot point (P) with strong momentum.
Sell when the price drops below the pivot point (P) with strong momentum.
Use R1, R2, or R3 as profit targets in an uptrend and S1, S2, or S3 in a downtrend.
2️⃣ Reversal (Bounce) Trading
Buy when the price pulls back to S1, S2, or S3 and shows bullish confirmation (e.g., candlestick patterns like a bullish engulfing or hammer).
Sell when the price rallies to R1, R2, or R3 and shows bearish confirmation (e.g., rejection wicks or a bearish engulfing pattern).
🎯 Step 3: Set Smart Stop-Loss & Take-Profit Levels
Stop-Loss: Place it slightly below support (for buy trades) or above resistance (for sell trades).
Take-Profit: Use the next pivot level as a target.
Extreme Zones: R3 and S3 often signal strong reversals or breakouts—watch them closely!
🚀 How to Get Started
1️⃣ Add the PPC script to your TradingView chart.
2️⃣ Choose a timeframe that fits your strategy (5m, 15m, 30m, 1H, 4H, Daily, or Weekly).
3️⃣ Use the pivot points and support/resistance levels to fine-tune your trade entries, exits, and risk management.
⚠️ Trade Responsibly
This tool helps you analyze the market, but it’s not a guarantee of profits. Always do your own research, manage risk, and trade with caution.
💡 Ready to take your trading to the next level? Try the Pivot Point Calculator (PPC) by KhedrFx and start trading with confidence today! 🚀
Exact High/Low IndicatorThis indicator identifies exact equal highs and lows between consecutive candles. If the current candle’s high matches the previous candle’s high (or low matches low), an arrow is plotted on the chart. The arrows disappear if any future candle break the identified high/low, thereby indicating that it is not an unmitigated liquidity pool any longer
Customizable options include:
Arrow size and color
Line thickness and color
Enable/disable plotting of arrows and lines
Offset the arrow so there is space between arrow and candle
Diamond PatternDiamond Pattern Indicator
This indicator is designed to detect the Diamond Pattern, a technical formation that often signals potential trend reversals. The diamond pattern can lead to strong price movements, making it a valuable tool for traders.
Features:
✅ Automatic Detection – Identifies diamond patterns on the chart.
✅ Trend Reversal Signals – Highlights potential price direction changes.
✅ Multi-Timeframe Compatibility – Works across all timeframes.
✅ User-Friendly – Simple to use with no complex settings required.
How to Use:
1. Add the indicator to your chart.
2. Monitor for the formation of a Diamond Pattern.
3. Use the breakout direction to guide your trading decisions.
OHLC15mThis indicator simply plots the previous 15m candles High/Low, and the current 15m candles Open.
You can check "DrawHistorical" for back-testing, or leave it unchecked for live trading.
Draw Text option, explains what the lines are.
Max Lookback is 18 segments when using live.
This indicator will be more useful than many similar ones, as I don't like to overcomplicate things. This is simply for the 15m candlesticks to be plotted on ANY timeframe.
No overcomplications.
Fibonacci & Bollinger Bands StrategyTrading System: Fibonacci & Bollinger Bands Strategy
1. Session Timing
Trade only from 1 PM onwards.
Identify the first candle on the 1 PM vertical line to set the market direction.
If it's a bullish candle, look for buy opportunities.
If it's a bearish candle, look for sell opportunities.
2. Fibonacci Retracement as a Measuring Tool
Identify the recent swing high and swing low before the 1 PM session.
Draw Fibonacci retracement levels from low to high (for buys) or high to low (for sells).
Key retracement levels to watch: 0.0%, 50.0%, and 100.0%.
Entries can be placed at 0.0% or 50.0%, aiming for a move toward 100.0% retracement.
3. Bollinger Bands Confirmation
If the Bollinger Bands are above price, expect a downward move (sell).
If the Bollinger Bands are below price, expect an upward move (buy).
Use this as additional confirmation for your Fibonacci-based trade.
4. Entry & Exit Rules
Entry:
If the 1 PM candle confirms a bullish bias, enter long near Fibonacci 0.0% or 50.0%.
If the 1 PM candle confirms a bearish bias, enter short near Fibonacci 0.0% or 50.0%.
Stop Loss: Below (for buys) or above (for sells) the swing low/high used for Fibonacci.
Take Profit: Target 100.0% retracement level or next key resistance/support.
5. Risk Management
Risk 1-2% per trade.
Avoid trading if price is too far from Fibonacci levels.
Confirm setup with Bollinger Bands alignment.
DynamicHeikin-Ashi-RKDynamic Heikin-Ashi RK is an advanced Heikin-Ashi candle indicator with a unique ATR-based offset mechanism. This script refines traditional Heikin-Ashi calculations while dynamically shifting the candles using ATR multipliers, helping traders visualize market trends with greater clarity.
🔹 Features:
✔ Customizable Heikin-Ashi colors
✔ ATR-based dynamic candle offset
✔ Enhanced trend visualization
This tool is ideal for traders looking for a smoother trend representation while incorporating volatility-based adjustments. 🚀
Customizations Available in Dynamic Heikin-Ashi RK
This indicator allows several customizations to suit different trading styles:
🔹 Heikin-Ashi Candle Display: Toggle the visibility of Heikin-Ashi candles.
🔹 Custom Colors: Choose custom colors for bullish and bearish Heikin-Ashi candles.
🔹 ATR-Based Dynamic Offset: Adjust the ATR multiplier to control the offset of Heikin-Ashi candles, helping fine-tune trend visualization.
🔹 Refined Heikin-Ashi Calculation: Uses a smoother formula for Heikin-Ashi candles, enhancing clarity.
With these options, traders can personalize the indicator for better trend detection and volatility analysis. 🚀
Premarket Gap MomoTrader(SC)🚀 Pre-Market Momentum Trader | Dynamic Position Sizing 🔥
📈 Trade explosive pre-market breakouts with confidence! This algorithmic strategy automatically detects high-momentum setups, dynamically adjusts position size, and ensures risk control with a one-trade-per-day rule.
⸻
🎯 Key Features
✅ Pre-Market Trading (4:00 - 9:30 AM EST) – Only trades during the most volatile session for early breakouts.
✅ Dynamic Position Sizing – Adapts trade size based on candle strength:
• ≥90% body → 100% position
• ≥85% body → 50% position
• ≥75% body → 25% position
✅ 1 Trade Per Day – Avoids overtrading by allowing only one high-quality trade daily.
✅ Momentum Protection – Stays in the trade as long as:
• Every candle remains green (no red candles).
• Each new candle has increasing volume (confirming strong buying).
✅ Automated Exit – Closes position if:
• A red candle appears.
• Volume fails to increase on a green candle.
⸻
🔍 How It Works
📌 Entry Conditions:
✔️ Candle gains ≥5% from previous close.
✔️ Candle is green & body size ≥75% of total range.
✔️ Volume >15K (confirming liquidity).
✔️ Occurs within pre-market session (4:00 - 9:30 AM EST).
✔️ Only the first valid trade of the day is taken.
📌 Exit Conditions:
❌ First red candle after entry → Exit trade.
❌ First green candle with lower volume → Exit trade.
⸻
🏆 Why Use This?
🔹 Eliminates Fake Breakouts – No trade unless volume & momentum confirm.
🔹 Prevents Overtrading – Restricts to one quality trade per day.
🔹 Adaptable to Any Market – Works on stocks, crypto, or forex.
🔹 Hands-Free Execution – No manual chart watching required!
⸻
🚨 Important Notes
📢 Not financial advice. Trading involves risk—always backtest & practice on paper trading before using real money.
📢 Enable pre-market data in your TradingView settings for accurate results.
📢 Optimized for 1-minute & 5-minute timeframes.
🔔 Like this strategy? Leave a comment, share your results, and don’t forget to hit Follow for more strategies! 🚀🔥
PVSRA v5Overview of the PVSRA Strategy
This strategy is designed to detect and capitalize on volume-driven threshold breaches in price candles. It operates on the premise that when a high-volume candle breaks a critical price threshold, not all orders are filled within that candle’s range. This creates an imbalance—similar to a physical system being perturbed—causing the price to revert toward the level where the breach occurred to “absorb” the residual orders.
Key Features and Their Theoretical Underpinnings
Dynamic Volume Analysis and Threshold Detection
Volume Surges as Market Perturbations:
The script computes a moving average of volume over a short window and flags moments when the current volume significantly exceeds this average. These surges act as a perturbation—injecting “energy” into the market.
Adaptive Abnormal Volume Threshold:
By calculating a dynamic abnormal threshold using a daily volume average (via an 89-period VWMA) and standard deviation, the strategy identifies when the current volume is abnormally high. This mechanism mirrors the idea that when a system is disturbed (here, by a volume surge), it naturally seeks to return to equilibrium.
Candle Coloring and Visual Signal Identification
Differentiation of Candle Types:
The script distinguishes between bullish (green) and bearish (red) candles. It applies different colors based on the strength of the volume signal, providing a clear, visual representation of whether a candle is likely to trigger a price reversion.
Implication of Unfilled Orders:
A red (bearish) candle with high volume implies that sell pressure has pushed the price past a critical threshold—yet not all buy orders have been fulfilled. Conversely, a green (bullish) candle indicates that aggressive buying has left pending sell orders. In both cases, the market is expected to reverse toward the breach point to restore balance.
Trade Execution Logic: Normal and Reversal Trades
Normal Trades:
When a high-volume candle breaches a threshold and meets the directional conditions (e.g., a red candle paired with price above a daily upper band), the strategy enters a trade anticipating a reversion. The underlying idea is that the market will move back to the level where the threshold was crossed—clearing the residual orders in a manner analogous to a system following the path of least resistance.
Reversal Trades:
The strategy also monitors for clusters of consecutive signals within a short lookback period. When multiple signals accumulate, it interprets this as the market having overextended and, in a corrective move, reverses the typical trade direction. This inversion captures the market’s natural tendency to “correct” itself by moving in discrete, quantized steps—each step representing the absorption of a minimum quantum of order imbalance.
Risk and Trade Management
Stop Loss and Take Profit Buffers:
Both normal and reversal trades include predetermined buffers for stop loss and take profit levels. This systematic risk management approach is designed to capture the anticipated reversion while minimizing potential losses, aligning with the idea that market corrections follow the most energy-efficient path back to equilibrium.
Symbol Flexibility:
An option to override the chart’s symbol allows the strategy to be applied consistently across different markets, ensuring that the volume and price dynamics are analyzed uniformly.
Conceptual Bridge: From Market Dynamics to Trade Execution
At its core, the strategy treats market price movements much like a physical system that seeks to minimize “transactional energy” or inefficiency. When a price candle breaches a key threshold on high volume, it mimics an injection of energy into the system. The subsequent price reversion is the market’s natural response—moving in the most efficient path back to balance. This perspective is akin to the principle of least action, where the system evolves along the trajectory that minimizes cumulative imbalance, and it acknowledges that these corrections occur in discrete steps reflective of quantized order execution.
This unified framework allows the PVSRA strategy to not only identify when significant volume-based threshold breaches occur but also to systematically execute trades that benefit from the expected corrective moves.
Supply & Demand Zones (by Wali Afridi)Description:
🚀 This indicator accurately detects Supply & Demand Zones by identifying swing highs and lows. It plots a single clean line for each zone and labels them as "SZ" (Supply Zone) and "DZ" (Demand Zone), ensuring a clear and minimalistic chart.
🔹 Features:
✅ Auto-detects recent Supply & Demand Zones
✅ Plots clean horizontal lines for the latest zones
✅ Displays "SZ" above the supply line & "DZ" below the demand line
✅ No duplicate labels—only one label per zone
✅ Minimal & clutter-free visualization
How to Use:
1️⃣ Add the indicator to your chart
2️⃣ Watch for Supply Zones (SZ) appearing above red lines – These indicate potential resistance areas where price may reverse or consolidate.
3️⃣ Watch for Demand Zones (DZ) appearing below green lines – These indicate strong support areas where price may bounce.
4️⃣ Use with other confirmations (Price Action, SMC, Volume) for better accuracy.
⚠️ Disclaimer:
This script is for educational purposes only and should not be considered financial advice. Always backtest and use risk management before applying it to live trading.
Bull Flag (9:30-12:00 Only) [One-Liner Fix]🚀 Bull Flag Breakout Strategy | Intraday Momentum (9:30-12:00) 🔥📈
💡 Designed for Intraday Traders who love momentum breakouts and want to automate Bull Flag setups with volume confirmation! This strategy detects strong bullish moves, measures pullbacks, and triggers trades when the first candle makes a new high—ensuring maximum momentum.
⸻
🏆 Why This Strategy?
✅ Bull Flag Pattern Automation – No need to manually spot pullbacks! 🎯
✅ Smart Volume Confirmation – Only enter trades when breakout volume is strong! 📊
✅ Morning Session Focused (9:30 - 12:00 EST) – Trade when momentum is at its peak! ⏰
✅ Customizable ATR & Risk Settings – Adjust pullback %, stop-loss, and take-profit! 🛠️
✅ Backtest-Friendly – See how the strategy performs over time! 🔍
⸻
🎯 How It Works
📌 Step 1: Detects a Bullish Impulse Bar
🔹 Large green candle 🚀
🔹 Candle range > ATR multiplier
🔹 Volume > Average volume threshold
📌 Step 2: Confirms a Valid Pullback
🔸 Pullback must stay within % range of the impulse move 📉
🔸 If the pullback is too deep or takes too long, the setup is ignored ⛔
📌 Step 3: First Candle to Make a New High 📈
🔹 When a candle breaks the previous high and volume confirms, go long! 💰
🔹 Stop-Loss set at pullback low
🔹 Take-Profit at Risk:Reward (R:R) Target 🎯
⸻
🔥 Best For
💎 Scalpers & Day Traders – Capture short-term breakout momentum! ⚡
📊 Backtesters – Optimize ATR, volume, and pullback rules for best performance! 🧪
⏳ Morning Momentum Traders – Focus on 9:30-12:00 AM EST for higher probability setups!
⸻
🚨 Important Notes
🔹 This strategy is not financial advice! 📜
🔹 Always backtest & paper trade before using real money! 📉📈
🔹 Volatility varies – Customize settings based on your trading style! 🔧
🚀 Like this script? Give it a try & let us know how it works for you! 🔥👊
⸻
Ultimate Trend Strength Meter Using TechnoBloom’s IndicatorsOverview
The Ultimate Trend Strength Meter Using TechnoBloom’s Indicators is a powerful trend analysis tool developed using TechnoBloom’s proprietary indicators. This indicator helps traders assess trend strength, momentum, and potential reversals by combining three essential market factors:
• Market Participation Ratio (MPR) – Measures trader engagement and volume strength.
• Volume Weighted Moving Average (VWMO) – Confirms momentum and trend direction.
• Fibonacci-Based Support & Resistance – Identifies key reversal zones and breakout points.
⸻
Key Features:
✅ Color-Coded Trend Strength Meter:
• 🟢 Green – Strong Trend (High Confidence): High participation, strong momentum, and no major resistance.
• 🟡 Yellow – Weak Trend (Caution): Moderate participation, possible resistance ahead, and trend uncertainty.
• 🔴 Red – Reversal Risk / No Trend: Low market engagement, momentum uncertainty, and proximity to major Fibonacci levels.
✅ Eliminates False Signals & Weak Trends:
• Prevents choppy market entries by ensuring high-volume confirmation.
• Ideal for filtering fake breakouts and exhaustion phases.
✅ Works for All Trading Styles & Markets:
• Scalping (1m-5m), Day Trading (15m-1H), and Swing Trading (4H-Daily).
• Suitable for Forex, Stocks, Crypto, Indices, and Commodities (XAUUSD, US30, BTCUSD, etc.).
✅ Customizable for Any Strategy:
• Adjustable MPR thresholds, VWMO smoothing, and Fibonacci sensitivity.
• Built-in alerts notify traders when trend conditions change.
⸻
How to Use It:
1️⃣ Enter trades when the meter turns Green (Strong Trend) and aligns with your strategy.
2️⃣ Avoid or exit trades when it turns Red (Reversal Risk) to prevent unnecessary losses.
3️⃣ Use Yellow as a caution zone – wait for confirmation before making a move.
4️⃣ Combine with breakout strategies or support/resistance setups for high-probability entries.
⸻
About TechnoBlooms
TechnoBlooms is committed to developing high-precision trading indicators that enhance decision-making for traders across all markets. This tool is a result of our in-depth market research and algorithmic advancements to provide traders with an edge.
🚀 Upgrade your trading with the Ultimate Trend Strength Meter – Developed by TechnoBlooms! 🚀
TradZoo - EMA Crossover IndicatorDescription:
This EMA Crossover Trading Strategy is designed to provide precise Buy and Sell signals with confirmation, defined targets, and stop-loss levels, ensuring strong risk management. Additionally, a 30-candle gap rule is implemented to avoid frequent signals and enhance trade accuracy.
📌 Strategy Logic
✅ Exponential Moving Averages (EMAs):
Uses EMA 50 & EMA 200 for trend direction.
Buy signals occur when price action confirms EMA crossovers.
✅ Entry Confirmation:
Buy Signal: Occurs when either the current or previous candle touches the 200 EMA, and the next candle closes above the previous candle’s close.
Sell Signal: Occurs when either the current or previous candle touches the 200 EMA, and the next candle closes below the previous candle’s close.
✅ 30-Candle Gap Rule:
Prevents frequent entries by ensuring at least 30 candles pass before the next trade.
Improves signal quality and prevents excessive trading.
🎯 Target & Stop-Loss Calculation
✅ Buy Position:
Target: 2X the difference between the last candle’s close and the lowest low of the last 2 candles.
Stop Loss: The lowest low of the last 2 candles.
✅ Sell Position:
Target: 2X the difference between the last candle’s close and the highest high of the last 2 candles.
Stop Loss: The highest high of the last 2 candles.
📊 Visual Features
✅ Buy & Sell Signals:
Green Upward Arrow → Buy Signal
Red Downward Arrow → Sell Signal
✅ Target Levels:
Green Dotted Line: Buy Target
Red Dotted Line: Sell Target
✅ Stop Loss Levels:
Dark Red Solid Line: Stop Loss for Buy/Sell
💡 How to Use
🔹 Ideal for trend-following traders using EMAs.
🔹 Works best in volatile & trending markets (avoid sideways ranges).
🔹 Can be combined with RSI, MACD, or price action levels for added confluence.
🔹 Recommended timeframes: 1M, 5M, 15m, 1H, 4H, Daily (for best results).
🚀 Try this strategy and enhance your trading decisions with structured risk management!
Time of Day Background with Bar Count & TableDescription:
This indicator provides a comprehensive overview of market activity by dynamically displaying the time-of-day background and tracking bullish and bearish bar counts across different sessions. It also features a table summarizing the market performance for the last 7 days, segmented into four time-based sessions: Morning, Afternoon, Evening, and Night.
Key Features:
Time of Day Background:
The chart's background color changes based on the time of day:
Evening (12 AM - 6 AM) is shaded blue.
Morning (6 AM - 12 PM) is shaded aqua.
Afternoon (12 PM - 6 PM) is shaded yellow.
Night (6 PM - 12 AM) is shaded silver.
Bullish and Bearish Bar Counting:
It tracks the number of bullish (closing higher than opening) and bearish (closing lower than opening) candles.
The sum of the price differences (bullish minus bearish) for each session is displayed as a dynamic label, indicating overall market direction for each session.
Session Breakdown:
The chart is divided into four sessions, each lasting 6 hours (Morning, Afternoon, Evening, Night).
A new label is generated at the start of each session, indicating the bullish/bearish performance and the net difference in price movements for that session.
Historical Session Performance:
The indicator tracks and stores the performance for each session over the past 7 days.
A table is generated in the top-right corner of the chart, summarizing the performance for each session (Morning, Afternoon, Evening, Night) and the price changes for each of the past 7 days.
The values are color-coded to indicate positive (green) or negative (red) results.
Dynamic Table:
The table presents performance data for each time session over the past week with color-coded cells:
Green cells indicate positive performance.
Red cells indicate negative performance.
Empty cells represent no data for that session.
Use Case:
This indicator is useful for traders who want to track market activity and performance across different times of day and monitor how each session contributes to the overall market trend. It provides both visual insights (through background color) and numerical data (via the table) for better decision-making.
Settings:
The background color and session labels update automatically based on the time of day.
The table updates every day, tracking the performance of each session over the past week.
Inside Bars📌 Overview:
This indicator scans for multiple inside bars during periods of consolidation by dynamically designating a “mother bar” and then marking subsequent bars that trade entirely within its range. It includes an optional doji filter on the most recent candle, helping to confirm indecision before potential breakouts.
🛠 Key Features:
✅ Dynamic Mother Bar Identification:
The script selects a mother bar when the current bar’s range exceeds that of the previous bar. This bar sets the high and low boundaries, creating a reference zone for later price action.
Once a mother bar is defined, subsequent candles that remain completely within its high and low are flagged as inside bars.
✅ Optional Doji Check:
For added precision, an optional feature lets you verify that the most recent bar is a doji—a candle where the difference between the open and close is minimal relative to its total range. This additional filter highlights periods of market indecision, which can often precede strong directional moves.
⚡ Add this script to your chart and enhance your trading strategy! 🚀
Doji DetectorThis script is designed to detect Doji candlesticks, which are characterized by a small body compared to the overall candle range. The script identifies a Doji when:
✔ The body size is smaller than 10% of the total candle range, OR
✔ The body size is less than 3 pips.
How It Works:
The script calculates the body size of each candle (absolute difference between the open and close price).
It then compares the body size with the total candle range (high - low).
If the body size is smaller than 10% of the candle range or less than 3 pips, the script marks it as a Doji.
How to Use It:
Apply the script to your TradingView chart.
It will highlight Doji candles automatically.
Suitable for traders using price action analysis to identify potential market reversals or indecision zones.
🚀 Best suited for: Forex, Stocks, and Crypto markets.
🔔 Optional: You can modify the conditions to fit your trading strategy.
Mogwai Method with RSI and EMA - BTCUSD 15mThis is a custom TradingView indicator designed for trading Bitcoin (BTCUSD) on a 15-minute timeframe. It’s based on the Mogwai Method—a mean-reversion strategy—enhanced with the Relative Strength Index (RSI) for momentum confirmation. The indicator generates buy and sell signals, visualized as green and red triangle arrows on the chart, to help identify potential entry and exit points in the volatile cryptocurrency market.
Components
Bollinger Bands (BB):
Purpose: Identifies overextended price movements, signaling potential reversions to the mean.
Parameters:
Length: 20 periods (standard for mean-reversion).
Multiplier: 2.2 (slightly wider than the default 2.0 to suit BTCUSD’s volatility).
Role:
Buy signal when price drops below the lower band (oversold).
Sell signal when price rises above the upper band (overbought).
Relative Strength Index (RSI):
Purpose: Confirms momentum to filter out false signals from Bollinger Bands.
Parameters:
Length: 14 periods (classic setting, effective for crypto).
Overbought Level: 70 (price may be overextended upward).
Oversold Level: 30 (price may be overextended downward).
Role:
Buy signal requires RSI < 30 (oversold).
Sell signal requires RSI > 70 (overbought).
Exponential Moving Averages (EMAs) (Plotted but not currently in signal logic):
Purpose: Provides trend context (included in the script for visualization, optional for signal filtering).
Parameters:
Fast EMA: 9 periods (short-term trend).
Slow EMA: 50 periods (longer-term trend).
Role: Can be re-added to filter signals (e.g., buy only when Fast EMA > Slow EMA).
Signals (Triangles):
Buy Signal: Green upward triangle below the bar when price is below the lower Bollinger Band and RSI is below 30.
Sell Signal: Red downward triangle above the bar when price is above the upper Bollinger Band and RSI is above 70.
How It Works
The indicator combines Bollinger Bands and RSI to spot mean-reversion opportunities:
Buy Condition: Price breaks below the lower Bollinger Band (indicating oversold conditions), and RSI confirms this with a reading below 30.
Sell Condition: Price breaks above the upper Bollinger Band (indicating overbought conditions), and RSI confirms this with a reading above 70.
The strategy assumes that extreme price movements in BTCUSD will often revert to the mean, especially in choppy or ranging markets.
Visual Elements
Green Upward Triangles: Appear below the candlestick to indicate a buy signal.
Red Downward Triangles: Appear above the candlestick to indicate a sell signal.
Bollinger Bands: Gray lines (upper, middle, lower) plotted for reference.
EMAs: Blue (Fast) and Orange (Slow) lines for trend visualization.
How to Use the Indicator
Setup
Open TradingView:
Log into TradingView and select a BTCUSD chart from a supported exchange (e.g., Binance, Coinbase, Bitfinex).
Set Timeframe:
Switch the chart to a 15-minute timeframe (15m).
Add the Indicator:
Open the Pine Editor (bottom panel in TradingView).
Copy and paste the script provided.
Click “Add to Chart” to apply it.
Verify Display:
You should see Bollinger Bands (gray), Fast EMA (blue), Slow EMA (orange), and buy/sell triangles when conditions are met.
Trading Guidelines
Buy Signal (Green Triangle Below Bar):
What It Means: Price is oversold, potentially ready to bounce back toward the Bollinger Band middle line.
Action:
Enter a long position (buy BTCUSD).
Set a take-profit near the middle Bollinger Band (bb_middle) or a resistance level.
Place a stop-loss 1-2% below the entry (or based on ATR, e.g., ta.atr(14) * 2).
Best Context: Works well in ranging markets; avoid during strong downtrends.
Sell Signal (Red Triangle Above Bar):
What It Means: Price is overbought, potentially ready to drop back toward the middle line.
Action:
Enter a short position (sell BTCUSD) or exit a long position.
Set a take-profit near the middle Bollinger Band or a support level.
Place a stop-loss 1-2% above the entry.
Best Context: Effective in ranging markets; avoid during strong uptrends.
Trend Filter (Optional):
To reduce false signals in trending markets, you can modify the script:
Add and ema_fast > ema_slow to the buy condition (only buy in uptrends).
Add and ema_fast < ema_slow to the sell condition (only sell in downtrends).
Check the Fast EMA (blue) vs. Slow EMA (orange) alignment visually.
Tips for BTCUSD on 15-Minute Charts
Volatility: BTCUSD can be erratic. If signals are too frequent, increase bb_mult (e.g., to 2.5) or adjust RSI levels (e.g., 75/25).
Confirmation: Use volume spikes or candlestick patterns (e.g., doji, engulfing) to confirm signals.
Time of Day: Mean-reversion works best during low-volume periods (e.g., Asian session in crypto).
Backtesting: Use TradingView’s Strategy Tester (convert to a strategy by adding entry/exit logic) to evaluate performance with historical BTCUSD data up to March 13, 2025.
Risk Management
Position Size: Risk no more than 1-2% of your account per trade.
Stop Losses: Always use stops to protect against BTCUSD’s sudden moves.
Avoid Overtrading: Wait for clear signals; don’t force trades in choppy or unclear conditions.
Example Scenario
Chart: BTCUSD, 15-minute timeframe.
Buy Signal: Price drops to $58,000, below the lower Bollinger Band, RSI at 28. A green triangle appears.
Action: Buy at $58,000, target $59,000 (middle BB), stop at $57,500.
Sell Signal: Price rises to $60,500, above the upper Bollinger Band, RSI at 72. A red triangle appears.
Action: Sell at $60,500, target $59,500 (middle BB), stop at $61,000.
This indicator is tailored for mean-reversion trading on BTCUSD. Let me know if you’d like to tweak it further (e.g., add filters, alerts, or alternative indicators)!
HighLow BoxesDesigned to visualize higher time frame (HTF) candles on a lower time frame (LTF) chart, specifically for Forex or other trading instruments. It draws boxes around the HTF candle's high, low, and body, offering a clear graphical representation of price action for easier analysis. The script provides customization options for box colors, line styles, and display preferences such as including body ranges or adding midlines. Additionally, it features a 50% horizontal line at the midpoint of each box to highlight the center of price action for better trading decisions. The script works with any time frame interval, but the effectiveness might decrease with non-divisible time intervals (e.g., a 2-minute chart with a 5-minute HTF).
Inverted USDT DominanceInverted USDT Dominance Indicator
This simple yet powerful indicator plots the inverted USDT Dominance (USDT.D), making it visually intuitive to analyze market sentiment shifts. Typically, USDT dominance rises when investors seek stability, indicating a "risk-off" market environment. Conversely, it falls when investors pursue riskier assets like cryptocurrencies, signaling a "risk-on" environment.
Why invert the USDT Dominance chart?
By flipping USDT Dominance around the zero line, this indicator allows traders and investors to more clearly visualize its correlation and divergence with traditional market indicators like the 10-year Treasury yield (TNX), Bitcoin, or equity indices. A rising line on this inverted indicator intuitively indicates increasing market risk appetite, whereas a falling line highlights growing risk aversion.
Use cases:
Quickly visualize market sentiment (risk-on vs. risk-off).
Identify divergences and correlations between crypto markets and traditional financial instruments.
Enhance portfolio allocation decisions by clearly seeing sentiment changes.
IU BBB(Big Body Bar) StrategyDESCRIPTION
The IU BBB (Big Body Bar) Strategy is a price action-based trading strategy that identifies high-momentum candles with significantly larger body sizes compared to the average. It enters trades when a strong bullish or bearish move occurs and manages risk using an ATR-based trailing stop-loss system.
USER INPUTS:
- Big Body Threshold – Defines how many times larger the candle body should be compared to the average body ( default is 4 ).
- ATR Length – The period for the Average True Range (ATR) used in the trailing stop-loss calculation ( default is 14 ).
- ATR Factor – Multiplier for ATR to determine the trailing stop distance ( default is 2 ).
LONG CONDITION:
- The current candle’s body is greater than the average body size multiplied by the Big Body Threshold.
- The closing price is higher than the opening price (bullish candle).
SHORT CONDITION:
- The current candle’s body is greater than the average body size multiplied by the Big Body Threshold.
- The closing price is lower than the opening price (bearish candle).
LONG EXIT:
- ATR-based trailing stop-loss dynamically adjusts, locking in profits as the price moves higher.
SHORT EXIT:
- ATR-based trailing stop-loss dynamically adjusts, securing profits as the price moves lower.
WHY IT IS UNIQUE:
- Unlike traditional momentum strategies, this system adapts to volatility by filtering trades based on relative candle size.
- It incorporates an ATR-based trailing stop-loss, ensuring risk management and profit protection.
- The strategy avoids choppy market conditions by only trading when significant momentum is present.
HOW USERS CAN BENEFIT FROM IT:
- Catch Strong Price Moves – The strategy helps traders enter trades when the market shows decisive momentum.
- Effective Risk Management – The ATR-based trailing stop ensures that winning trades remain profitable.
- Works Across Markets – Can be applied to stocks, forex, crypto, and indices with proper optimization.
- Fully Customizable – Users can adjust sensitivity settings to match their trading style and time frame.