Risk sizing toolHelps you manage risk per trade accurately.
Automatically adjusts position size if the stop-loss or account constraints are exceeded.
Gives a clear visual summary directly on your stock chart.
Prevents taking trades that are too large relative to your account.
Chỉ báo và chiến lược
Volume v4 (Dollar Value) by Koenigsegg📊 Volume v3 (Dollar Value) by Koenigsegg
🎯 Purpose:
Volume v3 (Dollar Value) by Koenigsegg transforms traditional raw-unit volume into dollar-denominated volume, revealing how much money actually flows through each candle.
Instead of measuring how many coins or contracts were traded, this version calculates the total traded value = volume × average price (hlc3), allowing traders to visually assess capital intensity and market participation within each move.
⚙️ Core Features
- Converts raw volume into USD-based traded value for each candle.
- Color-coded bars show bullish (green/teal) vs. bearish (red) activity.
- Built-in SMA and SMMA overlays highlight sustained shifts in value flow.
- Designed for visual clarity to support momentum, exhaustion, and divergence studies.
📖 How to Read It
Rising Dollar Volume — indicates growing market participation and strong capital flow, often aligning with impulsive waves in trend direction.
Falling Dollar Volume — signals waning interest or reduced participation, potentially hinting at correction or exhaustion phases.
Comparing Legs — when price makes new highs/lows but dollar volume weakens, it can reveal divergences between price movement and actual capital commitment.
SMA / SMMA Lines — use them to identify longer-term accumulation or depletion of market activity, separating short bursts from sustained inflows or outflows.
The goal is to visualize the strength of market moves in terms of capital energy, not just tick activity. This distinction helps traders interpret whether a trend is being driven by genuine money flow or low-liquidity drift.
⚠️ Disclaimer
This script is provided for research and educational purposes only.
It does not constitute financial advice, investment recommendations, or trading signals.
Always conduct your own analysis and manage your own risk when trading live markets.
The author accepts no liability for financial losses incurred from use of this tool.
🧠 Credits
Developed and published by Koenigsegg.
Written in Pine Script® v6, fully compliant with TradingView’s House Rules for Pine Scripts.
Licensed under the Mozilla Public License 2.0.
Khosro XAUUSD Strategy [TradingFinder] Trading Room Hunter Setup🔵 Introduction
The Trading Room Hunter (TRH) strategy is an analytical model based on the Smart Money Concept, developed by Khosro, an Iranian international trader based in Dubai. This approach is built upon a deep understanding of liquidity engineering, market structure shifts, and institutional order flow. Its core objective is to identify the so-called TRH Zone, the area where market liquidity gets trapped and institutional investors begin accumulating positions. Unlike traditional indicator-based methods, the TRH Zone focuses purely on price behavior and supply & demand dynamics to pinpoint the most precise reversal zones in the market.
Within Smart Money logic, every impulsive move in price results from the displacement or absorption of liquidity in a specific range. In the TRH model, the last pivot preceding the impulsive move (Origin Pivot) is defined as the Distal Line, and the Break Candle, which disrupts the market structure, forms the Proximal Line. The area between these two points defines the Trading Room Hunter Zone, a reaction zone where price, after creating a displacement or Break of Structure (BoS), often returns to fill an imbalance and provide a precision entry opportunity.
In essence, the TRH Zone is the region where smart money seeks re-entry after a liquidity sweep and a confirmed CHoCH or BoS. It frequently lies between supply/demand boundaries and fair value gaps (FVGs), forming one of the strongest decision-making frameworks within modern price-action theory. Due to its structural accuracy, the TRH setup can also function as a Set & Forget Setup, where the trader defines the zone, places a limit order, and lets the market naturally react, eliminating emotional decision-making and allowing for automated execution aligned with institutional logic.
🔵 How to Use
In the TRH strategy, entries are taken based on price returning to the area between the last impulsive pivot and the break candle. This range (the TRH Zone) represents the region where liquidity from the previous move remains concentrated. Before continuing its main direction, price often revisits this zone to fill imbalances or mitigate unfilled orders. The logic is simple: every explosive move originates from a point where large orders were executed, and TRH precisely highlights that institutional footprint.
🟣 Bullish Setup
When the market breaks a structural high after a strong bearish leg, liquidity shifts from sellers to buyers. The last bearish candle before the breakout marks the origin of the bullish move, and the zone between that candle and the break candle becomes the smart-money entry area. As price revisits this zone and signs of exhaustion in selling pressure appear, that’s the optimal point for a long position. Stop-loss is placed slightly below the origin pivot, and targets are set at the next supply zone or upper liquidity pool.
🟣 Bearish Setup
Conversely, when the market breaks a structural low after a sharp bullish leg, liquidity transitions from buyers to sellers. The last bullish candle before the drop is identified as the origin pivot, while the bearish break candle defines the lower boundary of the zone. The range between these two points forms the TRH Supply Zone, where late buyers are trapped and fresh institutional selling begins. As price retraces into this zone, short entries can be placed near the upper boundary, with stops above the pivot and targets toward the next liquidity pool below.
Because of its structural precision and clearly defined reaction behavior, TRH is one of the most effective Set & Forget setups in Smart Money trading. Simply mark the zone, place your order, and let the market do the rest.
🔵Setting
🟣 Spike Filter | Movement
Minimum Spike Bars : Defines the minimum number of consecutive candles required for a valid spike.
Movement Power : Enables or disables the momentum-based spike filter.
Movement Power Level : Sets the strength threshold; higher values filter out weaker moves and only detect strong spikes.
Pivot Period : Defines the lookback range used to detect swing highs and swing lows in market structure. A higher value smooths out smaller fluctuations and focuses on major pivots, while a lower value increases sensitivity and identifies minor turning points more frequently.
🟣 Position Management
Stop-Loss Threshold : Enables or disables the stop-loss threshold feature.
Stop-Loss Threshold Value : Defines the value of the stop-loss threshold for risk management.
Risk-Reward Ratio : Sets the desired risk-to-reward ratio (e.g., 1:1 or 1:2).
Wide Zone Filter : Filters out zones that exceed a defined width threshold, preventing detection of overly broad TRH areas.
🟣 Display Settings
Display Mode : Chooses between Setup (showing setups) or Signal (showing trade signals).
Show Entry Levels : Displays entry levels on the chart (buy/sell zones) when enabled
Only Display the Last Position : Displays only the most recent position on the chart when enabled.
Setup Width Drawing : Adjusts the visual width of the setup drawings on the chart for better visibility.
🔵 Conclusion
The TRH strategy is a precise structural model of liquidity flow that identifies zones where smart money is most likely to enter and where price is most likely to react. By combining the Origin Pivot and Break Candle, TRH isolates the key areas that drive institutional order flow. Without relying on indicators, it focuses purely on price structure, making it highly effective for both reactive entries and Set & Forget setups.
Ultimately, TRH creates a balance between market structure and liquidity flow, enabling traders to identify institutional decision zones on the chart with minimal risk and maximum clarity
Williams x Briese Hybrid CoT Index
After studying the below CoT (Commitments of Traders) books from ICT's recommended library, I learned that both Larry Williams and Stephen Briese use the same formula for their CoT Index:
COT Index = ((Current Net Position - Lowest Net Position) / (Highest Net Position - Lowest Net Position)) * 100 using a 3-Year lookback period.
Books:
Trade Stocks and Commodities with the Insiders: Secrets of the COT Report by Larry Williams
The Commitments of Traders Bible: How To Profit from Insider Market Intelligence by Stephen Briese
Williams and Briese differ in their plotting of the CoT Index formula in the following ways:
Williams uses a line plot, with thresholds at 25% & 75%
Briese uses a histogram plot, with thresholds at 5% & 90%
I decided to make a "hybrid" indicator of their CoT Index by using Larry Williams' classic line plot instead of a histogram, but with Briese's stricter thresholds of 5% and 95%.
The code is a bit of a remix of the "ICT Commitment of Traders°" indicator by " toodegrees " and is meant for use in a new pane below a Weekly Chart.
You can complement your usage of this indicator with another indicator I've published as shown in the chart above: Briese CoT Movement Index, which you can find on my scripts page. For proper usage, refer to The Commitments of Traders Bible and Trade Stocks and Commodities with the Insiders
As it is, this indicator incorporates the ±40 point "surge" from the Briese CoT Movement Index indicator in the form of labels that are visible above a below the 100% and 0% levels. The green labels at the top indicate buying surges >=40 while the black labels at the bottom indicate selling surges <=-40. If you hover over these labels, you'll see the tooltip for the value of the Movement Index. Again, if you complement this Williams x Briese Hybrid CoT Index with the Briese CoT Movement Index, you'll see the labels from the index align with the points on the histogram which exceed the ±40 levels.
NOTE: This indicator only works with futures contracts, such as on the symbols/codes for:
DX1
6E1
6A1
6B1
6N1
6C1
6S1
6J1
6M1
6Z1
SI1
GC1
PA1
PL1
HG1
BTC1
ETH1
ES1
NQ1
NIY1
CL1
NG1
HO1
RB1
ZB1
ZS1
LE1
HE1
Usage:
Open this indicator in a new pane on a Weekly chart which has one of the listed futures contracts open. It provides insight on the net commercial CoT position, indexed from 0-100%, based on Briese's or Williams' standard 3-year lookback period. Can be used in conjunction with the "Briese CoT Movement Index" which I've published separately. Refer to the books listed above for detailed insight on the theory behind these indicators.
Additional Note, October 14, 2025: Back when I published this indicator originally in July 2025, PineCoders delisted it because my description was in violation of the house rules. Fans of my "Briese CoT Movement Index" have been reaching out, and thus I've decided to republish this indicator, refining the description as much as possible.
Also, please be aware that the CFTC has posted a special announcement on their website: "October 1, 2025: During the shutdown of the federal government, Commitments of Traders Reports will not be published. When the federal government operations return to normal, CFTC will resume publication of the Commitments of Traders in chronological order."
Until the CFTC begins publishing the CoT reports again, the indicator will display data only up to late September 2025.
Market Sentiment Technicals by Carlos ChavezA comprehensive visual tool that measures market sentiment by combining multiple indicators (RSI, Stochastic, CCI, Bull/Bear Power, MA, VWAP, Bollinger Bands, Supertrend, Linear Regression, Market Structure, etc.) into a unified sentiment meter.
This script includes:
Horizontal Sentiment Thermometer with clear Strong Bearish → Strong Bullish labels.
Dynamic Color Gradient for intuitive trend visualization (red → green).
Market Sentiment Oscillator with real-time divergence detection.
Technical Panel displaying oscillator and trend indicator readings with automatic normalization.
It’s designed for traders who want a quick and powerful overview of market strength and direction during intraday or swing sessions.
All credits and layout belong to Carlos C.
Inspired by LuxAlgo’s Market Sentiment concept.
This version is a complete re-implementation with unique visual improvements and logic optimizations by Carlos C.
AssetIQ -> PROFABIGHI_CAPITAL🌟 Overview
The AssetIQ -> PROFABIGHI_CAPITAL indicator is an advanced multi-asset intelligence tool for cryptocurrency analysis, blending traditional risk-adjusted metrics with relative strength positioning (RSP) via RSI on cross-asset price ratios to compute comprehensive eligibility scores. It evaluates up to 25 assets against a benchmark, generating weighted composites from binary outperformance flags and rank-based points, displayed in detailed tables for median comparisons and top rankings to guide portfolio selection in competitive markets.
📅 General Settings
- Toggle for activating alpha to isolate excess returns beyond benchmark influence, highlighting unique asset drivers
- Toggle for enabling beta to quantify volatility correlation with the benchmark, aiding diversification assessments
- Toggle for incorporating Sharpe ratio to gauge overall efficiency of returns relative to total risk exposure
- Toggle for including Sortino ratio to prioritize returns adjusted specifically for downside volatility impacts
- Toggle for utilizing omega ratio to weigh probability-adjusted gains against losses above a target threshold
- Toggle for adding rate of change (ROC) to capture raw momentum shifts over a specified horizon
- Adjustable lookback periods for alpha and beta regressions, tuning between stability and recency in relative analysis
- Customizable benchmark symbol , such as market indices, to establish the reference frame for comparative evaluations
- Configurable Sharpe rolling window and smoothing for responsive risk-reward snapshots
- Extended Sortino and omega periods with risk-free rates and target returns for robust downside and distributional insights
- ROC horizon setting to balance short-term reactivity with trend confirmation
- Scalable asset count and top display limit for efficient screening from watchlists to full universes
📋 Table Settings
- Background transparency for semi-opaque overlays, ensuring readability while preserving chart context
- Border styling for clear delineation of data sections without visual clutter
- Text sizing options , from compact to prominent, to suit screen preferences and detail levels
🏷️ Ticker Settings
- Dedicated inputs for up to 25 cryptocurrency symbols, supporting major pairs across exchanges for broad coverage
- Flexible symbol formatting with prefix handling, enabling seamless integration of diverse tickers
- Conditional loading based on asset count, optimizing data retrieval for selected instruments only
📈 RSP Settings
- RSI length for relative strength computations, defining the oscillator period on cross-asset ratios
- Primary smoothing type , selectable from standard averages to advanced hull or variable index for signal refinement
- Primary smoothing length , adjusting lag to match analysis timeframe from intraday to weekly
- Secondary smoothing type , allowing layered processing or dynamic comparisons for deeper confirmation
- Secondary smoothing length , providing extended baseline for stable relative momentum readings
- Toggle for second MA comparison , shifting scoring from absolute levels to relative crossovers
- VIDYA volatility lookback , dynamically scaling smoothing to market dispersion for adaptive RSP
📡 Data Fetching
- Benchmark retrieval on demand for alpha or beta needs, using daily resolution for consistent periodicity
- Parallel asset close pulls via security functions, ensuring uniform timeframe data across symbols
- Na defaults for inactive assets, preventing errors in partial portfolio scans
- Confirmed bar gating for price updates, aligning with real-time execution fidelity
🔧 Core Functions
- Exchange prefix remover for clean ticker displays, stripping identifiers for concise labeling
- Returns calculator standardizing daily percentage changes, zero-filling gaps for continuity
- Alpha isolator via regression intercept, extracting benchmark-independent performance
- Beta quantifier through covariance ratio, measuring systematic sensitivity with safeguards
- Sharpe efficiency engine , annualizing mean over volatility with exponential noise reduction
- Sortino downside protector , looping negative deviations for targeted risk adjustment and scaling
- Omega distribution analyzer , accumulating excesses and shortfalls for gain-loss probability ratios
- ROC momentum extractor , delivering unbounded percentage shifts with na neutrality
📈 RSP Functions
- Constant source checker , filtering static data to avoid misleading RSP computations
- Smoothed RSI calculator , applying multi-type averages including volatility-responsive VIDYA
- Score generator , binary outcomes from level thresholds or MA crossovers on relative prices
- Array population routine , filling per-asset matrices with RSP binaries for cross-comparisons
- Combined matrix builder , concatenating RSP arrays into a unified grid for rank derivation
- Rank-based points assigner , scaling rewards from top positions to encourage competitive outperformance
📊 Calculations
- Daily returns series for all assets, foundational for regression and ratio inputs
- Per-asset alpha and beta toggled and computed, feeding relative strength arrays
- Sharpe, Sortino, omega, and ROC parallels, with na handling for robust aggregation
- RSP price arrays , storing historical closes for ratio-based RSI evaluations
- Per-asset RSP matrices , computing smoothed oscillators on relative pricing
- Summed RSP totals , aggregating binary strengths for initial rank seeding
📦 RSP Calculations
- Asset price fetching on confirmed bars, populating arrays for relative computations
- Matrix filling loops , applying RSP scoring across all active asset pairs
- Grand combined array , merging matrices into a flat structure for efficient ranking
- Per-asset sum arrays , totaling RSP strengths to establish competitive hierarchies
- Rank derivation , comparing sums to assign positions from leader to laggard
- Points scaling , tiered rewards diminishing from top ranks to foster differentiation
📊 Median & Binary
- Enabled metric arrays , collecting valid values for central tendency computation
- Median extraction per metric, providing neutral benchmarks for outperformance flags
- Binary conversion loops , flagging above-median as positive for normalized scoring
- Na exclusion , ensuring only reliable data influences relative classifications
- Per-asset binary arrays , storing flags for weighted contribution to final composites
⚖️ Weighted Scores
- Metric binary summation , averaging enabled flags for risk-return consensus
- RSP points integration , blending rank rewards with metric outcomes for hybrid intelligence
- Balanced weighting , allocating portions to metrics and RSP for multifaceted evaluation
- Last-bar computation , finalizing scores for display without historical interference
📋 Main Table Display
- 16-column matrix centering assets with metric values, binaries, ranks, points, and scores
- Header labeling [/b> for clarity, spanning asset identifiers and performance columns
- Value rendering [/b>, formatted decimals or dashes for unavailable metrics
- Binary color-coding , green for above-median, red below, gray for invalids
- Rank and points [/b> in dedicated columns, highlighting competitive positioning
- Score culmination [/b>, white text on transparent cells for final eligibility gauge
- Text sizing [/b> uniformity, ensuring legibility in dense layouts
📊 Median Table
- Compact right-side panel [/b>, listing medians for enabled metrics as reference anchors
- Two-column simplicity , metric names left, values right for quick benchmarking
- Dash placeholders [/b> for inactive metrics, maintaining structure without clutter
- White text consistency [/b>, neutral presentation for objective central tendencies
🏆 Top Assets Table
- Left-side summary [/b>, ranking leaders by weighted scores in descending order
- Two-column focus [/b>, tickers paired with scores for executive overview
- Dynamic sorting [/b> via indices, limiting to top count for prioritized insights
- Prefix-cleaned names [/b>, concise labels enhancing scan speed
- Decimal score formatting [/b>, white text for clean highlight of elite performers
✅ Key Takeaways
- Hybrid RSP integration [/b> elevates traditional metrics with cross-asset relative strength for superior selection
- Binary medians [/b> normalize outperformance, creating fair comparisons across diverse assets
- Weighted composites fuse risk, momentum, and positioning into actionable intelligence
- Tiered tables [/b>—detailed main, neutral medians, elite tops—streamline from scan to strategy
- Modular toggles and smoothings adapt to regimes, from bull hunts to bear shields
- Rank rewards incentivize competitive RSP, uncovering hidden portfolio alphas
- Daily alignment [/b> ensures timely insights, scalable for watchlists or full scans
Market Tension Map v2📊 Market Tension Map v2 — Detailed Description
core concept
market tension map v2 measures market "tension" through a combination of three independent metrics: volatility, volume, and open interest changes. the indicator operates on the compressed spring principle—when the market enters a state of low volatility with high volume and growing OI, it creates "tension" that predicts a potential sharp price movement.
calculation methodology
component 1: volatility score (0-100)
relative volatility is measured through price standard deviation over a specified period. key distinction—inversion: low volatility produces a high score because range compression creates energy for future movement.
component 2: volume score (0-100)
normalization of current volume relative to the period range. high volume during low volatility signals accumulation of positions by large players before a move.
component 3: open interest score (0-100)
evaluation of open interest changes (available only for futures). rising OI confirms new positions entering the market rather than just redistribution of existing ones.
final tension index
arithmetic mean of three components (or two if OI unavailable). values above threshold (default 70) signal spring "compression".
signal types
compression signal (🔴 red diamond)
appears when tension index exceeds threshold with normal candle size. this is a predictive signal—market is compressed but explosion hasn't occurred yet. optimal for entry before movement with tight stop.
climax signal (⚠️ orange diamond)
occurs when threshold crossed + large candle (size > ATR × multiplier). this is a reactive signal of culmination—energy already released. often indicates short-term reversal or move exhaustion.
uniqueness of approach
unlike classic compression indicators (bollinger bands squeeze, keltner channels), mtm v2 doesn't rely solely on volatility. adding volume and OI scores creates a multidimensional picture of market microstructure. volatility score inversion is original logic where calm is interpreted as tension.
the algorithm distinguishes two breakout types:
compression without movement (compression)—anticipation trading
compression with large candle (climax)—reversal trading
this separation is absent in standard indicators.
parameter settings
calculation period (20)—normalization window length. lower = more sensitive to short-term changes.
tension threshold (70)—signal activation level. higher = fewer signals but better quality.
atr length (14) + atr multiplier (2.0)—large candle detection parameters for climax signals. increasing multiplier makes filter stricter.
colors and style—full customization of visual elements to adapt to your chart theme.
how to use
main chart: histogram shows current tension level. yellow = rising, gray = falling.
signals on price chart:
red diamond above candle = prepare for entry (compression)
orange diamond = move occurred, watch for reversal (climax)
background highlight: tinted background shows high tension zones.
data table: real-time monitoring of all components + bar status (live/closed).
alerts: configure notifications for compression or climax signals for automatic monitoring.
limitations
open interest available only for futures. for spot markets indicator works with two components.
requires sufficient bar history (>= calculation period) for correct calculations.
on live bar (not closed) values may repaint—use confirmed signals for trading.
recommended timeframes
1h-4h: optimal for swing trading, signals more reliable.
15m-30m: suitable for intraday but requires false breakout filtering.
d: strategic positions, high risk/reward ratio.
license: mozilla public license 2.0
version: pinescript v6
Livermore's Pyramiding Trading - 3Commas [SwissAlgo]
📊 J. LIVERMORE'S PYRAMIDING TRADING - 3Commas Integrated
A Trading Approach Inspired by Jesse Livermore's Position Building Principles
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This indicator is an educational tool based on historical trading principles. Past performance is not indicative of future results. Trading involves substantial risk of loss. Only trade with capital you can afford to lose. You are responsible for all trading decisions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 WHO WAS JESSE LIVERMORE?
Jesse Livermore (1877-1940) was one of the greatest traders in history.
His core insight: "Most traders do everything backward."
♦ "They deploy all capital at once" → Livermore entered with a small fraction of his capital (he started with a 'test position' to validate his trade idea and waited for market confirmation to deploy more, building positions in steps = "pyramiding")
♦ "They average down" (DCA) → Livermore added to trades showing good results only, and never to losing trades, as the trend kept aligning with his trade idea
♦ "They use arbitrary % stops" → Livermore exited when structure appeared broken (he trailed his stop loss to try to protect unrealized profit - if any)
♦ "They take profits too early or set arbitrary TP%" → Livermore let trades showing positive results run until proven wrong (trial take profit)
💬 "I always made money when I was sure I was right before I began. What beat me was not having enough brains to stick to my own game."
— Jesse Livermore
This indicator tries to translate his principles into a SYSTEMATIC FRAMEWORK :
BO = Base Order (first order, base of the pyramid)
PO = Pyramid Orders (additional layers of capital deployed as long as the 'tape' does not invalidate the trade idea)
♦ Test First (BO - 20%) - Small entry to test your idea. If wrong, lose small. If right, can consider pyramiding into strength.
♦ Build Position Size (PO1-3 - 80%) - Add only as trend unfolds favorably (the indicator uses specific Fibonacci levels to track milestones - 0.618, 1.0, 1.272 - and looks for strong confluence among price, volume, trend, momentum, break of resistance/support levels to suggest and trigger actions: entries, exit)
♦ Attempt to Protect Capital - Dynamic stops: the indicator trails the stop loss, to try to protect potential gains from previous steps (if any)
♦ Discipline - Trades fire only when ALL conditions align
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 INDICATOR FEATURES
You map 3 points on the chart → The indicator generates a systematic trading plan structure based on your wave analysis.
✓ Auto-detects trade direction: Uptrend wave (A➚B➘C) = Long signals | Downtrend wave (A➘B➚C) = Short signals
✓ Entry/exit prices: BO, PO1, PO2, PO3, and dynamic EXIT (trailing stop)
✓ Real-time condition monitoring: Live ✓/✗ checks for each order (price closes + volume + trend + pivot breaks + candle quality + sequence)
✓ Visual trade execution: Green labels mark entries (BO/PO1/PO2/PO3), red labels mark EXIT
✓ Optional 3Commas automation: JSON webhooks for hands-free execution via Signal Bots
⏰ Recommended Timeframes: 1H, 4H, Daily
(Lower timeframes like 15m/5m produce excessive noise and false signals)
💬 "Watch the market leaders, the stocks that have led the charge. That is where the action is and where the money is made."
— Jesse Livermore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETUP IN 3 STEPS
🟡 STEP 1: Map Your Wave (Points A → B → C)
Identify a completed wave pattern:
For LONGS:
♦ Point A = Swing low (wave start)
♦ Point B = Swing high (impulse end)
♦ Point C = Pullback low (retrace end - where next wave may begin)
For SHORTS:
♦ Point A = Swing high (wave start)
♦ Point B = Swing low (impulse end)
♦ Point C = Pullback high (retrace end - where next wave may begin)
How to set points:
Settings → Enter dates manually OR drag the vertical lines directly on the chart (easier - just click and drag the pre-mapped A/B/C lines)
Requirements (auto-validated by code):
✓ All dates must be in the past (Point C = completed retrace, not forming)
✓ Clear impulse A→B (minimum 5% move)
✓ Clear retrace B→C (minimum 3% pullback)
───────────────────────────────────────────
🟡 STEP 2: Set Budget & Allocation
Settings → "TRADE PARAMETERS"
♦ Total Budget: $10,000 (example - capital for THIS trade only, not your entire account)
♦ Allocation (must total 100%):
BO = 20% ($2,000) - test position
PO1 = 25% ($2,500) @ Fib 0.618
PO2 = 30% ($3,000) @ Fib 1.0
PO3 = 25% ($2,500) @ Fib 1.272
💬 "It was never my thinking that made big money for me. It was always my sitting. Men who can both be right and sit tight are uncommon."
— Jesse Livermore
───────────────────────────────────────────
🟡 STEP 3: Monitor Your Trade Plan Table
The table (top-right corner) has 4 sections that guide your execution:
BUDGET DEPLOYMENT
♦ Trigger prices for each order (BO auto-calculated at 0.5 Fib between B-C)
♦ Dollar amount per entry
♦ Fibonacci level assigned to each PO
ENTRY/EXIT CONDITIONS
Each column (BO, PO1, PO2, PO3) shows live status (✓ or ✗) for:
♦ Price: 2 consecutive closes (BO) | 3 consecutive closes (POs)
♦ Volume: OBV directional alignment OR volume spike above average
♦ Trend: Normal or Strong Bull/Bear (no entries in Uncertain trend)
♦ Pivot: Nearest resistance (longs) or support (shorts) broken
♦ Clean Candle: Momentum without reversal wicks <30% (POs only)
♦ Sequence: Prior order must have fired first (POs only - no skipping levels)
TRIGGERED?
Shows execution status for each order (✓ = fired, ✗ = waiting)
If using 3Commas: ✓ confirms JSON alert was sent to your bot for real execution
VALIDATIONS
✓ Green = All checks passed, setup is valid
⚠️ Yellow = Warning (e.g., budget doesn't equal 100%, deep retrace)
✗ Red = Error (e.g., dates in wrong order, invalid wave structure)
⚠️ Wait for ALL ✓✓✓✓✓ (or ✓✓✓✓✓✓) to align in a column before that order fires at bar close
💬 "The game of speculation is the most uniformly fascinating game in the world. But it is not a game for the stupid, the mentally lazy, the person of inferior emotional balance, or the get-rich-quick adventurer."
— Jesse Livermore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 CHART VISUALS - READING THE INDICATOR
Fibonacci Extension Lines
After mapping A-B-C, horizontal lines extend to the right:
♦ Solid green/red lines = Active PO entry levels (0.618, 1.0, 1.272)
♦ Dotted gray lines = Reference Fib levels used for exit tracking (2.0, 2.618, 3.0, etc.)
♦ Labels on right = Show level and price: "Fib 0.618 / $67,324 "
Entry/Exit Price Lines
♦ Thick green line (longs) / red line (shorts) = BO entry price with direction label
♦ Dashed red line = Current EXIT price (your trailing stop loss - appears after BO fires and moves as price extends)
Trade Execution Labels
Visual confirmation when orders fire on the chart:
♦ Green labels (below/above candles) = BO, PO1, PO2, PO3 entries executed
♦ Red label = EXIT triggered (position closed)
Trend Strength Indicator (EMA Line)
The thick colored line shows real-time trend status:
♦ Bright lime = Strong bullish trend
♦ Light green = Normal bullish trend
♦ Bright red = Strong bearish trend
♦ Light red = Normal bearish trend
♦ Gray = Uncertain/weak trend (no entries fire in this state)
Entries require at least Normal trend strength aligned with your trade direction.
💬 "I never argue with the tape. Getting sore at the market doesn't get you anywhere."
— Jesse Livermore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 ENTRY LOGIC - TECHNICAL DETAILS
💬 "The big money was never made in the buying or the selling. The big money was made in the waiting."
— Jesse Livermore
───────────────────────────────────────────
🟢 BASE ORDER (BO) - TEST POSITION
BO Price Calculation
Auto-calculated at the 0.5 Fibonacci retracement between Point B and Point C
Formula: (Price B + Price C) / 2
Why this level?
♦ Midpoint between impulse end (B) and retrace end (C)
♦ Breakout above/below suggests retrace may be complete
♦ Designed to help position BO below all Fib extensions (to control sequence issues)
───────────────────────────────────────────
BO Entry Conditions - ALL 5 Must Align:
1️⃣ PRICE: 2 Consecutive Closes Beyond BO
♦ Longs: close > BO AND close > BO
♦ Shorts: close < BO AND close < BO
♦ Why: Designed to confirm breakout commitment and filter fakeouts
2️⃣ TREND: Normal OR Strong Trend Aligned
♦ Detection: 18-period EMA + ADX/DMI + higher timeframe slope
♦ States: Strong Bull/Bear (ADX>30), Normal Bull/Bear (price vs EMA), Uncertain
♦ Confirmation: Requires 3 consecutive bars in the same state (to reduce flip-flop)
♦ BO accepts: Normal OR Strong (you're testing early, basic alignment sufficient)
3️⃣ PIVOT: Nearest Resistance/Support Broken
♦ Storage: 60 most recent pivot highs/lows (dynamic lookback per timeframe)
♦ Longs: Nearest pivot HIGH above BO → must break with 2 closes
♦ Shorts: Nearest pivot LOW below BO → must break with 2 closes
♦ Price Discovery: If no pivot exists beyond BO = auto-pass
♦ Why: Aims to confirm momentum has overcome previous rejection zones
4️⃣ VOLUME: OBV Aligned OR Spike
♦ Directional OBV: OBV > 20-EMA (longs) OR OBV < 20-EMA (shorts)
♦ OR Volume Spike: Current volume > 20-period SMA
♦ Why: Checks for institutional participation signals
5️⃣ VALIDATIONS: Setup Valid (✅)
♦ Dates valid (A < B < C, all in past)
♦ Wave structure valid (min 5% impulse, min 3% retrace)
♦ Budget allocation = 100%
♦ Prices detected at all points
⚠️ BO fires once per bar close. Flag set permanently until trade resets.
───────────────────────────────────────────
🔺 PYRAMID ORDERS (PO1-3) - PYRAMIDING INTO STRENGTH
💬 "Never buy a stock because it has had a big decline from its previous high. The big money was never made in the stock market by buying on declines."
— Jesse Livermore
PO Price Calculation
Fixed Fibonacci extensions from Point C:
Formula: Price C ± (Impulse Range × Fib Level)
Where: Impulse Range = |Price B - Price A|
Default Levels:
♦ PO1 @ Fib 0.618 (Golden Ratio)
♦ PO2 @ Fib 1.000 (Full impulse repeat)
♦ PO3 @ Fib 1.272 (Fibonacci sequence extension)
───────────────────────────────────────────
PO Entry Conditions - ALL 6 Must Align (STRICTER):
1️⃣ PRICE: 3 Consecutive Closes Beyond PO
♦ Longs: close > PO AND close > PO AND close > PO
♦ Shorts: close < PO AND close < PO AND close < PO
♦ Why: Higher conviction needed when adding capital (3 vs 2 closes for BO)
2️⃣ TREND: Same as BO
Normal OR Strong trend must remain aligned with trade direction
3️⃣ PIVOT: Per-Level Pivot Break
♦ Each PO checks its OWN nearest pivot (not shared with BO)
♦ Same 2-close break requirement
♦ PO3 Exception: Price discovery allowed (no pivot required if already profitable)
4️⃣ VOLUME: Same as BO
Sustained confirmation required (not weakening)
5️⃣ CLEAN CANDLE: <30% Reversal Wick (NEW)
♦ Filter: Uses ATR(14) - candles < ATR auto-pass (consolidation noise)
♦ Longs: Upper wick < 30% of candle range (no rejection at top)
♦ Shorts: Lower wick < 30% of candle range (no rejection at bottom)
♦ Why: Don't pyramid into weakness/rejection - only add on clean momentum
♦ Not checked for BO: Test position tolerates some wick risk
6️⃣ SEQUENCE: Prior Order Fired
♦ PO1 requires: BO fired
♦ PO2 requires: PO1 fired
♦ PO3 requires: PO2 fired
♦ Why: No skipping levels - disciplined building only
───────────────────────────────────────────
⚙️ KEY DIFFERENCE:
BO (20% capital) = Lighter requirements, testing your idea early
POs (80% capital) = Stricter requirements, adding only to confirmed winners
♦ BO: 2 closes | POs: 3 closes
♦ BO: No candle check | POs: Clean candle required
♦ BO: Independent | POs: Sequential (must follow order)
♦ BO: No price discovery | PO3: Allows price discovery when profitable
💬 "Profits always take care of themselves, but losses never do. The speculator has to ensure himself against considerable losses by taking the first small loss."
— Jesse Livermore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚪 EXIT LOGIC - TECHNICAL DETAILS
🔴 EXIT PHILOSOPHY
The indicator uses TWO INDEPENDENT EXIT TRIGGERS (whichever fires first):
1) Structural Breakdown
Price breaks through the EXIT level with confirmation
2) Trend Reversal
Trend flips against your position AND price breaks EXIT level
Why two methods?
♦ Structure = price-based protection (hard stop)
♦ Trend = momentum-based exit (early warning when market character changes)
♦ Combined: Exit either when proven wrong (structure) or when conditions no longer favor your direction (trend)
───────────────────────────────────────────
🔴 EXIT PRICE CALCULATION
The EXIT price (your stop loss) adjusts dynamically based on position size:
BEFORE PO3 Fires (Fixed Stops):
♦ BO only = Stop at Point C (small position, tight stop near entry)
♦ PO1 fired = Stop at Fib 0.5 (moved to breakeven zone)
♦ PO2 fired = Stop at Fib 0.786 (protecting partial profits)
AFTER PO3 Fires (Trailing Stops):
♦ Tracking: Monitors the highest Fib reached (longs) or the lowest Fib reached (shorts)
♦ Placement: EXIT moves 1-2 Fib levels below the highest (longs) or above the lowest (shorts)
♦ Example: Price reaches Fib 2.618 → EXIT trails up to Fib 2.0
♦ Purpose: Designed to protect accumulated profits while allowing room for normal pullbacks
💬 "It never was my thinking that made the big money for me. It was always my sitting. Men who can both be right and sit tight are uncommon."
— Jesse Livermore
───────────────────────────────────────────
🔴 EXIT CONDITIONS
Exit Speed (Based on Risk Exposure):
♦ Full position (PO3 fired) = 1 close required (fast exit - more capital at risk)
♦ Partial position (BO/PO1/PO2 only) = 2 closes required (confirmation - less urgency)
METHOD 1: Structural Breakdown
Price violates the EXIT level with clean momentum:
For Longs:
♦ Price closes BELOW EXIT level (1 or 2 closes depending on position size)
♦ Clean candle required (lower wick < 50% of range - no false breakdown)
For Shorts:
♦ Price closes ABOVE EXIT level (1 or 2 closes depending on position size)
♦ Clean candle required (upper wick < 50% of range - no false breakout)
Why clean candle check?
Designed to reduce exits on wicks/fakeouts. If there's a large reversal wick (>50%), it suggests buyers/sellers are defending the level - not a true breakdown.
METHOD 2: Trend Reversal
Market character shifts against your position:
For Longs:
♦ Trend shifts from Bull → Normal Bear OR Strong Bear
♦ AND price breaks below EXIT level (same close requirements)
For Shorts:
♦ Trend shifts from Bear → Normal Bull OR Strong Bull
♦ AND price breaks above EXIT level (same close requirements)
Why this matters?
♦ Proactive exit before structural stop is hit
♦ If the trend that confirmed your entries reverses, the setup is invalidated
♦ Livermore principle: Exit when market proves you wrong, don't wait for max pain
───────────────────────────────────────────
⚠️ EXIT BEHAVIOR
♦ Fires once per bar close (same as entries)
♦ Resets all tracking after exit (ready for fresh trade setup)
♦ Clears flags: boSignalFired, po1/po2/po3SignalFired, highestFib/lowestFib tracking
♦ If using 3Commas: Sends exit_long or exit_short JSON (market order closes 100% position)
💬 "I never argue with the tape. Getting sore at the market doesn't get you anywhere."
— Jesse Livermore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🤖 3COMMAS AUTOMATION (OPTIONAL)
💬 "There is the plain fool, who does the wrong thing at all times everywhere, but there is also the Wall Street fool, who thinks he must trade all the time."
— Jesse Livermore
Automation designed to help remove emotion and support disciplined execution.
───────────────────────────────────────────
⚡ QUICK SETUP IN 5 STEPS
STEP 1: Create Your Signal Bots
You need 2 SEPARATE BOTS (one for Longs, one for Shorts):
Go to 3Commas → Bots → Create Bot → Select "Signal Bot"
Basic Settings:
♦ Bot Name: "Livermore Long - " (example: "Livermore Long - BTCUSDT")
♦ Exchange: Your connected exchange
♦ Trading Pair: Must match TradingView chart exactly
♦ Strategy: Custom Signal
♦ Direction: LONG (for first bot) or SHORT (for second bot)
♦ Max Active Deals: 1
⚠️ CRITICAL SETTINGS:
Entry Orders:
♦ Toggle ON: "Entry Orders"
♦ Volume per Order: "Send in webhook, quote"
♦ Why: This lets the indicator control exact $ amounts per order (BO=$2K, PO1=$2.5K, etc.)
♦ If you skip this: Orders will use wrong sizes and break your allocation plan
Exit Orders:
♦ Toggle ON: "Exit Orders"
♦ Volume per Order: "100 Position %"
♦ Why: Closes your entire position when EXIT signal fires
♦ Toggle OFF: "Take Profit" (managed by indicator)
♦ Toggle OFF: "Stop Loss" (managed by indicator)
Click "Start Bot" for both Long and Short bots.
───────────────────────────────────────────
STEP 2: Get Your Bot Credentials
For EACH BOT (Long and Short):
♦ Open the bot → Click "Orders" tab
♦ Scroll down to "Webhook Messages" section
♦ Copy these 3 values:
bot_uuid (long string like: a362cbcf-7e68-4379-a83d-ae6e47dba656)
secret (very long token starting with: eyJhbGciOiJ...)
webhook URL (refer to 3commas to get exact webhook - signal bots)
Note: The secret is usually the same for both bots, but the bot_uuid is different.
───────────────────────────────────────────
STEP 3: Enter Credentials in Indicator
Back in TradingView:
♦ Open indicator Settings
♦ Find section: "1️⃣ INTEGRATE 3COMMAS"
♦ Paste:
Long = Your Long bot UUID
Short = Your Short bot UUID
Secret = Your secret token (same for both)
♦ Click "OK"
The indicator now has everything needed to build JSON payloads.
───────────────────────────────────────────
STEP 4: Create TradingView Alert
This alert bridges TradingView → 3Commas. ONE ALERT HANDLES ALL SIGNALS (BO, PO1, PO2, PO3, EXIT).
How to create:
♦ Right-click chart → "Add Alert" (or click clock icon)
♦ Condition: Select this indicator from dropdown
♦ Trigger: "Any alert() function call"
♦ Alert Name: "Livermore Pyramiding - "
♦ Message: Leave default (indicator sends its own JSON)
♦ Webhook URL: Paste your 3Commas webhook URL from Step 2
♦ ⚠️ Alert Frequency: "Once Per Bar Close" (CRITICAL - controls duplicate orders)
♦ Expiration: Open-ended (or set specific date)
♦ Click "Create"
───────────────────────────────────────────
STEP 5: Test Before Going Live
🧪 NEVER TEST WITH REAL CAPITAL FIRST. Use one of these methods:
Test 1: Check Bot Status
♦ 3Commas → Bots → Both bots show "Active" (green)
♦ Click into each bot → Orders tab → Should say "Waiting for signal"
Test 2: Verify Alert Active
♦ TradingView → Alerts panel (bell icon)
♦ Your alert should show "Active" status
Test 3: Paper Trade / Tiny Position
♦ Use 3Commas paper mode if available, OR
♦ Set Total Budget to $10-50 for first real test
♦ Map a wave that's about to trigger
♦ Watch if orders actually appear on 3Commas
Test 4: Check JSON Format
♦ When alert fires → TradingView Alerts → Click your alert
♦ Look at "History" or "Log"
♦ Verify JSON has: bot_uuid, secret, action, price, amount
───────────────────────────────────────────
🛠️ COMMON ISSUES & SOLUTIONS
✗ Problem: Orders not appearing on 3Commas
Possible causes:
♦ Wrong webhook URL → Must be exact 3Commas URL (check for typos)
♦ Bot paused → Check bot status must be "Active" (green)
♦ Wrong bot UUID → Verify you copied Long UUID for longs, Short UUID for shorts
♦ Secret mismatch → Double-check secret is correct
♦ Exchange API issues → Verify exchange connection in 3Commas settings
How to debug:
♦ 3Commas → Your Signal Bot → Orders tab
♦ Look for "Rejected Signals" section
♦ Should show error messages if webhook failed
───────────────────────────────────────────
✗ Problem: Orders executing at wrong prices
Possible causes:
♦ Limit order not filled → Price gapped through your level before order filled
♦ Slippage on exits → Exits use market orders (intentional - speed over exact price)
♦ Exchange minimums → Some exchanges have minimum order sizes
Solution:
♦ Entries use limit orders (wait for exact price - may not fill if price gaps)
♦ Exits use market orders (prioritize fast execution when structure breaks)
♦ This is INTENTIONAL DESIGN following Livermore's principle: exit when proven wrong
───────────────────────────────────────────
✗ Problem: PO orders firing out of sequence or skipping
Possible causes:
♦ Alert not set to "Once Per Bar Close" → Change alert frequency setting
♦ Multiple alerts running → Delete old/duplicate alerts for this indicator
♦ Conditions changed mid-bar → Indicator only fires at bar close (protective feature)
Solution:
♦ Keep only 1 active alert per indicator instance
♦ Always use "Once Per Bar Close" frequency
♦ Wait for full bar to close before signals can fire
───────────────────────────────────────────
✗ Problem: Bot not closing position on EXIT
Possible causes:
♦ Exit order setting wrong → Check bot settings
♦ Wrong JSON action → Should be "exit_long" or "exit_short"
♦ No position open → Can't close what doesn't exist
Solution:
♦ Verify: Bot Settings → Exit Orders → Volume per Order = "100 Position %"
♦ Check alert history for correct JSON payload
♦ If stuck: Manually close position in 3Commas, then fix settings
♦ Delete and recreate alert if JSON format is wrong
───────────────────────────────────────────
🔒 SECURITY BEST PRACTICES
♦ Never share bot UUID or Secret - Treat them like passwords
♦ Use restricted API keys - Limit to specific pairs, disable withdrawals
♦ Start small - Test with $10-50 first, scale up only after success
♦ Monitor first trades - Don't set-and-forget immediately
♦ Delete old alerts - If you change A/B/C points, delete old alert and create new one
───────────────────────────────────────────
📊 PREFER MANUAL TRADING?
Skip 3Commas entirely and use the indicator for planning only:
♦ Watch Trade Plan table for ✓✓✓✓✓ alignment
♦ Manually place limit orders at displayed prices
♦ Manually move stop loss as EXIT price updates
♦ Manually close when EXIT signal fires
Benefits: Full control, no API concerns, can override based on context
Drawbacks: Must watch chart constantly, emotions can interfere, may miss signals
───────────────────────────────────────────
✅ FINAL CHECKLIST BEFORE LIVE TRADING
✓ Both Signal Bots created (Long + Short)
✓ Entry Orders: Volume = "Send in webhook, quote"
✓ Exit Orders: Volume = "100 Position %"
✓ Take Profit and Stop Loss disabled in bots
✓ Bot UUIDs and Secret entered in indicator
✓ TradingView alert created with correct webhook
✓ Alert frequency = "Once Per Bar Close"
✓ Alert status shows "Active"
✓ Tested with small amounts successfully
✓ Trade Plan table shows ✅ (no validation errors)
✓ Understand your risk per trade
Once all checked: You're ready for automated pyramiding execution.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 KEY REMINDERS - BEFORE YOU TRADE
💬 "The speculator's chief enemies are always boring from within. It is inseparable from human nature to hope and to fear."
— Jesse Livermore
───────────────────────────────────────────
⚠️ COMMON MISTAKES (AVOID THESE)
Mapping Incomplete Waves
♦ Point C must be in the PAST (completed retrace, not currently forming)
♦ Don't map a wave that's still developing - wait for confirmation
♦ Minimum requirements: 5% impulse (A→B), 3% retrace (B→C)
Ignoring Validation Warnings
♦ Never create alerts when status shows ✗ (red) or ⚠️ (yellow)
♦ Fix all errors first: dates in order, budget = 100%, valid wave structure
♦ Common issues: dates in future, Point C above B (longs) or below B (shorts)
Premature Manual Entries
♦ Don't enter just because price touched the level
♦ Wait for ALL ✓✓✓✓✓ (or ✓✓✓✓✓✓) to align in Trade Plan table
♦ Patience pays - partial confluence = partial edge = higher risk of losing trades
Wrong Timeframe Selection
♦ Avoid: 15m, 5m, 1m (too much noise, false signals)
♦ Use: 1H, 4H, Daily (cleaner structure, better confluence)
♦ Lower timeframes require faster decisions and produce more whipsaws
Over-Risking Capital
♦ Trade budget ≠ Account size
♦ Never risk capital you can't afford to lose
♦ One bad trade should NOT destroy your account
───────────────────────────────────────────
✅ LIVERMORE PRINCIPLES IN ACTION
Confirmation > Prediction
♦ Don't predict where price will go
♦ Wait for price to INDICATE direction via pivots + volume + trend
♦ Test first (BO 20%), build only when confirmed (POs 80%)
💬 "A man must believe in himself and his judgment if he expects to make a living at this game."
Pyramid on Strength, Never Weakness
♦ Add only when: 3 closes + clean candles + volume + pivot breaks
♦ Never average down (DCA into losers)
♦ If BO wrong, take small loss fast - don't hope and add more
💬 "Never buy a stock because it has had a big decline from its previous high."
Respect Market Structure
♦ Pivots = where smart money previously acted (support/resistance)
♦ Breaking them = momentum overcoming barriers
♦ Entering before pivot break = entering into known rejection zones
Trend is Your Friend
♦ Never pyramid against the trend
♦ If trend shifts to Uncertain or reverses → no new entries
♦ Exit when trend proves you wrong (don't fight it)
💬 "I never argue with the tape. Getting sore at the market doesn't get you anywhere."
Discipline > Emotion
♦ Can't "almost" have all conditions met
♦ Either 100% aligned (all ✓) or you wait
♦ No exceptions, no "this time is different"
♦ Automation designed to help remove emotion - consider using 3Commas
💬 "It never was my thinking that made the big money for me. It always was my sitting."
───────────────────────────────────────────
🎯 FINAL THOUGHT
This indicator is a SYSTEMATIC FRAMEWORK, not a magic solution. It translates Livermore's century-old principles into actionable rules:
♦ Test small, build big
♦ Add to winners, cut losers fast
♦ Let structure guide exits
♦ Stay disciplined when emotions scream
The market will test your patience, discipline, and conviction. The indicator aims to reduce guesswork - but YOU still need to:
♦ Find valid wave structures
♦ Choose appropriate market conditions
♦ Size positions properly
♦ Accept losses as part of the game
💬 "The game of speculation is the most uniformly fascinating game in the world. But it is not a game for the stupid, the mentally lazy, the person of inferior emotional balance, or the get-rich-quick adventurer."
— Jesse Livermore
Nexus Aeterna - RetailNexus Aeterna is an advanced multi-mode trading framework designed for precision signal generation, risk management, and visual clarity. Built for both retail and professional traders, it integrates adaptive moving averages, dynamic stop-loss management, and contextual volume analysis to enhance trade timing and trend confirmation.
This script provides configurable layers of confirmation between trend, momentum, and volume dynamics — helping traders interpret complex market structure with ease.
⚙️ Key Features
🧠 Dual Operating Modes
Standard Mode: Balanced signal generation with trend alignment and volume context.
Scalp Mode: Lightweight and responsive for short-term trades, referencing only the Spectra MA Cloud.
🌈 Spectra Moving Average System
Adaptive multi-speed moving average suite with adjustable Reaction Speed.
Influences stop-loss placement, take-profit timing, and signal responsiveness.
🧭 Signal & Filter Controls
Macro Trend Filter: Option to align signals with long-term trend direction.
Waveform Oscillator Alignment: Filter entries based on internal momentum and volume divergence.
Final Close Check: Ensures candle confirmation before signal validation.
🎨 Visual Customization
Toggle visibility for:
MA Cloud background
Declining volume/reversal labels
Stop-loss and take-profit signals
Candle coloring by signal and volume delta alignment
Optional display of ATR and Macro Context Tables for real-time contextual awareness.
📊 Waveform Oscillator Integration
Choose a custom timeframe for CVD and oscillator analysis (from 1-minute to monthly).
Enables deeper insight into momentum transitions and divergence across timeframes.
🛑 Responsive Stop-Loss Engine
Fully tunable system including:
Candle offset responsiveness
Dynamic lookback period
Adjustable margin of error
Optional “Responsive Mode” with multipliers for tighter or looser stops
Designed to adapt to volatility and trading style.
🔔 Smart Alerts
Configurable alerts for:
Long / Short entries
Long++ / Short++ advanced confirmations
Take-Profit signals
Optimized for integration with automation platforms and TradingView alerts.
⚠️ Disclaimer
By using this indicator, you acknowledge and agree to release SmartTrade Pro LLC from any liability related to its use.
This tool is for educational and analytical purposes only.
It does not constitute financial advice.
Trading involves substantial risk — always trade responsibly and manage your own risk exposure.
💡 Intended Use
Nexus Aeterna – Retail v2.4 is ideal for:
Traders seeking adaptable market structure confirmation.
Those who combine technical, trend, and volume analysis.
Users who want a visually organized, context-aware trading toolkit.
RSI SMA Cross StrategyRSI SMA Cross StrategyOverviewThis strategy is a simple yet effective trend-following system based on the Relative Strength Index (RSI) and its Simple Moving Average (SMA). It aims to capture long-term trends by entering long positions when the RSI crosses above its SMA (indicating bullish momentum) and exiting when it crosses below (signaling potential weakness). Designed for long-only trading, it's ideal for trending markets.Key FeaturesEntry Signal (Buy): Triggered when the current RSI value crosses above the SMA of RSI from the previous bar.
Exit Signal (Sell): Triggered when the current RSI value crosses below the SMA of RSI from the previous bar.
Position Sizing: Allocates 100% of available equity to each trade.
Costs: Incorporates 0.1% commissions and 1 tick slippage for realistic backtesting.
Date Range: Trades start from January 1, 2018, onwards.
Source: Uses the low price for RSI calculation (customizable via inputs).
Default ParametersRSI Length: 250 periods
SMA Length: 73 periods
Source: Low price
Additional Visuals & AlertsBuy/Sell Shapes: Green triangle up for buys, red triangle down for sells.
RSI 50 Level Crosses: Optional tiny circles marking when RSI crosses above/below 50 (green for above, red for below).
Alerts: Built-in alerts for buy/sell signals and RSI 50 crosses.
Usage TipsBest suited for daily or higher timeframes on stocks, indices, or forex pairs.
Backtest on your preferred symbols to optimize parameters.
Combine with other filters (e.g., trend confirmation) for better performance in ranging markets.
This strategy is for educational purposes. Always manage risk and conduct your own research before trading. Enjoy trading!
Dons Futures Leverage Calculator🎯 Don's Futures Leverage Calculator - Professional Risk Management Tool
Transform your futures trading with precise leverage calculations and visual risk management!
📊 Key Features:
Real-time Leverage Analysis - Calculate exact position sizes with up to 125x leverage
Visual Trading Lines - Clear entry, take profit, and stop loss levels on your chart
Profit/Loss Zones - Color-coded areas showing potential outcomes
Risk-Reward Calculator - Instant RR ratio analysis with "IDEAL" recommendations
Professional Table Display - Complete risk metrics in organized format
Smart Alerts - Get notified when price hits your key levels
🚀 What This Indicator Does:
This advanced calculator helps futures traders manage leverage and risk with precision. Input your account balance, desired leverage, and trade setup - the indicator instantly calculates:
✅ Position Size - Exact coin quantity based on your leverage ✅ Margin Requirements - Initial margin and percentage of balance used
✅ Profit Potential - Dollar amounts and ROE percentages for take profit ✅ Loss Exposure - Maximum loss with stop loss protection ✅ Risk-Reward Ratio - Automatically flags trades with RR ≥ 2.0 as "IDEAL"
📈 Visual Elements:
Blue Entry Line - Your planned entry point (thick, prominent)
Green Take Profit Line - Target profit level with percentage gains
Red Stop Loss Line - Risk management boundary
Profit Zone - Green fill showing potential gains area
Loss Zone - Red fill showing maximum risk area
Real-time P&L Tracker - Live triangles showing current position performance
⚙️ Easy Setup:
Set your account balance and leverage (1x to 125x)
Choose LONG or SHORT direction
Input entry price, take profit, and stop loss
Set maximum risk percentage (default 2%)
Watch the visual analysis appear on your chart!
🔔 Professional Alerts:
Entry level hit notification
Take profit achievement alert
Stop loss trigger warning
💡 Perfect For:
Futures traders using high leverage
Risk management analysis
Position sizing calculations
Trade planning and visualization
Educational purposes for understanding leverage impact
⚠️ Risk Disclaimer:
Futures trading involves substantial risk. This tool is for educational and planning purposes. Always trade responsibly and never risk more than you can afford to lose.
Smart RR Lot (Forex) — RR + Lot auto (Final v6 Stable)//@version=6
indicator("Smart RR Lot (Forex) — RR + Lot auto (Final v6 Stable)", overlay=true, max_lines_count=12, max_labels_count=12)
// ===== Paramètres du compte =====
acc_currency = input.string("EUR", "Devise du compte", options= )
account_balance = input.float(6037.0, "Solde du compte", step=1.0)
risk_pct = input.float(1.0, "Risque par trade (%)", step=0.1, minval=0.01)
// ===== Niveaux à placer sur le graphique =====
entry_price = input.price(1.1000, "Entry (cliquer la pipette)")
sl_price = input.price(1.0990, "Stop Loss (cliquer la pipette)")
tp_price = input.price(1.1010, "Take Profit (cliquer la pipette)")
// ===== Taille du pip (Forex) =====
isJPYpair = str.contains(syminfo.ticker, "JPY")
pip_size = isJPYpair ? 0.01 : 0.0001
// ===== Valeur du pip (1 lot = 100 000 unités) =====
pip_value_quote = 100000.0 * pip_size
quote_ccy = syminfo.currency
// ===== Conversion QUOTE → devise du compte =====
f_rate(sym) =>
request.security(sym, "D", close, ignore_invalid_symbol=true)
f_conv_to_account(quote, acc) =>
acc_equals = quote == acc
if acc_equals
1.0
else
r1 = f_rate(acc + quote)
r2 = f_rate(quote + acc)
float res = na
if not na(r1)
res := 1.0 / r1
else if not na(r2)
res := r2
else
res := 1.0
res
quote_to_account = f_conv_to_account(quote_ccy, acc_currency)
pip_value_account = pip_value_quote * quote_to_account
// ===== Calcul RR & taille de lot =====
stop_dist_points = math.abs(entry_price - sl_price)
tp_dist_points = math.abs(tp_price - entry_price)
distance_pips = stop_dist_points / pip_size
rr = tp_dist_points / stop_dist_points
risk_amount = account_balance * (risk_pct * 0.01)
lot_size = distance_pips > 0 ? (risk_amount / (distance_pips * pip_value_account)) : na
lot_size_clamped = na(lot_size) ? na : math.max(lot_size, 0)
// ====== Lignes horizontales ======
var line lEntry = na
var line lSL = na
var line lTP = na
f_hline(line_id, float y, color colr) =>
var line newLine = na
if na(line_id)
newLine := line.new(bar_index - 1, y, bar_index, y, xloc=xloc.bar_index, extend=extend.right, color=colr, width=2)
else
line.set_xy1(line_id, bar_index - 1, y)
line.set_xy2(line_id, bar_index, y)
line.set_color(line_id, colr)
line.set_extend(line_id, extend.right)
newLine := line_id
newLine
colEntry = color.new(color.gray, 0)
colSL = color.new(color.red, 0)
colTP = color.new(color.teal, 0)
lEntry := f_hline(lEntry, entry_price, colEntry)
lSL := f_hline(lSL, sl_price, colSL)
lTP := f_hline(lTP, tp_price, colTP)
// ===== Labels d’informations =====
var label infoLbl = na
var label lblEntry = na
var label lblSL = na
var label lblTP = na
txtInfo = "RR = " + (na(rr) ? "—" : str.tostring(rr, "#.##")) +
" | Lot = " + (na(lot_size_clamped) ? "—" : str.tostring(lot_size_clamped, "#.##")) +
" (" + acc_currency + ") " +
"Risque " + str.tostring(risk_pct, "#.##") + "% = " + str.tostring(risk_amount, "#.##") + " " + acc_currency
midY = (entry_price + tp_price) * 0.5
if na(infoLbl)
infoLbl := label.new(bar_index, midY, txtInfo, xloc=xloc.bar_index, style=label.style_label_right, textcolor=color.white, color=color.new(color.black, 0))
else
label.set_x(infoLbl, bar_index)
label.set_y(infoLbl, midY)
label.set_text(infoLbl, txtInfo)
entryTxt = "ENTRY " + str.tostring(entry_price, format.price)
slTxt = "SL " + str.tostring(sl_price, format.price)
tpTxt = "TP " + str.tostring(tp_price, format.price)
if na(lblEntry)
lblEntry := label.new(bar_index, entry_price, entryTxt, xloc=xloc.bar_index, style=label.style_label_down, textcolor=color.white, color=color.new(colEntry, 0))
else
label.set_x(lblEntry, bar_index)
label.set_y(lblEntry, entry_price)
label.set_text(lblEntry, entryTxt)
if na(lblSL)
lblSL := label.new(bar_index, sl_price, slTxt, xloc=xloc.bar_index, style=label.style_label_down, textcolor=color.white, color=color.new(colSL, 0))
else
label.set_x(lblSL, bar_index)
label.set_y(lblSL, sl_price)
label.set_text(lblSL, slTxt)
if na(lblTP)
lblTP := label.new(bar_index, tp_price, tpTxt, xloc=xloc.bar_index, style=label.style_label_down, textcolor=color.white, color=color.new(colTP, 0))
else
label.set_x(lblTP, bar_index)
label.set_y(lblTP, tp_price)
label.set_text(lblTP, tpTxt)
ICT Turtle SoupICT Turtle Soup identifies classic “failed breakout” reversals after liquidity sweeps of recent highs/lows, then augments the setup with volume validation, market structure context, Kill Zone (session) filters, Order Blocks (OB), Fair Value Gaps (FVG), OTE (61.8–78.6%) zones, and optional risk targets (SL/TP 1:1, 1:2, 1:3). A compact dashboard summarizes current context (recent high/low, lookbacks, active session, structure state, mitigation counts).
What the Script Does
⦁ Detects Turtle Soup events: Price breaks a prior swing extreme and then quickly reverses back inside the range.
⦁ Grades signal quality: Factors include reversal speed, volume confirmation, breakout magnitude, and consecutive patterns.
⦁ Overlays market context: Trend/range classification (ADX / MA / ATR Bands / Combined), Kill Zones (Asian/London/NY), and time-of-day filters.
⦁ Marks IMB / mitigation zones: Draws Order Blocks and Fair Value Gaps, with optional live mitigation tracking and fading/removal on mitigation.
⦁ Shows OTE zones (61.8–78.6%) after confirmed reversals to highlight potential pullback entries.
⦁ Plots risk management guides: Optional SL buffer below/above reversal wick and TP bands at 1:1, 1:2, 1:3 R multiples.
⦁ Emits alerts on bullish/bearish Turtle Soup confirmations.
How It Works (Conceptual)
1. Liquidity Sweep & Breakout Check
⦁ Looks back over user-defined windows (single or multiple lookbacks: short/medium/long) to find the most recent swing high/low.
⦁ Flags a breakout when price pierces that swing (above for bearish, below for bullish).
⦁ Optional breakout bar volume check requires volume > avg(volume, N) × multiplier.
⦁ Optional swing age check requires the broken swing to be at least X bars old.
2. Reversal Confirmation
⦁ Within N bars after the sweep, validates a mean-reversion close back inside the prior range with a minimum wick/body ratio to confirm rejection.
⦁ Quality Score adds points for:
⦁ Speed: reversal within fast_reversal_bars;
⦁ Volume: breakout and/or reversal volume spike;
⦁ Series: previous consecutive signals;
⦁ Magnitude: sufficient sweep distance.
⦁ Optional high-quality filter only shows signals meeting a minimum score.
3. Context Filters (Optional)
⦁ Sessions/Kill Zones: Only allow signals in selected sessions (Asian/London/NY) with fully custom HHMM inputs.
⦁ Time Window: Restrict to specific hours (e.g., 08–12).
⦁ Market Structure: Classify Trending vs. Ranging (via ADX, MA separation/slope, ATR bands, or Combined). You can allow signals in trends, ranges, or both.
4. Smart Confluence Layers
⦁ Order Blocks: Finds likely OBs with structural validation (e.g., bearish up-candle prior to down move), imbalance score (body/range × volume factor), and extend-until-touched with mitigation % tracking.
⦁ Fair Value Gaps: Detects valid 3-bar gaps (bull/bear) with size threshold, supports touch / 50% / full mitigation logic, and can fade or remove after mitigation.
⦁ OTE Zones: After a reversal, projects the 61.8–78.6% retracement box from the actual swing range; offset scales to timeframe to avoid clutter.
5. Risk & Display
⦁ SL/TP guides: Optional wick-buffered SL and 1:1/1:2/1:3 TPs.
⦁ Dashboard: Recent high/low, active lookbacks, current session, structure label, and live counts of mitigated OBs/FVGs.
Signals & Visuals
⦁ Bullish Turtle Soup: Triangle up + label (🐢S/M/L/D + star rating).
⦁ Bearish Turtle Soup: Triangle down + label (🐢S/M/L/D + star rating).
⦁ Labels can show: quality stars, FAST/SLOW reversal, reversal & breakout volume tags, previous consecutive count, and last move %.
⦁ Lines/Boxes: OBs, FVGs, OTE zones, SL/TP bands, and optional breakout magnitude line.
Inputs (Key Groups)
⦁ Turtle Soup: Lookbacks (single or S/M/L), reversal bars, wick ratio, magnitude line, reversal speed, volume confirmation (multiplier/length), consecutive tracking.
⦁ Order Blocks: Show/validate structure, lookback, extend-until-touched, mitigation % threshold, colors.
⦁ Fair Value Gaps: Show, min size %, colors, mitigation mode (Touch/50%/Full), optional remove-on-mitigation.
⦁ Kill Zones/Sessions: Enable Asian/London/NY with custom HHMM, colors.
⦁ OTE: Show OTE (61.8–78.6%), color, timeframe-adaptive offsets.
⦁ Signal Filters: Filter by session, time window, market structure method (ADX/MA/ATR/Combined), thresholds (ADX, MA periods, ATR multiplier), trending/ranging allowances, structure label & offset.
⦁ SL/TP: SL buffer %, TP 1:1/1:2/1:3 toggles & colors.
⦁ Breakout Validation: Require breakout-bar volume, min swing age, volume label toggles.
⦁ Alerts: Enable/disable.
⦁ Dashboard: Position, text size, colors, border.
How to Use
1. Markets & Timeframes: Works on FX, crypto, indices, and futures. Start with M5–H1 for intraday and H1–H4 for swing; refine lookbacks per instrument volatility.
2. Core Flow:
⦁ Enable multiple lookbacks for robustness on mixed volatility.
⦁ Turn on validate_swing_significance to avoid micro sweeps.
⦁ Use validate_breakout_volume + use_volume_confirmation to filter weak pokes.
3. Context Choice:
⦁ In ranging environments, allow both sides; in trends, consider counter-trend only at HTF OB/FVG/OTE confluence.
⦁ Narrow to London/NY for higher activity if desired.
4. Entries/Stops/Targets:
⦁ Entry on confirmed label close or at OTE pullback post-signal.
⦁ SL: below/above reversal wick + sl_buffer%.
⦁ TP: scale at 1:1/1:2/1:3 or manage via OB/FVG/structure breaks.
5. Confluence: Prefer Turtle Soup that aligns with OB/FVG zones and Combined structure method for added reliability.
Alerts
⦁ “Bullish Turtle Soup detected” and “Bearish Turtle Soup detected” fire on confirmation.
⦁ Set to Once Per Bar (as coded) or adjust in the alert dialog per your workflow.
Notes & Tips
⦁ Multiple lookbacks (S/M/L) help capture both shallow and deep liquidity sweeps.
⦁ Use market structure label with offset to keep it readable on the right of price.
⦁ Mitigation tracking visually communicates when OB/FVG confluence is no longer valid.
⦁ Dashboard = fast situational awareness; keep it on during live trading.
Limitations & Disclaimer
⦁ This tool is educational and not financial advice. No profitability or win-rate is implied. Markets carry risk; manage position size and test thoroughly.
⦁ Signal quality depends on market regime, spreads, news, and data quality. Backtests/forward-tests may differ.
⦁ Visual objects are capped for performance; old items may auto-clean to keep charts responsive.
Scalping Pro Max - BVKScalping Pro Max Strategy is a powerful intraday setup built for precision and speed.
It combines EMA 21, MACD, and RSI to identify short-term market momentum.
The 21 EMA acts as a dynamic trend filter — price above it signals bullish bias.
MACD confirms momentum strength and possible entry zones with crossover signals.
RSI helps spot overbought or oversold levels for accurate entry timing.
This setup works best on 1-min to 5-min charts for quick scalping opportunities.
Traders aim for small but consistent profits with tight stop-losses.
It avoids false breakouts by aligning all three indicators before entry.
Perfect for volatile sessions like London and New York market hours.
Scalping Pro Max delivers high-precision trades with disciplined execution and timing.
智能资金概念-SMCSmart Funding Concept
Smart Funding Concept
Smart Funding Concept
Smart Funding Concept
Smart Funding Concept
Structure Suite: BOS / CHoCH / FVG (v1.2.1-clean, CN, v6)SMC analysis. fast generating CHoCH, BoS, FVG onto chart,
Vegas++量能强度背景色覆盖整个K线区域,左侧为历史K线,右侧为最新K线,颜色随趋势强度实时变化。
绿色背景区间表示强势阶段,红色背景区间表示弱势阶段,便于视觉上快速识别趋势强弱的区间分布。
The currently referenced document name is: IFTA-The Most Powerful Indicator.pdf. Answer only based on the above document and ignore other documents as well as any discussions about other documents.
The background color covers the entire candlestick area, with historical candlesticks on the left and the latest candlesticks on the right. The color changes in real time according to the strength of the trend.
The green background range indicates a strong trend phase, and the red background range indicates a weak trend phase, which facilitates quick visual identification of the distribution of ranges with different trend strengths
Moderate Value Screener (NASDAQ + NYSE + TSX v6 FINAL CLEAN)Moderate Value Screener (NASDAQ + NYSE + TSX v6 FINAL CLEAN)
Pump-Smart Shorting StrategyThis strategy is built to keep your portfolio hedged as much as possible while maximizing profitability. Shorts are opened after pumps cool off and on new highs (when safe), and closed quickly during strong upward moves or if stop loss/profit targets are hit. It uses visual overlays to clearly show when hedging is on, off, or blocked due to momentum, ensuring you’re protected in most market conditions but never short against the pump. Fast re-entry keeps the hedge active with minimal downtime.
Pump Detection:
RSI (Relative Strength Index): Calculated over a custom period (default 14 bars). If RSI rises above a threshold (default 70), the strategy considers the market to be in a pump (strong upward momentum).
Volume Spike: The current volume is compared to a 20-bar simple moving average of volume. If it exceeds the average by 1.5× and price increases at least 5% in one bar, pump conditions are triggered.
Price Jump: Measured by (close - close ) / close . A single-bar change > 5% helps confirm rapid momentum.
Pump Zone (No Short): If any of these conditions is true, an orange or red background is shown and shorts are blocked.
Cooldown and Re-Entry:
Cooldown Detection: After the pump ends, RSI must fall below a set value (default ≤ 60), and either volume returns towards average or price momentum is less than half the original spike (oneBarUp <= pctUp/2).
barsWait Parameter: You can specify a waiting period after cooldown before a short is allowed.
Short Entry After Pump/Cooldown: When these cooldown conditions are met, and no short is active, a blue background is shown and a short position is opened at the next signal.
New High Entry:
Lookback New High: If the current high is greater than the highest high in the last N bars (default 20), and pump is NOT active, a short can be opened.
Take Profit (TP) & Stop Loss (SL):
Take Profit: Short is closed if price falls to a threshold below the entry (minProfitPerc, default 2%).
Stop Loss: Short is closed if price rises to a threshold above the entry (stopLossPerc, default 6%).
Preemptive Exit:
Any time a pump is detected while a short position is open, the strategy closes the short immediately to avoid losses.
Visual Feedback:
Orange Background: Market is pumping, do not short.
Red Background: Other conditions block shorts (cooldown or waiting).
Blue Background: Shorts allowed.
Triangles/Circles: Mark entries, pump start/end, for clear trading signals.
Pump-Smart Shorting StrategyThis strategy is designed for actively hedging long token positions by opening and closing short positions in response to market momentum, specifically after strong upward moves ("pumps"). It incorporates momentum detection, cooldown logic, and avoids shorting during periods of high volatility or when a pump is active. The script includes risk management, visual feedback zones for operational states, and a control panel for real-time diagnostics.
How The Strategy Works
1. Pump Detection
The strategy monitors for strong upward moves using:
- RSI (Relative Strength Index): A value ≥ 70 signals strong buying momentum.
- Volume: If current volume exceeds 1.5× the average, combined with a single-bar price jump > 5%.
- When these pump conditions are met, the strategy blocks shorts and colors the background orange.
2. Pump End and Cooldown
Once pump conditions cease, the strategy enters a cooldown phase:
RSI must drop to ≤ 60.
Either the price momentum slows or volume returns to near average.
Users can set a waiting period (barsWait) after the pump ends before entering shorts.
3. Short Trade Entry
Shorts are opened only if:
- The pump has ended and cooldown conditions are met (shortAfterPump).
- Or a new high is established and no pump is underway (shortOnPeak).
Visual indicators:
Blue arrow for "short after pump".
Red arrow for "short on a new high".
4. No-Short Zones
A red background flag indicates zones where shorting is blocked:
If pump conditions are active.
If market is still cooling down post-pump.
If the cooldown period (barsWait) hasn't elapsed.
5. Position Management & Risk Controls
The script only opens a short if no short is currently active.
Take Profit (green line): Short closes if price falls ~2% below the short entry.
Stop Loss (red line): Short closes if price rises ~6% above the entry.
If a pump is detected while in a short, the position is closed immediately to mitigate risk.
6. Real-Time Visual Feedback
Shapes Above Bars:
Orange circle: pump start
Teal circle: pump end
Blue triangle: short after pump
Red triangle: short on new high
Overlay Lines:
Blue line: active short entry price
Green line: take profit threshold
Red line: stop loss threshold
Background Colors:
Orange: pump zone (no shorts)
Blue: post-pump entry zone
Red: no-short zone (visual block for restricted shorts)
Info Panel (top right): Shows pump status, cooldown, entry opportunities, and whether shorting is blocked.
Customization Parameters
lookbackPeriod: Bars to look back for new highs
minProfitPerc: Take profit percent on shorts
stopLossPerc: Maximum allowed loss percent before stop out
rsiPeriod, rsiHigh, rsiCool: Momentum detection/cooldown tuning
volMult, pctUp: Volume and price jump sensitivity for pump detection
barsWait: Number of bars to wait post-pump before allowing shorts
hedgeTokens: Short position size per entry
Use Cases
Active Hedging: For users managing large, illiquid spot positions who want to systematically hedge risk after large upward moves.
Momentum-Aware Shorting: Ensures shorts are only entered after euphoria cools, tactics for avoiding squeeze/liquidation risk.
Visual Diagnostics: Clear overlays and color codes for trading zones, signal clarity, and operational feedback.
Strategy Logic Summary
Condition Action Visual Feedback
Pump detected Block shorts, close shorts Orange/red background
Pump ended, cooled Enable shorts Blue background, arrow
New high (no pump) Allow short entry Red arrow
Take profit reached Close short Green line
Stop loss reached Close short Red line
Blocked zone No shorts allowed Red background
This script is robust for market environments with frequent volatility spikes, giving traders a clear, rule-based template for short-side risk management.Documentation: Short After Pump Ends Strategy
Purpose: This Pine Script strategy allows you to hedge long token positions by opening shorts after strong price pumps finish and during market consolidations. It is designed to minimize risk from short squeezes and avoid shorting during active pumps.
Key Features:
Pump Detection:
Uses RSI, volume, and single-bar price jump to detect if the market is in an upward pump.
No short positions are opened during these zones. Red background visually highlights these periods.
Orange background highlights active pump zones.
Cooldown Logic:
Shorts are only opened after the pump has ended and the market has cooled down (RSI ≤ 60, volume and momentum returned to normal).
You can set how many bars to wait after the pump ends (barsWait) before shorts can be placed again.
Short Entry Triggers:
Short After Pump: When cooldown completes and no short position is active.
Short on New High: If a new high is formed and no pump is active (optional; keep for more frequent entries).
Risk Management:
Take Profit (TP): Short closes if market falls the specified percentage from entry.
Stop Loss (SL): Short closes if market rises the specified percentage.
If a pump is detected while in a short, the short is closed immediately.
Visuals and Feedback:
Shape markers for pump start/end, short entries (arrows) — without labels for clean visuals.
Colored overlays:
Orange = pump zone (no shorting)
Blue = post-pump short entry zones
Red = no-short zones (blocked periods)
Panel widget displays pump status, cooldown, opportunities, and zone state.
Parameters:
lookbackPeriod: Number of bars for new high detection.
minProfitPerc: Take profit percentage for shorts.
stopLossPerc: Max loss percentage before the short is stopped.
rsiPeriod, rsiHigh, rsiCool: Controls for pump/cooldown detection.
volMult, pctUp: Volume and price jump detection for identifying pumps.
barsWait: Wait time after pump ends before shorts are allowed.
hedgeTokens: Number of tokens to use for each short position.
Logic Summary Table:
Market Condition Action Visual Feedback
Pump detected No shorts/open, close shorts Orange/red overlay
Pump ended and cooled Shorts enabled (entry) Blue overlay, no short zone removed
New high while not pumping Shorts enabled (entry) Red arrow
TP or SL hit Short closed Green/red line overlay
Blocked periods No short allowed Red overlay
Usage:
- Deploy this strategy to minimize drawdown from post-pump reversals.
- Identify and avoid risky periods with clear overlays and marker signals.
- Actively hedge positions only when market is not in a strong upward momentum.
Customizable for:
- More conservative/aggressive pump detection (change RSI/volume/price thresholds).
- Adaptable to different token sizes and market environments (modify hedgeTokens, waiting periods, percent thresholds).
Porsched Indicator🔧 Core Components:
1. Moving Averages with Clouds
EMA 25, 50, 75, and 150 with standard deviation bands
Visual clouds representing volatility around each EMA
Customizable colors for each average and its cloud
2. Dual Hull Bands
Two separate Hull bands with different periods (20 and 110)
Multiple variations: HMA, THMA, EHMA
Colored filling between Hull lines
Option to use higher timeframes for multi-timeframe analysis
3. Swing High/Low Detector
Identifies significant price reversal points
Configurable swing strength (default: 5 bars)
Solid lines for current swings and dotted for past ones
Alerts when swing levels are broken
4. Volume Analysis (PVSRA)
Vector Candles that change color based on volume:
Red/Green: Volume ≥ 200% of average or highest spread×volume
Blue/Violet: Volume ≥ 150% of average
Gray: Normal conditions
Vector Candle Zones (VCZ): Key areas based on volume candles
5. Daily & Weekly Levels
Previous day's high and low
Previous week's high and low
Stepline display with optional labels
6. UT Bot - Trailing Stop
Dynamic ATR-based stop loss
Bar coloring based on trend direction
Adjustable sensitivity via "Key Value"
7. Session Detector
Identifies session highs/lows (Sydney, Asia, Europe, etc.)
Visual boxes marking each trading session
⚙️ Customization Features:
Individual color schemes for all elements
Adjustable line thickness
Custom transparency settings
Flexible calculation periods
Multiple timeframe options
🎯 Trading Applications:
Trend Identification (EMAs + Hull)
Entry/Exit Points (Swings + Volume)
Risk Management (Trailing Stop)
Support/Resistance (VCZ + Highs/Lows)
Market Timing (Sessions + Volume)
💡 Key Benefits:
All-in-One Solution: Eliminates indicator clutter
Multi-Timeframe Analysis: Built-in higher timeframe data
Visual Clarity: Clean, organized display with color coding
Customizable Alerts: Swing break and trend change notifications
Professional Grade: Institutional-level volume analysis
This indicator is designed for traders who want a comprehensive market analysis tool without the complexity of managing multiple separate indicators, providing holistic market insight through different technical perspectives.
TKM 1 - EMA + RSI + MACD Combokaliamoorthy thangaiyan 3 in 1, THIS INDICATOR WILL HELP TO GET 90% TO TRADE
FMFM60الوصف بالعربية:
هذا المؤشر متقدم ويعرض اتجاه السوق والترند بشكل واضح، ويحدد مناطق العرض والطلب (Supply & Demand) بالإضافة إلى فجوات القيمة العادلة (FVG). يوفر إشارات شراء وبيع (Call و Put) عند كسر أو اختراق المستويات الهامة. كما يحدد أهدافًا ومستويات دعم ومقاومة رئيسية. المؤشر مناسب لجميع المتداولين الراغبين في تحليل السوق بدقة واتخاذ قرارات تداول مستنيرة.
الوصف بالإنجليزية:
This is an advanced indicator that clearly displays the market direction and trend, and identifies Supply & Demand zones along with Fair Value Gaps (FVG). It provides Buy and Sell signals (Call and Put) when key levels are broken or breached. It also defines targets and major support and resistance levels. The indicator is suitable for all traders who want precise market analysis and informed trading decisions.