ATR% Multiple From MA - Overextensions trackingATR% Multiple From MA - Quantifiable Profit Taking Indicator
This overlay indicator identifies overextended price moves by calculating how many ATR% multiples price is away from a moving average, providing objective profit-taking signals.
Formula:
A = ATR% = (ATR / Price) × 100
B = % Gain from MA = ((Price - MA) / MA) × 100
ATR% Multiple = B / A
Signals:
Yellow circle at 7x: Start scaling out partial profits
Red circle at 10x+: Heavily overextended, aggressive profit taking recommended
Stats table: Real-time ATR% Multiple, % Gain from MA, ATR%, and action status
For very volatile markets I usually go for 10x and 15x extension instead of 7x and 10x.
This method normalizes moves across different volatility environments, eliminating emotional decision-making. Historical examples include PLTR, SOFI, TSLA, NVDA which stalled after exceeding 10x.
Customizable Settings:
ATR Length (default: 14)
MA Length (default: 50)
Profit Zone thresholds (7x, 10x)
Toggle circles and MA display
Indicadores y estrategias
Squeeze Hour Frequency [CHE]Squeeze Hour Frequency (ATR-PR) — Standalone — Tracks daily squeeze occurrences by hour to reveal time-based volatility patterns
Summary
This indicator identifies periods of unusually low volatility, defined as squeezes, and tallies their frequency across each hour of the day over historical trading sessions. By aggregating counts into a sortable table, it helps users spot hours prone to these conditions, enabling better scheduling of trading activity to avoid or target specific intraday regimes. Signals gain robustness through percentile-based detection that adapts to recent volatility history, differing from fixed-threshold methods by focusing on relative lowness rather than absolute levels, which reduces false positives in varying market environments.
Motivation: Why this design?
Traders often face uneven intraday volatility, with certain hours showing clustered low-activity phases that precede or follow breakouts, leading to mistimed entries or overlooked calm periods. The core idea of hourly squeeze frequency addresses this by binning low-volatility events into 24 hourly slots and counting distinct daily occurrences, providing a historical profile of when squeezes cluster. This reveals time-of-day biases without relying on real-time alerts, allowing proactive adjustments to session focus.
What’s different vs. standard approaches?
- Reference baseline: Classical volatility tools like simple moving average crossovers or fixed ATR thresholds, which flag squeezes uniformly across the day.
- Architecture differences:
- Uses persistent arrays to track one squeeze per hour per day, preventing overcounting within sessions.
- Employs custom sorting on ratio arrays for dynamic table display, prioritizing top or bottom performers.
- Handles timezones explicitly to ensure consistent binning across global assets.
- Practical effect: Charts show a persistent table ranking hours by squeeze share, making intraday patterns immediately visible—such as a top hour capturing over 20 percent of total events—unlike static overlays that ignore temporal distribution, which matters for avoiding low-liquidity traps in crypto or forex.
How it works (technical)
The indicator first computes a rolling volatility measure over a specified lookback period. It then derives a relative ranking of the current value against recent history within a window of bars. A squeeze is flagged when this ranking falls below a user-defined cutoff, indicating the value is among the lowest in the recent sample.
On each bar, the local hour is extracted using the selected timezone. If a squeeze occurs and the bar has price data, the count for that hour increments only if no prior mark exists for the current day, using a persistent array to store the last marked day per hour. This ensures one tally per unique trading day per slot.
At the final bar, arrays compile counts and ratios for all 24 hours, where the ratio represents each hour's share of total squeezes observed. These are sorted ascending or descending based on display mode, and the top or bottom subset populates the table. Background shading highlights live squeezes in red for visual confirmation. Initialization uses zero-filled arrays for counts and negative seeds for day tracking, with state persisting across bars via variable declarations.
No higher timeframe data is pulled, so there is no repaint risk from external fetches; all logic runs on confirmed bars.
Parameter Guide
ATR Length — Controls the lookback for the volatility measure, influencing sensitivity to short-term fluctuations; shorter values increase responsiveness but add noise, longer ones smooth for stability — Default: 14 — Trade-offs/Tips: Use 10-20 for intraday charts to balance quick detection with fewer false squeezes; test on historical data to avoid over-smoothing in trending markets.
Percentile Window (bars) — Sets the history depth for ranking the current volatility value, affecting how "low" is defined relative to past; wider windows emphasize long-term norms — Default: 252 — Trade-offs/Tips: 100-300 bars suit daily cycles; narrower for fast assets like crypto to catch recent regimes, but risks instability in sparse data.
Squeeze threshold (PR < x) — Defines the cutoff for flagging low relative volatility, where values below this mark a squeeze; lower thresholds tighten detection for rarer events — Default: 10.0 — Trade-offs/Tips: 5-15 percent for conservative signals reducing false positives; raise to 20 for more frequent highlights in high-vol environments, monitoring for increased noise.
Timezone — Specifies the reference for hourly binning, ensuring alignment with market sessions — Default: Exchange — Trade-offs/Tips: Set to "America/New_York" for US assets; mismatches can skew counts, so verify against chart timezone.
Show Table — Toggles the results display, essential for reviewing frequencies — Default: true — Trade-offs/Tips: Disable on mobile for performance; pair with position tweaks for clean overlays.
Pos — Places the table on the chart pane — Default: Top Right — Trade-offs/Tips: Bottom Left avoids candle occlusion on volatile charts.
Font — Adjusts text readability in the table — Default: normal — Trade-offs/Tips: Tiny for dense views, large for emphasis on key hours.
Dark — Applies high-contrast colors for visibility — Default: true — Trade-offs/Tips: Toggle false in light themes to prevent washout.
Display — Filters table rows to focus on extremes or full list — Default: All — Trade-offs/Tips: Top 3 for quick scans of risky hours; Bottom 3 highlights safe low-squeeze periods.
Reading & Interpretation
Red background shading appears on bars meeting the squeeze condition, signaling current low relative volatility. The table lists hours as "H0" to "H23", with columns for daily squeeze counts, percentage share of total squeezes (summing to 100 percent across hours), and an arrow marker on the top hour. A summary row above details the peak count, its share, and the leading hour. A label at the last bar recaps total days observed, data-valid days, and top hour stats. Rising shares indicate clustering, suggesting regime persistence in that slot.
Practical Workflows & Combinations
- Trend following: Scan for hours with low squeeze shares to enter during stable regimes; confirm with higher highs or lower lows on the 15-minute chart, avoiding top-share hours post-news like tariff announcements.
- Exits/Stops: Tighten stops in high-share hours to guard against sudden vol spikes; use the table to shift to conservative sizing outside peak squeeze times.
- Multi-asset/Multi-TF: Defaults work across crypto pairs on 5-60 minute timeframes; for stocks, widen percentile window to 500 bars. Combine with volume oscillators—enter only if squeeze count is below average for the asset.
Behavior, Constraints & Performance
Logic executes on closed bars, with live bars updating counts provisionally but finalizing on confirmation; table refreshes only at the last bar, avoiding intrabar flicker. No security calls or higher timeframes, so no repaint from external data. Resources include a 5000-bar history limit, loops up to 24 iterations for sorting and totals, and arrays sized to 24 elements; labels and table are capped at 500 each for efficiency. Known limits: Skips hours without bars (e.g., weekends), assumes uniform data availability, and may undercount in sparse sessions; timezone shifts can alter profiles without warning.
Sensible Defaults & Quick Tuning
Start with ATR Length at 14, Percentile Window at 252, and threshold at 10.0 for broad crypto use. If too many squeezes flag (noisy table), raise threshold to 15.0 and narrow window to 100 for stricter relative lowness. For sluggish detection in calm markets, drop ATR Length to 10 and threshold to 5.0 to capture subtler dips. In high-vol assets, widen window to 500 and threshold to 20.0 for stability.
What this indicator is—and isn’t
This is a historical frequency tracker and visualization layer for intraday volatility patterns, best as a filter in multi-tool setups. It is not a standalone signal generator, predictive model, or risk manager—pair it with price action, news filters, and position sizing rules.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Thanks to Duyck
for the ma sorter
SuperTrend Dual RMAThis enhanced ATR SuperTrend indicator combines dual volume-weighted RMAs with the Average True Range (ATR) to deliver smoother and more reliable trend signals.
It identifies bullish and bearish phases using a blue-rose color scheme, providing clear visual cues for entries and exits.
Features:
Dual RMA baseline for smooth, volume-sensitive trend calculation
ATR multiplier-driven upper and lower bands
Filled bands to highlight volatility zones
Bar coloring for trend confirmation
HammerThis indicator automatically detects powerful candlestick formations such as Hammer, Inverted Hammer, Bullish Engulfing, Hanging Man, Shooting Star, and Bearish Engulfing.
It visually marks potential reversal zones on the chart and provides instant Long / Short alerts.
By combining pattern recognition with swing levels, it helps you identify possible trend reversals more clearly.
A simple, fast, and price-action-focused tool for smarter trading decisions.
💡 Yellow dotted lines indicate possible reaction zones around swing points.
Volume Exponential Moving Averages (EMA)
Description:
This script is a simple script that plots a desired exponential moving average of buy and sell volume as a line chart with a tunable smoothing factor. There is a highlight on the plot area of either green or red to denote if the EMA of buy volume or sell volume is of a higher value. This indicator uses basic math of exponential averages and calculates volume using the formulas: "buy volume" = the product of total volume and the "closing price" minus the "low price" divided by "high price" minus the "low price" for a specific candle. Conversely, "sell volume" = the product of "total volume" and the "high price" minus the "close price" divided by "high price" minus the "low price" for a specific candle.
Utility:
This indicator is an effective way to gauge the acceleration/ deceleration of buyers and sellers in the market and can be used in combination with market structure and important levels to understand if buyers or sellers are taking over at any given time.
How to use this indicator:
There are two settings for this indicator:
1. The Length of the EMA: The length of the EMA can be adjusted based on your preference for a running number of candles' data. If you are interested to know short term changes in volume (e.g. over the past few candles at a major level) you can adjust this setting lower (~3-9 length). Conversely, if you are interested in volume trends over a greater number of candles you can increase this to your liking.
Personal preference : Because I am a short term daytrader/ scalper, I keep this setting at 6 length to see immediate changes in the acceleration or deceleration of buyers/ sellers.
2. The Smoothing Factor: The smoothing factor can be adjusted to further tune the size of trend you are interested in with 1 = No smoothing of the EMA line. Smoothing of the EMA line increases as the value for smoothing increases, resulting in a less volatile, more smooth EMA line. However, the more smooth the line, the less sensitive the EMA will be to immediate changes in volume pace. The less smoothing factor is applied, the more volatile data will be, resulting in quicker observation of shorter term trends. Again the same rules apply as the EMA length as these are similar in function: If you are interested to know short term changes in volume (e.g. over the past few candles at a major level) you can adjust this setting lower (~2-6). Conversely, if you are interested in volume trends over a greater number of candles you can increase this to your liking.
Personal preference : Because I am a short term daytrader/ scalper, I keep this setting at 2-4 smoothing factor to see immediate changes in the acceleration or deceleration of buyers/ sellers.
You should, of course, play with these settings to your exact preferences based on your trading style.
Tips for using this indicator:
General Use:
When the buy volume EMA is moving up, buyers are increasing the pace of buying and when the buy volume EMA is moving down, buyers are decreasing the pace of buying. Conversely, when the sell volume EMA is moving up, sellers are increasing the pace of selling and when the sell volume EMA is moving down, sellers are decreasing the pace of selling. The overall movement of the stock is relative to the combination of these rates. e.g. If both buyers and sellers are increasing at the same rate (EMAs slopes are roughly equal) there will be not a large change in price. If the slope of the buy volume EMA is greater than the slope of sell volume EMA, the price should move up. Conversely, if the slope of the sell volume EMA is greater than the slope of buy volume EMA, the price should move down.
Predicting pullbacks, reversals, and continuations:
This indicator allows you to see if buyers or sellers are increasing their pace, even if the stock price is in consolidation. This allows you to predict if out of the consolidation buyers or sellers are likely to win based on the momentum of the volume in consolidation. e.g. If price is in consolidation after an uptrend and the buy volume EMA starts to decrease, this could be a sign that buyers are running out of steam at this price level. Another example, If at a major support the buy volume EMA begins to trend up then buyers are accelerating the pace of buying at this level.
EMA crosses: There is something to be said about the point at which the buy volume EMA and sell volume EMA cross. This signifies that at this moment there is a shift in which the acceleration of one party outpaces that of the other and can result in increased speed of the movement of the stock price.
Considerations
Because volume changes constantly, this indicator is best to identify short term changes in volume that could impact price movements. It is not guaranteed to continue just because buyers or sellers have had a change in pace. Therefore it is advised to use this indicator in combination with significant price levels such as pivot points, or price levels from volume profile tools to identify the price zones where significant volume changes are likely to impact price movements. It is also advised to continue to monitor the changes in pace in buyers and sellers using this volume EMA indicator to determine if a change in pace is short lived or if it will continue for a longer duration.
Examples of use:
Bullish Reversal:
Bearish Continuation:
Bearish EMA Crossover: (Settings: Length 6, Smoothing factor 3)
Bullish EMA Crossover: (Settings: Length 6, Smoothing factor 4)
KCP FRAMA Trend [Dr.K.C.PRAKASH]KCP FRAMA Trend
An adaptive trend indicator based on the Fractal Adaptive Moving Average (FRAMA).
It identifies breakout zones with clear BUY (green) and SELL (red) signals, colors candles by trend direction, and includes real-time alert conditions for precise trade entries and exits.
PDH/PDL + PMH/PML Breakout Table + Alerts + 🔔PDH/PDL now come exclusively from the previous day's RTH (9:30–4:00 PM ET) — they no longer include premarket. This avoids the confusion we encountered.
PMH/PML are calculated only during the premarket period (4:00–9:30 AM ET) of the current day.
Employment emojis: 🟢 (upward breakout for PDH/PMH), 🔴 (downward breakout for PDL/PML), ⚪ (no breakout).
The table displays three columns: Level | Status | Price. If you'd like the table to have a different size/position/color, just adjust it quickly.
Doble Keltner ChannelTwo Keltner channels with different configurations. This will allow you to visualize volatility confluences and potential reversal zones.
Configuration
Ema period 1 = 50
Ema period 2 = 50
Multiplier 1 = 2.75
Multiplier 2 = 3.75
Michal D. Lagless Moving Average | MisinkoMasterThe 𝕸𝖎𝖈𝖍𝖆𝖑 𝕯. 𝕷𝖆𝖌𝖑𝖊𝖘𝖘 𝕸𝖔𝖛𝖎𝖓𝖌 𝕬𝖛𝖊𝖗𝖆𝖌𝖊 is my latest creation of a trend following tool, which is a bit different from the rest. By trying to de-lag the classical moving average, it gives you fast signals on changes in trend as fast as possible, keeping traders & investors always in check for potential risks they might want to avoid.
How does it work?
First we need to calculate lengths. The lengths are calcuted using a user defined input called the "Length Multiplier" and we of course need as well the length input too.
The indicator uses 10 lengths, 5 for an average price, 5 for median price.
The length for the average is the following:
length_2_avg = length_1_avg * length_multiplier
length_3_avg = length_2_avg * length_multiplier
...
and for the median lengths:
length_1_median = length_2_avg
length_2_median = length_3_avg
Here applies this rule
length_x_median < length_x_avg
This is intentional, and it is because the average is a little more reactive, while the median is a bit slower. To make up for the "slowness" of the median, we simple reduce the length of it a bit more than the average.
Now that we have our length we are ready to calculate averages and medians over their respective period. This is the a normal average from elementary school, nothing too fancy.
Now that we have all of them we match the pairs using another user defined input called "Median Weight" like so:
(Average_x * (2-median_weight) + Median_x * median_weight)/2
This gives more weight to the average (also due to the max value limit set to avoid breaking the fundational logic behind it).
After doing it to all the pairs we now average those pairs using another input called "Exponential Weight Multiplier".
The Exponential Weight Multiplier is used for weights which I will cover soon:
weight1 = weight
weight2 = weight * weight
weight3 = weight * weight * weight....
This is done until we have all the weights calculated
This gives exponentially more weight to the less lagging indicators, which is how we delag the indicator.
Then we sum all the pairs like so:
sum = pair1 * weight1 + pair2 * weight2 + pair3 * weight3 + pair4 * weight4 + pair5 * weight5
Then the sum is divided by the sum of weights, this results in us getting the final value.
Methodology & What is the actual point & how was it made?
I want to cover this one a bit deeper:
The methodology behind this was creating an indicator that would not be lagging, and would be able to avoid lag while not producing signals too often.
In many attempts in the first part, I tried using EMA, RMA, DEMA, TEMA, HMA, SMA and so on, but they were too noisy (except for SMA & RMA, but those had their flaws), so I tried the classical average taught in elementary school. This one worked better, but the noise was too high still after all this time. This made me include the median, which helped the noise, but made it far too lagging.
Here came the idea of making the median length lower and adding weights to counter the lag of the median, but it was still too lagging. This made me make the weights for lengths more exponential, while previously they were calculated using a little bit amplified sums that were alright, but nowhere near my desired result.
Using the new weights I got further, and after a bit of testing I was sattisfied with the results.
The logic for the trend was a big part in my development part, there were many I could think of, but not enough time to try them, so I stuck to the usual one, and I leave it up to YOU to beat my trend logic and get even better results.
Use Cases:
- Price/MA Crossovers
Simple, effective, useful
- Source for other indicators
This I tried myself, and it worked in a cool way, making the signals of for example RSI much smoother, so definitely try it out if you know how to code, or just simply put it in the source of the RSI.
- ROC
This trend logic stuck with me, I think you could find a way to make it good, but mainly for the people that can code in pine, trying out to combine the trend logic with ROC could work very well, do not sleep on it!
- Education
This concept is not really that complex, so for people looking for new ideas, inspiration, or just watching how trend following tools behave in general this is something that could benefit anyone, as the concept can be applied to ANYTHING, even the classical RSI, MACD, you could try even the Parabolic SAR, maybe STC or VZO, there is no limit to imagination.
- Strategy creation
Filtering this indicator with "and" conditions, or maybe even "or" or anything really could be very useful in a strategy that desires fast signals.
- Price Distance from bands
I noticed this while looking at past performance:
The stronger the trend the higher the distance from the Moving Average.
Final Notes
Watch out for mean reverting markets, as this is trend following you could get easily screwed in them.
Play around with this if it fits your desired outcome, you might find something I did not.
Hope you find it useful,
See you next time!
Adaptive Trend Breaks Adaptive Trend Breaks
## WHAT IT DOES
This script is a modified and enhanced version of "Trendline Breakouts With Targets" concept by ChartPrime.
Adaptive Trend Breaks (ATB) is a trendline breakout system optimized for scalping liquid futures contracts. The indicator automatically draws dynamic support and resistance trendlines based on pivot points, then generates trade signals when price breaks through these levels with confirmation filters. It includes automated target and stop-loss placement with real-time P&L tracking in dollars.
## HOW IT WORKS
**Trendline Detection Method:**
The indicator uses pivot high/low detection to identify significant price turning points. When a new pivot forms, it calculates the slope between consecutive pivots to draw dynamic trendlines. These lines extend forward based on the established trend angle, creating actionable support and resistance zones.
**Band System:**
Around each trendline, the script creates a "band" using a volatility-adjusted calculation: `ATR(14) * 0.2 * bandwidth multiplier / 2`. This adaptive band accounts for current market conditions - wider during volatile periods, tighter during quiet markets.
**Breakout Logic:**
A breakout signal triggers when:
1. Price closes beyond the trendline + band zone
2. Volume exceeds the 20-period moving average by your set multiplier (default 1.2x)
3. Price is within Regular Trading Hours (9:30-16:00 EST) if session filter enabled
4. Current ATR meets minimum volatility threshold (prevents trading dead markets)
**Target & Stop Calculation:**
Upon breakout confirmation:
- **Entry**: Trendline breach point
- **Target**: Entry ± (bandwidth × target multiplier) - default 8x for quick scalps
- **Stop**: Entry ± (bandwidth × stop multiplier) - default 8x for 1:1 risk/reward
- Multipliers adjust automatically to market volatility through the ATR-based band
**P&L Conversion:**
The script converts point movements to dollars using:
```
Dollar P&L = (Price Points × Contract Point Value × Quantity)
```
For example, a 10-point NQ move with 2 contracts = 10 × $20 × 2 = $400
## HOW TO USE IT
**Setup:**
1. Select your instrument (NQ/ES/YM/RTY) - point values auto-configure
2. Set contract quantity for accurate dollar P&L
3. Choose pivot period (lower = more signals but more noise, default 5 for scalping)
4. Adjust bandwidth multiplier if trendlines are too tight/loose (1-5 range)
**Filters Configuration:**
- **Volume Filter**: Requires breakout volume > moving average × multiplier. Increase multiplier (1.5-2.0) for higher conviction trades
- **Session Filter**: Enable to trade only RTH. Disable for 24-hour trading
- **ATR Filter**: Prevents signals during low volatility. Increase minimum % for more active markets only
**Risk Management:**
- Set target/stop multipliers based on your risk tolerance
- 8x bandwidth = approximately 1:1 risk/reward for most liquid futures
- Enable trailing stops for trend-following approach (moves stop to protect profits)
- Adjust line length to see targets further into the future
**Statistics Table:**
- Choose timeframe to analyze: all-time, today, this week, custom days
- Monitor win rate, profit factor, and net P&L in dollars
- Track long vs short performance separately
- See real-time unrealized P&L on active trades
**Reading Signals:**
- **Green triangle below bar** = Long breakout (resistance broken)
- **Red triangle above bar** = Short breakout (support broken)
- **White dashed line** = Entry price
- **Orange line** = Take profit target with dollar value
- **Red line** = Stop loss with dollar value
- **Green checkmark (✓)** = Target hit, winning trade
- **Red X (✗)** = Stop hit, losing trade
## WHAT IT DOES NOT DO
**Limitations to Understand:**
- Does not predict future trendline formations - it reacts to breakouts after they occur
- Historical trendlines disappear after breakout (not kept on chart for clarity)
- Requires sufficient volatility - may not signal in extremely quiet markets
- Volume filter requires exchange volume data (not available on all symbols)
- Statistics are indicator-based simulations, not actual trading results
- Does not account for slippage, commissions, or order fills
## BEST PRACTICES
**Recommended Settings by Market:**
- **NQ (Nasdaq)**: Default settings work well, consider volume multiplier 1.3-1.5
- **ES (S&P 500)**: Slightly slower, try period 7-8, volume 1.2
- **YM (Dow)**: Lower volatility, reduce bandwidth to 1.5-2
- **RTY (Russell)**: Higher volatility, increase bandwidth to 3-4
**Risk Management:**
- Never risk more than 2-3% of account per trade
- Use contract quantity calculator: Max Risk $ ÷ (Stop Distance × Point Value)
- Start with 1 contract while learning the system
- Backtest your specific timeframe and instrument before live trading
**Optimization Tips:**
- Increase pivot period (7-10) for fewer but higher-quality signals
- Raise volume multiplier (1.5-2.0) in choppy markets
- Lower target/stop multipliers (5-6x) for tighter profit taking
- Use trailing stops in strong trending conditions
- Disable session filter for overnight gaps and Asia session moves
## TECHNICAL DETAILS
**Key Calculations:**
- Pivot Detection: `ta.pivothigh(high, period, period/2)` and `ta.pivotlow(low, period, period/2)`
- Slope Calculation: `(newPivot - oldPivot) / (newTime - oldTime)`
- Adaptive Band: `min(ATR(14) * 0.2, close * 0.002) * multiplier / 2`
- Breakout Confirmation: Price crosses trendline + 10% of band threshold
**Data Requirements:**
- Minimum bars in view: 500 for proper pivot calculation
- Volume data required for volume filter accuracy
- Intraday timeframes recommended (1min - 15min) for scalping
- Works on any timeframe but optimized for fast execution
**Performance Metrics:**
All statistics calculate based on indicator signals:
- Tracks every signal as a trade from entry to TP/SL
- P&L in actual contract dollar values
- Win rate = (Winning trades / Total trades) × 100
- Profit factor = Gross profit / Gross loss
- Separates long/short performance for bias analysis
## IDEAL FOR
- Futures scalpers and day traders
- Traders who prefer visual trendline breakouts
- Those wanting automated TP/SL placement
- Traders tracking performance in dollar terms
- Multiple timeframe analysis (compare 1min vs 5min signals)
## NOT SUITABLE FOR
- Swing trading (targets too close)
- Stocks/forex without modifying point values
- Extremely low timeframes (<30 seconds) - too much noise
- Markets without volume data if using volume filter
- Illiquid contracts (signals may not execute at shown prices)
---
**Settings Summary:**
- Core: Period, bandwidth, extension, trendline style
- Filters: Volume, RTH session, ATR volatility
- Risk: R:R ratio, target/stop multipliers, trailing stop
- Display: Stats table position, size, colors
- Stats: Timeframe selection (all-time to custom days)
**License:** This indicator is published open-source under Mozilla Public License 2.0. You may use and modify the code with proper attribution.
**Disclaimer:** This indicator is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and test thoroughly before live trading.
---
## CREDITS & ATTRIBUTION
This script builds upon the "Trendline Breakouts With Targets" concept by ChartPrime with significant enhancements:
**Major Improvements Added:**
- **Futures-Specific Calculations**: Automated dollar P&L conversion using actual contract point values (NQ=$20, ES=$50, YM=$5, RTY=$50)
- **Advanced Statistics Engine**: Comprehensive performance tracking with customizable timeframe analysis (today, week, month, custom ranges)
- **Multi-Layer Filtering System**: Volume confirmation, RTH session filter, and ATR volatility filter to reduce false signals
- **Professional Trade Management**: Enhanced visual trade tracking with separate TP/SL lines, dollar value labels, and optional trailing stops
- **Optimized for Scalping**: Faster pivot periods (5 vs 10), tighter bands, and reduced extension bars for quick entries
Original trendline detection methodology by ChartPrime - used with modification under Mozilla Public License 2.0.
Volume BubblesVolume Bubbles Indicator
Introduction
The Volume Bubbles indicator is a powerful tool designed to visually highlight significant volume spikes on your TradingView charts. It helps traders identify potential areas of whale accumulation (large buying activity) or dumping (large selling activity) by displaying colored bubbles on candles where volume exceeds a customizable threshold. Green bubbles indicate bullish (buy) volume on up candles, suggesting possible accumulation, while red bubbles signal bearish (sell) volume on down candles, indicating potential dumping. The bubble size scales with the volume magnitude, making it easy to spot major market moves at a glance.
This indicator is particularly useful for crypto, forex, and stock traders looking to gauge market sentiment and large player involvement without cluttering the chart. It's built in Pine Script v5 and overlays directly on your price action.
How It Works
The indicator calculates a moving average of volume (default: 20-period SMA) and detects spikes when current volume exceeds this average by a multiplier (default: 2x).
Buy Bubbles (Green): Appear on bullish candles (close >= open) at the low wick, representing potential whale buying or accumulation zones.
Sell Bubbles (Red): Appear on bearish candles (close < open) at the high wick, indicating potential whale selling or dumping zones.
Bubble Size: Dynamically sized based on volume thresholds – huge for >1M, large for 500K-1M, normal for <500K.
Transparency: Increases with volume ratio for better visibility on extreme spikes.
Tooltip:
Hover over a bubble to see detailed info like total volume, average volume, and ratio.
By focusing on these high-volume events, traders can spot key support/resistance levels where whales might be active.
How to Use for Whale Accumulation and Dumping
Whales (large holders) often move markets with high-volume trades. This indicator helps spot them:
Accumulation (Buying): Look for clusters of large green bubbles at price lows or during consolidations. This suggests whales are buying dips, potentially signaling a reversal or uptrend start. Combine with support levels for confirmation.
Dumping (Selling): Watch for big red bubbles at price highs or after rallies. This indicates whales unloading positions, which could lead to downtrends or corrections. Pair with resistance levels.
Tips:
Use on higher timeframes (e.g., 1H+) for reliable signals.
Confirm with other indicators like RSI or MACD to avoid false positives.
In trending markets, buy bubbles in uptrends confirm strength; sell bubbles in downtrends signal continuation.
Credits and Disclaimer
Inspired by volume analysis techniques. This is free to use; feedback welcome! Not financial advice – trade at your own risk.
Pro Trading Signals - Trend + S/R + Risk// ============================================
// PROFESSIONAL TRADING STRATEGY NOTES
// ============================================
// === WHAT THIS STRATEGY DOES ===
// 1. TREND ANALYSIS: Uses multiple EMAs (9, 21, 50, 200) to identify trend direction
// 2. SUPPORT/RESISTANCE: Automatically detects key price levels
// 3. RISK MANAGEMENT: Calculates stop loss and take profit with 2:1+ R:R ratio
// 4. SIGNAL SCORING: Only trades high-quality setups (60/100+ score)
// 5. ENTRY TYPES: Pullbacks, support/resistance bounces, breakouts
// === KEY IMPROVEMENTS FROM BASIC SIGNALS ===
// ✓ Trend alignment required (no counter-trend trades)
// ✓ Support/resistance confirmation
// ✓ Volume and momentum filters
// ✓ Automatic stop loss and take profit levels
// ✓ Signal quality scoring (filters out weak signals)
// ✓ Risk:Reward ratio enforcement (minimum 2:1)
// ✓ Volatility filter (avoids choppy markets)
OG Indicators - EnhancedA simple effort to combine William's % R, MACD & Stochastic into single script
Qullamaggie 8EMA/21EMA/50EMA//Exponantial Moving Average - 8
//Exponantial Moving Average - 21
//Simple Moving Average - 50
KCP MMA Trend [Dr.K.C.PRAKASH]KCP MMA Trend
⚙️ Core Logic:
This indicator uses two custom Modified Moving Averages (MMAs) — named KCP 1 and KCP 2 — to track market momentum and identify trend changes.
When the faster average (KCP 1) moves above the slower one (KCP 2), it indicates upward momentum.
When KCP 1 moves below KCP 2, it signals downward momentum.
📈 Crossover Signals:
BUY Signal: Triggered when KCP 1 crosses above KCP 2, showing a possible shift to a bullish trend.
SELL Signal: Triggered when KCP 1 crosses below KCP 2, showing a possible shift to a bearish trend.
🎨 Chart Display:
KCP 1 is plotted as an orange line.
KCP 2 is plotted as a blue line.
Crossovers are visually highlighted with BUY and SELL labels on the price chart for easy interpretation.
🔔 Alerts:
Two alert conditions are included:
Buy Alert: “KCP 1 crossed ABOVE KCP 2”
Sell Alert: “KCP 1 crossed BELOW KCP 2”
These can be linked to TradingView alerts for real-time notifications.
🧩 Purpose:
The indicator is designed to identify trend direction and reversals clearly and simply, without requiring any manual settings or inputs.
It helps traders capture early entries and exits by following clean crossover-based momentum shifts.
ASR - Average Session Range [KasTrades]This indicator displays the Average Session Range based on the session of your choice.
You can turn the tables off if you don't want to see a table version of the ASR levels. There is also a momentum table showing the current momentum, which you can also turn off.
Weekly Breakout Screenermencari harga saham yang kuat breakout harga mingguan. potensi swing trading
VWAP HMA Trends
It visually syncs Trend, VWAP, and Confidence — giving you instant clarity to trade with calm precision.
⚙️ The Three Core Gauges:
1. 📈 Trend Green for up, Red for down (Trend: Confirms direction)
2. 💰 VWAP Price vs. Volume Weighted Average Price. Institutional Fair Value. (Bull or Bear)
3. 🎯 Confidence Agreement between trend & VWAP. Dont fight the trend.
Bonus Feature: Confidence Turns 🟢 Confident when aligned, 🟡 Cautious when mixed.
Together, these create a clean, visual readout of the market’s health.
🧩 How to Use
Watch the Color Flow:
🟢 Green Cloud → Buyers in control.
🔴 Red Cloud → Sellers in control.
Check VWAP (Orange Line):
Price above VWAP → bullish strength.
Price below VWAP → bearish control.
Hovering at VWAP → indecision. Wait.
---
Act With Discipline:
Trade only when all gauges agree.
Add size only in Confident conditions.
Trim or tighten stops when it shifts to Cautious.
⚡ Quick Reference:
🟢 Green cloud + above VWAP + Confident | Uptrend continuation | Favor long bias
🔴 Red cloud + below VWAP + Confident | Downtrend continuation | Favor short bias
Mixed colors or Cautious: Wait or scale back
Cloud flips color: Possible shift. Reassess bias next bar
⚖️ Disclaimer: Educational and informational use only. Not financial advice. Always use independent judgment and position sizing.
XAU Aurum Precision Scalper Pro v1.0🏆 Aurum Precision Scalper Pro v1.0
SMMA 21/50/200 + RSI14 | Multi-Rule Gold Strategy (M3–M15)
💡 Overview
Aurum Precision Scalper Pro is a professional multi-rule intraday strategy built for scalping and day-trading XAUUSD (Gold) on short timeframes (3m, 5m, 15m).
It combines RSI, SMMA trend filters, volume, and volatility logic with clean breakout and mean-reversion mechanics.
Optimized for the London–New York overlap, this system captures directional moves while filtering out noise and false breakouts — the most common trap for gold traders.
⚙️ Core Components
1️⃣ Multi-Timeframe Guardrail
Works only on 3m / 5m / 15m charts for precision.
Prevents accidental backtests on irrelevant timeframes.
2️⃣ SMMA Trend Framework
Uses SMMA(21) for short-term bias,
SMMA(50) for medium-term direction,
SMMA(200) for higher-order trend control.
RSI(14) confirms momentum and prevents chasing extreme moves.
3️⃣ Global Filters
✅ Trend filter (optional):
• Longs only if close > SMMA200
• Shorts only if close < SMMA200
✅ SMMA proximity filters:
• Blocks trades when SMMA21–SMMA50 or SMMA21–SMMA200 are too close → reduces chop.
✅ Volume filter:
• Requires volume > SMA(volume) × multiplier.
✅ Impulse filter:
• Body size ≥ k × ATR (volatility confirmation).
✅ Active-session filter:
• Default: 07:00–20:00 CET (Europe/Brussels).
4️⃣ XAUUSD Preset (optional toggle)
When symbol = “XAU” or “GOLD”, auto-applies gold-specific tuning:
RSI thresholds tightened (BUY > 55 / SELL < 45)
Stronger volume & volatility filters
Stricter SMMA distance checks
Automatic session activation
⚔️ Entry Rules
Rule Setup Type Logic Summary
R1 Full SMMA breakout Price closes above (or below) all SMMAs + RSI confirms direction
R2 SMMA21 touch + alignment Price bounces on 21 while aligned with 50 & 200 + RSI filter
R3 3-bar engulfing reversal After 3 candles in one direction, an engulfing opposite bar + RSI momentum
R4 SMMA21/50 crossover 21 crosses 50 with trend & volume confirmation
All rules respect your global filters (trend, volume, impulse, proximity, sessions).
R2–R4 entries can be individually toggled ON/OFF in inputs.
💰 Exit Logic
Simple % exits (for quick prototyping):
• TP = +X% (default 1.0%)
• SL = −X% (default 0.5%)
All entries are managed individually (R1–R4 IDs).
More advanced versions include ATR-based partials, breakeven and dynamic trailing logic.
🎨 Visuals
SMMA21 → teal line
SMMA50 → orange line
SMMA200 → magenta line
On-chart labels for each rule (BUY/SELL R1–R4).
Alerts for all entry conditions — ready for automation or alerting bots.
🧠 Suggested Usage
Best window: 14:00–17:00 CET (London–New York overlap).
Ideal timeframes: M5 and M15.
Avoid over-trading during low volatility (Asian session).
For XAUUSD, enable all filters for realistic conditions.
Recommended baseline:
TP = 1.0%
SL = 0.5%
UseVolFilter = true
UseImpulse = true
GapFilter = true
TrendFilter = true
📈 Performance Tips
✅ Stronger filter = fewer but higher-quality trades.
✅ When gold volatility spikes (CPI/NFP/FOMC), increase “minGap%” thresholds slightly.
✅ For smooth trend capture, use R4 (SMMA21/50 cross) with trend filters ON.
✅ For reversals, combine R3 (engulfing) + RSI confirmation.
🧾 Changelog (v1.0)
✅ Multi-timeframe guard (3/5/15min only)
✅ 4 rule logic (R1–R4)
✅ Global filters: trend, volume, impulse, proximity
✅ XAUUSD preset with adaptive parameters
✅ Session/timezone logic
✅ Simple exits for fast backtesting
✅ On-chart labels and alert system
🧭 Recommended Title / Tagline for TradingView
Aurum Precision Scalper Pro v1.0
“A high-precision RSI-SMMA strategy for Gold scalpers — designed for the London–NY overlap.”
🔖 Tags
#XAUUSD #Gold #Scalping #SMMA #RSI #Strategy #DayTrading #PineScriptV6 #ATR #TrendFollowing #Breakout
Event Marking [zidaniee]This is not a technical analysis indicator, but a visual tool designed to mark important global events using vertical lines on your chart.
By placing a single marker at the exact time an event occurred, you can compare how different assets reacted to that global event — before, during, and after it happened.
In the example provided, the marking corresponds to the moment when U.S. President Donald Trump announced a 100% tariff on goods from China, which was immediately reflected in market reactions worldwide.
The indicator includes full customization features for:
• Event label text
• Label size and position
• Line color, style, and width
Enjoy