Planetary Trading LevelsThis indicator gives nifty support and resistances based on planetary longitudes
Göstergeler ve stratejiler
Liquidity sweep zone [Liquidation heatmap]Liquidity Sweep Zone : Capturing Liquidity Hotspots with Multi-OI Data and Volume
Overview:
The "Liquidity Sweep Zone " indicator comprehensively analyzes changes in Open Interest (OI) and volume data from major cryptocurrency exchanges to visualize potential liquidity sweep areas in real-time. This script identifies price levels where long or short positions are heavily liquidated or new liquidity enters the market, marking these as 'liquidity hotspots'. It assists traders in identifying these critical price levels to predict potential market reversals or trend accelerations. As its name suggests, it effectively illustrates market liquidity flows in a manner similar to a liquidation heatmap.
Features and Originality:
Multi-OI Data Source Integration and OI Delta Analysis:
Multi-Exchange Data: Utilizes integrated real-time Open Interest (OI) data from five major exchanges: Binance, Bybit, OKX, Bitget, and HTX. This approach reduces market bias that might arise from relying on single-exchange data, providing a more comprehensive understanding of overall market position changes.
Accurate Data Requests: Employs the request.security() function to fetch OI data for the current timeframe. Crucially, it uses lookahead=barmerge.lookahead_off and gaps=barmerge.gaps_on settings to entirely eliminate potential lookahead bias during data requests, ensuring the integrity and accuracy of historical data.
OI Delta Calculation: Accurately calculates the change in OI (delta) for each exchange and sums them to derive the total OI delta. This total OI delta represents the net change in market participants' positions, strongly indicating significant liquidity inflow or outflow at specific price levels, especially when coinciding with price movements.
Smart Volume-Based Liquidity Zone Identification:
Filtered Volume: Considers a trade as 'filtered significant trade' when the current bar's volume (volume) is higher than its 14-period Simple Moving Average volume (ta.sma(volume, 14)). This identifies significant large-scale trading activities that genuinely impact market movements, rather than just any volume spike.
Price-Specific Liquidity Marking: When such filtered volume spikes occur, potential buy or sell liquidity lines are drawn on the chart based on the bar's close and open prices. If the close is higher than the open, a line is drawn near the low, indicating long liquidation liquidity. If the close is lower than the open, a line is drawn near the high, indicating short liquidation liquidity.
Dynamic Visualization and Strength-Based Coloring/Thickness:
Gradient Coloring: Utilizes a custom color.from_gradient() method to apply a gradient effect to liquidity lines. This gradient visually represents the 'strength' (volume or OI delta value) of the liquidity zone, with stronger liquidity areas displayed in deeper colors, enabling intuitive perception of strength.
Strength-Based Line Thickness and Color:
Liquidity lines with maximum strength are displayed as the thickest and most prominent using highLevelColor (default yellow), emphasizing them as the most crucial liquidity areas.
Second maximum strength lines are also highlighted with additional thickness and secondHighLevelColor (default yellow).
Lines with above-average strength are shown with medium thickness and lowLevelColor or midLevelColor, while below-average lines are thinner, creating a visual hierarchy based on liquidity strength.
Line Persistence and Updates: Liquidity lines extend horizontally until the current bar closes via the updateVolumeLiquidityLine and updateOILiquidityLine methods, suggesting that these price levels remain valid liquidity areas for a certain period.
Customizable Multi-Timeframe Support:
Timeframe Filtering: Allows individual selection of whether to display liquidity lines on various timeframes, ranging from 1 minute to 2 hours. This enables users to focus liquidity information on their timeframes of interest.
Timeframe-Specific Line Thickness: The thickness of liquidity lines can be individually set for each timeframe. This allows for customization based on user preference, such as thinner lines for longer timeframes and thicker lines for shorter ones.
Liquidity Position Type Filtering:
The "Liquidity positions" option allows filtering to display liquidity for 'All' positions, 'Long' positions, or 'Short' positions only. This is useful when wanting to focus solely on liquidity hotspots for a specific direction.
Alert Functionality:
Provides a feature to alert users when new high-strength volume-based liquidity zones (isNewHighVolumeLongZone, isNewHighVolumeShortZone) and OI-based liquidity zones (isNewHighOILongZone, isNewHighOIShortZone) are formed. This enables traders to react instantly to significant market changes and seize opportunities.
How to Use:
Add Indicator: Add the "Liquidity Sweep Zone " indicator to your TradingView chart.
Select OI Data Sources: In the "OI Data Sources" group, select the exchanges whose Open Interest (OI) data you wish to include in the analysis.
Display and Visualization Settings:
In the "Display" group, you can customize the visual representation by adjusting the Liquidity multiplier, Liquidity positions type, and the colors for low, mid, and high-level liquidity lines (Low level, Mid level, High level, 2nd High level).
In the "Display Liquidity on Timeframes" group, select whether to display liquidity lines on the currently used timeframe.
In the "Line Thickness by Timeframe" group, set the thickness of liquidity lines for each timeframe to adjust visual density.
In the "OI Line Display" group, you can set the visibility of OI liquidity lines, colors for OI Long and Short positions, and the OI line width.
Alert Settings (Optional): In the "Alerts" group, enable the alert function and customize the alert messages for each type of liquidity.
Chart Analysis:
Pay close attention to the liquidity lines displayed on the chart. Especially, the thickest and brightest lines indicate major liquidity hotspots where large amounts of long or short positions are concentrated.
When the price approaches or reaches these liquidity zones, anticipate potential buy/sell pressure, stop-loss triggers, position liquidations, leading to price reversals or trend accelerations in that area. This indicator effectively serves as a heatmap visually representing potential liquidation levels in the market.
Analyze OI liquidity lines and volume liquidity lines together to understand the overall market liquidity flow and the strength of specific positions.
Conceptual Background:
This script is based on the market structure principle that "smart money" or "large traders" tend to drive prices towards areas where significant liquidity (liquidations and unfulfilled orders) is concentrated. These liquidity sweeps often serve as triggers for price reversals or accelerators for existing trends.
Volume Liquidity: Abnormally high volume at specific price levels indicates that many participants previously traded at those prices. This suggests that liquidity pools, which can act as critical support or resistance levels in the future, still exist.
Open Interest (OI) Liquidity: A sharp increase in OI signifies a large build-up of new positions, while a decrease indicates the liquidation of existing positions. Particularly, when OI delta changes significantly along with price movements, it strongly suggests a large influx or liquidation of long/short positions at specific price levels. This can trigger potential liquidation cascades and effectively acts as a 'liquidation heatmap'.
By integrating these liquidity metrics, this indicator helps traders visually identify the 'hidden' order flow and potential liquidation levels in the market. It empowers them to proactively understand critical price areas that could influence market direction. This is particularly useful for enhancing short-term trading and scalping strategies in futures and margin trading.
TRADE ORBIT:- TREND REVERSAL INDICATORThis indicator combines EMA momentum, Stochastic oscillator behavior, and trend-strength histogram analysis to identify when the market is trending, weakening, or potentially reversing.
✅ Main Components
EMA Difference
Calculates strength as the difference between a fast EMA and slow EMA
Positive → Uptrend
Negative → Downtrend
Stochastics (%K & %D)
Identifies overbought (>80) / oversold (<20) conditions
Signals crossovers:
%K crosses above %D → bullish
%K crosses below %D → bearish
Trend Strength Histogram
Shows the momentum change in color + height:
Condition Color Meaning
Uptrend strength increasing Strong Green Strong buying pressure
Uptrend strength weakening Light Green Buying losing momentum
Downtrend strength increasing Strong Red Strong selling pressure
Downtrend strength weakening Light Red Selling losing momentum
Divergence Yellow Trend may reverse
Divergence Detection
Bullish weakening >80 → Yellow
Uptrend losing strength → risk of reversal
Bearish weakening <20 → Yellow
Downtrend losing strength → risk of reversal
Buy/Sell Signals
Buy: Stoch %K cross above %D below 20
Sell: Stoch %K cross below %D above 80
✅ How to Use
Trade in direction of histogram strength
Exit / reduce position when yellow appears → possible reversal
Confirm with Stoch cross + EMA direction
✅ Best Use Cases
Trend continuation and fade detection
Early reversal warning
Overbought/oversold decision zones
Bitcoin 60 Day Cycle Tracker (with Alerts) - Bob Loukas MethodBitcoin 60-Day Cycle Tracker
For just $47.00 USD one-off payment
You can pay directly to this URL & I'll setup ASAP - PayPal.Me insert $47 USD & your tradingview userid in payment comment.
Alternatively, pls Private Message (PM) via TradingView for other methods you may wish to use.
🎯 Premium Features
This is the PREMIUM version with full alert functionality. Thank you for your support!
What's Included
All Free Version Features
✅ Automated cycle detection (green/red arrows)
✅ Real-time dashboard with 8 data points
✅ Smart filtering and customization
✅ Bitcoin-only & 1D timeframe lock
⚡ Premium Alert System
Six Automated TradingView Alerts:
⏰ Time-Based Alerts (Proactive)
Day 50 Alert - "Cycle Midpoint"
Fires exactly 50 days into current cycle
10-day advance warning before typical cycle low
Use to: Prepare entry strategy, set price alerts
Message: "Day 50 reached. Approaching typical cycle low window."
Day 55 Alert - "Late Cycle Phase"
Fires exactly 55 days into current cycle
5-day advance warning - optimal preparation window
Use to: Final entry preparation, monitor for weakness
Message: "Day 55 reached. Watch for potential cycle low formation."
Day 60 Alert - "Expected Cycle Low"
Fires exactly 60 days into current cycle
Prime timing window for cycle low
Use to: Heightened attention, execute entry plan
Message: "Day 60 reached. Expected cycle low window."
Day 65 Alert - "Extended Cycle"
Fires if cycle extends beyond 65 days
Warning that cycle is running long
Use to: Recalibrate expectations, reduce urgency
Message: "Day 65 reached. Cycle extending beyond typical range."
📊 Pivot Detection Alerts (Reactive)
New Cycle Low Detected
Fires when green arrow appears (automated pivot detection)
Confirms new cycle has started (resets counter to Day 1)
Use to: Execute planned entry, adjust positions
Message: "New cycle low detected at . Monitor for reversal."
Cycle High Detected
Fires when red arrow appears (automated pivot detection)
Marks significant peak within current cycle
Use to: Take profits, tighten stops, reduce leverage
Message: "Cycle high detected at . Consider position management."
Alert Configuration Recommendations
Notification Settings:
✅ Push Notifications (for time-sensitive signals)
✅ Email (for documentation and record-keeping)
⚠️ SMS (optional - for critical alerts only to avoid spam)
🔗 Webhook (for trading automation - advanced users)
Alert Frequency:
Set to "Once Per Bar Close" (recommended)
Avoid "Once Per Bar" (creates too many false alerts)
Sound Settings:
Different sounds for time-based vs pivot alerts
Louder/distinct sound for Day 60 and Cycle Low alerts
ALERT USAGE STRATEGIES
Strategy 1: Conservative Accumulation
Setup:
Enable: Day 55, Day 60, Day 65, New Cycle Low
Disable: Day 50, Cycle High
Logic:
You want to accumulate near cycle lows only, with advance warning.
Workflow:
Day 55 alert → Start monitoring, prepare buy orders
Day 60 alert → Increase vigilance, refine entry levels
Day 65 alert → Cycle running long, stay patient
New Cycle Low alert → Execute entry (green arrow confirmed)
Strategy 2: Active Trading
Setup:
Enable: All 6 alerts
Logic:
You want to trade both entries (lows) and exits (highs).
Workflow:
Day 50 alert → Start planning entry
Day 55 alert → Prepare entry strategy
Day 60 alert → Ready to execute
New Cycle Low alert → Enter position
Cycle High alert → Take partial profits, set trailing stop
Day 50 alert (next cycle) → Begin exit preparation
Strategy 3: Risk Management
Setup:
Enable: Day 60, Day 65, New Cycle Low, Cycle High
Logic:
You manually identify cycles but want confirmation and miss protection.
Workflow:
Manual analysis identifies approaching cycle low
Day 60 alert → Confirms your analysis timing
New Cycle Low alert → Validates your entry
Cycle High alert → Reminds you to manage position
Day 65 alert → Warns if you're waiting too long
Strategy 4: Automation Setup
Setup:
Enable: New Cycle Low, Cycle High
Configure: Webhooks to trading bot/platform
Logic:
Fully automated trading based on confirmed pivots.
Webhook Payload Example:
json
{
"action": "{{strategy.order.action}}",
"price": "{{close}}",
"cycle_day": "{{plot_0}}",
"ticker": "{{ticker}}"
}
Integration:
3Commas, Alertatron, TradersPost, or custom bot
New Cycle Low → Open long position
Cycle High → Close position or take profit
Advanced Alert Customization
Combining with Other Indicators
Example: Confluence Filter
Set up this indicator's alerts
Add RSI/volume/MA indicator
Create compound alert: "Cycle Low AND RSI < 30"
Result: Only alerts on oversold cycle lows
Example: Multi-Timeframe
Day 60 alert fires (1D)
Switch to 4H chart for precise entry
Wait for 4H confirmation (hammer candle, volume spike)
Enter on 4H timeframe with 1D cycle context
Review Monthly:
Which alerts were most accurate?
Did you follow your plan?
Were false signals clustered in specific conditions?
Adjust sensitivity settings based on results
IMPORTANT NOTES
Respect the Cycle - Not every cycle low is a buy opportunity
Not every cycle high requires an exit
Context matters: bull vs bear market
Position Sizing - Scale in across days 55-65 (not all at once), largest size on green arrow confirmation
Never risk more than 2-5% per alert
Alert Troubleshooting
## Alert Didn't Fire
Possible Causes:
Indicator not showing on chart (timeframe/symbol wrong)
Alert condition not met (e.g., cycle too short)
TradingView server lag (rare)
Alert accidentally deleted/paused
Solution:
Verify indicator is active on chart
Check alert list (clock icon) for status
Recreate alert if missing
Test with Day 1 alert (fires every new cycle)
## Too Many False Alerts
Possible Causes:
Pivot settings too sensitive
Market in consolidation/chop
Frequency set to "Once Per Bar" (not bar close)
Solution:
Increase Pivot Lookback to 7-8
Increase Min Days Between Lows to 53+
Change frequency to "Once Per Bar Close"
Consider disabling alerts in ranging markets
## Missed Cycle Low
Possible Causes:
Pivot lookback too high (not sensitive enough)
Min Days filter blocked detection
Cycle was unusually short (<45 days)
Solution:
Lower Pivot Lookback to 5
Lower Min Days Between Lows to 45-48
Enable Smart Overlapping feature
Supplement with manual analysis
Update Policy
All updates included with premium access
Access tied to your TradingView account
Alert Limitations:
Alerts are based on historical pivot detection (lagging)
Time-based alerts are forward-looking but not predictive
No alert system guarantees profitable trades
Technical failures may prevent alert delivery
Trading Risks:
Alert or Automated trading amplifies both profits and losses
Webhook errors can cause unintended positions
Always test with small size first
Never trade beyond your risk tolerance
No Warranty or Liability:
Indicator provided "as-is"
No guarantee of uptime or accuracy
Not liable for trading losses whatsoever
Not financial advice or recommendations
By using this premium indicator, you acknowledge these risks and accept full responsibility for your trading decisions.
Contact
For premium support questions, use TradingView private messages or the contact method provided at purchase.
For just $47.00 USD one-off payment
Thank you for supporting this project! 🚀
Vini Algo StrategyThis strategy is intended to be used on an trading platform and should be run on a 5, 10, 15 minute chart for confirmations and signal relay to crypto platform.
I have spent quite a bit of time and I figured I would put it out to the community to share the work.
Ok, so let me say that I have spent some amount of time to make the indicator/Strategy not to repaint while still maintaining it's profitability. It has been a challenge so I am publishing.
What I have observed: the strategy will not repaint in real time.
Channel Balance
Bright Magenta Upper (Supply) side with Standard Deviation Interpretation +1σ, +2σ, +3σ above the mean — statistically “overbought” areas where price may reverse or slow down
Bright Cyan Lower (Demand) side with Standard Deviation Interpretation −1σ, −2σ, −3σ below the mean — “oversold” areas where buying interest may return
Supply Zone ---->> Resistance / Sell area
Demand Zone ------>> Support / Buy area
BOS ----->> Market structure break
Buy/Long markers ----->> Potential entry for long trades
Sell/Short markers ----->> Potential entry for short trades
Limitation on lower timeframe chart
That is, if you have the chart open and keep it open, the signals are the same as the ones that are sent out by the strategy. In certain cases, when I reload the chart- the signals might be off from what was sent. In some ways, that is repainting, but it is repainting based on losing the real time data and recalculating from a different set of bars- since I am running it on a one minute chart then the start becomes different when you refresh.
🧠 Price Action
Price action is the study of how price moves on a chart — without relying on indicators. If you master price action, you can trade confidently even without indicators — because you’ll understand what the market is telling you through structure, momentum, and liquidity.
How to Read Price Action Step by Step
Identify Market Structure
→ Are we trending or ranging?
Mark Key Levels
→ Swing highs/lows, supply/demand, liquidity zones.
Wait for Confirmation
→ BOS / CHoCH or rejection candles.
Align With Context
→ Where are we in the larger timeframe? (Top-down analysis)
Enter on Reaction
→ Wait for a clear rejection, engulfing candle, or BOS confirmation near your zone.
Manage Risk
→ Stop-loss below swing (for longs) or above swing (for shorts).
Having a good strategy is essential, but it’s only one piece of the puzzle. To be a consistently successful trader, you need a combination of psychology, risk management, discipline, and process — the things that keep you profitable when the strategy itself faces drawdowns.
1. Trading Psychology 🧠
2. Risk & Money Management 💵
3. Trading Plan & Strategy 📈
4. Discipline & Consistency 🧩
5. Continuous Learning & Review 🔍
💬 Final Thought
“Indicators follow price.
Price follows order flow.
To understand order flow — study price action.
⚠️ Disclaimer:
This indicator is intended for educational purposes only and should not be considered financial advice. Always use proper risk management.
"Trading involves risk. Trade responsibly.
No indicator gives 100% accurate signals."
Please forward test first and use at your own risk.
If you spot repaint issues, please Read the the Limitations again.
intercept 截取Self-dealing requires this indicator ,Intercepted to obtain liquidity and recover it自我交易需要,截取为获取流动性并收回
Bitcoin 60 Day Cycle Tracker Automated [Bob Loukas Method]Bitcoin 60-Day Cycle Tracker
🎯 Quick Start
This is the FREE version with visual cycle tracking. Want automated alerts? See "Premium Version" section below.
Overview
The Bitcoin 60-Day Cycle Tracker automatically identifies Bitcoin's recurring ~60-day price cycle pattern based on methodology pioneered by Bob Loukas, creator of the "Bitcoin's 4-Year Journey" series. While Bitcoin's 4-year halving cycle is well-known, this short-term cycle offers precision timing for entries and exits within the larger trend.
What You Get (Free Version)
✅ Automated Cycle Detection
Green arrows mark cycle lows (typically every 50-65 days)
Red arrows mark cycle highs (peaks within each cycle)
Day count labels show time since last cycle low
✅ Real-Time Dashboard
Current cycle day position
Phase indicator (Early/Mid/Late)
Days until expected cycle low (day 60)
Right/Left translation (bullish/bearish structure)
% gain/loss from cycle low
Last cycle low price reference
Rolling 5-cycle average length
Progress percentage
✅ Smart Configuration
Adjustable pivot sensitivity (default: 6-bar lookback)
Minimum cycle spacing filter (default: 51 days)
Optional overlap detection for compressed cycles
✅ Built-In Safeguards
Works only on Bitcoin pairs (all exchanges)
Locked to Daily (1D) timeframe
Displays warning on wrong chart/timeframe
🔒 Premium Version Features
The premium invite-only version adds 6 automated TradingView alerts:
Time-Based Alerts:
🔔 Day 50 Warning (10 days before expected low)
🔔 Day 55 Warning (5 days before expected low)
🔔 Day 60 Alert (expected cycle low timing)
🔔 Day 65 Alert (extended cycle warning)
Pivot Detection Alerts:
📊 New Cycle Low Detected (when green arrow appears)
📊 Cycle High Detected (when red arrow appears)
All alerts support push notifications, email, SMS, and webhook integration for trading automation.
💎 For premium access with alerts, visit my TradingView profile for details.
Understanding the 60-Day Cycle
The Pattern
Bitcoin consistently forms significant price lows approximately every 60 days, creating a predictable rhythm within the larger 4-year cycle. This pattern appears in both bull and bear markets, though interpretation differs.
Key Metrics:
Typical Length: 50-65 days (average: 60 days)
Cycle Count: ~24 cycles per 4-year halving cycle
Variation: Can compress to 42 days or extend to 70 days in volatile conditions
Cycle Translation
Right-Translated Cycles (Bullish)
Peak occurs after day 30 of the cycle
Indicates strong momentum and buyer strength
Common in uptrends and bull markets
Suggests holding positions longer
Left-Translated Cycles (Bearish)
Peak occurs before day 30 of the cycle
Indicates weakness and seller dominance
Common in downtrends and bear markets
Suggests earlier profit-taking
How to Use This Indicator
Entry Timing
Days 50-60 (Late Phase)
The "buy zone" window
Watch for price weakness and capitulation volume
Prepare limit orders near support levels
Wait for green arrow confirmation before entry
Days 1-10 (Early Phase)
Strongest momentum period after cycle low
Breakout confirmation when price crosses 10-day MA
Highest probability zone for position building
Exit Strategy
Days 30-40 (Mid Phase)
Typical cycle high window in strong trends
Monitor for red arrows (cycle high detection)
Consider partial profit-taking
Trailing stops become appropriate
Days 50+ (Late Phase)
Risk increases as new cycle low approaches
Tighten stops or reduce position size
Watch for failed cycle warnings (price below previous low)
Risk Management
Failed Cycle Signals:
Price breaking below previous cycle low = trend weakness
Multiple short cycles (<45 days) = increased volatility
Extended cycles (>65 days) = potential distribution phase
Confluence Factors:
Combine with Bitcoin's 4-year cycle position
Check volume patterns at cycle lows (capitulation)
Verify with on-chain metrics (UTXO age, realized value)
Consider macro liquidity conditions
Configuration Guide
Default Settings (Optimized for BTC 1D)
Pivot Lookback: 6
Min Days Between Cycle Lows: 51
Max Days for Cycle High: 73
Min Days Before Marking High: 15
High Pivot Lookback: 6
Smart Overlapping: OFF
Tuning for Different Market Conditions
More Sensitive (Catches more cycles)
Reduce Pivot Lookback to 4-5
Lower Min Days Between Lows to 45-48
Enable Smart Overlapping
Best for: Volatile/choppy markets
Less Sensitive (Cleaner signals)
Increase Pivot Lookback to 7-8
Raise Min Days Between Lows to 53-55
Disable Smart Overlapping
Best for: Strong trending markets
Balanced (Recommended)
Keep default settings
Adjust only if consistently missing obvious lows
Document your changes for backtesting
Market Context
Bull Markets
Cycle lows offer accumulation opportunities
Right-translation confirms strong trend
Focus on entries near green arrows
Hold through red arrows in strong uptrends
Bear Markets
Cycle lows may be lower lows (downtrend continues)
Left-translation signals sustained weakness
Use for timing short-term bounce trades
Respect red arrows as exit signals
Sideways Markets
Cycles define range boundaries
Trade range: buy near green arrows, sell near red arrows
Repeated left-translation suggests distribution
Right-translation breakout signals trend resumption
Important Limitations
What This Indicator CANNOT Do
❌ Predict exact price targets
❌ Replace comprehensive market analysis
❌ Guarantee cycle timing precision
❌ Account for black swan events or macro shocks
❌ Work on altcoins or non-crypto assets
Accuracy Expectations
This automated tool approximates manual cycle analysis but cannot match human discretion. Professional analysts like Bob Loukas may consider:
Market narrative and sentiment
Volume profile and liquidity
Macro economic factors
On-chain data confluence
Realistic Expectations:
~70-80% accuracy on cycle low timing (±5 to 10 days)
Variable performance in ranging vs trending markets
Best used as timing framework, not standalone system
Complementary Analysis
Practical Examples
Scenario 1: Bull Market Entry
Current Status:
- Cycle Day: 57
- Phase: Late
- Translation: Right (previous cycle)
- % From Low: -4.2%
Action Plan:
1. Price approaching day 60 window
2. Right-translation suggests continued strength
3. Set alerts for volume spike
4. Prepare buy orders 5-8% below current price
5. Wait for green arrow confirmation
6. Enter on day 1-5 of new cycle
Scenario 2: Bear Market Caution
Current Status:
- Cycle Day: 34
- Phase: Mid
- Translation: Left (current cycle peaked day 26)
- % From Low: +18.7%
Action Plan:
1. Left-translation signals weakness
2. Already well into cycle (day 34)
3. Red arrow may appear soon
4. Set tight trailing stop
5. Consider partial profit-taking
6. Avoid new longs this late in weak cycle
Frequently Asked Questions
Q: Why Bitcoin only?
A: The 60-day cycle is a Bitcoin-specific pattern observed over multiple market cycles. Altcoins have different rhythms tied to BTC correlation.
Q: Does it work on lower timeframes?
A: No. The indicator is designed for and locked to the Daily (1D) timeframe. Lower timeframes create too much noise.
Q: Can I use this for leverage trading?
A: Cycle timing can inform leverage entries, but always use proper risk management. The cycle is probabilistic, not guaranteed.
Q: What if a cycle extends past day 65?
A: Extended cycles indicate consolidation or distribution. Reduce position size and wait for confirmation.
Q: How do I know if a cycle "failed"?
A: If price breaks below the previous cycle low, the cycle structure has failed, suggesting trend weakness.
Q: Should I buy every day 60?
A: No. Day 60 is a timing window, not a buy signal. Wait for technical confirmation (green arrow, volume, support hold) and combine with other confluences to decide on the trade.
Changelog
v1.0: Initial public release
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or trading signals.
Key Risks:
Past cycle patterns do not guarantee future results
Automated detection has inherent limitations
Market conditions can invalidate cycle analysis
Always use proper risk management and position sizing
Never trade based solely on one indicator. Combine cycle analysis with fundamental research, technical analysis, risk management, and your own due diligence.
Trading cryptocurrencies carries substantial risk of loss. Only trade with capital you can afford to lose completely.
Credits
Cycle analysis methodology inspired by Bob Loukas and the cryptocurrency cycle analysis community. Automated detection developed independently using pivot analysis and statistical filtering.
📌 Want automated alerts when various cycle trigger points flash? Visit my profile for premium version access.
TS Viewer MTFThis indicator allows you to visualize Turtle Soup (TS) and Pending Range (R) formations on the current timeframe (TF).
You can also enable other timeframes to display additional pending ranges.
Multi-TF mode can be enabled or disabled based on your needs. However, since retrieving higher-TF data takes more time to process, it’s recommended to enable only a few of them. For example, the following correlations are suggested to keep the indicator running smoothly and prevent timeout errors:
• W → D
• D → 4H
• 4H → 1H
• 1H → 5m
Also, fetching data from multiple timeframes may depend on your TradingView plan, so please keep that in mind.
This indicator is free, but it took several hours to develop.
If you’d like to buy me a coffee, it would be greatly appreciated ☕🙂
USDT TRC20:
TKjUywMV1ahBTFK2s27gE2xeVk9f2GMqDo
Day Separator + Local Time Shading + Prev Day H/L (UTC-4)Day Separator + Local Time Shading + Prev Day H/L (UTC-4)
QV 4D BX ReversalThis algorithm excels in long-term trading and identifying momentum reversals on higher timeframes. To maximize profits, you can then leverage the QV 2H/4D 2BX & FVB Strategy algorithm, switching to a lower timeframe for precise short-term trades.
### Overview of the Strategy
The "QV 4D BX Reversal" is a Pine Script (version 5) trading strategy for TradingView, designed as a reversal-based system using a custom momentum oscillator called "B-Xtrender" on a higher timeframe (default 4-day). It supports user-selected long-only or short-only trading, entering on signs of momentum reversal or continuation in the oscillator's direction. The strategy uses 5% of equity per trade, with no commissions, and focuses on simple entry/exit rules based on the oscillator's value, changes, and thresholds. It's plotted in a separate pane as a colored histogram (green for positive/uptrending, red for negative/downtrending), with a centerline at 0. This script is suited for trend-reversal trading in assets like stocks, forex, or crypto, emphasizing higher-timeframe signals for reduced noise.
The name likely refers to:
- **QV**: QuantVault (the creator).
- **4D**: Default 4-day timeframe for the oscillator.
- **BX**: B-Xtrender oscillator.
- **Reversal**: Focus on detecting momentum shifts for entries and exits.
It's licensed under Mozilla Public License 2.0, making it open-source friendly.
### Key Indicators and Calculations
The core of the strategy is a single indicator fetched from a higher timeframe:
1. **B-Xtrender Oscillator (shortTermXtrender)**:
- Formula: `RSI(EMA(close, short_l1) - EMA(close, short_l2), short_l3) - 50`.
- Defaults: L1=5, L2=20, L3=5.
- This measures momentum in the difference between a fast and slow EMA, normalized via RSI, and centered around 0 (positive = bullish, negative = bearish).
- Fetched via `request.security` from the input timeframe (TF1, default "4D").
- Plotted as a histogram:
- Green (lime if increasing, darker if decreasing) when >0.
- Red (bright if increasing toward 0, darker if decreasing) when <0.
- A dashed gray hline at 0 acts as a centerline for crossovers.
No other indicators like ATR or bands are used—it's purely oscillator-driven.
### How the Strategy Works: Entries
Entries trigger on momentum shifts or continuations in the B-Xtrender, filtered by the selected trade direction. Only one direction is active at a time (no hedging).
- **Long Direction**:
- **Entry Condition** (`long_entry`): Triggers if either:
- Crossover above 0 (from below) AND the value is increasing (current > previous).
- OR simply increasing (current > previous), regardless of level.
- On entry, it records if the oscillator was below the exit level (exit_lvl, default 3.5) via `entryBelowExit` for a special exit rule.
- Enters a long position with 5% of equity.
- **Short Direction**:
- **Entry Condition** (`short_entry`): Triggers if either:
- Crossunder below 0 (from above) AND the value is decreasing (current < previous).
- OR simply decreasing (current < previous), regardless of level.
- Enters a short position with 5% of equity.
No pyramiding or position sizing variations—entries are straightforward and can re-enter immediately after exits if conditions met. No additional filters like volume or price action.
### How the Strategy Works: Exits
Exits close the entire position based on adverse momentum signals, with combined rules for robustness. Exits are direction-specific and only trigger if in a position.
- **Long Exits** (`long_exit`): Closes the long if any of:
- Crossunder below the exit level (default 3.5).
- Oscillator is red (<=0) AND decreasing for 2 consecutive bars (current < prev, prev < prev ).
- If entry was below exit level (`entryBelowExit` true), crossunder below 0.
- Comment on close indicates the reason (e.g., "Cross below 3.5" or "Red + 2-bar decline").
- Resets `entryBelowExit` after exit.
- **Short Exits** (`short_exit`): Closes the short if any of:
- Crossover above the negative exit level (-3.5).
- Oscillator is green (>=0) AND increasing for 2 consecutive bars (current > prev, prev > prev ).
- Comment on close indicates the reason (e.g., "Cross above -3.5" or "Green + 2-bar increase").
This setup aims to exit on weakening momentum or threshold breaches, protecting against reversals. No partial exits or trailing stops—full close only.
### Alerts
The script includes alert conditions for key events, which can be set up in TradingView for notifications:
- Long Entry (Crossover): "B-Xtrender crossed above 0 and is rising → LONG".
- Long Entry (Increasing): "B-Xtrender TF1 is increasing → LONG".
- Long Exit (Red + 2-Bar Decline): "B-Xtrender is red and decreased for 2 bars → EXIT LONG".
- Short Entry (Crossunder): "B-Xtrender crossed below 0 and is falling → SHORT".
- Short Entry (Decreasing): "B-Xtrender TF1 is decreasing → SHORT".
- Short Exit (Green + 2-Bar Increase): "B-Xtrender is green and increased for 2 bars → EXIT SHORT".
These use `alertcondition` for easy setup.
### Additional Notes
- **Customization**: Inputs allow tweaking EMA lengths, timeframe, exit level, and direction. Best for higher TFs like 4D to capture multi-day reversals.
- **Risk Management**: Relies on equity percentage sizing; no built-in stops beyond oscillator exits. Users should backtest for drawdowns.
- **Limitations**: Single-timeframe focus may miss broader trends; no volume or volatility filters. Assumes chart TF is lower than "4D" for accurate security requests.
- **Performance**: Suited for ranging or reversing markets where momentum shifts are frequent. In strong trends, it might enter/exit prematurely.
This strategy provides a simple, momentum-based reversal system, ideal for beginners or as a building block for more complex setups.
QV 1W/1M 2BX & FVB StrategyUse on Weekly Timeframe
### Overview of the Strategy
The "QV 1W/1M 2BX & FVB Strategy" is a TradingView Pine Script (version 5) strategy designed for trend-following trading on financial instruments like stocks, forex, or cryptocurrencies. It supports both long and short directions (user-selectable via input), with a focus on multi-timeframe momentum analysis using custom oscillators (called "Xtrender"), a volatility-based trailing line (Red ATR), Fair Value Bands (FVB) for deviation-based targets, and Break of Structure (BOS) for invalidation. The strategy allows pyramiding (adding to positions) and includes multiple exit mechanisms, including full exits and partial scale-outs. It's optimized for higher timeframes like weekly (1W) and monthly (1M) by default, but can be customized.
The strategy overlays indicators on the chart but runs in a non-overlay mode for its own panel (showing histograms). It uses 5% of equity per trade by default, with pyramiding limited to one additional entry (effectively doubling the position). It incorporates risk management through ATR-based stops and band deviations, and provides alerts for key events like band touches or BOS breaks.
The name likely refers to:
- **1W/1M**: Default timeframes for the two Xtrender oscillators.
- **2BX**: Dual "B-Xtrender" oscillators (short-term on two timeframes).
- **FVB**: Fair Value Bands for scaling out.
It assumes good intent for directional trading and doesn't enforce drawdown limits beyond the exits.
### Key Indicators and Calculations
The strategy relies on several custom indicators to generate signals:
1. **Short-Term Xtrender Oscillators**:
- These are momentum indicators based on RSI of the difference between two EMAs (Exponential Moving Averages), shifted by -50 to center around zero.
- **TF1 (e.g., 1W)**: Calculated as `RSI(EMA(close, short_l1) - EMA(close, short_l2), short_l3) - 50`, fetched from the specified timeframe.
- **TF2 (e.g., 1M)**: Same formula, but on a higher timeframe for broader trend confirmation.
- A combined version sums them for potential use, but the strategy primarily uses them separately.
- Plotted as histograms: Green shades for positive/upward momentum (brighter for 2-bar increases or zero crosses), red shades for negative/downward.
- TF2 direction persists across bars to detect if it's increasing or decreasing.
2. **Long-Term Xtrender**:
- Simpler RSI of an EMA: `RSI(EMA(close, long_l1), long_l2)`.
- Not directly used in entries/exits in this script (possibly a remnant or for visualization).
3. **Red ATR Line**:
- A volatility-based trailing line, similar to SuperTrend.
- Calculated using ATR (Average True Range) over a length (default 10), multiplied by a factor (default 2.5).
- It flips direction based on price closes above/below the previous line value, creating an upper/lower bound.
- Plotted as a red line on the price chart (overlay=true).
- Used for entries (pyramiding on cross), exits (full exit on adverse cross), and conditional checks.
4. **Fair Value Bands (FVB)**:
- Based on a smoothed "fair price" (SMA of OHLC4 over fair_value_length, default 33).
- Calculates median deviations from this fair price using historical high/low spreads and pivot highs/lows.
- Creates three upper bands (for longs) and three lower bands (for shorts) at multipliers (0.6x, 1.0x, 1.4x by default).
- Upper bands: Fair price + deviation spreads (boosted for pivots outside bands).
- Lower bands: Fair price - deviation spreads.
- Plotted in yellow/orange/red gradients, visible only for the selected direction.
- Used for scale-out exits and re-entry conditions after full exits.
5. **Break of Structure (BOS)**:
- Tracks the last swing low (for longs) or swing high (for shorts) using pivotlow/pivothigh over 5 bars left/right.
- Plotted as a white line if enabled.
- Acts as a support/resistance level for invalidation exits.
6. **2-Bar Conditions**:
- For longs: TF1 Xtrender red (below 0) and decreasing for two consecutive bars.
- For shorts: TF1 Xtrender green (above 0) and increasing for two consecutive bars.
- Used for adverse momentum exits.
7. **Other Checks**:
- TF1 cross above/below zero.
- Large changes in TF1 Xtrender (greater than exit_amount, default 40).
A custom T3 (Tillson T3) smoothing function is defined but not used in the visible code—possibly for future extensions.
### How the Strategy Works: Entries
The strategy enters positions based on momentum alignment across timeframes, with safeguards to avoid re-entering immediately after full exits.
- **Direction Selection**:
- User chooses "Long" or "Short" via input. The strategy only trades in that direction.
- **Main Entry** (if enabled):
- **For Longs**:
- TF2 Xtrender is increasing (change > 0) or above a threshold (default 10).
- TF1 Xtrender is increasing (current > previous).
- No existing long position (position_size <= 0).
- If previously fully exited a long, price must be <= 2x upper band (upper2) to re-enter.
- **For Shorts**:
- TF2 Xtrender is decreasing (change < 0) or below -threshold.
- TF1 Xtrender is decreasing (current < previous).
- No existing short position (position_size >= 0).
- If previously fully exited a short, price must be >= 2x lower band (lower2) to re-enter.
- Entry size: 5% of equity (default).
- **Pyramiding** (if enabled):
- Adds one more entry (doubling the position) when price crosses the Red ATR line in the favorable direction.
- For longs: Crossover above Red ATR.
- For shorts: Crossunder below Red ATR.
- Tracks initial quantity to ensure only one add-on per trade cycle.
- Pyramiding limit: 1 (as set in strategy declaration).
Upon entry, it records the initial position size, resets flags for scaling/exiting, and sets the BOS level (last swing low/high).
### How the Strategy Works: Exits
Exits are modular, with toggles for each type. Full exits set a "has_fully_exited" flag to prevent immediate re-entries until price retraces to the 2x band. Partial scale-outs (50%) can repeat unlimited times if price oscillates around bands.
- **Full Exits** (close entire position, mark as fully exited):
1. **ATR Exit** (if enabled): Adverse cross of Red ATR (e.g., close below for longs).
2. **2-Bar Exit** (if enabled): Adverse 2-bar momentum in TF1, and price below/above Red ATR (e.g., red and decreasing for longs).
3. **TF1 Below/Above Zero Exit** (if enabled): TF1 crosses zero adversely, only if price is on the wrong side of Red ATR.
4. **Large TF1 Change Exit** (if enabled): Adverse large drop/rise in TF1 (> exit_amount).
5. **BOS Exit** (if enabled): Price crosses BOS level adversely (e.g., below swing low for longs).
6. **3x Band Exit** (if enabled): Price crosses above 3x band (for longs) or below (for shorts), but waits for a cross back inside to exit fully.
- **Partial Scale-Outs** (50% of current position, repeatable):
1. **1x Band** (if enabled): Cross above 1x upper (longs) or below 1x lower (shorts), then cross back inside.
2. **2x Band** (if enabled): Similar logic for 2x bands.
Exits use waiting flags to detect the full cross-and-return cycle, ensuring they trigger only after touching and retreating from the band.
### Alerts
- **Band Touch Alerts** (if enabled): Triggers on price touching any 1x/2x/3x upper/lower band from above or below (real-time, freq_all).
- **BOS Touch Alert** (if enabled): Price touches BOS level from adverse side.
- **BOS Cross Alert** (if enabled and BOS exit on): Price crosses and closes beyond BOS (once per bar close).
- Alerts reset per new bar to allow multiple triggers if conditions recur.
### Additional Notes
- **State Management**: Uses `var` variables for persistent states like TF2 direction, swing levels, position tracking, and alert flags.
- **Visualization**: Histograms for Xtrenders, lines for Red ATR, Fair Value (blue middle), bands (colored), and BOS (white).
- **Customization**: All key params (lengths, multis, thresholds) are inputs. Disabling features simplifies the strategy.
- **Limitations**: No built-in stop-loss beyond BOS/ATR; relies on equity percent sizing. Assumes chart timeframe is lower than TF1/TF2 for security requests.
- **Performance**: Backtesting would depend on the asset and settings—e.g., works best in trending markets due to momentum filters.
This strategy combines trend confirmation (multi-TF oscillators), volatility trailing (Red ATR), and deviation targets (FVB) for a balanced approach to capturing moves while scaling out profits and cutting losses on reversals.
QV 1D/1W 2BX & FVB StrategyUse this on a 1D timeframe
### Overview of the Strategy
The "QV 1D/1W 2BX & FVB Strategy" is a custom trading strategy implemented in Pine Script v5 for the TradingView platform. It is designed for directional trading (long or short positions) on any asset, using a combination of momentum oscillators, trailing stops, fair value deviation bands, and structure breaks to generate entry and exit signals. The strategy name likely refers to "QuantVault" (the creator), using two timeframes (1D daily and 1W weekly) for "2BX" (possibly "2-Bar Xtrender" or similar), and "FVB" for Fair Value Bands.
This is not an overlay strategy (it plots indicators in a separate pane below the price chart), and it supports pyramiding (adding to positions) with a limit of 1 additional entry. It uses 5% of equity per trade by default, with an initial capital of $50,000 and commission accounted for. The strategy can be toggled for long-only or short-only modes and includes customizable enables/disables for various entry/exit rules and alerts. It aims to capture trends by entering on momentum confirmation across multiple timeframes and exiting based on reversals, profit targets (via bands), or stops.
The core idea is trend-following with risk management: Enter when higher-timeframe momentum aligns with lower-timeframe improvements, add to winners when price breaks a trailing level, and exit via multiple protective mechanisms or scaled profit-taking at deviation levels.
### Key Indicators and Calculations
The strategy relies on several custom indicators plotted on the chart or used for signals:
1. **Xtrender Oscillators (Short-Term and Long-Term)**:
- These are momentum indicators based on RSI (Relative Strength Index) applied to differences in EMAs (Exponential Moving Averages).
- **Short-Term Xtrender (on TF1 and TF2)**: Calculated as `RSI(EMA(close, short_l1) - EMA(close, short_l2), short_l3) - 50`. This creates an oscillator centered around 0.
- TF1 (default: 1D) is used for precise timing.
- TF2 (default: 1W) provides broader trend direction, with persistent state to detect if it's increasing or decreasing.
- Plotted as histograms: Green shades for positive/upward momentum, red for negative/downward. Special colors highlight 2-bar confirmations or centerline crosses.
- **Long-Term Xtrender**: Simpler RSI of EMA(close, long_l1) over long_l2, but it's defined and not directly used in the provided logic (possibly a remnant or for future expansion).
- A centerline at 0 separates bullish (above) from bearish (below) territories.
- 2-Bar Conditions: Checks for consecutive bars where the TF1 oscillator is red/green and decreasing/increasing, used for exits.
2. **Red ATR Line (Trailing Stop)**:
- A volatility-based trailing line similar to SuperTrend, using ATR (Average True Range) over a length (default: 10) multiplied by a factor (default: 2.5).
- It flips direction based on price closes: Upward trailing for longs (below price), downward for shorts (above price).
- Plotted as a red line on the price chart (forced overlay).
- Used for entries (pyramiding on cross), exits (full exit on adverse cross), and conditional checks.
3. **Fair Value Bands (FVB)**:
- These are dynamic deviation bands around a "fair price" middle line, which is an SMA (Simple Moving Average) of OHLC4 (average of open/high/low/close) over a length (default: 33).
- **Deviation Calculation**: Analyzes spreads from highs/lows to the fair price, using medians of historical deviations and pivot highs/lows (over 5 bars left/right).
- Upper bands (for longs): Boosted deviations above fair price, multiplied by factors (0.6 for 1x, 1.0 for 2x, 1.4 for 3x).
- Lower bands (for shorts): Similar but below fair price.
- Plotted only for the selected direction: Yellow (1x), orange (2x), red (3x) lines on the price chart.
- Acts as profit targets: Scale out or exit fully when price touches/crosses these bands.
- Uses arrays to store historical deviations/pivots, capped at 1000-2000 elements for efficiency.
4. **Break of Structure (BOS)**:
- Identifies the last swing low (for longs) or high (for shorts) using pivot lows/highs (5 bars left/right).
- Plotted as a white line on the price chart if enabled.
- Used as a stop-loss level: Exit if price breaks below (longs) or above (shorts).
5. **Other Elements**:
- Custom T3 (Tillson Moving Average) function is defined but not used in the script—possibly for future or removed features.
- Persistent variables track position states (e.g., initial quantity, doubled status, waiting for exits) to manage scaling and prevent re-entries after full exits until conditions reset.
### How the Strategy Works: Entry Logic
Entries are direction-specific and require alignment between timeframes for momentum.
- **Main Entry**:
- **For Longs**: Enabled if `enable_main_entry` is true.
- TF2 condition: Either increasing or above a threshold (default: 10).
- TF1 condition: Oscillator is increasing (current > previous).
- Position check: No current long position (or fully exited previously), and price is at or below the 2x upper band (to avoid chasing highs).
- Triggers a long entry with 5% equity.
- **For Shorts**: Symmetric but inverted.
- TF2 decreasing or below -threshold.
- TF1 decreasing.
- No short position (or fully exited), price at or above 2x lower band.
- Triggers a short entry.
- **Pyramiding (Adding to Position)**:
- If `enable_pyramiding` is true and not already doubled.
- For longs: When price crosses above the red ATR line (breaking resistance).
- For shorts: Crosses below red ATR.
- Adds the same initial quantity, effectively doubling the position (pyramiding=1 limits to one add).
Upon entry, it resets state variables (e.g., records initial qty, sets BOS level to last swing low/high).
### How the Strategy Works: Exit Logic
Exits are multifaceted, with full closes for protection and partial scale-outs for profit-taking. All are conditional on enabled inputs and position direction.
- **Full Exits (Close Entire Position)**:
1. **ATR Exit** (`enable_atr_exit`): For longs, if price crosses below red ATR (trailing stop hit). Symmetric for shorts (cross above).
2. **2-Bar Exit** (`enable_2bar_exit`): For longs, if TF1 is red and decreasing for 2 bars, and price is below red ATR. For shorts, green and increasing for 2 bars, price above red ATR.
3. **TF1 Centerline Exit** (`enable_tf1_below0_exit`): For longs, TF1 crosses below 0 and price below red ATR. For shorts, crosses above 0 and price above red ATR.
4. **Large TF1 Change Exit** (`enable_large_decrease_exit`): For longs, TF1 decreases by more than `exit_amount` (default: 40). For shorts, increases by that amount.
5. **BOS Exit** (`enable_bos_exit`): For longs, price crosses below swing low. For shorts, above swing high.
6. **3x Band Full Exit** (`enable_3x_exit`): Waits for crossover above 3x upper (longs) or below 3x lower (shorts), then closes on cross back under/over.
- **Partial Scale-Outs (50% of Position)**:
- Use "waiting" flags to detect touch and retreat from bands.
- **1x Scale-Out** (`enable_1x_scaleout`): Unlimited repeats. For longs, crossover above 1x upper, then close 50% on crossunder. Symmetric for shorts at 1x lower.
- **2x Scale-Out** (`enable_2x_scaleout`): Similar, at 2x bands.
After a full exit, it sets `has_fully_exited` to prevent immediate re-entry until price retreats to the 2x band.
### Alerts
- **Band Touch Alerts** (`enable_band_alerts`): Triggers on price touching any 1x/2x/3x upper/lower band from either side (e.g., "Price touched 1x Upper Deviation band from below").
- **BOS Touch Alert** (`enable_bos_touch_alert`): On touching BOS level.
- **BOS Cross Alert** (`enable_bos_cross_alert`): On crossing and closing beyond BOS.
- Alerts reset per bar and use `alert.freq_all` or `once_per_bar_close` to avoid spam.
### Additional Notes
- The strategy is backtestable in TradingView, with performance depending on parameters (e.g., timeframes, multipliers).
- It's momentum-driven on higher TFs for bias, with lower TF for timing, and volatility/fair value for risk/reward.
- No external data or ML; all calculations are self-contained using TA-Lib functions.
- Potential improvements: The unused T3 and long-term Xtrender could be integrated for filtering.
korea time with 200 korea time
start time
08
09
17
18
23
00
This script makes it easier to look at the charts
The time automatically displays even if you don't bother to bring the mouse by hand
Now you can see the time intuitively
Run a very happy trading session
KRX RS OverlayKRX RS Overlay (Manual, Pine v6) (한국어 설명 아래에)
What it does
Plots a Relative Strength (RS) line of the current symbol versus a selected Korean market index on the price chart (overlay). RS is computed as Close(symbol) / Close(benchmark) and rebased to 100 N bars ago for easy comparison. An SMA of RS is included for signal smoothing.
Benchmarks (manual selection only)
• KOSPI (KRX:KOSPI) — default
• KOSDAQ (KRX:KOSDAQ)
• KOSPI200 (KRX:KOSPI200)
• KOSDAQ150 (KRX:KOSDAQ150)
Inputs
• Benchmark: choose one of the four indices above (default: KOSPI)
• Rebase N bars ago to 100: sets the normalization point (e.g., 252 ≈ 1 trading year on daily)
• RS SMA length: smoothing period for the RS line
• Show 100 base line: toggle the reference line at 100
How to read
• RS rising → the symbol is outperforming the selected index.
• RS above RS-SMA and sloping up → strengthening leadership vs. the benchmark.
• RS crossing above RS-SMA → momentum-style confirmation (an alert is provided).
Tips
• Works on any timeframe; the benchmark is requested on the same timeframe.
• If the RS line scale conflicts with price, place the indicator on the Left scale (Chart Settings → Scales) or set the series to use the left axis.
Notes
• This script is manual only (no auto index detection).
• Educational use; not financial advice.
⸻
KRX RS 오버레이 (수동, Pine v6)
기능
현재 종목을 선택한 한국 지수와 비교한 상대강도(RS) 라인을 가격 차트 위(오버레이)에 표시합니다. RS는 종목 종가 / 지수 종가로 계산하며, 비교를 쉽게 하기 위해 N봉 전 = 100으로 리베이스합니다. 신호 완화를 위해 RS의 SMA도 함께 제공합니다.
벤치마크(수동 선택만 지원)
• KOSPI (KRX:KOSPI) — 기본값
• KOSDAQ (KRX:KOSDAQ)
• KOSPI200 (KRX:KOSPI200)
• KOSDAQ150 (KRX:KOSDAQ150)
입력값
• Benchmark: 위 4개 지수 중 선택(기본: KOSPI)
• Rebase N bars ago to 100: 리베이스 기준(일봉 252 ≈ 1년)
• RS SMA length: RS 스무딩 기간
• Show 100 base line: 100 기준선 표시 여부
해석 가이드
• RS 상승 → 선택 지수 대비 초과성과.
• RS가 RS-SMA 위 & 우상향 → 벤치마크 대비 리더십 강화.
• RS가 RS-SMA 상향 돌파 → 모멘텀 확인(알림 제공).
팁
• 모든 타임프레임에서 동작하며, 지수도 동일 타임프레임으로 요청됩니다.
• 가격 축과 스케일이 겹치면 왼쪽 스케일로 표시하도록 설정하세요(차트 설정 → Scales).
유의사항
• 자동 지수 판별 기능은 포함하지 않았습니다(수동 전용).
Volumatic VIDYA – Pro+1. Professional & Clear (recommended for TradingView)
Volumatic VIDYA Pro+ combines a dynamic VIDYA trend filter, Delta Volume pressure, and automatic pattern recognition (Double/Triple Tops & Bottoms, Head & Shoulders).
A complete technical tool for detecting momentum shifts, trend reversals, and trade entries across multiple timeframes.
2. Short & Catchy
Adaptive VIDYA trendline + Delta Volume + Pattern detection in one tool.
Instantly visualize market bias, structure, and momentum strength.
3. Educational / Analytical
Analyze market dynamics with VIDYA-based trend filtering, volume delta analysis, and automated pattern recognition.
Ideal for traders who combine price action with quantitative confirmation.
Volume Momentum Div - [TCMaster]📘 Description
Volume + Momentum (Instant Alert) is a dynamic indicator designed to detect potential market tops and bottoms in real time by combining momentum shifts with volume spikes.
Unlike traditional oscillators that confirm signals only after candle close, this tool reacts instantly, providing early alerts during live market movements.
⚙️ How It Works
Momentum Calculation:
Measures the short-term price acceleration using the difference between the current price and the price n periods ago.
Rising momentum indicates bullish strength, while falling momentum shows bearish pressure.
Volume Spike Detection:
Compares current volume to its moving average.
When the current volume exceeds the average by a defined multiplier, it signals strong market participation — often appearing near market reversals.
Signal Logic:
Top Alert (🔻): Momentum turns negative while a volume spike occurs → potential short opportunity.
Bottom Alert (🔺): Momentum turns positive while a volume spike occurs → potential long opportunity.
🎯 Features
Real-time alerts (calc_on_every_tick=true) — signals trigger instantly during live candles.
Multiple plot styles available: Line, Histogram, or Columns.
Simple yet powerful logic suitable for scalping, intraday, and swing trading.
Works across all markets (forex, crypto, stocks, commodities).
💡 How to Use
Look for Volume Spikes — sudden increases in volume often mark exhaustion or breakout points.
Check Momentum Direction — combine with volume to confirm reversals.
Entry/Exit:
Buy when a green triangle (🔺) appears below the bar.
Sell when a red triangle (🔻) appears above the bar.
Optional Filters: For improved accuracy, combine with RSI, Stochastic, or trend filters (e.g., EMA200).
VCP ScreenerThis screener:
• Detect tight price contraction using ATR
• Check for volume contraction
• Confirm trend strength using moving averages
• Flag stocks near recent resistance
JOEJOE VOLUME UNIVERSAL 03112025A universal volume screener that identifies when institutions are aggressively buying a stock by comparing current activity to recent averages, then recommends position sizing based on signal strength.
JOEJOE SHARK INDICATOR - Summary
🎯 Purpose
A volume-based screener that detects institutional buying activity and high-conviction trading opportunities across all global markets (Malaysia, US, Crypto).
📊 What It Does
Identifies 4 Types of Signals:
🟣 Purple Bar (A+ / High Conviction) - Best signal: Both institutional buying AND buy value surge detected
🟡 Yellow Bar (Buy Value Surge) - Strong money inflow detected
🔵 Blue Bar (Institutional Buying) - Large volume with strong buyer control
🟢🔴 Green/Red Bars - Normal volume (no special signal)
🔍 Key Innovation
Universal Design:
Works on ANY market without code changes
Uses relative comparisons (2.5x average) instead of fixed thresholds
Automatically adapts to each stock's normal behavior
Malaysian stocks, US stocks, Bitcoin - all use same logic
📈 Signal Detection Logic
Purple Bar Requirements (ALL must be met):
Volume exceeds 2x the 20-day average (institutional size)
Buy value exceeds 2.5x the 20-day average (money surge)
Price closes in top 30% of candle range (buyer strength)
Price above 50-period EMA (uptrend filter)
Short-term volume MA above long-term (sustained interest)
Candle body is at least 30% of range (decisive move)
Bullish candle (green)
⚙️ Customizable Settings
Signal Configuration:
Buy Value Surge Multiplier (default: 2.5x)
Volume Multiplier (default: 2.0x)
Buyer Strength Threshold (default: 0.7)
Lookback period (default: 20 bars)
Filters (All Toggle-able):
Trend filter with customizable MA length
Sustained interest filter (volume momentum)
Decisiveness filter (candle body size)
Option to require/not require bullish candles
Visual Customization:
All colors adjustable
Toggle markers and dashboard on/off
Volume MA display options
📊 Smart Position Sizing Feature
Calculates Signal Strength (0-100):
Combines Volume Ratio score + Buy Value Ratio score
Higher ratios = higher strength
Position Size Recommendations:
80-100 → 🔥 FULL SIZE (maximum confidence)
60-79 → 75% position (high confidence)
40-59 → 50% position (moderate confidence)
0-39 → 25% position or skip (low confidence)
Purpose: Not all A+ signals are equal - size your position based on actual signal quality
📱 Enhanced Dashboard Display
When High Conviction Signal Active:
Signal status (Active/Inactive)
Signal strength score with emoji indicator
Volume ratio (e.g., 3.2x)
Buy value ratio (e.g., 4.1x)
R/R ratio placeholder (future enhancement)
Position size recommendation with color coding
Visual Indicators:
Blue triangle "A+" marker at chart top
Color-coded position size backgrounds
Professional bordered table
All text in bright blue for visibility
🔔 Alert System
3 Alert Types:
High Conviction Signal (purple bar)
Buy Value Surge (yellow bar)
Institutional Buying (blue bar)
Alert Messages Include:
Ticker symbol
Current price
Signal type with emoji
💡 Screening Workflow
Multi-Chart Setup:
Open 4x4 or 6x3 chart grid
Load watchlist of stocks
Apply indicator to all charts
Scan top-right corners for active signals
Look for blue "A+" triangles at chart tops
Check signal strength scores
Focus on stocks with 80+ scores
🎓 Best Practices
Recommended Settings by Market:
Bursa Malaysia:
Buy Value Multiplier: 2.0-2.5
Volume Multiplier: 2.0
Timeframe: Daily
US Stocks (NYSE/NASDAQ):
Buy Value Multiplier: 2.5-3.5
Volume Multiplier: 2.5
Timeframe: Daily or 4H
Bitcoin/Crypto:
Buy Value Multiplier: 3.5-5.0
Volume Multiplier: 2.5-3.5
Timeframe: Daily or 4H
⚡ Key Advantages
Objective - Based on volume and price data, not subjective patterns
Universal - One indicator for all markets
Adaptive - Compares each stock to its own history
Risk-Aware - Built-in position sizing logic
Screener-Ready - Visual tools for scanning multiple charts
Filter-Heavy - Multiple filters reduce false signals
Customizable - Every parameter adjustable through settings
🚫 What It Doesn't Do
No price targets or stop losses
No prediction of how high price will go
No guarantee of profitability
Doesn't tell you when to exit
Doesn't account for fundamentals or news
R/R ratio currently a placeholder
🎯 Ideal Use Cases
✅ Swing trading - Catching institutional accumulation phases
✅ Stock screening - Finding high-conviction setups in watchlists
✅ Position sizing - Scaling in based on signal quality
✅ Multi-market trading - One tool for Malaysia, US, crypto
✅ End-of-day analysis - Daily timeframe scanning
❌ NOT ideal for:
Scalping (too much noise on low timeframes)
Short selling (designed for long signals)
Range-bound markets (requires uptrend)






















