Watermark V6Simple, clean chart watermark overlay. Customizable position, background transparency, text color/size/alignment. Pine Script® indicatorby lverret1150
3 Linear Regression Channels with AlertsHello With this indicator, you will be able to see the direction of short, medium, and long-term movements using linear regression channels and Fibonacci numbers. You will also be able to identify entry and exit levels for trades using channel support and resistance levels and channel intersections. Happy trading!Pine Script® indicatorby cetinmehmet50
HVM edited with 1afinds entries as per fii data use for option sellingPine Script® indicatorby xcjsowp281137
EMA + RSI Trade Decision Table V2 This indicator is a rule-based trade decision assistant designed for intraday and swing trading. It does not place trades automatically. Instead, it evaluates market conditions and clearly shows when a Long or Short setup is statistically favorable, using a structured score-based table. The goal is simple: 👉 Fewer trades, higher quality, full transparency. Core Concept The script combines trend regime, RSI behavior, EMA pullbacks, and risk filters into a single decision framework. Each bar is evaluated and assigned a confidence score (0–100) for: Long Short Only setups that pass all required conditions and reach the minimum score threshold are marked as TRADE READY. Key Features 1️⃣ Trend / Regime Detection Bull Regime: EMA50 > EMA100 Bear Regime: EMA50 < EMA100 Optional confirmation using price vs EMA200 Regime is shown clearly at the top of the table 2️⃣ Regime-Based RSI Zones (Advanced) RSI behavior changes depending on market regime. This script accounts for that by using four separate RSI zones: Bull Regime Long RSI Zone: trend-continuation pullbacks Short RSI Zone: overextended / exhaustion areas Bear Regime Short RSI Zone: weak pullbacks Long RSI Zone: extreme oversold relief bounces Neutral regime uses a configurable fallback zone. ➡️ This avoids the classic RSI mistake of using the same levels in all market conditions. 3️⃣ Pullback + Rejection Logic Trades are only considered if price: Pulls back into EMA50 or EMA100 Shows rejection confirmation Bullish candle for Long Bearish candle for Short (optional, configurable) This filters out random RSI signals and focuses on structured pullbacks. 4️⃣ Late Entry & Noise Filters To avoid bad entries: ❌ Price too far from EMA50 → blocked ❌ EMA50–EMA100 too close → choppy market ❌ Cooldown after EMA50/EMA100 cross → no immediate revenge trades All blockers are visible in the table. 5️⃣ Confidence Score (0–100) Each setup is graded using weighted components: RSI position RSI confirmation Pullback & rejection Trend alignment EMA200 context Penalties for distance, cooldown, chop Grades: A = High-quality setup B = Acceptable C = Low quality You decide the minimum score required to allow a trade. 6️⃣ Trade Decision Gate A trade is only marked as EXECUTE (LONG/SHORT) if: All mandatory conditions are met Score ≥ your defined threshold Otherwise, the system shows: WATCH PREPARE NO SETUP 7️⃣ Visual Decision Table Three display modes: Compact – quick overview Compact + Checks – overview + active checks Full – complete Long & Short breakdown Each row clearly shows: Requirement Current value Pass / Fail “To go” distance (how much is missing) 8️⃣ Alerts Alerts trigger only on state change, not on every bar: Long Entry Short Entry Optional: Alerts only on candle close (recommended) How to Use (Step-by-Step) Recommended Workflow Choose your timeframe (15m / 30m / 1H works best) Wait for BULL or BEAR regime Let price pull back into EMA50 / EMA100 Watch RSI move into the correct regime-based zone Wait for EXECUTE (LONG / SHORT) status Manage entry, stop-loss, and take-profit manually This indicator is a decision filter, not an entry sniper. Best Practices Works best in trending markets Avoid low-liquidity or sideways sessions Combine with: Market structure Support / resistance Session timing Do not trade every signal — trade the best scores Disclaimer This script is an educational and analytical tool. It does not provide financial advice and does not guarantee profitable trades. Always manage risk properly. Ergün ÖzmenPine Script® indicatorby ergunozUpdated 22321
[blackcat] L3 Super CCI Indicator█ OVERVIEW The Super CCI Indicator is an enhanced visualization of the Commodity Channel Index (CCI) that helps traders identify overbought and oversold market conditions with vivid color-coding and multi-tier signal generation. This indicator combines the classic CCI oscillator with a signal line (CI) to generate actionable buy and sell signals based on market zone analysis. █ CONCEPTS This indicator utilizes the Commodity Channel Index (CCI) methodology enhanced with a dual-layer signal system: • CCI Oscillator : Measures the current price level relative to an average price level over a given period, helping identify cyclical trends • CI Signal Line : An EMA-smoothed version of CCI that acts as a trigger line for crossover signals • Zone-Based Analysis : Divides the CCI range into distinct zones (Overbought, Neutral, Oversold) for contextual signal interpretation • Signal Strength Classification : Distinguishes between strong and normal signals based on the zone where crossovers occur █ HOW TO USE 1 — Add the indicator to your chart from the indicators menu 2 — Observe the CCI line (thick colored line) and CI signal line (golden line with glow effect) 3 — Look for crossover signals between CCI and CI lines in different zones 4 — Use the color-coded histogram and zone fills to gauge market momentum 5 — Check the info table (top-right corner) for real-time CCI/CI values and trend direction Input Parameters • CCI Length : Controls the lookback period for CCI calculation (default: 11). Lower values increase sensitivity, higher values smooth the oscillator • CI (EMA) Length : Controls the smoothing period for the signal line (default: 5). Lower values make the signal line more responsive to CCI movements • Color Theme Inputs : Customize colors for overbought zone, oversold zone, neutral zone, bullish/bearish momentum, and CI line █ SIGNALS Visual Elements • 🚀 Strong Buy (Cyan Triangle Up): CCI crosses above CI line in the oversold zone (CCI < -100). Indicates potential reversal from extreme bearish conditions • 📈 Buy (Green Triangle Up): CCI crosses above CI line in the weak zone (-100 ≤ CCI < 0). Indicates emerging bullish momentum • 💥 Strong Sell (Red Triangle Down): CCI crosses below CI line in the overbought zone (CCI > 100). Indicates potential reversal from extreme bullish conditions • 📉 Sell (Orange Triangle Down): CCI crosses below CI line in the strong zone (0 < CCI ≤ 100). Indicates emerging bearish momentum Zone Color Coding • Red Background/Band : Overbought zone (CCI > 100) - exercise caution with long positions • Green Background/Band : Oversold zone (CCI < -100) - exercise caution with short positions • Dynamic CCI Colors : Changes based on zone and momentum direction (rising/falling) Fill Colors • Green Fill : CCI is above CI line (bullish momentum) • Red Fill : CCI is below CI line (bearish momentum) █ REFERENCE LEVELS • +200 : Extreme overbought level (dashed line) • +100 : Overbought threshold (solid line) • 0 : Neutral center line (solid line) • -100 : Oversold threshold (solid line) • -200 : Extreme oversold level (dashed line) █ FEATURES • Multi-color gradient CCI line that changes based on zone and momentum direction • Histogram visualization for enhanced visual impact • Glow effect on signal line for better visibility • Real-time info table displaying CCI value, CI value, current zone, and trend direction • Customizable color theme for all visual elements • Four types of alert conditions for different signal strengths █ LIMITATIONS • Best suited for trending markets or mean-reversion strategies • May produce false signals in strongly trending markets where CCI remains in extreme zones • Signal lag is inherent due to the moving average-based calculations • Not recommended as a standalone trading system - use with other confirmation tools • Performance may vary across different timeframes and market conditions █ ALERTS The indicator includes four alert conditions that can be configured in the alert dialog: • Strong Buy Signal : 🚀 Super CCI Strong Buy Signal! • Buy Signal : 📈 Super CCI Buy Signal • Strong Sell Signal : 💥 Super CCI Strong Sell Signal! • Sell Signal : 📉 Super CCI Sell Signal ════════════════════════════════════════════════════════════════════════ NOTES • The default parameters (CCI Length: 11, CI Length: 5) are optimized for swing trading • For scalping, consider reducing the CCI Length to 5-8 periods • For position trading, consider increasing the CCI Length to 14-20 periods • Always use proper risk management and confirm signals with additional analysis ════════════════════════════════════════════════════════════════════════ For questions or feedback, please use the comments section below. Pine Script® indicatorby blackcat1402679
MOSHIACH indicatorBuilt for traders who want clarity, not noise. This indicator focuses only on high-quality setups using trend, momentum and volatility filters. Features: • GO / WAIT signal engine • WHY NO GO™ dashboard • Trend + momentum confirmation • Compression detection • Multi-pair optimized Developed in Israel <3 by an independent trader focused on clean execution and disciplined trading. Designed for H4 swing traders. No repaint. Continuous updates included.Pine Script® indicatorby koshertrade178
[blackcat] L3 3-in-1 CCI Trader█ OVERVIEW The L3 3-in-1 CCI Trader is a comprehensive overlay indicator that combines CCI (Commodity Channel Index) analysis across multiple timeframes with trend detection, divergence identification, and support/resistance level visualization. This all-in-one tool helps traders identify potential entry and exit points through multiple confirmation signals. █ CONCEPTS This indicator utilizes multi-period CCI analysis combined with weighted price averaging to identify trend direction, momentum shifts, and potential reversal points. Core Principles: • Multi-Timeframe CCI — Combines CCI calculations from 6, 10, 20, 30, and 60 periods for comprehensive momentum analysis • Weighted Price Average — Uses a sophisticated weighted calculation (3×Close + High + Low + Open) / 6 for smoother trend identification • Divergence Detection — Identifies bullish and bearish divergences using EMA crossovers and RSI-based analysis • Dynamic Support/Resistance — Automatically calculates and displays key price levels based on historical highs and lows █ HOW TO USE 1 — Add the indicator to your chart from the TradingView indicators library 2 — Observe the trend lines: the thick line shows short-term trend, the stepped line shows mid-term trend 3 — Watch for signal labels that appear on the chart indicating potential trading opportunities 4 — Use the color-coded background as a quick trend reference (green = uptrend, orange = downtrend) 5 — Set up alerts for the signal types that match your trading strategy Trend Interpretation • Green Fill — Short-term line above mid-term line (bullish bias) • Orange Fill — Short-term line below mid-term line (bearish bias) • Teal Dotted Line — Dynamic support level based on 34-bar lowest low █ SIGNALS Bullish Signals • ▲ Bullish — Appears when CCI period 6 drops below negative CCI period 30 differential, indicating potential upward reversal • ⬆ Bottom Div — Bullish divergence detected when fast EMA (3) crosses above slow EMA (21) • ★☆ Confirmed — Star formation signal indicating strong reversal potential • 📈 ∠45° Uptrend — Appears when price maintains a 45-degree upward angle with bullish confirmation Bearish Signals • ▼ Bearish — Appears when CCI period 6 exceeds CCI period 30 differential, indicating potential downward reversal • ⬇ Top Div — Bearish divergence detected when RSI-based value crosses below 88 Visual Elements • Green/Red Stepped Lines — Recent 20-bar high (resistance) and low (support) levels • Trend Fill Colors — Green for uptrend, orange for downtrend • Signal Candles — Small candlestick markers highlighting signal locations █ ALERTS This indicator includes 10 built-in alert conditions: Individual Signal Alerts • Bearish Signal — Potential downtrend ahead • Bullish Signal — Potential uptrend ahead • Star Confirmed Signal — Strong reversal pattern • Bottom Divergence (Bullish) — Bullish reversal signal • Top Divergence (Bearish) — Bearish reversal signal • 45° Angle Uptrend — Strong bullish momentum Trend Change Alerts • Trend Change - Uptrend — Short-term line crossed above mid-term line • Trend Change - Downtrend — Short-term line crossed below mid-term line Combined Alerts • Any Bullish Signal — Triggers on any bullish condition • Any Bearish Signal — Triggers on any bearish condition █ RECOMMENDED SETTINGS • Timeframe — Works on all timeframes; optimal results on 15m to 4H charts • Market Type — Suitable for forex, stocks, cryptocurrencies, and commodities • Best Use — Use in conjunction with other confirmation indicators and proper risk management █ LIMITATIONS • Signals may produce false positives in strongly trending markets without pullbacks • Divergence signals work best in ranging or slowly trending markets • The indicator is based on historical data and cannot predict future price movements • Multiple signals may appear simultaneously; prioritize based on your trading strategy • Performance may vary across different asset classes and market conditions █ NOTES • This indicator is designed for educational purposes and should not be used as the sole basis for trading decisions • Always practice proper risk management and use stop-loss orders • Backtest thoroughly on your preferred instruments before live trading • The indicator uses max_bars_back=5000 for calculations, ensuring sufficient historical data • Labels are limited to 500 to maintain chart performance ═════════════════════════════════════════════════════════════════════════ For questions or feedback, use the comments section below. Pine Script® indicatorby blackcat140299
SMC Pro BTC - ICT Order Blocks & FVG [DOE]# SMC Pro BTC - ICT Order Blocks & FVG A multi-timeframe smart money concepts engine built exclusively for Bitcoin. This indicator combines order blocks, fair value gaps, liquidity sweeps, break of structure, and premium discount zone analysis into one backtest-verified, non-repainting strategy — every signal you see in history is exactly what you would have seen live. Built by a former quantitative analyst from a US-based systematic fund. The structural logic behind this indicator is the same order flow mechanics that institutional algorithms use to identify and exploit liquidity imbalances — adapted for retail traders on TradingView. At the fund, we did not use RSI or MACD. We tracked where unfilled orders sat, where liquidity clustered, and where price needed to travel to resolve imbalances. That is what Smart Money Concepts formalizes, and that is what this indicator automates. This is a free, open-source tool. All backtest results below are fully reproducible on your chart with the default settings. No hidden parameters. No curve-fitting. No repainting. ## TWO STRATEGY MODES — CHOOSE YOUR RISK PROFILE The indicator offers two distinct execution modes built on the same structural foundation. The difference is filter strictness — one prioritizes opportunity, the other prioritizes quality. Both include commissions and slippage in their backtested results, because a backtest without commissions is fiction. ### AGGRESSIVE MODE Entries fire on any valid Break of Structure (BOS) or Change of Character (CHoCH) confirmed by an order block and fair value gap on the confirmation timeframe. This mode captures more setups, including momentum re-entries and early reversal signals. It accepts a lower win rate in exchange for catching a larger portion of trending moves. | Metric | Value | |---|---| | Total Trades | 55 | | Win Rate | 49.09% | | Net P&L | +49.12% | | Profit Factor | 1.41 | | Max Drawdown | 14.70% | A 49% win rate may not sound impressive on the surface. But this is not a coin flip. The 1.41 profit factor means that winning trades meaningfully outweigh losers — the strategy is designed to let winners run through a configurable risk-to-reward ratio. Over 55 trades with real commissions (0.075% per trade) and slippage (3 ticks per order), the system returned nearly 50% on initial capital. That is what positive expectancy looks like in practice. Mark Douglas wrote that there is a random distribution between wins and losses for any set of variables that define an edge. You do not need to win every trade. You need an edge and the discipline to follow it over a series. This mode is built for that exact mindset. ### SELECTIVE MODE Adds a premium/discount zone filter on top of all Aggressive conditions. Longs are only permitted in the discount zone of the higher-timeframe dealing range. Shorts are only permitted in the premium zone. This single structural filter cuts the trade count by more than half while dramatically improving signal quality. | Metric | Value | |---|---| | Total Trades | 21 | | Win Rate | 61.90% | | Net P&L | +26.92% | | Profit Factor | 2.347 | | Max Drawdown | 8.66% | A profit factor above 2.0 combined with single-digit drawdown is rare for any fully disclosed, non-repainting BTC strategy. The Selective mode achieves both over three full years of data. The tradeoff is fewer trades — 21 versus 55 — which means this mode requires patience. It is designed for traders who prefer waiting for optimal positioning over catching every move. Both modes are provided so you can evaluate the tradeoff between frequency and precision on your own terms. There is no objectively "better" mode. There is only the mode that matches your risk tolerance and psychological profile. ## ENTRY LOGIC — STEP BY STEP Every signal is generated through a strict multi-timeframe confluence model. No single condition is sufficient. The indicator requires alignment across structure, zone, imbalance, and liquidity before producing a signal. Here is the full logic for long entries — short entries mirror the process with inverted conditions. ### LONG ENTRY SEQUENCE **Step 1 — HTF Directional Bias (Break of Structure)** The Direction Timeframe (default: 4H) detects a bullish break of structure or change of character using swing highs and lows. This establishes the higher-timeframe directional bias. Without bullish structure on the HTF, no long signal can fire. This is the first gate. **Step 2 — MTF Confirmation (Structural Alignment)** The Confirmation Timeframe (default: 1H) must confirm with its own bullish BOS or CHoCH, aligning both timeframes in the same direction. This dual-timeframe structural alignment filters out a significant amount of noise and counter-trend traps. **Step 3 — Order Block Identification** The script looks back up to the configured OB Lookback Bars to find the last bearish candle before the impulsive bullish move — the order block where smart money accumulated positions. This zone represents an area of institutional demand that is likely to attract price on a revisit. **Step 4 — Fair Value Gap Validation** The indicator checks for a bullish fair value gap (the gap between candle 1's high and candle 3's low in a three-candle sequence) that overlaps the identified order block zone. An OB alone is a level. An OB combined with an FVG is confluence — two independent structural signals agreeing on the same price zone. This overlap is where the highest-probability entries concentrate. **Step 5 — Liquidity Sweep Confirmation** Before the signal can fire, the indicator verifies that a recent liquidity sweep occurred within the configured Sweep Memory window. A liquidity sweep means price dipped below a prior swing low, triggering stop-loss orders and pending sell orders, before reversing. This is the classic ICT stop hunt — institutional participants accumulating liquidity from retail stop-outs. Without this sweep, the setup lacks the liquidity fuel that drives the reversal. **Step 6 — Premium/Discount Zone Filter (Selective Mode Only)** In Selective mode, the entry must occur in the discount zone of the HTF dealing range, defined by the P/D Zone Threshold parameter. This ensures longs are taken only when price is trading at a structural discount — the lowest-risk portion of the range. **Step 7 — Execution** All conditions are met. The long signal fires on the next confirmed bar. Stop-loss is placed below the order block low minus the SL Buffer percentage. Take-profit is calculated at the configured Risk:Reward Ratio distance from entry. Both levels are plotted visually on the chart. ### SHORT ENTRY SEQUENCE The short entry mirrors the long with inverted conditions across all seven steps: 1. HTF bearish BOS or CHoCH establishes bearish bias 2. MTF bearish BOS or CHoCH confirms the direction 3. Bearish order block identified (last bullish candle before the sell-off) 4. Bearish fair value gap overlaps the order block zone 5. Liquidity sweep above a prior swing high (stop hunt to the upside) 6. Price in the premium zone of the HTF dealing range (Selective mode only) 7. SL placed above OB high plus buffer; TP calculated at R:R distance below entry Every step is objective. There is no discretionary component. The indicator either detects the confluence or it does not. This is not chart art — it is structure, codified. ## FEATURES - Non-repainting, non-lookahead signals — barstate.isconfirmed enforced on all calculations; what you see in history is what you would have seen live - Multi-timeframe structure analysis — HTF for direction, MTF for confirmation, entry timeframe for execution - Order block detection with configurable lookback depth and automatic invalidation when price trades through the zone - Fair value gap multi-zone display — shows up to N unfilled FVGs per direction simultaneously, configurable by maximum count and maximum distance from current price, so you only see the gaps that are structurally relevant to your current timeframe and price action - Liquidity sweep recognition with adjustable memory window for detecting stop hunts before entries - Break of Structure (BOS) and Change of Character (CHoCH) detection via swing-point analysis on multiple timeframes - Premium/discount zone mapping from the HTF dealing range, with configurable threshold for zone extremes - Automatic trade management — stop-loss and take-profit levels plotted with visual trade boxes on every signal - Two strategy modes — Aggressive for opportunity-seeking traders, Selective for precision-focused traders - Fully configurable parameters — every setting is exposed with sensible defaults optimized for BTC 4H - Built-in strategy engine — run backtests directly in TradingView's Strategy Tester with your own commission and slippage settings - Clean chart presentation — signals, zones, and labels are designed for readability on both desktop and mobile ## SETTINGS DOCUMENTATION **Strategy Mode** — Aggressive / Selective Aggressive uses the full confluence model: BOS/CHoCH + Order Block + FVG + Liquidity Sweep. Selective adds the premium/discount zone filter on top of everything. If you are new to smart money concepts, start with Selective — fewer signals, but each one carries stronger structural backing. **Direction TF (HTF)** — Default: 240 (4H) The higher timeframe that establishes directional bias through structural breaks. Increase to Daily (1440) for fewer, higher-conviction signals on larger moves. Decrease to 60 (1H) for more responsive structure detection on shorter swings. **Confirmation TF (MTF)** — Default: 60 (1H) The mid timeframe that confirms HTF bias before any entry can trigger. Must be lower than or equal to the Direction TF. The default 240/60 pair provides a 4:1 ratio that balances responsiveness with structural reliability. **Swing Length** — Default: 10 | Range: 3-50 The number of bars used to identify swing highs and swing lows for structural analysis. Lower values increase sensitivity (more BOS/CHoCH signals, more noise). Higher values detect only major structural shifts. The default of 10 is balanced for BTC on the 4H timeframe. **OB Lookback Bars** — Default: 15 | Range: 3-30 How far back the script searches for a valid order block after a structural break is detected. Smaller values yield higher precision but may miss valid blocks that formed earlier. Larger values capture more blocks but increase the risk of the OB being partially mitigated. **Sweep Memory** — Default: 20 bars | Range: 5-50 The lookback window for detecting a liquidity sweep before confirming an entry. If valid sweeps are being missed on your asset or timeframe, increase this value. If you want tighter sweep-to-entry timing, decrease it. **Risk:Reward Ratio** — Default: 2.0 | Range: 1.0-5.0 Determines take-profit placement relative to stop-loss distance. At 2.0, the TP is placed twice the SL distance from entry. Higher values produce larger winning trades but lower win rates. Always re-run the backtest after changing this setting to understand the impact on overall expectancy. **SL Buffer %** — Default: 0.3 | Range: 0.0-2.0 A buffer added beyond the order block boundary for stop-loss placement, designed to prevent wick stop-outs on volatile assets like BTC. At 0.3%, a $100,000 OB low places the stop-loss at $99,700. **P/D Zone Threshold** — Default: 0.80 | Range: 0.50-0.85 | Selective Mode Only Controls how deep into the premium or discount zone price must be for an entry to qualify. At 0.80, longs require price to be in the bottom 20% of the HTF range and shorts require the top 20%. At 0.50, the indicator uses standard equilibrium (above/below 50%). This parameter is ignored in Aggressive mode. **Max FVGs per Side** — Default: 5 | Range: 1-10 Controls how many unfilled fair value gaps are displayed per direction (bullish and bearish independently). At 5, the chart shows up to 5 active bullish FVGs and 5 active bearish FVGs simultaneously. Lower values reduce visual clutter on smaller timeframes. Higher values provide more structural context on higher timeframes where gaps may persist longer. When the limit is reached, the oldest FVG is removed to make room for the newest one. **FVG Max Distance %** — Default: 8.0 | Range: 1.0-25.0 FVGs whose midpoint is further than this percentage from the current price are automatically hidden. This keeps the chart focused on structurally relevant gaps — a gap at 85K is not actionable when price is at 97K. On higher timeframes or during high-volatility periods, increase this value to retain wider context. On lower timeframes or in tight ranges, decrease it to keep only the nearest gaps visible. **Show Trade Boxes** — On / Off Toggles the visual boxes that display entry, stop-loss, and take-profit levels for each signal. Green boxes indicate long positions. Red boxes indicate short positions. ## CONCEPTS EXPLAINED For traders learning smart money concepts, here is a plain-language breakdown of every structural element this indicator uses. **Order Blocks (OB)** An order block is the last opposing candle before a significant impulsive move. In a bullish scenario, it is the last bearish candle before a strong rally. Institutional traders place large orders at these levels during accumulation or distribution phases, creating zones where price is statistically likely to react when it returns. Order blocks are the foundation of SMC entry models — they represent where smart money positioned itself. **Fair Value Gap (FVG)** A fair value gap is a three-candle price imbalance where a gap exists between candle 1's high (or low) and candle 3's low (or high). In a bullish FVG, candle 2 moved so aggressively that it left a gap between candle 1's high and candle 3's low. These gaps represent areas where price moved too fast for orders to fill completely. Markets tend to return to these inefficiencies to rebalance. When an FVG overlaps an order block, you have two independent structural signals pointing to the same zone — that is high-probability confluence. **Break of Structure (BOS)** A break of structure occurs when price moves beyond a prior swing high (bullish BOS) or swing low (bearish BOS) in the direction of the prevailing trend. It signals continuation — the trend is intact and expanding. This indicator uses BOS detection on both the higher timeframe and the confirmation timeframe to ensure structural alignment before entries. **Change of Character (CHoCH)** A change of character is a structural break against the prevailing trend, signaling a potential reversal. In a downtrend, a CHoCH occurs when price breaks above the most recent lower high. This is significant because it is the first objective signal that sellers may be losing control. The indicator treats CHoCH as a valid trigger alongside BOS, allowing entries on both trend continuations and early reversals. **Liquidity Sweep** A liquidity sweep occurs when price briefly pushes beyond a key structural level — a swing high or swing low — to trigger clustered stop-loss orders and pending orders, then reverses. This is a core ICT concept. Institutional participants need liquidity to fill large positions, and retail stop-losses provide that liquidity. The sweep-and-reverse pattern is one of the most reliable structural signals in price action analysis. This indicator requires a confirmed sweep before any entry signal fires. **Premium and Discount Zones** The premium/discount zone model divides the higher-timeframe dealing range into two halves using the 50% equilibrium level. The upper half is the premium zone — where price is expensive relative to the range, favoring short positions. The lower half is the discount zone — where price is cheap relative to the range, favoring long positions. The Selective mode narrows this further using the P/D Zone Threshold, requiring entries at the extremes of these zones for maximum positional advantage. ## HOW TO USE THIS INDICATOR **Step 1 — Add to Chart** Add the indicator to any BTCUSDT chart. The default settings are optimized for the 4H timeframe on Binance data, but the logic works on any Bitcoin pair and can be adapted to other timeframes by adjusting the Direction TF, Confirmation TF, and Swing Length parameters. **Step 2 — Choose Your Mode** Open Settings and select either Aggressive or Selective mode. Aggressive generates more signals and captures more of the trend. Selective generates fewer, higher-quality signals with tighter risk control. If you are still learning smart money concepts, Selective mode provides a cleaner read because every signal has maximum structural confluence. **Step 3 — Read the Signals** Entry arrows appear directly on the chart when all confluence conditions are met. Green arrows indicate long entries. Red arrows indicate short entries. Stop-loss and take-profit levels are plotted as horizontal lines extending from each signal. **Step 4 — Enable Trade Boxes** Turn on Show Trade Boxes in Settings for a clear visual representation of each trade's risk and reward. The box spans from entry to TP, with the SL level marked. This makes it easy to evaluate the risk-reward ratio of each signal at a glance. **Step 5 — Run the Strategy Tester** Open TradingView's Strategy Tester panel to verify the backtest results on your chart and data. Set commission and slippage to match your exchange's actual fees. The default commission of 0.075% per trade represents Binance taker fees. Adjust if you trade on a different exchange. **Step 6 — Adjust Settings Carefully** If you modify parameters, change one at a time and re-run the backtest after each change to understand the isolated impact. The default settings are the product of extensive testing — they are not arbitrary. Move away from them deliberately, not casually. **Step 7 — Combine with Your Own Context** This indicator provides structural signals based on smart money concepts. It does not account for fundamental catalysts, macroeconomic events, or on-chain data. Use these signals as one input within your broader analytical framework. The strongest results come from traders who combine structural signals with their own understanding of market context. **Step 8 — Manage Risk** No indicator guarantees profits. Size your positions according to your account size and risk tolerance. Never risk more than you can afford to lose on a single trade. The backtest results represent historical performance under specific conditions — live trading introduces variables that backtests cannot fully capture. ## BACKTEST CONDITIONS — FULL TRANSPARENCY Every number published here is reproducible. Load the indicator with default settings on BTCUSDT 4H and open the Strategy Tester. Here are the exact conditions: - Symbol: BTCUSDT (Binance) - Timeframe: 4H - Period: January 2023 through February 2026 (3+ years of data) - Initial Capital: $10,000 - Order Size: 100% of equity per trade - Commission: 0.075% per trade (Binance taker fee) - Slippage: 3 ticks per order - Non-repainting: barstate.isconfirmed enforced on all signal calculations - No lookahead bias: lookahead = barmerge.lookahead_off on all request.security() calls - No future leakage: entries execute on the bar after all conditions are confirmed Sample sizes are moderate — 55 trades for Aggressive, 21 for Selective. The Selective mode's 21 trades in particular should be supplemented with forward-testing on live data to build stronger statistical confidence. Both modes are provided so you can evaluate the frequency-versus-quality tradeoff with full transparency. Past performance under specific historical conditions does not guarantee future results. Markets evolve. Volatility regimes shift. The only honest way to evaluate any strategy is continuous forward-testing alongside historical backtesting. ## DISCLAIMER This indicator is published for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any asset. Trading Bitcoin and other financial instruments involves substantial risk of loss. Leverage, volatility, exchange downtime, liquidity gaps, and other real-world factors can significantly impact live performance versus backtested results. You should carefully consider your financial objectives, level of experience, and risk appetite before trading. Never trade capital you cannot afford to lose. You are solely responsible for your own trading decisions and their outcomes. The author makes no guarantees about the accuracy, completeness, or reliability of this indicator or its signals. Use it at your own risk. --- **Suggested Tags:** `smartmoneyconcepts` `orderblocks` `fairvaluegap` `bitcoin` `ICT` `BOS` `liquidez` `bloques` `accionprecio` --- ## VERSION EN ESPANOL (Resumen) Para la documentacion completa, consulta la seccion en ingles arriba. A continuacion, un resumen de los puntos clave. --- ### Que es SMC Pro BTC Motor de smart money concepts multi-temporal construido exclusivamente para Bitcoin. Combina bloques de ordenes, fair value gaps, barridos de liquidez, rupturas de estructura y zonas premium/descuento en una sola estrategia verificada por backtest, sin repintado y de codigo abierto. Desarrollado por un ex-analista cuantitativo de un fondo sistematico en Estados Unidos — la misma mecanica de flujo de ordenes que usan los algoritmos institucionales, adaptada para traders retail en TradingView. Todos los resultados son reproducibles con los ajustes por defecto. Sin parametros ocultos. Sin sobreajuste. ### Dos Modos de Estrategia **Modo Agresivo** — Entradas en cualquier BOS/CHoCH valido confirmado por bloque de ordenes + FVG + barrido de liquidez. Mas operaciones, mayor exposicion a movimientos tendenciales. | Metrica | Valor | |---|---| | Total de Trades | 55 | | Win Rate | 49.09% | | P&L Neto | +49.12% | | Factor de Beneficio | 1.41 | | Drawdown Maximo | 14.70% | **Modo Selectivo** — Agrega filtro de zona premium/descuento. Longs solo en zona de descuento, shorts solo en zona premium. Menos operaciones, mayor calidad por senal. | Metrica | Valor | |---|---| | Total de Trades | 21 | | Win Rate | 61.90% | | P&L Neto | +26.92% | | Factor de Beneficio | 2.347 | | Drawdown Maximo | 8.66% | Ambos modos incluyen comisiones (0.075%) y slippage (3 ticks) en los resultados. No hay un modo objetivamente mejor — solo el que se ajusta a tu perfil de riesgo. ### Como Usar - **Agrega el indicador** a cualquier chart BTCUSDT (optimizado para 4H, Binance). Selecciona modo Agresivo o Selectivo en Configuracion. - **Lee las senales:** flechas verdes = largo, flechas rojas = corto. Activa Show Trade Boxes para ver entrada, SL y TP visualmente. Los FVGs activos se muestran como zonas en el chart — configura cuantos quieres ver y a que distancia maxima del precio con Max FVGs per Side y FVG Max Distance %. - **Verifica con el Strategy Tester:** abre el panel de Strategy Tester de TradingView, ajusta comisiones y slippage a las tarifas de tu exchange, y confirma los resultados en tu propio chart. - **Gestiona tu riesgo:** ningun indicador garantiza ganancias. Dimensiona posiciones segun tu cuenta y tolerancia al riesgo. Combina estas senales con tu propio analisis fundamental y de contexto de mercado. ### Condiciones del Backtest BTCUSDT (Binance) | 4H | Enero 2023 - Febrero 2026 | Capital: $10,000 | 100% equity por trade | Comision: 0.075% | Slippage: 3 ticks | Sin repintado (barstate.isconfirmed) | Sin lookahead bias | Sin filtracion futura. ### Aviso Legal Este indicador se publica con fines educativos e informativos unicamente. No constituye asesoria financiera ni recomendacion de compra o venta. Operar Bitcoin implica riesgo sustancial de perdida. Nunca operes con capital que no puedas permitirte perder. El rendimiento pasado no garantiza resultados futuros. Usalo bajo tu propio riesgo.Pine Script® strategyby DOE_Trade40
[blackcat] L1 Divergence of CCI for BS Signal█ OVERVIEW This indicator identifies potential market reversal points by detecting CCI (Commodity Channel Index) divergence patterns combined with extreme oversold/overbought conditions. It generates clear Buy and Sell signals with visual labels, helping traders spot high-probability entry and exit opportunities. █ CONCEPTS This indicator utilizes CCI divergence analysis to identify potential trend reversals. Key principles: • Bullish Divergence : Price makes a new low while CCI fails to make a corresponding new low, suggesting weakening downward momentum and potential reversal upward • Bearish Divergence : Price makes a new high while CCI fails to make a corresponding new high, indicating weakening upward momentum and potential reversal downward • Extreme Level Confirmation : Signals are filtered by requiring CCI to reach extreme levels (-150/-200 for buys, +150/+200 for sells) to ensure high-quality setups █ HOW TO USE 1 — Add the indicator to your chart from the indicators menu 2 — Configure the CCI period and divergence detection parameters based on your trading style 3 — Wait for "B" (Buy) or "S" (Sell) labels to appear on the indicator panel 4 — Use divergence lines and auxiliary signals for additional confirmation Input Parameters • CCI Period : The lookback period for CCI calculation (default: 14) • Oversold Level : The threshold below which indicates oversold conditions (default: -100) • Overbought Level : The threshold above which indicates overbought conditions (default: +100) • Extreme Oversold : The extreme oversold threshold for signal confirmation (default: -200) • Extreme Overbought : The extreme overbought threshold for signal confirmation (default: +200) • Divergence Detection Period : Lookback period for identifying CCI highs/lows (default: 20) • Price New Low Detection Period : Lookback period for identifying price extremes (default: 50) █ SIGNALS Visual Elements • "B" Label (Blue) : Buy signal - Bullish divergence detected with CCI in oversold territory and prior extreme oversold confirmation • "S" Label (Orange) : Sell signal - Bearish divergence detected with CCI in overbought territory and prior extreme overbought confirmation • ↑ Arrow (Green) : Bullish divergence marker appearing in oversold zone • ↓ Arrow (Red) : Bearish divergence marker appearing in overbought zone • ★ Star (Aqua/Orange) : CCI crossing above oversold line or below overbought line • ● Dot (Lime/Red) : CCI crossing above or below zero axis • Divergence Lines : Green lines connect bullish divergence points; Red lines connect bearish divergence points CCI Visualization • Red Line : CCI value when rising • Green Line : CCI value when falling • Green Histogram : CCI above +100 (overbought zone) • Red Histogram : CCI below -100 (oversold zone) • Blue Histogram at +220 : Buy signal strength indicator • Orange Histogram at -220 : Sell signal strength indicator Zone Fills • Blue Fill : Overbought zone (CCI > +100) • Red Fill : Oversold zone (CCI < -100) • Dark Red Fill : Extreme overbought danger zone (CCI > +200) • Dark Green Fill : Extreme oversold opportunity zone (CCI < -200) █ ALERT CONDITIONS The indicator includes built-in alert conditions for: • Buy Signal : Triggered when bullish divergence buy signal appears • Sell Signal : Triggered when bearish divergence sell signal appears • Cross Above Oversold : CCI crosses above the oversold level • Cross Below Overbought : CCI crosses below the overbought level • Bullish Divergence : Any bullish divergence pattern detected • Bearish Divergence : Any bearish divergence pattern detected █ LIMITATIONS • Divergence signals may produce false positives during strong trending markets • Signals should be used in conjunction with other technical analysis tools • Past performance does not guarantee future results • Best suited for ranging or reversing markets rather than strong trends • The profit percentage display is for reference only and tracks from the most recent buy signal █ NOTES • This indicator works best on timeframes from 15 minutes to daily charts • Consider using support/resistance levels for additional confirmation • The "B" and "S" signals represent the highest probability setups with multiple confirmations • Auxiliary signals (stars and dots) provide earlier warnings but may be less reliable ═════════════════════════════════════════════════════════════════════════ For questions or feedback, use comments section below. Pine Script® indicatorby blackcat140237
Fractal Sweep Strategy# Fractal Sweep Strategy A trend-following strategy that trades **sweeps** of fractal highs and lows, using two complementary entry models that can run in parallel. --- ## Concept The strategy identifies **fractal points** (local highs/low over N bars) and enters when price **sweeps** them—breaking above a fractal high or below a fractal low—then closes back in the opposite direction. This often signals a rejection and potential reversal. **Sweep High** → Short bias **Sweep Low** → Long bias --- ## Entry Models ### 1. Attempted Candle - **Immediate trade:** The sweep candle itself is bearish (for short) or bullish (for long). - **Delayed trade:** If the sweep candle is not in the right direction, the strategy waits for the first **Attempted candle**: - **Short:** Bearish candle with `high > high ` (takes out the prior candle’s high). - **Long:** Bullish candle with `low < low ` (takes out the prior candle’s low). - **Entry:** At the close of the Attempted candle (repainting-safe). - **SL:** Low of the Attempted candle (short) / High of the Attempted candle (long). - **TP:** CRV × risk (default CRV = 2). ### 2. Trigger Level - **Setup:** Fractal high is swept by a **bullish** candle, and the **next candle is not** an Attempted candle. - **Trigger level:** Body low of the sweep candle (`min(open, close)`), ignoring the wick. - **Activation:** Any later candle closes **below** the trigger level. - **Entry:** At the close of the breaking candle, or at the open of the next candle if the break is detected one bar late. - **SL:** High of the sweep candle (Trigger Level candle). - **TP:** CRV × risk (default CRV = 2). ### Parallel Mode With **"Both"** selected, both models run at the same time. Pyramiding allows up to 2 short positions (one from each model) when both trigger. --- ## Risk Management - **Stop Loss:** High/Low of the reference candle (Attempted or Trigger Level candle). - **Take Profit:** Entry ± (CRV × risk), with separate CRV for each model. - **Max Trades per Day:** Limits total entries across both models (default: 5). --- ## Optional Filters ### Supertrend H1 (Directional Bias) - **Off:** No filter. - **With Trend:** Long only in H1 uptrend, short only in H1 downtrend. - **Counter Trend:** Long only in H1 downtrend, short only in H1 uptrend. ### Session Filter - Restricts trades to a time window (e.g. 08:00–17:00) in the selected timezone. --- ## Fractal Settings - **Bars in Fractal:** 3, 5, 7, or 9 (default: 5). - **Fractals Timeframe:** Chart TF or higher (e.g. M15 for MTF fractals). - **Max Age:** Fractals older than N bars are ignored. --- ## Visuals - Fractal lines and markers (▲/▼). - SL/TP lines for open trades. - Optional debug labels (trade explanation, sweep labels, no-trade reasons). - Optional H1 Supertrend overlay when bias is active. --- ## Repainting Safety Entries are placed only on **confirmed bars** (`barstate.isconfirmed`), so signals are fixed once the candle closes. --- ## Credits - **Fractal logic:** Based on MTF Fractals - **Strategy:** Lean Strategy Blueprint - **License:** CC BY-NC-SA 4.0 Pine Script® strategyby Lean_Trading31
[CodaPro] Smart Money Flow Engine V1.0 Smart Money Flow Engine V1.0 - Volume Separation, Order Blocks, Fair Value Gaps, and Reversal Protection OVERVIEW The Smart Money Flow Engine is a multi-layered institutional flow detection system. It separates buying and selling volume, identifies smart money concepts (order blocks and fair value gaps), scores reversal risk using a weighted system, and generates confluence-based trade signals with built-in trade management. This is not a simple volume indicator. It is a complete analytical framework designed to help traders understand what institutional participants are doing beneath the surface of price action. HOW IT WORKS 1. VOLUME SEPARATION The engine splits each bar's volume into estimated bull and bear components based on the relationship between open, close, high, and low. These are smoothed using VWMA over a configurable period (default 24). When bull volume dominates above a delta threshold, the indicator identifies a bull zone. When bear volume dominates, a bear zone. This separation is the foundation for all other calculations. 2. INSTITUTIONAL DETECTION When total volume exceeds the average by a configurable multiplier (default 2x) AND the directional volume confirms the move, the bar is flagged as institutional activity. The sensitivity is adjustable from 1.0 (very sensitive) to 2.0 (strict), allowing users to tune for their specific instrument. 3. ORDER BLOCKS Bullish order blocks are identified where a bearish candle with strong volume is immediately followed by a move above that candle's high. Bearish order blocks are the inverse. These are drawn as labeled boxes on the chart in Pro display mode. 4. FAIR VALUE GAPS The indicator detects price imbalances (gaps between candle bodies) that exceed a minimum percentage threshold (default 0.3%). Bullish FVGs appear as dashed boxes where price gapped up, bearish FVGs where price gapped down. These represent areas where price may return to fill the imbalance. 5. REVERSAL PROTECTION SYSTEM (Weighted Scoring) Before any signal fires, the engine calculates a reversal risk score (0-100) using four weighted components: - RSI Extremes (default 30 weight): Is RSI oversold or overbought? - Volume Climax (default 25 weight): Is there a volume spike at a price extreme? - Price Stretch (default 20 weight): Is price extended far from its EMA? - Consecutive Candles (default 25 weight): Have we seen exhaustion patterns? If the reversal score exceeds the threshold (default 50), the signal is blocked. This prevents buying at tops and selling at bottoms. The weights are fully adjustable so you can emphasize the factors that matter most for your instrument. 6. CONFLUENCE-BASED SIGNALS Signals require multiple confirmations before firing. In Aggressive mode, 2 of 5 factors must align. Balanced requires 3. Conservative requires 4. The five confluence factors are: volume zone direction, institutional activity, order block presence, fair value gap presence, and flow percentile rank. All signals require barstate.isconfirmed before firing. This indicator does not repaint. 7. TRADE MANAGEMENT Optional one-trade-at-a-time system with configurable take profit, stop loss, and maximum bars in trade. TP/SL lines are drawn on chart while a position is active. When a trade exits (by TP, SL, or max bars), the exit reason is labeled on the chart. 8. MONEY FLOW PROFILE In Pro display mode, a histogram-style flow profile is drawn to the right of the chart showing the distribution of net flow over the last 100 bars. Color gradients indicate bull vs bear flow intensity with a glowing zero line for reference. The most concentrated flow bucket pulses for emphasis. FEATURES - Bull/bear volume separation with VWMA smoothing - Institutional buy/sell detection with adjustable sensitivity - Order block identification and visualization - Fair value gap detection with minimum size filter - Weighted reversal protection scoring system (4 components, fully adjustable) - Three signal modes: Conservative, Balanced, Aggressive - Signal cooldown to prevent overtrading - Built-in trade management with TP/SL/Max bars - Money flow distribution profile with gradient coloring (Pro mode) - Two dashboards: main status panel and elite detector - Gradient candle coloring based on flow direction and strength - RSI extreme price levels drawn on chart with lookback window - Three color presets: CodaPro, Institutional, Heatmap - Dark and Light theme support - Three display modes: Lite, Standard, Pro - 9 alert conditions for automation NON-REPAINTING CONFIRMATION This indicator is designed to be fully non-repainting on confirmed bars: - No request.security calls (no lookahead risk) - All entry and exit signals gated by barstate.isconfirmed - All visual elements (labels, boxes, plotshapes) only render on confirmed bars - Consecutive candle counting only updates on confirmed bars - RSI level tracking only updates on confirmed bars - Dashboard and money flow profile update on current bar for display purposes only and have no impact on signal generation USAGE Apply to any instrument on any timeframe. The indicator works on stocks, forex, crypto, and futures. Start with default settings and adjust the signal mode based on your trading style. Use the reversal protection weights to fine-tune which conditions matter most for your instrument. RECOMMENDED SETTINGS BY STYLE Scalping: Aggressive mode, lower cooldown (5-10), tighter TP/SL Swing: Balanced mode, moderate cooldown (15-25), wider TP/SL Position: Conservative mode, high cooldown (30+), widest TP/SL ABOUT THE BUILD This indicator was engineered using ARiS, the AI coding engine behind CodaPro. ARiS is a collaborative development system that translates trading concepts into production-grade Pine Script. The strategy logic, volume separation methodology, reversal protection scoring system, and signal architecture were designed by ARiS through CodaPro.ai. ARiS handled the code architecture, optimization, and non-repainting compliance. Created by Aris | CodaPro Engine DISCLAIMER This tool was created using the CodaPro Pine-Script AI engine — designed to produce robust trading overlays, educational visuals, and automation-ready alerts. It is provided strictly for educational purposes and does not constitute financial advice. Always backtest and demo before applying to real capital. Pine Script® indicatorby ArisCodes61
Dynamic RSI Level + Divergence [Metrify]This script provides a customized approach to tracking RSI divergence by replacing static overbought and oversold levels with dynamic volatility bands. Standard oscillators often fail during strong trends by staying pinned above 70 or below 30, producing premature signals. To handle this, the indicator calculates a moving baseline for the RSI and wraps it in standard deviation bands. This allows the overbought and oversold boundaries to adapt to the current market situation. Does the divergence delayed? No. The divergence label is printed exactly at the bar where the condition becomes valid. There is no forward confirmation or repaint shifting. This honest approach may produce losing signals in strong trends, but it preserves the integrity of real-time detection. Divergence filters (optional, set this to 0 to avoid the filter): Min RSI Diff (Steepness) -> requires sufficient vertical gap between RSI pivots to avoid weak, flat divergences. Min Price Diff -> minimum price to move a meaningful distance (relative to ATR) between both pivots. Pine Script® indicatorby Metrify36
CandelaCharts - Quadratic Killzones📝 Overview The Quadratic Killzones indicator is a specialized tool for visualizing key trading sessions and their price ranges divided into quadrants. These session ranges are significant because they help traders identify potential support and resistance zones based on session highs and lows. The indicator tracks multiple sessions (Asia, London Open, NY AM, NY Lunch, NY PM) and displays their price ranges with quadrant levels (0%, 25%, 50%, 75%, 100%). Session Visualization: Boxes and lines highlight trading session ranges directly on the chart. Quadrant Levels: Price ranges are divided into quadrants for precise level identification. Level Invalidation: Lines extend until price invalidates the level, providing dynamic support/resistance tracking. Session highs and lows serve as key reference points for intraday traders. The quadrant divisions help identify premium (above 50%) and discount (below 50%) zones within each session's range. 📦 Features Key features of the indicator include: Multi-Session Support: Track up to 6 different sessions (Asia, London Open, NY AM, NY Lunch, NY PM, Custom). Quadrant Division: Session ranges divided into 0%, 25%, 50%, 75%, and 100% levels. Level Invalidation: Lines automatically terminate when price invalidates the level. Session Boxes: Visual boxes showing the session range with optional session name labels. Customizable Styling: Configurable colors, line styles, and display options per session. Time Dividers: Optional vertical dividers at specified timeframe intervals. ⚙️ Settings History Sessions: Number of historical sessions to display (1-10). Session Settings (First through Fifth + Custom) Show: Toggle visibility of each session. Name: Custom label for the session (AS, LO, NYAM, NYLA, NYPM). Time: Session time range in 24-hour format. Color: Color for the session's boxes and lines. Styles Lines: Line style (solid, dashed, dotted). Line Width: Thickness of the lines (1-4). Show Box: Display session range as a box. Show Labels: Display high/low labels at line endpoints. Show Session Name: Display session name inside the box. Show Quadrant Lines: Display 25% and 75% quadrant levels. Show Percentage Labels: Display percentage labels (0%, 25%, 50%, 75%, 100%). Dividers Show: Toggle vertical time dividers. Timeframe: Interval for divider lines. Style: Divider line style. Width: Divider line thickness. Color: Divider line color. Extend: Extend dividers to chart edges. 🌟 Benefits Why use Quadratic Killzones over standard session indicators? Granularity : The quadratic division (0%, 25%, 50%, 75%, 100%) allows you to identify "Premium" and "Discount" pricing within a specific session's range, offering more precision than simple High/Low markers. Clean Charts : The "Level Invalidation" feature automatically stops drawing lines once price breaks them. This keeps your chart clean and focused only on active, defended levels. Time Alignment : With the "New York Midnight" setting, you ensure your session data is aligned with the true institutional trading day, regardless of your broker's server time. Structure Identification : Quickly spot when a session range is being respected (ranging/consolidation) or broken (expansion/trend). ⚡️ Showcase Session Boxes Session Boxes with Quadrants Session Boxes with Labels Session Deviders Multiple Sessions 🚨 Alerts This indicator does not include built-in alerts. Users can create custom alerts based on price crossing session levels using TradingView's alert functionality. ⚠️ Disclaimer Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results. Pine Script® indicatorby CandelaCharts28
ICT Levels & GapsICT Levels & Gaps displays key ICT reference levels directly on your chart — fully configurable and designed for clean, distraction-free price action analysis. Features: Period Highs/Lows — Today, Previous Day, Week, and Month with configurable lookback (e.g. show the last 2 days, 2 weeks, 2 months) All-Time High/Low Session Highs/Lows — Asia, London, New York Kill Zones — Asia, London, NY AM, NY PM with separate color styling Opening Gaps — New Day Opening Gap (NDOG) & New Week Opening Gap (NWOG) with midline and fill EHPDA — Event Horizon of Price Delivery Algorithm (midpoints between sorted gaps) Retracement Filter — counts sweeps since level creation; filtered levels shown at reduced opacity Smart Label Combining — overlapping levels at the same price are merged into a single label Pin Labels to Screen — labels stay visible at the chart edge when the line start is off-screen Today's H/L Noise Filter — excludes levels formed within the last N bars All levels support custom colors, line styles, line widths, short/long label formats, and timezone configuration. Line start mode can be set to Period Start or Formation Candle. Pine Script® indicatorby z0mt3cUpdated 31
[blackcat] L1 CJDX Super Short Line█ OVERVIEW CJDX Super Short Line is a momentum-based indicator optimized for short-term trading signals. It utilizes triple exponential moving average calculations to generate buy/sell signals through K/D line crossovers with momentum confirmation. █ CONCEPTS This indicator is based on the CJDX (超级短线/Super Short Line) methodology, which applies triple-smoothed exponential moving averages to identify short-term momentum shifts and generate trading signals. Core Principles • Triple EMA smoothing reduces noise while maintaining responsiveness • K/D line crossovers identify momentum direction changes • J-value filtering confirms trend alignment before signal generation • Signal gap filtering prevents over-trading in choppy markets █ HOW TO USE 1 — Add the indicator to your chart from the Indicators menu 2 — Observe the K line (white) and D line (red) for crossover signals 3 — Confirm signals with J histogram direction and zero-line position 4 — Use "B" markers for potential buy entries and "S" markers for sell exits Signal Interpretation • Buy Signal (B) : K line crosses above D line with J > 0, indicating upward momentum • Sell Signal (S) : K line crosses below D line with J < 0, indicating downward momentum • J Histogram : Red bars show positive momentum, green bars show negative momentum █ CALCULATION METHOD Base Components • Weighted Typical Price: (2 × Close + High + Low) / 4 • Triple EMA: Three consecutive 4-period EMAs applied for maximum smoothness • J Line Momentum: Rate of change of Triple EMA value Signal Lines • K Line (Fast): 3-period EMA of J momentum (optimized from 1-period SMA) • D Line (Slow): 5-period EMA of J momentum (optimized from 3-period SMA) █ FEATURES Visual Elements • J Histogram: Columns showing momentum strength (red = positive, green = negative) • K Line (White): Fast signal line for crossover detection • D Line (Red): Slow signal line acting as trigger reference • Zero Axis: Dotted reference line for momentum direction Signal Markers • "B" Label: Buy signal marker in red text • "S" Label: Sell signal marker in green text Optimizations • EMA-based smoothing instead of SMA for reduced lag • Momentum confirmation (J > 0 for buy, J < 0 for sell) • 3-bar minimum gap between signals to reduce noise █ RECOMMENDED SETTINGS • Best suited for short-term trading on 15-minute to 4-hour timeframes • Works well in trending markets with clear momentum direction • Signal gap period is set to 3 bars by default • Consider combining with volume analysis for confirmation █ LIMITATIONS • May generate false signals in ranging or sideways markets • Lag inherent in all moving average-based indicators • Not suitable as a standalone trading system • Performance varies across different market conditions and assets █ NOTES • This is an optimized version of the classic CJDX indicator • Original SMA calculations replaced with EMA for improved responsiveness • Signal filtering helps avoid consecutive buy/sell signals within 3 periods • Always use proper risk management and confirm signals with additional analysis ═════════════════════════════════════════════════════════════════════════ For questions or feedback, use comments section below. Pine Script® indicatorby blackcat140227
ROC(2) Pivot (Linda Raschke)A daily bias level based on Linda Bradford Raschke's adaptation of the Taylor Trading Technique. The indicator plots a single price level — the point where the 2-period rate of change flips sign — and colors it by the current bias direction. Concept George Douglas Taylor observed in the 1950s that markets tend to swing in 2–3 day cycles: a buy day, a sell day, a sell-short day. Raschke formalized this with a simple calculation that captures where short-term momentum shifts. The pivot is known before the session opens because it uses only prior daily closes: Pivot = (Yesterday's Close − Close 3 days ago) + Close 2 days ago Price above the pivot → long bias. Price below → short bias. One number, one rule. Features - Pivot line with bias-colored shading (long/short fill between price and pivot) - Info table showing current bias, pivot price, streak, and respect score - Streak — how many consecutive days the bias has held the same direction. - Respect score — over the last N completed sessions, how many times did price stay entirely on one side of the pivot vs. crossing through it? Higher respect = the pivot is acting as meaningful support/resistance - Alerts for bias flips (price crossing the pivot) - Configurable colors, line width, fill transparency, table position/size, dark/light theme How to use it Check the pivot before the session. If price is above, favor long setups. If below, favor short setups. Use your own entry signals — the pivot provides directional context, not entries. The respect score helps gauge conviction: if the pivot has been respected 7+ out of 10 sessions, traders are treating that level seriously. If only 3–4, the market is chopping through it and the bias carries less weight. Non-repainting behavior The pivot line itself does not repaint — it is calculated entirely from prior daily closes and is fixed at the open. The streak and respect scores use only completed daily bars (no intraday repainting). The real-time bias (line color, fill, table) updates as price crosses the pivot during the session, which is intended behavior — it reflects the current state, not a prediction. Credits Based on the 2-Period Rate of Change concept from Linda Bradford Raschke (Street Smarts, Chapter 8) and George Douglas Taylor's Taylor Trading Technique (1950). This indicator is a visualization and context tool — it does not generate buy/sell signals and is not a standalone trading system. Pine Script® indicatorby const21
Goldbach Start Finish V6.1 GoldBach Indicator -Creator - Trevor -Tks, Ajay and hopi's -29/35 > 47(50) Goldbach Market Algorithm — Unlocking Hidden Patterns This indicator explores the intersection between number theory and market behavior using the concept of Goldbach numbers — the idea that every even number greater than 2 can be expressed as the sum of two prime numbers. By mapping these numerical relationships into time and price structures, this tool detects potential zones of confluence and algorithmic reaction points often hidden to traditional technical indicators. Built with a proprietary engine, it analyzes how prime number pairs might influence market movements through cyclical timing, fractal levels, and algorithm-driven behavior. 🔹 Ideal for: Traders looking to explore unconventional edge, time-based analysis, and algorithmic footprints. 🔹 Works well with: Mini Index (WIN), major FX pairs, and high-volume assets. 🔹ALGO2 - 97-59-83-11-47-29 🔹ALGO1 - 100-89-41-3-17-71Pine Script® indicatorby lfpires20
Trinity Triple ATR SuperTrend Pro StrategyATR Strategy tester to allow up to 3 ATR's and then backtesting to refine the settings and win rate for based on the commodity and timeframe you want to evaluate include the take profits and stop loss levelsPine Script® strategyby EMA34TRADER31
Elliott Wave Predictor (9-Step Cycle + Full Year Projection)Elliott Wave Predictor (9-Step Cycle + Full Year Projection) This indicator provides an advanced Elliott Wave structure analysis and projection tool, designed to visualize a complete hypothetical market cycle based on classic Fibonacci ratios. It models a complex 9-step Impulse Wave (1, 2A, 2B, 2C, 3, 4A, 4B, 4C, 5) followed by a post-cycle Correction (A-B-C), giving you a comprehensive roadmap for potential price action over the next ~1 year. Key Features 🌊 Advanced 9-Step Impulse Cycle Unlike simple 5-wave counters, this script models the internal sub-waves of corrections for greater precision: Wave 1: Initial Impulse Wave 2 (A-B-C): A detailed 3-step correction (ZigZag) targeting specific Fibonacci retracement levels (0.382, 0.50, 0.618). Wave 3: The major impulse leg targeting the 1.618 extension. Wave 4 (A-B-C): Another layered 3-step correction, providing realistic paused setups before the final leg. Wave 5: The final impulse targeting the 2.618 extension. 🔮 Full "Year-Ahead" Projections The script projects price action 12 steps into the future (Wave 1-5 + Correction A-B-C), visualized as a dotted path extending from the current price. This offers a long-term "what if" scenario based on ideal Elliott Wave structures. 🤖 Smart "Overshoot" Detection The prediction engine is context-aware. If the live price has already moved past a projected target (e.g., dropped deeper than expected for Wave A), the script automatically: Detects the overshoot. Assumes the current move is the completion of that wave. Instantly recalculates and projects the next leg (e.g., the Wave B bounce) from the current price. 🛠️ Manual & Auto Controls Auto Trend Detection: Analyzes recent price action (last 6 swings) to determine the dominant trend (Bullish/Bearish). Manual Overrides: Need to force a specific count? You can manually set the "Last Completed Wave" (e.g., "Just finished Wave 3") to align the projection with your own analysis. 📊 Comprehensive Dashboard A built-in table displays: Targets: Exact price levels for every upcoming wave. % Change: Standardized percent moves to reach each target. Fib Levels: The Fibonacci logic behind each target (e.g., "0.618 Retrace", "1.618 Ext"). 📈 Additional Overlays 50 & 200 WMA: Trend-following moving averages color-coded for instant bias confirmation. Fibonacci Levels: Dotted horizontal lines showing key support/resistance zones relative to the wave structure. How to Use Add to Chart: Works best on Daily (D) or Weekly (W) timeframes for swing trading contexts. Check Trend: Ensure the "Trend Direction" setting matches your market view (or leave it on "Auto"). Align Count: If the automatic count seems off (e.g., market is clearly in Wave 4 but script says Wave 2), use the "Manual Last Wave" setting to tell the script "I just finished Wave 3". The projection will instantly snap to the correct Wave 4->5 path. Disclaimer: This tool projects hypothetical geometric paths based on standard Elliott Wave theory. Markets do not always follow theory. Use this for planning and scenario analysis, not as a guaranteed signal. Pine Script® indicatorby TheTankTradesUpdated 59
Order Block & ChoCh StrategyOrder Block & ChoCh Strategy , helps locate where big money is and where the trend has a CHoCHPine Script® indicatorby astrojefe1120
test 2 EMA RSI VOL ATR Strategy VC2.51.14//@version=5 // EMA RSI VOL ATR Strategy VC2.51.14 - alertfix + optional emergency SL (strategy.close) strategy("EMA RSI VOL ATR Strategy VC2.51.14", overlay=true, initial_capital=1000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, pyramiding=0, commission_type=strategy.commission.percent, commission_value=0.08, slippage=20, calc_on_order_fills=true, calc_on_every_tick=false, margin_long=0, margin_short=0) // ── State ───────────────────────────────────────────────────────────────────── var bool in_long = false var bool in_short = false var int last_alert_time = 0 var float long_entry_price = na var float short_entry_price = na // One-action-per-candle guard (ENTRIES ONLY) var int last_action_bar = na can_act() => na(last_action_bar) or bar_index > last_action_bar // ── Inputs ──────────────────────────────────────────────────────────────────── entry_ema_length = input.int(7, "Entry EMA Length") exit_ema_length = input.int(21, "Exit EMA Length") // this is the normal SL used only when trailing is OFF (same as original) stop_loss_pct = input.float(2.2, "Stop Loss % (no trailing)", minval=0.1, maxval=20.0) // trailing config (unchanged) trail_mode = input.string("Legacy (close-ATR)", "Trailing Stop Mode", options= ) use_trailing_stop = input.bool(true, "Use Trailing Stop") atrLookback = input.int(14, "ATR Lookback") atrMultiplier = input.float(2, "ATR Multiplier", minval=0.5, step=0.1) fixed_usd = input.float(40.0, "Fixed USD Distance", minval=0.01) trail_pct_of_price = input.float(2.6, "% of Price (for Percent mode)", minval=0.05, maxval=10.0) init_offset_usd = input.float(2.0, "Initial Offset USD", minval=0.00) show_trail_usd = input.bool(false, "Show Trail Distance (USD)") breakeven_pct = input.float(3, "Breakeven Trigger %", minval=0.5, step=0.1) // NEW: emergency hard SL that always works on top of everything use_emergency_sl = input.bool(true, "Use Emergency Hard SL") emergency_sl_pct = input.float(14.0, "Emergency Hard SL %", minval=0.5, maxval=50.0) rsi_length = input.int(14, "RSI Length") rsi_long_threshold = input.int(55, "RSI Long Threshold") rsi_short_threshold = input.int(51, "RSI Short Threshold") use_volume_filter = input.bool(true, "Use Volume Filter") volume_sma_length = input.int(14, "Volume SMA Length") min_bars_between_trades = input.int(1, "Min Bars Between Trades") min_minutes_between_signals = input.int(10, "Min Minutes Between Signals") min_amount = 0.05 show_rsi = input.bool(false, title="Show RSI on Chart") show_rsi_levels = input.bool(true, title="Show RSI Levels") rsi_level_dash_interval = input.int(3, "RSI Level Dash Interval", minval=1) rsi_lookback = input.int(200, "RSI Overlay Lookback", minval=50) rsi_bottom_buffer = input.float(5.0, "RSI Bottom Buffer %", minval=0.0, maxval=20.0) / 100 rsi_height_pct = input.float(20.0, "RSI Height %", minval=10.0, maxval=50.0) / 100 start_time = input.time(1735689600000, "Start Date") // 2025-01-01 allow_shorts = input.bool(true, title="Allow Shorts") show_labels = input.bool(false, title="Show Signal Labels") show_quantity = input.bool(false, title="Show Quantity") use_ema200_short = input.bool(true, "Use EMA200 for Shorts") adx_length = input.int(14, "ADX Length for Trend Confirm (Shorts)") adx_threshold = input.int(20, "ADX Threshold for Shorts") secret_code = input.string("secret.code.xxx", title="Secret Code") bot_uuid = input.string("bot.uuid.xxx", title="Bot UUID") // ── Filters & calcs ────────────────────────────────────────────────────────── ema200 = ta.ema(close, 200) ema_entry = ta.ema(close, entry_ema_length) ema_exit = ta.ema(close, exit_ema_length) ascending_entry = ema_entry > ema_entry descending_entry = ema_entry < ema_entry and ema_entry < ema_entry rsi = ta.rsi(close, rsi_length) atr = ta.atr(atrLookback) volume_sma = ta.sma(volume, volume_sma_length) adx = ta.ema(ta.tr(true), adx_length) // preserved behavior // Bar spacing & time spacing var int bars_since_last_exit = 0 if strategy.position_size != 0 and strategy.position_size == 0 bars_since_last_exit := 0 else bars_since_last_exit := nz(bars_since_last_exit ) + 1 var int last_signal_time = 0 time_cond_time = time - last_signal_time >= min_minutes_between_signals * 60000 // RSI overlay visuals price_high = ta.highest(high, rsi_lookback) price_low = ta.lowest(low, rsi_lookback) price_range = price_high - price_low rsi_height = price_range * rsi_height_pct rsi_bottom = price_low - price_range * rsi_bottom_buffer rsi_scaled = rsi_bottom + (rsi / 100) * rsi_height rsi_30_scaled = rsi_bottom + 0.3 * rsi_height rsi_50_scaled = rsi_bottom + 0.5 * rsi_height rsi_70_scaled = rsi_bottom + 0.7 * rsi_height // Conditions volume_cond = not use_volume_filter or volume > volume_sma time_cond = bars_since_last_exit >= min_bars_between_trades long_cond_base = ascending_entry and close > ema_entry and rsi > rsi_long_threshold and close > ema200 and time >= start_time and volume_cond and time_cond and time_cond_time short_cond_base = allow_shorts and descending_entry and close < ema_entry and rsi < rsi_short_threshold and (not use_ema200_short or close < ema200) and adx > adx_threshold and time >= start_time and volume_cond and time_cond and time_cond_time // ── Alert helpers ──────────────────────────────────────────────────────────── iso_ts() => t = time_close str.tostring(year(t)) + "-" + str.tostring(month(t), "00") + "-" + str.tostring(dayofmonth(t), "00") + "T" + str.tostring(hour(t), "00") + ":" + str.tostring(minute(t), "00") + ":" + str.tostring(second(t), "00") + "Z" build_payload(_action) => act = _action if _action == "exit_long" act := "exit_long" else if _action == "exit_short" act := "exit_short" s1 = "{" + "\"secret\":\"" + secret_code + "\"," + "\"max_lag\":\"300\"," + "\"timestamp\":\"" + iso_ts() + "\"," s2 = "\"trigger_price\":\"" + str.tostring(close, format.mintick) + "\"," + "\"tv_exchange\":\"" + syminfo.prefix + "\"," + "\"tv_instrument\":\"" + syminfo.ticker + "\"," s3 = "\"action\":\"" + act + "\"," + "\"bot_uuid\":\"" + bot_uuid + "\"" + "}" s1 + s2 + s3 send_alert(_action) => alert(build_payload(_action), alert.freq_once_per_bar) // ── Entries (BAR CLOSE ONLY, ONE ACTION PER BAR) ───────────────────────────── if barstate.isconfirmed and can_act() // LONG branch if long_cond_base if strategy.position_size < 0 send_alert("exit_short") strategy.close("Short") strategy.entry("Long", strategy.long) long_entry_price := close last_signal_time := time if strategy.position_size <= 0 and not in_long send_alert("enter_long") last_alert_time := timenow in_long := true in_short := false last_action_bar := bar_index // SHORT branch else if short_cond_base if strategy.position_size > 0 send_alert("exit_long") strategy.close("Long") strategy.entry("Short", strategy.short) short_entry_price := close last_signal_time := time if strategy.position_size >= 0 and not in_short send_alert("enter_short") last_alert_time := timenow in_short := true in_long := false last_action_bar := bar_index // ── Breakeven (same logic as before, no can_act guard) ─────────────────────── if barstate.isconfirmed if strategy.position_size > 0 and not na(long_entry_price) and close > long_entry_price * (1 + breakeven_pct / 100) strategy.exit("BE Long", "Long", stop = long_entry_price) if strategy.position_size < 0 and not na(short_entry_price) and close < short_entry_price * (1 - breakeven_pct / 100) strategy.exit("BE Short", "Short", stop = short_entry_price) // ── Trailing exits (original logic) ────────────────────────────────────────── mintick = syminfo.mintick to_ticks(usd) => int(math.max(1, math.round(usd / mintick))) legacy_points = int(close - atr * atrMultiplier) legacy_offset = int(atr * atrMultiplier) true_atr_ticks = to_ticks(atr * atrMultiplier) fixed_usd_ticks = to_ticks(fixed_usd) percent_ticks = to_ticks(close * (trail_pct_of_price / 100.0)) init_offset_ticks = to_ticks(init_offset_usd) trail_ticks = 0 offset_ticks = 0 if trail_mode == "True ATR" trail_ticks := true_atr_ticks offset_ticks := true_atr_ticks else if trail_mode == "Fixed USD" trail_ticks := fixed_usd_ticks offset_ticks := init_offset_ticks else if trail_mode == "Percent of Price" trail_ticks := percent_ticks offset_ticks := init_offset_ticks else trail_ticks := legacy_points offset_ticks := legacy_offset current_trail_usd = trail_ticks * mintick legacy_trail_usd = legacy_points * mintick plot(show_trail_usd ? current_trail_usd : na, title="Trail Distance (USD)", color=color.new(color.teal, 0)) plot(show_trail_usd and trail_mode == "Legacy (close-ATR)" ? legacy_trail_usd : na, title="Legacy Trail (USD)", color=color.new(color.orange, 0)) if use_trailing_stop and barstate.isconfirmed if strategy.position_size > 0 strategy.exit("Trail Long", "Long", trail_points = trail_ticks, trail_offset = offset_ticks) else if strategy.position_size < 0 strategy.exit("Trail Short", "Short", trail_points = trail_ticks, trail_offset = offset_ticks) // ── Fixed SL if trailing OFF (same as original) ────────────────────────────── if not use_trailing_stop and barstate.isconfirmed and can_act() if strategy.position_size > 0 and not na(long_entry_price) strategy.exit("SL Long", "Long", stop = long_entry_price * (1 - stop_loss_pct / 100)) last_action_bar := bar_index else if strategy.position_size < 0 and not na(short_entry_price) strategy.exit("SL Short", "Short", stop = short_entry_price * (1 + stop_loss_pct / 100)) last_action_bar := bar_index // ── EMERGENCY HARD SL (independent, optional) ──────────────────────────────── if barstate.isconfirmed and strategy.position_size != 0 and use_emergency_sl float emergency_long_entry = na(long_entry_price) ? strategy.position_avg_price : long_entry_price float emergency_short_entry = na(short_entry_price) ? strategy.position_avg_price : short_entry_price // Long: if low pierces emergency SL if strategy.position_size > 0 and not na(emergency_long_entry) float long_em_sl = emergency_long_entry * (1 - emergency_sl_pct / 100) if low <= long_em_sl strategy.close("Long") // Short: if high pierces emergency SL if strategy.position_size < 0 and not na(emergency_short_entry) float short_em_sl = emergency_short_entry * (1 + emergency_sl_pct / 100) if high >= short_em_sl strategy.close("Short") // ── Exit alerts when flat ──────────────────────────────────────────────────── if strategy.position_size != 0 and strategy.position_size == 0 and barstate.isconfirmed send_alert(strategy.position_size > 0 ? "exit_long" : "exit_short") last_alert_time := timenow if strategy.position_size > 0 in_long := false long_entry_price := na else in_short := false short_entry_price := na // ── Plots ──────────────────────────────────────────────────────────────────── plot(ema_entry, "EMA Entry", color=color.blue, linewidth=1) plot(ema_exit, "EMA Exit", color=color.yellow, linewidth=1) plot(ema200, "EMA 200 (Trend Filter)", color=color.gray, linewidth=2) plot(show_rsi ? rsi_scaled : na, "RSI Overlay", color=color.purple, linewidth=1) plot(show_rsi and show_rsi_levels and bar_index % rsi_level_dash_interval == 0 ? rsi_30_scaled : na, "RSI 30", color=color.gray, style=plot.style_circles, linewidth=1) plot(show_rsi and show_rsi_levels and bar_index % rsi_level_dash_interval == 0 ? rsi_50_scaled : na, "RSI 50", color=color.gray, style=plot.style_circles, linewidth=1) plot(show_rsi and show_rsi_levels and bar_index % rsi_level_dash_interval == 0 ? rsi_70_scaled : na, "RSI 70", color=color.gray, style=plot.style_circles, linewidth=1) buy_signal = long_cond_base and strategy.position_size == 0 exit_long_signal = not long_cond_base and strategy.position_size > 0 short_signal = short_cond_base and strategy.position_size == 0 exit_short_signal = not short_cond_base and strategy.position_size < 0 reverse_to_long = long_cond_base and strategy.position_size < 0 reverse_to_short = short_cond_base and strategy.position_size > 0 plotshape(show_labels and buy_signal and not reverse_to_long ? true : na, title="Buy", style=shape.circle, location=location.belowbar, color=color.green, size=size.tiny) plotshape(show_labels and short_signal and not reverse_to_short ? true : na, title="Short", style=shape.circle, location=location.abovebar, color=color.red, size=size.tiny) plotshape(show_labels and exit_long_signal and not reverse_to_short ? true : na, title="Exit Long", style=shape.circle, location=location.abovebar, color=color.orange, size=size.tiny) plotshape(show_labels and exit_short_signal and not reverse_to_long ? true : na, title="Exit Short", style=shape.circle, location=location.belowbar, color=color.orange, size=size.tiny) plotshape(show_labels and reverse_to_long ? true : na, title="Exit -> Buy", style=shape.circle, location=location.belowbar, color=color.green, size=size.tiny, offset=-1) plotshape(show_labels and reverse_to_short ? true : na, title="Exit -> Short", style=shape.circle, location=location.abovebar, color=color.red, size=size.tiny, offset=-1)Pine Script® strategyby Fre_Fre119
EMA High/Low Crossover with SupertrendEMA High/Low Crossover with Supertrend Indicator Overview A professional long-only trading indicator that generates BUY, SELL, and BOOK PROFIT signals based on dual EMA crossovers with Supertrend trend confirmation. Designed for swing trading in trending markets. Core Strategy Logic Master Condition Supertrend must be in uptrend - This is the primary filter that ensures all BUY signals occur only during favorable market conditions. Signal Rules 1. BUY Signal Trigger: Price (close) crosses above the 50-period EMA of High values Pre-conditions: Supertrend must be in uptrend (blue line) No active position Action: Enter long position Visual: Green label below the bar 2. SELL Signal Trigger: Price (close) crosses below the 50-period EMA of Low values Pre-conditions: Must have an active BUY position Action: Exit long position at stop loss Visual: Red label above the bar 3. BOOK PROFIT Signal Trigger: Price extends 2x beyond the EMA range Calculation: (Current Price - EMA High) / (EMA High - EMA Low) ≥ 2.0 Pre-conditions: Must have an active BUY position Action: Exit long position at profit target Visual: Blue label above the bar Visual Elements Chart Lines LineColorDescriptionEMA HighGreen50-period exponential moving average of high pricesEMA LowRed50-period exponential moving average of low pricesSupertrendBlue/OrangeBlue = Uptrend, Orange = DowntrendBackgroundLight Green/RedIndicates Supertrend direction Signal Labels LabelColorPositionMeaningBUYGreenBelow barLong entry signalSELLRedAbove barStop loss exitBOOKBlueAbove barProfit target exit Information Table (Top Right) Displays real-time trading information: Position: Current status (LONG or FLAT) SuperTrend: Current trend direction Last Signal: Most recent signal type Current Price: Live market price Signal Price: Price at which last signal triggered EMA High/Low: Current EMA values Current Ratio: Live extension ratio (when in position) EMA Diff: Difference between EMA High and Low (for BOOK PROFIT) Extension: Price extension above EMA High (for BOOK PROFIT) Signal Ratio: Extension ratio at signal (for BOOK PROFIT) P/L: Profit/Loss in points and percentage Adjustable Parameters ParameterDefaultRangeDescriptionEMA Length501+Period for calculating both EMAsSupertrend ATR Period101+ATR period for Supertrend calculationSupertrend ATR Multiplier3.00.1+Sensitivity of Supertrend (higher = less sensitive)Book Profit Multiplier2.01.0+Extension ratio required to trigger profit bookingShow Signal TableTrueTrue/FalseToggle information table visibility Strategy Workflow Market Analysis ↓ Is Supertrend in Uptrend? → NO → Wait ↓ YES Does Price Cross Above EMA High? → NO → Monitor ↓ YES Generate BUY Signal ↓ Enter Long Position ↓ Monitor Two Exit Conditions: ↓ ┌───────────────────────────────┬────────────────────────────┐ │ │ │ Price Crosses Below EMA Low? Extension Ratio ≥ 2.0? ↓ YES ↓ YES Generate SELL Signal Generate BOOK PROFIT Signal ↓ ↓ Exit at Stop Loss Exit at Profit Target ↓ ↓ └───────────────────────────────┴────────────────────────────┘ ↓ Position FLAT → Return to Market Analysis Trading Rules Entry Rules Only enter during Supertrend uptrend (non-negotiable) One position at a time - No pyramiding or averaging Entry on close crossover - Signal confirmed at bar close Exit Rules Two exit methods: Stop loss (SELL) or Profit target (BOOK PROFIT) Whichever triggers first - Only one exit per trade No re-entry until position closed - Clean position management Position Management Long-only strategy - No short positions Clear entry/exit points - No discretionary decisions needed Defined risk/reward - Stop at EMA Low, target at 2x extension Use Cases & Best Practices Ideal Market Conditions ✅ Strong trending markets - Indicator thrives in clear uptrends ✅ Medium-term swings - Best for daily/4H timeframes ✅ Volatile stocks - Works well with stocks that move significantly Challenging Conditions ⚠️ Sideways/choppy markets - May generate false signals ⚠️ Very short timeframes - Too much noise on 1min/5min charts ⚠️ Low volatility periods - May not reach BOOK PROFIT targets Recommended Settings by Timeframe TimeframeEMA LengthSupertrend ATRNotesDaily5010Default settings work well4 Hour5010Good for swing trading1 Hour30-408-10Reduce EMA for responsiveness15 Min20-307-8Shorter periods for day trading Alert Conditions The indicator includes three built-in alert conditions: BUY Signal: "BUY: Price crossed above EMA High with Supertrend uptrend" SELL Signal: "SELL: Price crossed below EMA Low" Book Profit Signal: "BOOK PROFIT: Price extended 2x EMA range" Setting Up Alerts Click the indicator name → three dots menu → "Add alert" Select desired alert condition Configure notification method (popup, email, webhook, etc.) Performance Metrics to Track When evaluating this indicator's performance: Win Rate: Percentage of profitable trades Average Win/Loss Ratio: Compare BOOK PROFIT vs SELL exits Maximum Drawdown: Largest peak-to-trough decline Profit Factor: Gross profit / Gross loss Number of Trades: Ensure sufficient sample size BOOK PROFIT Frequency: How often profit targets are reached Example Calculation Scenario: Stock is at ₹918.85 (from your image) Setup: EMA High: ₹903.91 EMA Low: ₹881.06 BUY triggered at: ₹918.85 SELL Exit: Price crosses below ₹881.06 → SELL signal BOOK PROFIT Exit: EMA Difference: ₹903.91 - ₹881.06 = ₹22.85 Required Extension: ₹22.85 × 2.0 = ₹45.70 BOOK PROFIT Price: ₹903.91 + ₹45.70 = ₹949.61 When price reaches ₹949.61+ → BOOK PROFIT signal Result (from table): Current Ratio: 0.52x (halfway to target) Still in LONG position, monitoring for either exit Limitations & Disclaimers ⚠️ Not a Holy Grail: No indicator is perfect; use proper risk management ⚠️ Backtesting Required: Test on historical data before live trading ⚠️ Slippage & Costs: Real trading involves spreads, commissions, and slippage ⚠️ Market Conditions Change: What works in trending markets fails in ranging markets ⚠️ Past Performance: Historical results don't guarantee future performance Tips for Success Combine with risk management - Never risk more than 1-2% per trade Use position sizing - Adjust trade size based on stop distance Track your trades - Maintain a trading journal Backtest thoroughly - Test on at least 100+ trades before going live Monitor win rate - If below 40%, reconsider or adjust parameters Consider market regime - Disable during known choppy periods Use with other analysis - Confirm with support/resistance, volume, etc. Frequently Asked Questions Q: Why don't I see any signals on my chart? A: Check if Supertrend is in uptrend. BUY signals only appear during uptrends. Q: Can I change this to short signals? A: No, this is designed as a long-only strategy. Shorting would require different logic. Q: What if BOOK PROFIT never triggers? A: The position will eventually exit via SELL signal when price crosses below EMA Low. Q: How do I optimize the parameters? A: Use TradingView's Strategy Tester to backtest different parameter combinations. Q: Can I use this for intraday trading? A: Yes, but reduce the EMA period (20-30) for shorter timeframes and expect more signals. Q: What's the typical holding period? A: Depends on timeframe - daily charts: days to weeks; hourly charts: hours to days. Version History v1.0 - Initial release EMA High/Low crossover signals Supertrend trend filter Book Profit at 2x extension Information table with live metrics Alert conditions Contact & Support For questions, suggestions, or bug reports related to this indicator, please use the TradingView comment section or reach out to the indicator author. Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice. Always conduct your own research and consult with a qualified financial advisor before making investment decisions. Trading involves substantial risk of loss.Pine Script® indicatorby AzeezF18
powered rsi oscillatorPowered RSI Oscillator is a volume-weighted RSI oscillator designed to highlight momentum strength and potential trend reversals. The indicator enhances traditional RSI behavior by incorporating volume into price changes and automatically detects: Regular Bullish & Bearish Divergences Hidden Bullish & Bearish Divergences Overbought / Oversold conditions Momentum shifts around the 50 midline This tool is best used as a confirmation indicator alongside price action, structure, and trend analysis.Pine Script® indicatorby ASSAF-ALGOS23