Scalping strategy [Dubic]The Dubic Scalping Strategy is a lightweight and effective EMA-based tool designed for fast-paced trading on crypto, forex, and indices.
✅ Initial Buy/Sell signals are triggered by fast EMA crossovers.
✅ Re-entry signals use volume confirmation to catch pullbacks within the trend.
🔔 Includes alert support for webhook automation and manual execution.
Arrows mark trend entries, and colored dots indicate valid re-entries.
Simple. Responsive. Built for scalpers.
比尔威廉姆斯指标
Crypto Scalping Dashboard [Dubic]The Crypto Scalping Dashboard is a high-precision scalping indicator designed for crypto traders using lower timeframes (e.g., 5-min, 15-min). It combines two powerful technical tools—EMA Trend and SuperTrend—to generate clean buy/sell signals at the beginning of strong trends. A built-in visual dashboard helps you quickly assess market conditions and signal alignment in real time.
⚙️ How It Works:
EMA Trend Filter:
Uses two EMAs (Fast & Slow).
A bullish (long) trend is detected when the Fast EMA is above the Slow EMA.
A bearish (short) trend is detected when the Fast EMA is below the Slow EMA.
SuperTrend Filter:
Confirms the direction using ATR-based SuperTrend logic.
A buy signal is valid only when both EMA trend and SuperTrend are bullish.
A sell signal is valid only when both are bearish.
Signal Generation:
Buy Arrow (Green): Appears at the start of a new uptrend when both filters align.
Sell Arrow (Red): Appears at the start of a downtrend when both filters agree.
Re-Entry Signals: If price pulls back above/below the Fast EMA during a trend, a small triangle shows a possible re-entry opportunity.
Trade Management Logic:
Prevents duplicate signals by tracking trade state.
Exits or resets trade logic when the opposite signal appears.
Dashboard Display:
Shows real-time status of EMA trend, SuperTrend, and the overall trade signal.
Uses color-coded labels (Green = Long, Red = Short, Gray = Neutral) for fast visual recognition.
Mr.Quyet hành trình triệu $$$//@version=5
indicator("RSI + MACD Combo", shorttitle="RSI_MACD", overlay=false)
// —— INPUTS ——
// RSI
rsiSrc = input.source(close, "RSI Source")
rsiLen = input.int(14, "RSI Length")
rsiOB = input.int(70, "RSI Overbought")
rsiOS = input.int(30, "RSI Oversold")
// MACD
macdSrc = input.source(close, "MACD Source")
fastLen = input.int(12, "MACD Fast Length")
slowLen = input.int(26, "MACD Slow Length")
signalLen = input.int(9, "MACD Signal Length")
// —— CALCULATIONS ——
// RSI
rsiValue = ta.rsi(rsiSrc, rsiLen)
// MACD
= ta.macd(macdSrc, fastLen, slowLen, signalLen)
// —— PLOTTING ——
// RSI
p_rsi = plot(rsiValue, title="RSI", linewidth=2,
color = rsiValue > rsiOB ? color.red :
rsiValue < rsiOS ? color.green :
color.blue)
hline(rsiOB, "Overbought", color=color.red, linestyle=hline.style_dashed)
hline(rsiOS, "Oversold", color=color.green, linestyle=hline.style_dashed)
hline(50, "Middle", color=color.gray)
// MACD
plot(macdLine, title="MACD Line", color=color.blue, linewidth=1)
plot(signalLine,title="Signal Line", color=color.orange, linewidth=1)
plot(histLine, title="Histogram", style=plot.style_columns,
color = histLine >= 0 ? color.green : color.red)
// —— ALERT CONDITIONS ——
// Cảnh báo khi RSI chạm vùng quá mua/quá bán
alertcondition(cross(rsiValue, rsiOB), title="RSI Overbought", message="RSI đã vượt lên trên {{rsiOB}}")
alertcondition(cross(rsiValue, rsiOS), title="RSI Oversold", message="RSI đã xuống dưới {{rsiOS}}")
// Cảnh báo khi MACD line cắt Signal line
alertcondition(cross(macdLine, signalLine), title="MACD Cross", message="MACD Line vừa cắt Signal Line")
// —— SHOW VALUES ——
// Cho phép xem giá trị khi hover
plotshape(series=na, title="RSI value", text=str.tostring(rsiValue, format.percent), textcolor=color.white, location=location.top, style=shape.labelup, size=size.tiny)
Multi-Pair MTF Crypto Strategy (Backtest Version)Multi-Pair MTF Crypto Scanner (Smart Long/Short Indicator)
This advanced TradingView indicator is designed for crypto traders seeking precise, risk-filtered signals across multiple pairs and timeframes. It combines institutional-grade signal logic with customizable risk management and clean visual labeling.
🔍 Core Features:
✅ Multi-Pair & Multi-Timeframe Scanning
Scans assets like BTC, ETH, SOL across timeframes (15m, 1H, 4H)
✅ Buy/Sell Signal Engine
Based on EMA 50/200 crossover, RSI, and volume spikes
✅ Dynamic Risk Management
Calculates Stop Loss (SL), Take Profit (TP), and Risk-Reward Ratio (RRR) using ATR
✅ RRR Filter
Signals only shown if RRR meets your defined minimum (default 1.5)
✅ Confirmation Mode
Optional setting to avoid premature signals by requiring bar-close confirmation
✅ Visual Trade Zones
Entry, SL, and TP levels plotted directly on chart
✅ Debug Mode
Shows labels when trades are rejected due to RRR filters
🧠 Ideal For:
Crypto scalpers, swing traders, and algorithmic signal testers
Traders focused on high probability entries with defined risk
📣 Alerts:
Real-time alerts for qualified BUY and SHORT signals
Configurable for automated webhook systems or mobile push
Crypto Scalping Strategy [Dubic] - LONG OnlyCrypto Scalping Strategy
A fast-paced scalping strategy built for crypto traders. It uses EMA crossovers for initial entries and confirms re-entries with volume spikes. Includes built-in take profit, trailing take profit, and trailing stop loss settings. Fully optimized for automated trading via webhook alerts. Best suited for high-volatility pairs like PEPE/USDT on Binance.
Crypto Scalping Strategy [Dubic] - LONG OnlyThe Dubic Scalping Strategy is a lightweight and effective EMA-based tool designed for fast-paced trading on crypto, forex, and indices.
✅ Initial Buy/Sell signals are triggered by fast EMA crossovers.
✅ Re-entry signals use volume confirmation to catch pullbacks within the trend.
🔔 Includes alert support for webhook automation and manual execution.
Arrows mark trend entries, and colored dots indicate valid re-entries.
Simple. Responsive. Built for scalpers.
Crypto Scalping Strategy [Dubic]The Dubic Scalping Strategy is a lightweight and effective EMA-based tool designed for fast-paced trading on crypto, forex, and indices.
✅ Initial Buy/Sell signals are triggered by fast EMA crossovers.
✅ Re-entry signals use volume confirmation to catch pullbacks within the trend.
🔔 Includes alert support for webhook automation and manual execution.
Arrows mark trend entries, and colored dots indicate valid re-entries.
Simple. Responsive. Built for scalpers.
Key Trading Session Times (UK) with DST Adjust//@version=5
indicator("Key Trading Session Times (UK) with DST Adjust", overlay=true)
// === Inputs ===
showAsia = input.bool(true, "Show Asia Session (12 AM – 6 AM UK)")
showLondon = input.bool(true, "Show London Open (6:30 AM – 9 AM UK)")
showNY = input.bool(true, "Show NY Open (1 PM – 3 PM UK)")
// === DST Adjustment Logic ===
// Define the start and end of daylight saving time (DST)
isDST = (month >= 3 and month <= 10) // DST from March to October
// === Time Ranges (Europe/London) with DST Adjustment ===
inSession(sessionStartHour, sessionStartMinute, sessionEndHour, sessionEndMinute) =>
t = time("1", "Europe/London")
sessionStart = timestamp("Europe/London", year(t), month(t), dayofmonth(t), sessionStartHour, sessionStartMinute)
sessionEnd = timestamp("Europe/London", year(t), month(t), dayofmonth(t), sessionEndHour, sessionEndMinute)
if isDST
sessionStart := sessionStart + 3600 // Add 1 hour during DST
sessionEnd := sessionEnd + 3600 // Add 1 hour during DST
time >= sessionStart and time <= sessionEnd
// === Define Sessions ===
asiaSession = inSession(0, 0, 6, 0)
londonSession = inSession(6, 30, 9, 0)
nySession = inSession(13, 0, 15, 0)
// === Background Highlights ===
bgcolor(showAsia and asiaSession ? color.new(color.blue, 85) : na, title="Asia Session")
bgcolor(showLondon and londonSession ? color.new(color.green, 85) : na, title="London Session")
bgcolor(showNY and nySession ? color.new(color.orange, 85) : na, title="New York Session")
Enhanced Volume w/ Pocket Pivots, Milestones & LiquiditySure! Here’s a professional and clear **description** you can use when saving or publishing the script on TradingView:
---
## 📄 Script Description: *Enhanced Volume w/ Pocket Pivots, Milestones & Liquidity*
This custom volume indicator enhances the default volume view by combining key institutional-level insights into a single tool. It highlights meaningful volume activity, liquidity conditions, and milestone events to help traders better understand accumulation/distribution and smart money participation.
### 🔍 Features:
* **Color-coded volume bars**:
* 🔵 **Pocket Pivot Volume (PPV)**: Up-day with volume > highest down-day volume of last 10 bars.
* 🟢 **Up Volume**: Up-day with volume > 50-day average.
* 🔴 **Down Volume**: Down-day with volume > 50-day average.
* 🟠 **Dry Volume**: Low-volume bars < 20% of 50-day average.
* ⚫ **Neutral/Other bars**: No significant signal.
* **Volume Milestones**:
* **HVE**: Highest volume ever (20 years lookback).
* **HVY**: Highest volume in the past 1 year (252 bars).
* **HVQ**: Highest volume in the past quarter (63 bars).
* **Projected Volume**:
* Real-time estimate of end-of-day volume based on elapsed session time.
* **Liquidity Metrics**:
* Displays current and 50-day average dollar volume.
* Estimates 1-minute liquidity for large-position feasibility.
* **Relative Volume Label**:
* Displays how today’s volume compares to the 50-day average.
* **Alerts Included**:
* Set alerts for HVE, HVY, and HVQ to catch key breakout or climactic volume events.
---
### 🧠 Ideal For:
* Growth stock traders
* Volume/price analysts
* Intraday & swing traders
* Institutions or prop traders needing liquidity benchmarks
---
Let me know if you'd like a short or promotional version (for sharing with others).
3 MA/EMA Khít Chính XácThis script is designed to detect highly precise convergence of 3 moving averages: MA(8), MA(21), and EMA(21).
When these three lines meet very closely on the chart, it may indicate a potential breakout or trend change.
Useful for short-term momentum traders who want to identify low-risk entry zones.
Includes:
- Real-time alert condition when MA lines converge
- Optional Bollinger Band smoothing
- Triangle-shaped visual signal for convergence points
Created by KimTrading 🟡 | For 1-min to 1H scalping & trend analysis.
EMA Cross Signal Dashboard V4Amazing Scanner for demo useAmazing Scanner for demo useAmazing Scanner for demo useAmazing Scanner for demo useAmazing Scanner for demo useAmazing Scanner for demo use
±1% Close BandsBreaking Bad - Walt vs. Jesse Scene: Walter (Bryan Cranston) rages at Jesse (Aaron Paul) over Krazy-8 and Jesse's habit.
BUY THE SERIES: www.fandangonow.com
Watch the best Breaking Bad scenes:
• Breaking Bad | TV Scenes | Rotten Tom...
US Air Date: 2008
Network: AMC
Starring: Aaron Paul, Bryan Cranston
Director: Adam Bernstein
© Sony
► Learn more about this show on Rotten Tomatoes: www.rottentomatoes.com
#BreakingBad
What to Watch Next:
► Certified Fresh TV: bit.ly
► Top TV Dramas: bit.ly
► Most Anticipated Shows: bit.ly
► TV Shows by Channel & Streaming Platform: bit.ly
More Rotten Tomatoes:
► Subscribe to ROTTEN TOMATOES TV: bit.ly
► Subscribe to the ROTTEN TOMATOES NEWSLETTER: www.rottentomatoes.com
► Follow us on TWITTER: bit.ly
► Like us on FACEBOOK: bit.ly
► Follow us on INSTAGRAM: bit.ly
Rotten Tomatoes TV delivers Fresh TV at a click! Subscribe now for the best trailers, clips, sneak peeks, and binge guides for shows you love and the upcoming series and TV movies that should be on your radar.
Wick SweepThe Wick Sweep indicator identifies potential trend reversal zones based on price action patterns and swing points. Specifically, it looks for "Wick Sweeps," a concept where the market temporarily breaks a swing low or high (creating a "wick"), only to reverse in the opposite direction. This pattern is often indicative of a market attempting to trap traders before making a larger move. The indicator marks these zones using dashed lines, helping traders spot key areas of potential price action.
Key Features:
* Swing Low and High Detection: The indicator identifies significant swing lows and highs within a user-defined period by employing Williams fractals.
* Wick Sweep Detection: Once a swing low or high is identified, the indicator looks for price movements that break through the low or high (creating a wick) and then reverses direction.
* Fractal Plotting: Optionally, the indicator plots fractal points (triangle shapes) on the chart when a swing low or high is detected. This can assist in visually identifying the potential wick sweep areas.
* Line Plotting: When a wick sweep is detected, a dashed line is drawn at the price level of the failed low or high, visually marking the potential reversal zone.
Inputs:
* Periods: The number of bars used to identify swing highs and lows. A higher value results in fewer, more significant swing points.
* Line Color: The color of the dashed lines drawn when a wick sweep is detected. Customize this to match your chart's theme or preferences.
* Show Fractals: A toggle that, when enabled, plots triangle shapes above and below bars indicating swing highs (up triangles) and swing lows (down triangles).
Functionality:
* Swing High and Low Calculation:
- The indicator calculates the swing low and swing high based on the periods input. A swing low is identified when the current low is the lowest within a range of (2 * periods + 1), with the lowest point being at the center of the period.
- Similarly, a swing high is identified when the current high is the highest within the same range.
* Wick Sweep Detection:
- Once a swing low or high is detected, the script looks for a potential wick. This happens when the price breaks the swing low or high and then reverses in the opposite direction.
- For a valid wick sweep, the price should briefly move beyond the identified swing point but then close in the opposite direction (i.e., a bullish reversal for a swing low and a bearish reversal for a swing high).
- A line is drawn at the price level of the failed low or high when a wick sweep is confirmed.
Confirmations for Reversal:
* The confirmation for a wick sweep requires that the price not only break the swing low/high but also close in the opposite direction (i.e., close above the low for a bullish reversal or close below the high for a bearish reversal).
* The confirmation is further refined by checking that the price movement is within a reasonable distance from the original swing point, which prevents the indicator from marking distant, unimportant price levels.
Additional Notes:
* The Wick Sweep indicator does not provide standalone trading signals; it is best used in conjunction with other technical analysis tools, such as trend analysis, oscillators, or volume indicators.
* The periods input can be adjusted based on the trader’s preferred level of sensitivity. A lower period value will result in more frequent swing points and potentially more signals, while a higher value will focus on more significant market swings.
* The indicator may work well in ranging markets where price tends to oscillate between key support and resistance levels.
RSI Phan Ky FullThe RSI divergence indicator is like a magnifying glass that spots gaps between price swings and momentum. When price keeps climbing but RSI quietly sags, it’s a flashing U‑turn sign: the bulls are winded, and the bears are lacing up their boots. Flip it around—price is sliding yet RSI edges higher—and you’ve got bulls secretly stockpiling. Hidden divergences shore up the trend; regular divergences hint at a pivot. Blend those signals with overbought/oversold zones, support‑resistance, and volume, and RSI divergence turns into a radar that helps traders jump in with swagger and bail out just in time.
Current Fractal High/Low (Dynamic)
This indicator dynamically tracks the most recent confirmed Fractal High and Fractal Low across any timeframe using custom left/right bar configurations.
🔍 Key Features:
Detects Fractal Highs and Lows based on user-defined pivot settings.
Draws a green line and label ("FH") at the most recent Fractal High.
Draws a red line and label ("FL") at the most recent Fractal Low.
All lines extend from the confirmation bar to the current candle.
Automatically removes old lines and labels for a clean, uncluttered chart.
🛠️ Customizable Inputs:
Left & Right bars for pivot sensitivity
Line width for visibility
📌 Use Cases:
Identifying structure shifts
Recognizing key swing points
Supporting liquidity and breakout strategies
💡 Fractals are confirmed only after the full formation of the pattern (left and right bars). This ensures reliability over reactivity.
This script is designed for intraday to swing traders who want a reliable way to visualize market turning points with minimal noise.
Absorption Lines Basic Indicator:
Green support lines and red resistance lines will appear on your chart
Numbers 1-7 will show up as triangles above and below bars
Green triangles below bars are sell signals
Red triangles above bars are buy signals
For Scanning:
In TradingView's Stock Screener, add a custom filter using this indicator
Look for "New Level", "Signal Number", or "Bar Close At Level" conditions
For specific signals, use "Buy Signal X" or "Sell Signal X" (where X is 1-7)
For Alerts:
Set up alerts using the three alert conditions in TradingView
You'll be notified when new lines are printed, when bars close at levels, or when signals appear
Williams R Zone Scalper v1.0[BullByte]Originality & Usefulness
Unlike standard Williams R cross-over scripts, this strategy layers five dynamic filters—moving-average trend, Supertrend, Choppiness Index, Bollinger Band Width, and volume validation —and presents a real-time dashboard with equity, PnL, filter status, and key indicator values. No other public Pine script combines these elements with toggleable filters and a custom dashboard. In backtests (BTC/USD (Binance), 5 min, 24 Mar 2025 → 28 Apr 2025), adding these filters turned a –2.09 % standalone Williams R into a +5.05 % net winner while cutting maximum drawdown in half.
---
What This Script Does
- Monitors Williams R (length 14) for overbought/oversold reversals.
- Applies up to five dynamic filters to confirm trend strength and volatility direction:
- Moving average (SMA/EMA/WMA/HMA)
- Supertrend line
- Choppiness Index (CI)
- Bollinger Band Width (BBW)
- Volume vs. its 50-period MA
- Plots blue arrows for Long entries (R crosses above –80 + all filters green) and red arrows for Short entries (R crosses below –20 + all filters green).
- Optionally sets dynamic ATR-based stop-loss (1.5×ATR) and take-profit (2×ATR).
- Shows a dashboard box with current position, equity, PnL, filter status, and real-time Williams R / MA/volume values.
---
Backtest Summary (BTC/USD(Binance), 5 min, 24 Mar 2025 → 28 Apr 2025)
• Total P&L : +50.70 USD (+5.05 %)
• Max Drawdown : 31.93 USD (3.11 %)
• Total Trades : 198
• Win Rate : 55.05 % (109/89)
• Profit Factor : 1.288
• Commission : 0.01 % per trade
• Slippage : 0 ticks
Even in choppy March–April, this multi-filter approach nets +5 % with a robust risk profile, compared to –2.09 % and higher drawdown for Williams R alone.
---
Williams R Alone vs. Multi-Filter Version
• Total P&L :
– Williams R alone → –20.83 USD (–2.09 %)
– Multi-Filter → +50.70 USD (+5.05 %)
• Max Drawdown :
– Williams R alone → 62.13 USD (6.00 %)
– Multi-Filter → 31.93 USD (3.11 %)
• Total Trades : 543 vs. 198
• Win Rate : 60.22 % vs. 55.05 %
• Profit Factor : 0.943 vs. 1.288
---
Inputs & What They Control
- wrLen (14): Williams R look-back
- maType (EMA): Trend filter type (SMA, EMA, WMA, HMA)
- maLen (20): Moving-average period
- useChop (true): Toggle Choppiness Index filter
- ciLen (12): CI look-back length
- chopThr (38.2): CI threshold (below = trending)
- useVol (true): Toggle volume-above-average filter
- volMaLen (50): Volume MA period
- useBBW (false): Toggle Bollinger Band Width filter
- bbwMaLen (50): BBW MA period
- useST (false): Toggle Supertrend filter
- stAtrLen (10): Supertrend ATR length
- stFactor (3.0): Supertrend multiplier
- useSL (false): Toggle ATR-based SL/TP
- atrLen (14): ATR period for SL/TP
- slMult (1.5): SL = slMult × ATR
- tpMult (2.0): TP = tpMult × ATR
---
How to Read the Chart
- Blue arrow (Long): Williams R crosses above –80 + all enabled filters green
- Red arrow (Short) : Williams R crosses below –20 + all filters green
- Dashboard box:
- Top : position and equity
- Next : cumulative PnL in USD & %
- Middle : green/white dots for each filter (green=passing, white=disabled)
- Bottom : Williams R, MA, and volume current values
---
Usage Tips
- Add the script : Indicators → My Scripts → Williams R Zone Scalper v1.0 → Add to BTC/USD chart on 5 min.
- Defaults : Optimized for BTC/USD.
- Forex majors : Raise `chopThr` to ~42.
- Stocks/high-beta : Enable `useBBW`.
- Enable SL/TP : Toggle `useSL`; stop-loss = 1.5×ATR, take-profit = 2×ATR apply automatically.
---
Common Questions
- * Why not trade every Williams R reversal?*
Raw Williams R whipsaws in sideways markets. Choppiness and volume filters reduce false entries.
- *Can I use on 1 min or 15 min?*
Yes—adjust ATR length or thresholds accordingly. Defaults target 5 min scalping.
- *What if all filters are on?*
Fewer arrows, higher-quality signals. Expect ~10 % boost in average win size.
---
Disclaimer & License
Trading carries risk of loss. Use this script “as is” under the Mozilla Public License 2.0 (mozilla.org). Always backtest, paper-trade, and adjust risk settings to your own profile.
---
Credits & References
- Pine Script v6, using TradingView’s built-in `ta.supertrend()`.
- TradingView House Rules: www.tradingview.com
Goodluck!
BullByte
Overnight ES Strategy: CBC + Fractal + RSI + ATR FilterThis script is designed for overnight trading of the E-mini S&P 500 futures (ES) between 6 PM and 11 PM EST.
It combines multiple technical confluences to generate high-probability buy and sell signals, focusing on volatility-rich, low-liquidity evening sessions.
Key Features:
Candle Body Confluence (CBC) Approximation:
Identifies candles with small real bodies compared to total range, simulating consolidation zones where price is likely to reverse.
Williams Fractal Confirmation:
Detects local tops and bottoms based on 5-bar fractal reversal patterns, helping validate breakout or reversal points.
RSI Filter:
Ensures momentum is supportive — buys only when RSI < 35 (oversold) and sells only when RSI > 65 (overbought).
ATR Volatility Filter:
Trades are only allowed if the Average True Range (ATR) exceeds a user-defined threshold, filtering out low-volatility, risky environments.
Time Session Control:
Signals are only generated during the user-defined evening session (default: 6 PM to 11 PM EST) to match market behavior.
Real-Time Alerts Enabled:
Alerts can be set for BUY or SELL conditions, enabling mobile notifications, emails, or pop-ups without constant chart monitoring.
Recommended Settings:
Chart Timeframe: 15-minute or 30-minute candles
Assets: ES Mini (ES1!), NQ Mini, or other CME futures
Session: New York Time (EST)
ATR Threshold: Adjust based on market conditions; 5.0 suggested starting point for ES Mini on 15m.
Important:
This script only plots signals, it does not auto-execute trades.
Always backtest and paper trade before using live capital.
Volatility can vary; consider adjusting RSI and ATR filters based on market environment.
Credits:
Script designed based on confluence of price action, momentum, reversal structure, and volatility filtering principles used by professional traders.
Inspired by Candle Body Confluence (CBC) theory and Williams fractal techniques.
Williams Fractals Dynamic Horizontal LinesWilliams Fractals with Dynamic Horizontal Lines
Overview
This script identifies Williams Fractals (support and resistance points) on any chart and automatically draws horizontal lines at those fractal levels.
The lines extend right and disappear when price breaks them — giving a clean and real-time view of key support and resistance levels.
Features
Detects upward fractals (potential resistances).
Detects downward fractals (potential supports).
Draws horizontal lines at each fractal point.
Automatically deletes a line when:
Price closes above a resistance.
Price closes below a support.
Clean and lightweight — minimal performance impact.
Inputs
Setting Description Default
Periods (n) Number of candles on each side required to confirm a fractal (minimum 2). 2
How It Works
Fractal Detection:
An up fractal is confirmed when a candle has the highest high compared to its neighbors.
A down fractal is confirmed when a candle has the lowest low compared to its neighbors.
Custom logic supports different "ties" — not just strict greater-than or less-than comparisons.
Drawing Lines:
When an up fractal is detected → a red horizontal resistance line is drawn.
When a down fractal is detected → a green horizontal support line is drawn.
Lines are drawn starting at the fractal candle and extend right across the chart.
Dynamic Line Deletion:
Every new candle is checked:
If high > resistance line → delete that resistance line.
If low < support line → delete that support line.
Only unbroken lines are kept on the chart, providing live, updated support/resistance zones.
Visual Elements
Up Fractal: 🡅 Triangular marker (teal color) above the fractal candle.
Down Fractal: 🡇 Triangular marker (red color) below the fractal candle.
Resistance Line: Red horizontal line.
Support Line: Green horizontal line.
Technical Details
Version: Pine Script v6
Arrays Used:
To store and manage active lines (line arrays).
To track the price associated with each line (float arrays).
Error Handling:
Backward iteration is handled using a while loop instead of a for loop to comply with Pine Script restrictions.
Offset Handling:
Fractal markers are plotted with an offset of -n bars for visual alignment.
Possible Enhancements (Future Ideas)
Sensitivity Settings: Allow a small margin (buffer) to define breakouts.
Extend Options: Let users choose between extending "infinite" or "limited" bars.
Custom Alerts: Generate alerts when fractal levels are broken.
Multi-timeframe Support: Detect fractals from higher timeframes on lower timeframe charts.
Example Usage
Swing Trading:
Use the fractal lines to identify and react to key breakouts or breakdowns dynamically.
Intraday Trading:
Spot live support/resistance on smaller timeframes for quick trades.
Trend Reversal Spotting:
Notice when a major fractal level is broken, possibly indicating trend changes.
Example Visual — Williams Fractals Dynamic Lines
Price Chart View:
What This Diagram Shows:
▲ Up Fractals:
Form resistance lines.
Line extends until price breaks above it.
▼ Down Fractals:
Form support lines.
Line extends until price breaks below it.
Lines are removed from the chart as soon as broken.
📈 Real Chart Example
Here's a rough idea how it will look live on your TradingView chart:
Feature Visual
Up Fractal 🔺 Green triangle above bar
Resistance Line ➖ Horizontal red line across the chart
Down Fractal 🔻 Red triangle below bar
Support Line ➖ Horizontal green line across the chart
Line Break 🚫 Line disappears when price crosses
Key Financial index**Basic Indicators** (updates may be delayed by a few weeks after dividend distribution):
1. **P/E Ratio**: *Price-to-Earnings*. This ratio shows the price investors are willing to pay for each unit of profit the company generates.
- A P/E below 8 is considered good, meaning the company yields a 12.5% annual profit, which implies a payback period of 8 years.
2. **P/B Ratio**: *Price-to-Book Ratio*. This is used to compare a company's market value with its book value.
- A low P/B (usually below 1): May indicate that the stock is undervalued compared to the company’s net asset value. This can be a good investment opportunity but may also signal financial trouble.
- A high P/B (usually above 3): May suggest the stock is overvalued relative to the company’s net assets. This could reflect high growth expectations or potential overvaluation.
3. **D/E Ratio**: *Debt-to-Equity Ratio* is a financial metric that measures a company’s financial leverage.
D/E Ratio = Total Liabilities / Shareholders' Equity.
It compares the total liabilities of a company to its equity to indicate how much debt is used to finance its assets compared to shareholder investments.
- D/E Ratio below 1: Generally considered safe.
- D/E Ratio between 1 and 2: May be acceptable depending on the industry.
- D/E Ratio above 2: May indicate high financial risk.
4. **CR Ratio**: *Current Ratio*, an important liquidity metric used to assess a company’s ability to pay off short-term liabilities using its short-term assets.
- CR Ratio > 1: Indicates the company has enough current assets to pay off its short-term debts. The higher the ratio, the better the liquidity position.
- CR Ratio < 1: Suggests the company may face difficulties in meeting short-term obligations. This can be a red flag for financial stability.
5. **Profit Margin**: A key financial indicator that measures a company’s profitability relative to its revenue. It shows what percentage of revenue remains after all related costs are deducted.
**General significance of Profit Margin**:
- **Operational Efficiency**: A high profit margin indicates efficient cost management and the ability to generate strong profits from revenue.
- **Industry Comparison**: Comparing a company’s profit margin with its industry peers helps assess its competitive position and relative performance.
**Note**:
- There is no single “good” margin across all industries. Each industry has different cost structures and competition levels, leading to varying average margins.
- When analyzing profit margins, one must consider the industry context, the company’s business model, and market trends.
6. **Growth Expectation ↑**: This refers to the expected profit growth. The percentage figure reflects how much growth the market expects the company to achieve in the next financial report based on the current stock price.
- The lower the expected growth rate (typically below 15%), the safer the current price is considered.
- A high expected growth rate may indicate that the market anticipates a profit breakthrough or that the stock is trading above its intrinsic value relative to actual earnings.
Scalper's Fractal Cloud with RSI + VWAP + MACD (Fixed)Scalper’s Fractal Confluence Dashboard
1. Purpose of the Indicator
This TradingView indicator script provides a high-confluence setup for scalping and day trading. It blends momentum indicators (RSI, MACD), trend bias tools (EMA Cloud, VWAP), and structure (fractal swings, gap zones) to help confirm precise entries and exits.
2. Components of the Indicator
- EMA Cloud (50 & 200 EMA): Trend bias – green means bullish, red means bearish. Avoid longs under red cloud.
- VWAP: Institutional volume anchor. Ideal entries are pullbacks to VWAP in direction of trend.
- Gap Zones: Shows open-air zones (white space) where price can move fast. Used to anticipate momentum moves.
- ZigZag Swings: Marks structural pivots (highs/lows) – useful for stop placement and range anticipation.
- MACD Histogram: Shows bullish or bearish momentum via background color.
- RSI: Overbought (>70) or oversold (<30) warnings. Good for exits or countertrend reversion plays.
- EMA Spread Label: Quick view of momentum strength. Wide spread = strong trend.
3. Scalping Entry Checklist
Before entering a trade, confirm these conditions:
• • Bias: EMA cloud color supports trade direction
• • Price is above/below VWAP (confirming institutional flow)
• • MACD histogram matches direction (green for long, red for short)
• • RSI not at extreme (unless you’re fading trend)
• • If entering gap zone, expect fast move
• • Recent swing high/low nearby for target or stop
4. Risk & Sizing Guidelines
Risk 1–2% of account per trade. Place stop below recent swing low (for longs) or high (for shorts). Use fractional sizing near VWAP or white space zones for scalping reversals.
5. Daily Trade Journal Template
- Date:
- Ticker:
- Setup Type (VWAP pullback, Gap Break, EMA reversion):
- Entry Time:
- Bias (Green/Red Cloud):
- RSI Level / MACD Reading:
- Stop Loss:
- Target:
- Result (P/L):
- What I Did Well:
- What Needs Work:
Fractal Pattern AnalysisFractal Pattern Key Elements and How to Read Them
1. Williams Fractals (Triangle Markers)
Red Triangles Pointing Down: Bearish fractals - potential resistance points and selling opportunities
Green Triangles Pointing Up: Bullish fractals - potential support points and buying opportunities
When to Act: Look for bullish fractals forming during uptrends and bearish fractals during downtrends
2. Moving Averages
Yellow Line (20 EMA): Short-term trend
Blue Line (50 EMA): Medium-term trend
Red Line (200 EMA): Long-term trend
Interpretation: When shorter MAs cross above longer MAs, it's bullish; when they cross below, it's bearish
Key Signal: The alignment of all three MAs (stacked in order) confirms a strong trend
3. Background Color
Green Background: Uptrend (all MAs aligned bullishly)
Red Background: Downtrend (all MAs aligned bearishly)
Yellow Background: Sideways/neutral market (MAs not clearly aligned)
4. Market Structure Markers (Small Circles)
Green Circles: Higher highs and higher lows (bullish structure)
Red Circles: Lower highs and lower lows (bearish structure)
Pattern Recognition: Multiple green circles suggest continuing uptrend; multiple red circles suggest continuing downtrend
5. Reversal Diamonds ("Rev" Markers)
Yellow Diamonds: Potential trend reversal points
Usage: These mark where the current trend might be changing direction
Confirmation: Wait for price to close beyond the diamond before acting
6. Bollinger Bands (Blue Lines with Fill)
Middle Band: 20-period SMA
Upper/Lower Bands: Volatility channels
Signals: Price touching upper band in uptrend is strength; touching lower band in downtrend is weakness
Squeeze: When bands narrow, expect a volatility breakout soon
7. Status Table (Top Right)
Shows current trend, volume direction, and overall signal at a glance
"BUY" signal appears when multiple bullish conditions align
"SELL" signal appears when multiple bearish conditions align