Lot Size & Risk Calculator All Pairs NEWLot Size & Risk Calculator All Pairs NEW
Description
Professional risk and position size calculator for traders working with various financial instruments.
Main difference from standard indicators:
Standard risk calculators only show basic Risk/Reward for the entire position. But in real trading, we often close positions partially at different take-profit levels, and the final Risk/Reward changes significantly with this approach! This indicator calculates weighted Risk/Reward taking into account position distribution across multiple take-profit levels.
Main features:
- Support for 4 instrument types: Forex, XAUUSD (gold), BTCUSD (bitcoin), US100 (NASDAQ index)
- Automatic position size calculation based on risk and stop-loss distance
- Multiple take-profit levels with customizable closing percentages
- Weighted Risk/Reward calculation considering position distribution
- Ability to adjust position distribution between take-profits to optimize final profit
- Display of total percentage growth of deposit from all take-profit levels
- 2 visualization options: colored fill between levels or lines
- Informative results panel in table format
Settings by groups:
Core Settings
- Currency: select instrument type (Forex, XAUUSD, BTCUSD, US100)
- Account Balance: trading account size in dollars
- Risk %: risk percentage from deposit (0.1-100%)
- Use Custom Contract Sizes: manual contract size configuration
Point Value Settings
- Use automatic point value calculation: automatic point value calculation
- Manual point value: manual point value input (for non-standard contracts)
Levels
- Entry Price: entry price (confirmation required on first use)
- Stop Price: stop-loss price
- Take-Profit Prices: take-profit prices (up to 3 levels)
- TP Close %: percentage of position closed at each take-profit level
Dashboard
- Show Targets Profit: display profit from take-profit levels
- Label Size: text size in the table
- Dashboard Position: table position on the chart
How to use:
Step 1: Initial setup (when first adding)
1. Enter entry price (Entry Price) - confirmation window will appear (click on desired bar)
2. Then enter stop-loss price (Stop Price) (click on desired bar)
3. Add first take-profit (TP1) (click on desired bar)
4. Second and third take-profits are added through checkboxes (click on the settings gear icon to open them)
Step 2: Instrument selection and risk configuration
1. In "Core" group, select your instrument type
2. Set account balance and risk percentage
Step 3: Position distribution configuration
1. Set TP Close % for each take-profit level (e.g.: TP1 - 33%, TP2 - 33%, TP3 - 34%)
2. Experiment with distribution! By changing closing percentages, you can:
- Increase/decrease final Risk/Reward
- Optimize risk/profit ratio
- Find the most comfortable position distribution for you
Step 4: Results analysis
1. Results table will show:
- Calculated position size (lots/contracts)
- Risk in monetary terms
- Risk/Reward for each take-profit level
- Weighted R:R considering position distribution
- Total potential profit from all take-profits
- Percentage growth of deposit - total profit percentage from all take-profit levels
Key features:
Position distribution adjustment
You can easily find optimal position distribution between take-profits:
- Aggressive approach: higher percentage on distant take-profit (higher profit potential)
- Conservative approach: higher percentage on near take-profit (faster profit taking)
- Balanced: even distribution for risk reduction
Weighted Risk/Reward
The indicator calculates not just simple R:R for the entire position, but weighted value that considers:
- Position distribution between take-profits
- Different distances to each take-profit level
- Closing percentage at each level
Results visualization
- Colored fill shows risk and profit zones
- Labels at levels display specific profit/loss values
- Results table contains all key metrics
Creation story
This indicator was created based on the original calculator by @Algoryze As a trader, I lacked the ability to see real Risk/Reward when partially closing positions and a convenient tool for selecting optimal position distribution between take-profit levels. I improved the indicator by adding:
- Weighted Risk/Reward calculation
- Ability to adjust closing percentage at each take-profit
- Display of total percentage growth of deposit
- Improved interface and visualization
I hope this tool will be useful to other traders who use strategies with partial position closing!
Important notes:
1. When first adding the indicator, be sure to enter prices in order: Entry → Stop → TP1
2. TP2 and TP3 are added through input fields (no confirmation required)
3. Closing percentages are automatically normalized if the sum is not 100%
4. Experiment with position distribution to find optimal risk/profit ratio
5. For different instruments, add separate copies of the indicator in different tabs
Support
For questions and suggestions, leave comments in the indicator publication on TradingView.
---
Important: All calculations are provided for informational purposes only. Trading involves risks, trade responsibly. The indicator helps with calculations but does not guarantee profit.
Indicators and strategies
ColorFlow EMA📊 ColorFlow EMA — Trend Flow & Bias Indicator
🔹 What This Indicator Does
ColorFlow EMA is a clean, visual trend-flow indicator designed to show directional bias and momentum state at a glance.
It uses two exponential moving averages:
Fast EMA (default: 10)
Slow EMA (default: 20)
The area between the EMAs is color-shaded to clearly display whether price is in a bullish or bearish flow.
🎨 Visual Logic
🔵 Blue shading → Bullish flow
(Fast EMA above Slow EMA)
🔴 Red shading → Bearish flow
(Fast EMA below Slow EMA)
Optional crossover markers can be enabled for visual confirmation when EMA alignment changes.
🧠 How to Use ColorFlow EMA
This indicator is not a standalone strategy and is not intended for signal-chasing.
It is best used as a context and bias filter alongside:
Price action
Market structure (HH/HL, LH/LL)
Support & resistance or supply & demand zones
Pullbacks vs premium/discount
Typical use cases:
Favor longs when the flow is blue
Favor shorts when the flow is red
Avoid forcing trades when EMAs are tangled or flat
Wait for pullbacks into structure instead of chasing price
⚠️ Important Notes
EMA crossovers alone do not guarantee profitable trades
Market conditions, structure, and location always matter
Works best in trending or transitioning markets
Not designed for ranging/choppy environments without context
⚙️ Customization
EMA lengths can be adjusted
Crossover markers can be toggled on/off
Designed to stay visually clean and uncluttered
🎯 Who This Indicator Is For
Traders who prioritize price action over indicators
Intraday traders (forex, indices, ETFs, stocks)
Traders who want clarity, not noise
📝 Final Thought
ColorFlow EMA answers one simple question:
“Should I be looking for longs or shorts here?”
Use it for bias, not prediction.
RSI Open-Source IndicatorA simple open-source RSI indicator
using default settings.
No signals.
No predictions.
Multiple Daily Breakouts (Close Only)Pine Script strategy builds the high and low of the first four hours of the New York session (9:00 AM–1:00 PM ET), locks that range after the 1:00 PM candle closes, and then trades breakouts based strictly on candle closes (wicks ignored). The strategy allows multiple breakouts per day, entering long when price closes above the NY range and short when it closes below, with configurable position sizing and risk-reward targets; stops can be set at the opposite side of the range or dynamically calculated. It works both for historical backtesting in the Strategy Tester and for live trading/alerts, making it suitable for intraday markets on lower timeframes such as 5- to 15-minute charts.
Update: removed continuous lines between bars
Update: added h/l lines
Update: renamed
Key timings for indicesThis indicator has following key levels
9:30 am open
opening range low
opening range high
8 am low
8 am high
midnight open
BBP Oscillator V1 + Multiple Time FrameBull Bear Power + HTF/LTF Filter (BBP+)
Overview:
BBP+ is a minimalist Bull Bear Power histogram designed to help traders identify potential bearish signals while filtering them with current and higher timeframe trends. An optional lower timeframe (LTF) filter can further reduce false signals, without displaying extra markers on the chart.
Inputs:
BBP Length: EMA length for BBP calculation (smaller → more sensitive, larger → smoother).
EMA Trend (Current TF): Current timeframe trend filter (signals only when bearish).
HTF Timeframe & EMA: Higher timeframe trend filter (optional).
Enable HTF Filter: Toggle HTF trend filter.
LTF Timeframe & Enable LTF Filter: Optional filter to reduce false signals; no visual output.
Show Signals: Toggle to show/hide main bearish signals.
Signal Logic:
Main bearish signals appear when:
Current trend is bearish
BBP momentum is decreasing
Optional HTF trend filter passes
Optional LTF momentum filter passes
Important Notes
Indicator is not a guaranteed profit tool; use for analysis only.
Past performance does not indicate future results.
LTF filter does not appear visually, only helps filter main signals.
Adjust BBP Length, EMA Trend, and HTF/LTF settings according to market volatility and timeframe.
AI Gamma Levels - Options Flow Signals v1.1# AI Gamma Levels - Options Flow Signals
## 📊 Overview
An educational indicator that estimates institutional options positioning using price action, volume analysis, and technical indicators. Designed to help traders identify key support and resistance zones based on gamma exposure concepts commonly used by market makers and institutional traders.
## 🎯 Key Features
**Gamma Flip Level (⚡)**
- Neutral zone where market maker hedging behavior changes
- Calculated using VWAP and price action
- Acts as dynamic pivot point for intraday trading
**Call Wall (🔴)**
- Resistance zone from heavy call seller positioning
- Identifies where upward price movement may stall
- Based on recent highs + ATR-adjusted volatility
**Put Support (🟢)**
- Support zone from put seller positioning
- Shows where downward moves may find buyers
- Calculated from recent lows with volatility adjustment
**AI Trade Signals (🔮)**
- Multi-factor confluence detector with confidence scoring
- Only triggers on high-probability setups (70%+ confidence)
- Provides clear entry, stop loss, and target levels
- Combines gamma regime, RSI, volume, and price proximity
**Regime Detection**
- Identifies Positive Gamma (bullish bias) vs Negative Gamma (volatile) environments
- Background coloring shows current market regime
- Helps adapt trading strategy to market conditions
**Trading Zone Visualization**
- Shaded area between Call Wall and Put Support
- Shows expected trading range based on gamma positioning
- Zone width indicates market compression or expansion
## 🧠 How AI Signals Work
The AI signal layer analyzes multiple factors simultaneously:
1. **Gamma Regime Alignment** - Price position relative to Gamma Flip
2. **Level Proximity** - Distance to Put Support or Call Wall
3. **Momentum Extremes** - Fast RSI showing oversold/overbought
4. **Volume Confirmation** - Above-average volume on the setup
5. **Price Action Quality** - Bar range and volatility characteristics
Signals only trigger when ALL conditions align, reducing noise and false signals.
**BUY Signal Requirements:**
- Price above Gamma Flip (positive regime)
- Near Put Support (within 0.5%)
- RSI < 35 (oversold)
- Volume spike (1.4x average)
- Confidence ≥ 70%
**SELL Signal Requirements:**
- Price below Gamma Flip (negative regime)
- Near Call Wall (within 0.5%)
- RSI > 65 (overbought)
- Volume spike (1.4x average)
- Confidence ≥ 70%
## 📈 How to Use
**For Day Trading:**
- Watch for bounces at Put Support in positive gamma regime
- Look for resistance at Call Wall in negative gamma regime
- Use AI signals for high-conviction entries with clear risk levels
**For Swing Trading:**
- Monitor zone width for compression/expansion cycles
- Enter when price returns to zone edges with AI confirmation
- Use Gamma Flip as trailing stop reference
**For Options Traders:**
- Identify where institutional gamma is concentrated
- Anticipate pinning behavior near expiration
- Understand market maker hedging flow impact on price
## ⚙️ Customization
**Display Settings:**
- Toggle individual levels on/off
- Show/hide trading zone shading
- Enable/disable AI signals
**Calculation Parameters:**
- Lookback Period (5-100 bars) - adjusts level sensitivity
- Volatility Multiplier (0.5-3.0) - widens/tightens zones
- AI Confidence Threshold (60-90%) - signal selectivity
**Visual Customization:**
- Custom colors for all levels
- Adjustable transparency for zones
- Label size and positioning
## 📊 Info Table
Real-time dashboard showing:
- Current Gamma Flip price
- Call Wall resistance level
- Put Support level
- Active gamma regime
- Trading zone width (%)
- AI signal status and confidence
## 🔔 Built-in Alerts
Set alerts for:
- Gamma Flip crossovers
- Price approaching Call Wall
- Price approaching Put Support
- AI BUY signal triggered
- AI SELL signal triggered
## 📚 Educational Background
**What is Gamma Exposure?**
Gamma measures how fast market makers must hedge their options positions as price moves. Large gamma concentrations create support/resistance as dealers buy into weakness and sell into strength.
**Positive vs Negative Gamma:**
- **Positive Gamma** (above Gamma Flip): Market makers hedge by stabilizing price
- **Negative Gamma** (below Gamma Flip): Market makers hedge by amplifying moves
**Call Walls & Put Supports:**
Heavy open interest at specific strikes creates "walls" where price tends to gravitate toward or bounce away from, especially near expiration.
## ⚠️ Important Notes
**This indicator uses price and volume approximations**, not real options chain data. It demonstrates gamma exposure concepts for educational purposes.
**For true options flow analysis**, consider using platforms with access to real-time open interest, options volume, and Greeks data.
**Risk Management:** Always use proper position sizing, stop losses, and never risk more than you can afford to lose. This indicator should be one tool in your complete trading strategy.
**Not Financial Advice:** This is an educational tool. Past performance does not guarantee future results. Always do your own research and consider consulting with a qualified financial advisor.
## 💡 Best Practices
1. Combine with your existing strategy - don't trade signals blindly
2. Use on liquid stocks/indices with active options markets
3. Pay attention to regime changes at Gamma Flip crossovers
4. Higher timeframes (15m, 1H, 4H) tend to be more reliable
5. Adjust parameters based on the asset's typical volatility
6. Wait for AI signals with 75%+ confidence for highest quality setups
## 🎓 Who This Is For
- Options traders seeking to understand institutional positioning
- Day traders looking for high-probability support/resistance
- Swing traders identifying key zone boundaries
- Anyone interested in learning about gamma exposure impact on price
- Traders wanting AI-assisted trade signal confirmation
---
**Happy Trading! If you find this indicator helpful, please leave a like and comment with your feedback.**
Smart Money Sector RotationSTOP MISTAKING INFLATION FOR PERFORMANCE.
Your PnL might look green in nominal terms, but are you actually generating wealth, or just floating on a rising tide of liquidity?
The "Smart Money Sector Rotation" indicator is an institutional-grade dashboard designed to answer that single, critical question. It strips away the noise of nominal price action and benchmarks major assets against the "Honest Hurdle"—a dynamic baseline derived from M2 Money Supply, Inflation Breakevens, and Treasury Yields.
If an asset isn't beating the Hurdle, you aren't generating real wealth—you're just keeping pace with debasement.
THE HONEST FRAMEWORK Most screeners rank assets by simple percentage gain. This tool is different. It calculates a "Required Rate of Return" (Min Return) based on live Federal Reserve data (FRED).
1. Quantify the Debasement. We automatically fetch M2 Money Supply Growth and Inflation expectations to set the "floor."
2. Calculate Real Alpha. We measure how far an asset is trading above or below that floor.
3. Classify the Trend. Using RRG-style logic (Relative Rotation Graph), we categorize assets into four actionable phases based on their Real Yield and Momentum.
THE 4 MARKET PHASES Instead of vague signals, get a clear read on the asset's lifecycle:
ZONE 1: ELITE / LEADING (Cyan/Green) -- The State: Expansion. -- The Logic: The asset is generating positive Real Yields (beating the money printer) and has strong momentum relative to its peers.
ZONE 2: IMPROVING (Gold) -- The State: Recovery. -- The Logic: The asset may be below the Hurdle, but momentum is shifting positively. It is "waking up."
ZONE 3: LAGGING / WEAKENING (Orange/Red) -- The State: Contraction. -- The Logic: The asset is failing to keep up with debasement or is actively losing relative strength.
KEY FEATURES -- Auto-Macro Data: Connects directly to FRED for M2 (WM2NS), 10Y Inflation (T10YIE), and Yields (DGS10). No manual entry required. -- Trend Visualization: Tickers are marked with Green/Red indicators based on their 200-day Moving Average status. -- Prestige Color System: A dark-mode optimized, high-contrast palette designed for professional clarity. -- Multi-Asset Universe: Tracks Equities (XLK, XLE, etc.), Commodities (Gold, Silver, Oil), and Rates (TLT, HYG) in a single view.
HOW TO USE
1. Check the Header: Look at the "Min Ret" (Minimum Return). This is your beat-to-profit line.
2. Scan the Status: Focus on assets in the Elite or Leading zones for trend continuation. Watch Improving assets for potential reversals.
3. Respect the Trend: Use the SMA200 indicator as a final filter. A "Leading" status with a Red trend mark may indicate a trend that is rolling over.
DISCLAIMER This tool is for informational and educational purposes only. It visualizes macroeconomic data and does not constitute financial advice or a recommendation to buy/sell.
ATR + BJ Signal V3ATR + BJ Signal (Optimized for GOLD)
This indicator is designed for mean-reversion scalping on GOLD, focusing on volatility expansion and momentum exhaustion.
Key features:
ATR-based candle expansion filter to detect abnormal moves
RSI overbought / oversold confirmation
Optional Bollinger Band deviation filter
Clear BUY / SELL signals for reversal entries
Automatic SL / TP projection lines and price labels (individually toggleable)
Best suited for short-term reversal and scalp trades during high-volatility conditions.
All visual components can be enabled or disabled independently. be enabled or disabled independently.
Daily/Weekly/Monthly Support & Resistanceindicator plots support and resistance levels derived from historical price action. It analyzes higher‑timeframe candles (Daily/Weekly/Monthly) and ranks levels by strength and number of touches, then draws the most relevant levels around the current price. If no strong levels are found, it falls back to touch‑based levels so you still get meaningful lines.
How to Use:
Add the script to any chart.
Choose Levels Timeframe:
Auto (recommended): follows the chart timeframe (D/W/M).
D / W / M: force a specific timeframe.
Set lookback windows:
Lookback Days (D) – default 200
Lookback Weeks (W) – default 104
Lookback Months (M) – default 60
Adjust sensitivity:
Min Strength – filters weaker levels.
Volume Multiplier – requires higher volume for stronger levels.
Time Decay – gives more weight to recent data.
Min Touches (Fallback) – used when no strong levels are found.
Optional: enable Show Debug Info to see how many levels are detected.
Open Source & License:
This script is open source under the MIT License. You are свободно to use, modify, and share it with attribution.
Author / Contact:
Ron Belson
For questions or requests, contact: ronbelson@gmail.com
Magno Virtual Football Market CompletVirtual Football Market Logic – SR + VFI + Probability
A statistical + structural indicator for the Bet365 Virtual Football market, combining:
VFI (Fair Value + Standard Deviation Bands) to detect excess/scarcity zones (overbought/oversold)
Momentum (Fast vs Slow SMA) to confirm acceleration or weakness
Automatic Pivot S/R (Support/Resistance) to map key price levels
The script calculates and displays a dynamic OVER vs UNDER probability (0–100%), based on:
Fair Value distance,
deviation band expansion,
momentum direction,
proximity to resistance/support.
Includes a real-time probability label and visual triggers when OVER/UNDER ≥ 75%.
Structural Heat Map (V3 + R3 BMSB Deviation)This indicator measures structural deviations of price from the Weekly Bull Market Support Band (BMSB), adjusted for both micro and macro volatility regimes. It is designed for crypto assets where volatility clustering, leverage cycles, and asymmetric crowding frequently produce blow-off tops and liquidation cascades.
The Weekly BMSB acts as a macro “fair value” baseline, while daily deviations reveal short-term extensions in both bullish and bearish conditions. A hybrid volatility normalization (Daily ATR vs Weekly ATR regime) converts deviations into a continuous 0–100 “structural heat” scale:
0–20: neutral / within structural equilibrium
20–40: early extension
40–60: crowded / extended
60–80: stressed / high-risk
80–100: extreme blow-off or capitulation conditions
Extreme readings highlight periods of structural distortion, not trend reversal signals. These events often coincide with leverage expansions, sentiment extremes, funding dislocations, and cycle peaks or washouts.
Use-case: informational context for crypto cycle analysis, risk awareness, regime characterization, and macro/micro structural comparison. This is not a buy/sell indicator and should not be interpreted as such.
Magic PP TouchLets make this bread, magic hour pattern
Wait for a break above the high or low and then enter in opposite direction.
TradeChillOut Stc icon ProfessionalHtf L 80 F 20 S50
Ribbon
1 L 180 F144 S3500
2 L10 F20 S50
3L160 F20 S50
4L96 F20 S50
5L 98 F20 S 50
...
Biblia de Velas Japonesas - Sistema CompletoEstrategia basada en el libro de la "Biblia Japonesa" de Munehisa Homma
Strategy based on the book "The Japanese Bible" by Munehisa Homma
Donation :
Solana Network : 3WPqC2CpQchHgMpPwnWXN7CrWmjcNMCoPVK6NDYvcmd9
Ethereum Network : 0xf38e768B018A15EC6963894512146057633bc975
Btc Native Network : bc1qmdptpg97enwc5t4xn4r3tewz750zeuzf56t6tx
Paypal: Jonas.sampaoli@gmail.com
Weekly Regime Filter - Trend + Momentum + Structure (MTF)A multi-timeframe weekly regime indicator that classifies market conditions into BULL , BEAR , or CHOP using three components: trend, momentum, and market structure.
Works on any timeframe while always referencing weekly data — no repainting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
Answers one question: What is the weekly regime?
• Trend — EMA hierarchy (Price > EMA Fast > EMA Slow)
• Momentum — DI+ vs DI- with optional ADX filter
• Structure — Break of Structure (BOS) and Change of Character (CHOCH)
BULL = All three bullish
BEAR = All three bearish
CHOP = Mixed signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ KEY FEATURES
• Multi-Timeframe (MTF) — View on 1H, 4H, Daily; regime stays consistent
• Auto-Detect Asset Type — Automatically applies optimized settings for Crypto, Stocks, Forex, Gold, Silver, Oil, Commodities
• BOS/CHOCH Labels — Visual market structure breaks on chart
• Live Status Panel — Shows regime, components, and active parameters
• Non-Repainting — Uses confirmed weekly closes only
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 ASSET PRESETS
• Crypto — EMA 50/200, ADX Off, Pivot 2
• Stocks/Indices — EMA 50/200, ADX >20, Pivot 3
• Forex — EMA 30/100, ADX >25, Pivot 2
• Gold — EMA 40/150, ADX >20, Pivot 3
• Silver — EMA 40/150, ADX >22, Pivot 3
• Oil — EMA 30/100, ADX >25, Pivot 2
• Commodities — EMA 40/120, ADX >20, Pivot 3
Select "Custom" to use your own values.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
For Swing Trading:
• Set chart to Daily
• Use Auto-Detect or select preset
• Long only when BULL, short only when BEAR
• Reduce size or avoid when CHOP
Structure Signals:
• CHOCH ↑ after bear regime = Early reversal signal
• CHOCH ↓ after bull regime = Tighten stops
• BOS in regime direction = Trend continuation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS
• Regime → BULL
• Regime → BEAR
• CHOCH → Bull
• CHOCH → Bear
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
Preset: Auto-Detect, Crypto, Stocks, Forex, Gold, Silver, Oil, Commodities, Custom
Custom Settings (when Custom selected):
• EMA Fast/Slow lengths
• ADX Length & Threshold
• ADX Filter toggle
• Pivot Left/Right
Display:
• Plot Weekly EMAs
• Show BOS/CHOCH Labels
• Show Regime Background
• Background Opacity
• Show Status Label
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
• Needs ~200 weeks of history for full calculation
• Weekly signals are slower by design — filters noise
• Not a standalone system — combine with entries and risk management
• When using presets, Custom input fields won't visually update (Pine limitation) — status label shows actual values
Monthly Seasonality AnalyzerThis indicator analyzes historical performance/seasonality of a chosen month, from date of inception to present. Users can choose any calendar month via dropdown menu.
For each historical month selected, it will calculate the monthly percentage gain/loss, range(volatility), and average gain/loss percentage, average range percentage across all recorded years. Positive returns are colored green and negative returns are red. Also, calculates if the selected month was bullish(open>close) or bearish.
When current chart month matches the selected month, it shows the in-progress range as well.
Data is collected from 1930 to present. Results are shown in vertical and horizontal tables. If the vertical table exceeds a 36 years, the script automatically switches to horizontal table to display all the data, with option to change table position.
Overall this tool is valuable for seasonality research, such as Santa Rally, May Go Away and swing trading/ position trading to capture the monthly PO3 range.
Most seasonality indicators show all 12 months at once or use daily bars. This one zooms in deeply on one month only, providing detailed per-year breakdowns, accurate completed-month stats, and a practical live range display.
The script uses arrays to store years, gains, and ranges. Uses table.new(), table.cell(), table.merge_cells() for easily readable result display. Code handles the current in-progress month separately (shows live range without including it in historical averages).
**Script will not run on any timeframe other than monthly and displays error otherwise. Script is best used on spot and not futures.
DkSPro Market Analysis XRPUSDT UsBinance HH HL LH LLDkSPro – Market Analysis (XRPUSDT) | Strategy Version
DkSPro – Market Analysis is an institutional-grade scalping strategy designed specifically for XRPUSDT on Binance.US.
This strategy was built to help traders make high-probability, fee-aware decisions by filtering out low-quality trades, market noise, and conditions where exchange fees would negatively impact profitability.
Unlike generic indicators, DkSPro focuses on precision, confirmation, transparency, and risk control, making it ideal for serious traders who value consistency over overtrading.
⸻
✅ Key Advantages
✔ Institutional-grade logic
✔ Optimized for XRPUSDT scalping
✔ Clearly explains why trades are taken or rejected
✔ Actively reduces bad and low-quality trades
✔ Professional structure, easy to publish, sell, or automate
⸻
🔍 What This Strategy Analyzes
DkSPro combines past market structure with real-time confirmation tools to evaluate both the present and historical context of price action:
• Higher Timeframe trend confirmation using EMA structure
• Lower Timeframe execution for precise scalping entries (15m / 5m)
• Market structure analysis (swing highs & lows)
• Valid breakout detection (not fake moves)
• Volume confirmation (real participation only)
• Momentum validation via RSI
• Fee-aware filtering for Binance.US (0.57% trading fee)
• Dynamic confidence scoring to validate trade quality
Trades are triggered only when all conditions align, significantly reducing false signals and emotional entries.
⸻
⚙️ Core Strategy Logic
A trade is executed only if all of the following conditions are met:
✔ Trend direction is clearly confirmed
✔ EMA structure is properly aligned
✔ Market structure breakout is valid
✔ Volume exceeds average participation
✔ Momentum supports continuation
✔ Confidence score meets minimum quality threshold
✔ Expected price movement exceeds exchange fees
If any single condition fails, the strategy does not enter a trade.
⸻
🧠 Smart Trade Transparency
DkSPro visually explains:
• Why a trade is taken
• Why a trade is NOT taken
• Current Market State (RANGE / TREND / BREAKOUT)
• Real-time Confidence Score (%)
This allows traders to fully understand market behavior instead of blindly following signals.
⸻
🔔 Alerts & Automation Ready
• Clean and precise BUY & SELL alerts
• Fully compatible with TradingView alerts
• Ready for webhooks, bots, and automated execution
• Suitable for manual, semi-automatic, or fully automated trading
⸻
⚠️ FINAL RECOMMENDATION (VERY IMPORTANT)
👉 Use the 15-minute timeframe to identify setups
👉 Use the 5-minute timeframe for precise trade entries
👉 Do NOT start testing this strategy on the 1-minute timeframe
👉 Always backtest for a minimum of 2–4 weeks before trading live
This strategy performs best under proper timeframe alignment and controlled conditions. Ignoring these recommendations may lead to inconsistent results.
⸻
🧠 Who This Strategy Is For
✔ XRP scalpers
✔ Binance.US traders
✔ Traders who want fee-aware entries
✔ Traders who prefer confirmation over guessing
✔ Traders focused on consistency, discipline, and risk management
⸻
⚠️ Risk Disclaimer
This strategy is a technical analysis tool, not financial advice.
Market conditions can change rapidly. Always manage risk properly and **never trade with capital
BTCUSD 1D Trend Strategy [Gemini]1Dchart
100% of equity per trade
0.1% commission
1 tick slippage
please convert this indicator to a trading strategy as you see fit
find attached the date of the chart and the indicator on BTCUSD 1D chart so you can make a better decision when to buy and sell
avoid forward looking and repainting at all costs.
Don't add tables to the chart
don't ever use line breaks in function calls:
long only
2018-2069
1D chart
100% of
AI Oversold Swing - Screener//@version=5
indicator("AI Oversold Swing - Screener", overlay=false)
// ─────────────────────────
// USER INPUTS
// ─────────────────────────
maxPrice = input.float(75.0, "Max Price ($)")
rsiLen = input.int(14, "RSI Length")
rsiOversold = input.float(35.0, "RSI Oversold Level")
bbLen = input.int(20, "BB Length")
bbMult = input.float(2.0, "BB StdDev")
supportLen = input.int(20, "Support Lookback (days)")
nearSupportPct = input.float(1.5, "Near Support %")
undercutPct = input.float(0.5, "Allowed Undercut %")
atrLen = input.int(14, "ATR Length")
maxATRfromSup = input.float(1.0, "Max ATR From Support")
minDollarVol = input.float(75000000.0, "Min Dollar Volume", step=1000000)
requireTrigger = input.bool(false, "Require Reversal Trigger")
// ─────────────────────────
// DAILY DATA (screener uses indicator outputs)
// ─────────────────────────
dClose = request.security(syminfo.tickerid, "D", close)
dLow = request.security(syminfo.tickerid, "D", low)
dVol = request.security(syminfo.tickerid, "D", volume)
dPrevC = request.security(syminfo.tickerid, "D", close )
// ─────────────────────────
// INDICATORS
// ─────────────────────────
rsi = ta.rsi(dClose, rsiLen)
basis = ta.sma(dClose, bbLen)
dev = bbMult * ta.stdev(dClose, bbLen)
bbLow = basis - dev
atr = request.security(syminfo.tickerid, "D", ta.atr(atrLen))
support = ta.lowest(dLow, supportLen)
distPct = support > 0 ? (dClose - support) / support * 100.0 : na
distATR = atr > 0 ? (dClose - support) / atr : na
dollarVol = dClose * dVol
// ─────────────────────────
// CONDITIONS
// ─────────────────────────
priceOK = dClose > 0 and dClose <= maxPrice
liqOK = dollarVol >= minDollarVol
oversold = (rsi <= rsiOversold) and (dClose <= bbLow)
nearSup =
support > 0 and
dClose <= support * (1 + nearSupportPct / 100.0) and
dClose >= support * (1 - undercutPct / 100.0) and
distATR <= maxATRfromSup
setup = priceOK and liqOK and oversold and nearSup
// Optional reversal confirmation
rsiReversal = ta.crossover(rsi, rsiOversold)
greenCandle = dClose > dPrevC
trigger = rsiReversal or greenCandle
signal = requireTrigger ? (setup and trigger) : setup
// ─────────────────────────
// SCREENER OUTPUTS
// ─────────────────────────
plot(signal ? 1 : 0, title="Signal (1 = YES)")
plot(rsi, title="RSI (Daily)")
plot(distPct, title="Dist to Support % (Daily)")
plot(distATR, title="Dist to Support ATR (Daily)")
plot(dollarVol, title="Dollar Volume (Daily)")
SelfContained Momentum Screener (TT+Momentum+Vol+VCP)This script is a self-contained Pine Screener indicator that does not rely on indexes or external symbols. It uses Minervini’s Trend Template to confirm a strong uptrend structure, then evaluates mid-term momentum (6–12 months) and short-term momentum (about 1 month). Optional volume spikes and volatility contraction (simple VCP) can be toggled on or off. The screener filters for stocks that have risen strongly, maintain recent momentum, and show tight consolidation near highs, making it suitable for efficiently identifying high-quality momentum candidates.
このスクリプトは、指数や外部データを使わず自己完結で動作するPineスクリーナー用インジケーターです。ミネルビニのTrend Templateで上昇トレンドの構造を確認し、中長期モメンタム(6〜12か月)と短期モメンタム(約1か月)で勢いを判定します。必要に応じて出来高スパイクと高値圏でのボラティリティ収縮(VCP簡易)をON/OFFでき、条件を満たした銘柄のみを抽出します。強く上昇してきており、直近も勢いがあり、かつ高値圏で締まっている銘柄を効率的に見つけるためのスクリーナーです。
Open Interest Spaghetti - Multi ExchangeOpen Interest Spaghetti – Multi Exchange is a structural open-interest flow visualizer designed to expose where and when derivatives positioning is being built or unwound across major futures venues — without collapsing that information into a single, opaque aggregate line.
Instead of smoothing, normalizing, or trend-filtering open interest, this script intentionally preserves exchange-level granularity and plots each venue’s cumulative OI delta from a shared anchor point. The result is a “spaghetti” structure: multiple independent OI paths evolving in parallel, revealing divergence, dominance, and regime shifts in real time.
Core Idea and Originality
Most OI indicators do one of three things:
1) Plot raw open interest (slow, hard to interpret),
2) Plot OI change per bar (noisy, context-less),
3) Aggregate all exchanges into one line (information loss).
This script does none of those.
Instead, it implements an anchored cumulative delta framework applied individually to each exchange, using a common reset reference. This preserves path dependency — you see how positioning evolved since a known structural point, not just what happened on the last candle.
Key differentiators:
- Exchange-segmented OI accumulation
- Explicit anchor-based reset logic
- Optional normalization into percent-of-total OI
- No smoothing, no averages, no trend assumptions
This is not a trend indicator. It is a positioning flow map.
Data Construction and Normalization
Multi-Contract Aggregation (per exchange)
Each exchange’s total open interest is constructed by summing all available perpetual contracts:
- USD-margined
- USDT-margined
- USDC-margined
Where necessary, contract units are converted into a common base-coin representation so that all venues are directly comparable. This prevents distortions caused by mixed margin types.
The result is a true total OI per exchange, not a single contract proxy.
Anchored Cumulative Delta Logic
Let:
- OI(t) = total open interest at time t for a given exchange
- ΔOI(t)=OI(t) - OI(t-1)
For each bar:
- The script accumulates ΔOI forward in time
- This accumulation resets to zero whenever the anchor period changes
The anchor period is user-defined (default: Daily). At each reset:
- All exchange accumulators are cleared
- The current combined OI across all enabled exchanges is stored as the normalization baseline
This makes every plotted value interpretable as:
“Net positioning added or removed since the last anchor reset.”
Display Modes
1. Actual Change (default)
Plots the absolute net change in open interest since the anchor reset.
Interpretation:
- Large positive values → sustained position building
- Large negative values → sustained position unwinding
- Divergence between exchanges → uneven participation or venue-specific positioning
This mode preserves raw scale and is best for structural analysis.
2. Percent Change (normalized mode)
Each exchange’s cumulative delta is divided by the total combined OI at the anchor reset, then expressed as a percentage.
Percent Change = (Exchange Cumulative OI Delta / Total OI at Anchor) * 100
Interpretation:
- Removes absolute size bias between large and small exchanges
- Allows direct comparison of relative contribution
- Makes regime shifts easier to spot across different assets
This mode answers:
“Which exchange is driving the majority of positioning change relative to the market’s size?”
Visual and Structural Aids
- Zero baseline represents the anchor reset point
- Vertical dashed lines mark anchor transitions
- End-of-chart labels identify each exchange without relying on a legend
- All plots are unsmoothed and unfiltered by design
Noise is not removed — it is contextualized.
How Traders Use This
This indicator is most effective for:
- Detecting exchange-specific accumulation or distribution
- Identifying hidden divergence beneath price
- Confirming whether price moves are supported by broad positioning or isolated leverage
- Comparing how different venues react to the same market event
Typical interpretations:
- Price rising while OI spaghetti diverges → short covering or uneven leverage
- One exchange leading OI expansion → localized risk concentration
- Flat price with rising OI across venues → compression and potential expansion setup
What This Is Not
- Not a trend detector
- Not a momentum oscillator
- Not a signal generator
It provides structural context, not trade entries.
Summary
Open Interest Spaghetti – Multi Exchange is a flow-first, structure-aware OI framework that exposes how derivatives positioning evolves across venues from a shared reference point. By preserving exchange independence, anchoring accumulation, and offering optional normalization, it reveals information that aggregate or smoothed OI indicators inherently destroy.
If you trade derivatives and care where risk is building — not just that it is — this tool is designed for that exact purpose.






















