Liquidity-Weighted Business Cycle (Satoshi Global Base)🌍 BTC-Affinity Global Liquidity Business Cycle (MACD Model)
This indicator models Bitcoin’s macroeconomic business cycle using a BTC-weighted global liquidity index as its foundation. It adapts a MACD-based framework to visualize expansions and contractions in fiat liquidity across major economies with high Bitcoin affinity.
🔍 What It Does:
🧠 Constructs a Global M2 Liquidity Index from the top 10 most BTC-relevant fiat currencies
(USD, EUR, JPY, GBP, INR, CNY, KRW, BRL, CAD, AUD)
— each weighted by its Bitcoin adoption score and FX-converted into USD.
📊 Applies a MACD (Moving Average Convergence Divergence) signal to the index to detect macro liquidity trends.
🟢 Plots a histogram of business cycle momentum (red = expansion, green = contraction).
🔴 Marks potential cycle peaks, useful for macro trading alignment.
⚖️ BTC Affinity-Weighted Countries:
🇺🇸 United States
🇪🇺 Eurozone
🇯🇵 Japan
🇬🇧 United Kingdom
🇮🇳 India
🇨🇳 China
🇰🇷 South Korea
🇧🇷 Brazil
🇨🇦 Canada
🇦🇺 Australia
Weights are user-adjustable to reflect evolving capital controls, regulation, and real-world BTC adoption trends.
✅ Use Cases:
Confirm macro risk-on vs risk-off regimes for BTC and crypto.
Identify ideal entry and exit zones in macro pair trades (e.g., MSTR vs MSTY).
Monitor how global monetary expansion feeds into BTC valuations.
Forecasting
Renko Open Range 𝛥
Delta Renko-Style Indicator Guide (NQ Focus)
This indicator takes inspiration from the Renko Chart concept and is optimized for the RTH session (New York time zone), specifically applied to the Nasdaq futures (NQ) product.
If you’re unfamiliar with Renko charts, it may help to review their basics first, as this indicator borrows their clean, block-based perspective to simplify price interpretation.
⸻
🔧 How the Indicator Works
• At market open (9:30 AM EST), the indicator plots a horizontal open price line, referred to as 0 delta.
• From this anchor, it plots 10 incremental levels (deltas) both above and below the open, each spaced by 62.5 NQ points.
Why 62.5?
• With NQ currently trading in the 23,000–24,000 range, a 62.5-point move represents roughly 0.26% of the daily average range.
• This makes each delta step significant enough to capture movement while filtering out smaller noise.
A mini table (location adjustable) displays:
• Current delta zone
• Last touched delta level
This gives you a quick snapshot of where price sits relative to the open.
⸻
📈 How to Read the Market
• At the open, price typically oscillates between 0 and +1 / -1 delta.
• A break beyond this zone often signals stronger directional intent:
• Trending day: price can push into +2, +3, +4, +5 (or the inverse for downside).
• Range day: expect price to bounce between +1, 0, -1 deltas.
⚠️ Note: This is a visualization tool, not a trading system. Its purpose is to help you quickly recognize range vs. trend conditions.
⸻
📊 Example
• In this case, NQ reached +1 delta shortly after open.
• A retest of 0 delta followed, and price later surged to +5/+6 deltas (helped by Fed news).
⸻
🛠️ Practical Uses
This indicator can help you:
• Define profit targets
• Place hard stop levels
• Gauge whether a counter-trend trade is worth the risk
⚠️ Caution: Avoid counter-trend trades if price is aggressively pushing toward +5/+6 or -5/-6 deltas, as trend exhaustion usually hasn’t set in yet.
⸻
🔄 Adapting for ES (S&P Futures)
• On NQ, 62.5 points ≈ $1,250 per contract.
• For ES, this translates to 25 points.
• Since 1 NQ contract ≈ 2 ES contracts in dollar terms, an optimized ES delta step would be 12.5 points.
You may also experiment with different delta values (e.g., 50 or 31.25 for NQ) to align with your risk profile and trading style.
⸻
🧪 Extending Beyond NQ
You can experiment with applying this indicator to ES or even stocks, but non-futures assets may require additional calibration and testing.
⸻
✅ Bottom line: This tool provides a clean, Renko-inspired framework for quickly gauging trend vs. range conditions, setting realistic profit targets, and avoiding poor counter-trend setups.
AndrologQuartileAndrologQuartile
This indicator is based on the assumption that if a candle closes in the upper or lower quartile of its range, the next candle often tends to take out the high or low of that candle.
The script does two things:
It calculates and displays live statistics on how often this condition occurs and how often it is successful.
It highlights candles that meet the quartile condition so you can track them in real time.
It is most meaningful to use this indicator on higher timeframes (from 1h upwards).
You can also set an alert: once configured, the alert will always trigger for the timeframe that was active at the moment of setup.
Usage tip:
Click the statistics panel in the top right corner to adjust settings and alerts.
Adjustable parameters:
Quartiles: Default values are 25% and 75%.
Min Distance: Defines how far the high/low must be from the candle’s close (in %) to be considered relevant. A smaller value is applied automatically on intraday timeframes under 5 minutes.
Daily Open & ATR Levels + Monthly/Weekly VWAP V2.0ore Functions:
Customisable ATR Levels
4 adjustable ATR percentage levels (default: 25%, 50%, 75%, 100%)
Creates 8 dynamic support/resistance lines around daily open price
Fully customisable from 0% to 200% in 5% increments
Anchored VWAP
Monthly VWAP: Resets at the beginning of each month
Weekly VWAP: Resets every Monday (after Friday close)
Toggle on/off for each VWAP independently
Smart Fill Zones
Weekly Fill: Highlights when Weekly VWAP is within Level 1 ATR range
Monthly Fill: Highlights when Monthly VWAP is within Level 2 ATR range
Customisable colors and transparency for each fill zone
Key Features:
Daily open price reference line (blue)
Step-line style for clean visualisation
Individual color controls for all levels
Works on any timeframe (uses daily ATR data)
Perfect for intraday and swing trading strategies
Use Cases:
Identify key support/resistance zones based on volatility
Spot VWAP convergence with ATR levels for potential reversals
Set profit targets and stop losses using ATR multiples
Analyze price action relative to daily open and volume-weighted averages
This indicator combines volatility-based levels with volume-weighted price analysis for comprehensive market structure visualisation.
5 min SMC Scalping [AlexSvet]Scalping for 5 minute chart.
SMC based signals.
Light and clear indicator.
⛓️ Scalping (5-15) Fusion Signals — soft SELL/BUY [AlexSvet]Signals for scalping 5-15 minutes — soft SELL/BUY.
settings there is a checkbox ✅ "Consider volume filter in signal?".
If enabled → signals only when volume is confirmed.
If disabled → BUY/SELL arrows appear more often (volume is only displayed in the table).
Alerts work for both options.
X-Liquid by Logicat✨ X-Liquid: Smart Supply & Demand Liquidity Boxes (H4 Breakout Model)
X-Liquid is a smart supply & demand tool designed to highlight hidden liquidity zones and fake-out traps with high accuracy.
This indicator is based on the H4 breakout rule — a proven institutional-level concept for detecting where market makers leave pending orders, and where intraday price action is most likely to react.
🔑 Core Features
📦 Smart Demand/Supply Boxes: Automatically detects the most significant breakout bars and marks the hidden “max pain” zones using strong engulfing rule.
🎯 Fake-out Capture: Distinguishes between false breakouts and true liquidity grabs, showing the corrected liquidity pool range (X-Liquid).
⚡ Intraday Precision: Adapts the higher timeframe (H4) breakout logic into lower timeframes, letting you anticipate intraday trends and ranges with high probability.
📊 Liquidity Pool Prediction: Predicts pending orders area where the market is attracted to.
🎨 Clean chart visualization: Only the significant boxes are displayed, helping to differentiate good area to enter and obstacles to keep an eye on.
✅ How to Use
1. Switch to any intraday timeframe (M15–H1).
2. Watch the H4 breakout boxes: these represent intraday trend and market price range.
3. If price fakes out, the indicator will adjust and highlight the true X-Liquid pool — the real level where liquidity sits.
4. Use these zones to anticipate intraday reversals, continuations, and high-probability setups.
5. Wisely use the supply demand boxes to get sniper entry.
Vwapbot (VWAP + Ut Bot Alerts)Vwapbot (VWAP + Ut Bot Alerts) - Complete Guide
This Pine Script indicator combines two powerful trading tools: Volume Weighted Average Price (VWAP) and the UT Bot trend-following system. Here's a comprehensive breakdown:
What This Indicator Does
The indicator provides:
1. VWAP calculation with deviation bands
2. UT Bot trend signals with trailing stops
3. Combined confluence alerts when both indicators align
4. Visual information table showing current market conditions
Core Components
1. VWAP (Volume Weighted Average Price)
What it is: VWAP calculates the average price weighted by volume, giving more importance to high-volume periods.
Settings:
• VWAP Source: Price used for calculation (default: hlc3 - average of high, low, close)
• VWAP Anchor: Reset period (Session/Week/Month/Quarter/Year)
Usage:
• Price above VWAP = bullish bias
• Price below VWAP = bearish bias
• VWAP acts as dynamic support/resistance
2. VWAP Deviation Bands
What they show: Statistical boundaries around VWAP based on price volatility
Settings:
• Standard Deviation Multiplier: How far the bands extend (default: 1.0)
• Show Bands: Toggle visibility
Usage:
• Gray dashed lines: 1 standard deviation bands (normal price range)
• Red dotted lines: 2 standard deviation bands (extreme price levels)
• Price touching outer bands may indicate reversal opportunities
3. UT Bot (Ultimate Trend Bot)
What it does: Creates a trailing stop system that follows trends and signals reversals
Settings:
• Key Value: Sensitivity multiplier (1.0 = balanced, lower = more sensitive)
• ATR Period: Lookback period for volatility calculation (default: 10)
How it works:
• Uses ATR (Average True Range) to calculate dynamic support/resistance levels
• Green line = uptrend (trailing stop below price)
• Red line = downtrend (trailing stop above price)
4. UT Bot Alerts are integrated to the logic of Volume Profile i,e VWAP, the UT Bot Stop trailing line plot its data and change trends obtaining it's logic from the VWAP and Standard Deviation bands, thus it differs in it's logic of UT Bot alerts from other indicators.
Visual Elements
On-Chart Displays:
1. Blue line: VWAP
2. Gray lines: 1st deviation bands
3. Red lines: 2nd deviation bands
4. Green/Red thick line: UT Bot trailing stop
5. Green triangles up: Buy signals
6. Red triangles down: Sell signals
7. Background color: Light green (bullish) / Light red (bearish)
Information Table (Top Right):
• VWAP: Current VWAP value
• UT Bot: Current trailing stop level
• Trend: Bullish/Bearish status
• Price vs VWAP: Above/Below comparison
• Deviation: Percentage distance from VWAP
• Volume: Current bar volume
Trading Signals
Basic Signals:
1. UT Bot Buy: Green triangle when trend turns bullish
2. UT Bot Sell: Red triangle when trend turns bearish
3. VWAP Cross Above: Price crosses above VWAP
4. VWAP Cross Below: Price crosses below VWAP
Confluence Signals :
1. Bullish Confluence: UT Bot buy signal + Price above VWAP
2. Bearish Confluence: UT Bot sell signal + Price below VWAP
How to Use This Indicator
For Trend Following:
1. Enter long when you get a bullish confluence signal
2. Enter short when you get a bearish confluence signal
3. Exit when the UT Bot trend changes color
For Mean Reversion:
1. Look for reversals when price hits the 2nd deviation bands
2. Confirm with UT Bot signals
3. Target return to VWAP
For Support/Resistance:
1. Use VWAP as dynamic support in uptrends, resistance in downtrends
2. Watch for bounces at deviation bands
3. Confirm direction with UT Bot trend color
Best Practices
Timeframes:
• Intraday: Use Session VWAP anchor
• Swing trading: Use Weekly/Monthly anchors
• Position trading: Use Monthly/Quarterly anchors
Risk Management:
• Stop loss: Below/above the UT Bot trailing stop
• Position sizing: Smaller positions when price is at extreme deviation bands
• Confluence: Wait for both VWAP and UT Bot alignment for strongest signals
Market Conditions:
• Trending markets: Focus on UT Bot signals and VWAP direction bias
• Ranging markets: Use deviation bands for entry/exit points
• High volume periods: VWAP becomes more significant
Alert System
The indicator provides 6 types of alerts:
1. UT Bot buy/sell signals
2. VWAP crossover alerts
3. Confluence alerts (most important)
Set up alerts for confluence signals to catch the highest probability setups when both indicators align.
This indicator works best when combined with proper risk management and used in conjunction with market structure analysis. The confluence signals provide the highest probability entries, while the individual components help with market.
Advice from the publisher:
For using with Indices e.g NIFTY 50, BANKNIFTY etc. use parameters:
UT BOT Key Value : 1
UT BOT ATR Period : 10
Standard Deviation Multiplier : 1 {Default}
For using with commodities e.g NATURALGAS, CRUDEOIL etc. use parameters:
UT BOT Key Value : 2
UT BOT ATR Period : 7
Standard Deviation Multiplier : 1 {Default}
Multi Channel GRID & DCA LTF [trade_lexx]Multi Channel GRID & DCA LTF
Usage Guide
Part 1: The concept and general possibilities of the "Multi Channel GRID & DCA LTF" strategy
Introduction
Welcome to the guide to "Multi Channel GRID & DCA LTF", a powerful and versatile automated trading strategy for the TradingView platform. This tool was developed for traders who are looking for flexibility, control and a high degree of adaptability to various market conditions.
The strategy is based on a hybrid approach that combines two popular and time-tested techniques.:
1. GRID (grid trading): The classic method of averaging a position is by placing a grid of limit orders.
2. DCA (Dollar Cost averaging): Smart position averaging based on signals from external indicators.
However, "Multi Channel GRID & DCA LTF" goes far beyond the simple combination of these two techniques. The strategy includes a number of unique and innovative features, such as cascading MultiGRID grids for dealing with extreme volatility, Channel Mode range trading mode for profiting from sideways movement, and Low Time Frame analysis (LTF) to achieve surgical accuracy in backtesting. Deep customization options for risk management, capital, take profits, and stop losses allow you to configure a strategy for almost any trading style, asset, and timeframe.
The basic idea: How does it work?
Let's take a detailed look at each of the key concepts embedded in the logic of the strategy.
1. GRID — Automatic placement of buy and sell orders at certain price intervals.
This is a fundamental mode of operation. Its main goal is to systematically improve the average entry price for a position if the market is going against you.
* The principle of operation: After opening the base (first) order (`BO`), the strategy automatically places a series of pending limit orders (here they are called "safety orders" or "SO") at certain price intervals. For a long position, orders are placed below the entry price, and for a short position, orders are placed higher.
* Target: When the price moves against an open position, it consistently hits and executes safety orders. Each such execution adds additional volume to the position at a more favorable price, thereby shifting the overall average entry price (`position_avg_price') closer to the current market price. This means that a much smaller corrective movement will be required to gain ground.
* Flexibility: You have full control over the geometry of the grid: the number of safety orders, the percentage distance between them (`SO Step`), and you can even set a coefficient that will increase this step for each subsequent order (`SO Multiplier`), creating an expanding grid.
2. DCA (Signal Averaging) — Smart Averaging
This mode adds an additional layer of analysis to the averaging process. Instead of just buying/selling at the set price levels, the strategy waits for a confirmation signal.
* Working principle: You can connect any external indicator (for example, RSI, CCI, or even your own complex signal system) to the strategy, which outputs numerical values. As standard, 1 is used for a long signal, and -1 is used for a short signal. The strategy will place the next averaging order only at the moment when it receives the appropriate signal.
* Goal: To average a position not just during a fall (or a rise for a short), but at the moments that your main trading system considers the most favorable for this. This allows you to avoid "catching falling knives" and enter only if there are good reasons.
3. Hybrid Mode (GRID+DCA) is the best of the previous two modes
This mode is designed for maximum filtering and control. It requires two conditions to be fulfilled simultaneously.
* Working principle: The safety order will be executed only if the price has reached the calculated grid level and a confirmation signal has been received from your external indicator. If a confirmation signal is received from an external indicator, the next calculated grid level activates the limit order.
* Goal: To create the most reliable averaging system that protects against premature entries and requires double confirmation (both by price and indicator) before increasing the position size.
4. MultiGRID — Adaptation to extreme volatility
This is one of the most powerful and unique features of a strategy designed to survive and make a profit in the face of strong, protracted trends or "black swans".
* The problem it solves: The usual grid of orders has a limited depth. If the price goes beyond the last safety order, the strategy loses the opportunity to average and becomes vulnerable.
* The principle of operation: The MultiGRID function allows you to create "cascades" — several grids following one another. When all the orders of the first grid are executed, the strategy does not stop. Instead, she can activate the second, third (and so on) a grid of orders. The new grid can be activated by one of two triggers:
1. Offset: The new grid is activated when the price passes another set percentage deviation from the last executed order.
2. Signal: The new grid is activated when a signal is received from an external indicator.
* Goal: To significantly expand the working range of the strategy. This allows it to adapt to strong market movements that would "break" the usual grid, and continue to effectively average a position at a much greater depth of decline or growth.
5. Channel Mode — Trading in the range
This feature turns a standard averaging strategy into a machine for "farming" profits within a price channel that is formed during a sideways market movement.
* The problem it solves: In the standard grid strategy, after partially closing a take profit position, the volume of this part "leaves" the trade until the deal is fully closed. You are missing the opportunity to reuse this capital.
* Operating principle: When Channel Mode is enabled, the following happens. Suppose the price went against you, executed several safety orders, and then turned around and reached one of the partial take profits. At this point, the strategy is:
1. Fixes the profit, as it should be.
2. Instantly places a new limit order to buy (or sell for a short) at exactly the same price level where the last triggered safety order was executed. The volume of this order is equal to the volume of the part that was just closed for take profit.
3. If the price goes down again and executes this "repeat" order, the strategy immediately sets a corresponding take profit for it at the level where the previous profit was taken.
* Goal: To create a continuous buy-sell cycle within the local range (channel). The lower limit of the channel is the price of the last averaging, and the upper limit is the price of a partial take profit. This allows you to repeatedly profit from sideways price fluctuations, without waiting for the full closure of the main, large transaction.
6. LTF (Lower Timeframe Analysis) — Surgical precision of backtesting
This feature is critically important for obtaining reliable results during historical testing (backtesting) of grid strategies.
* The problem it solves: The standard testing mechanism in TradingView has a serious limitation. Working, for example, on a 4-hour chart, he sees only 4 candle points: Open, High, Low and Close. He does not know in what order the price moved within these 4 hours. He could have touched High first and then Low, or vice versa. For grid strategies, this is fatal — the engine can show that a take profit has been executed, although in reality the price first went down, collected the entire grid of orders and only then turned around.
* How it works: When you turn on the LTF mode, the strategy for each candle on your main chart (for example, 4H) requests and analyzes all candles from the lower timeframe you specified (for example, 1-minute). Then it virtually trades the entire price path for these minute candles, executing orders, take profits and stop losses in the sequence in which they would occur in reality. It works in the single take profit mode of the Grid strategy.
* Goal: To provide the most realistic and reliable backtest that reflects the real dynamics of the market. This allows you to avoid false expectations and accurately assess the potential performance of the strategy.
// ------------------------
Part 2: Detailed description of the strategy settings
This section is your main guide to all the switches and options available in the strategy. Understanding each setting is the key to unlocking the full potential of this powerful tool.
1. 🛡️ Risk Management 🛡️
This group contains fundamental parameters that determine the basic logic of risk management and the geometry of grid orders.
* Strategy type: Determines the direction of transactions.
* Long: The strategy will only open long positions (buy).
* Short: The strategy will only open short positions (sell).
* Both: The strategy will work both ways, opening long or short depending on the incoming signal.
* SO Count: Sets the maximum number of Safety (averaging) Orders (SO) that the strategy will place within the same grid. If you have MultiGRID enabled, this number applies to each individual grid.
* SO Step (%): This is the base percentage deviation from the entry price at which the first safety order will be placed. For example, at a value of 0.5, the first SO in a long trade will be placed 0.5% lower than the opening price of the base order.
* SO Multiplier: A coefficient that exponentially increases the step for each subsequent safety order. This allows you to create an expanding grid where averaging orders are placed further and further apart, which is effective with strong and accelerating price movements.
* *The step formula for the nth order*: Step(N) = (SO Step) * (SO Multiplier ^(N-1)).
* If the value is 1, all steps will be the same.
* With a value of 1.6, the step of the second SO will be 1.6 times larger than the first, the step of the third will be 1.6 times larger than the second, and so on.
* 1️⃣ TP/SL: These are simplified settings for quick configuration. They allow you to turn on/off the main take profit and stop loss and set basic percentage values for them. More detailed settings for these parameters can be found in the relevant sections below.
// ------------------------
2. 💰 Money Management 💰
Everything related to position size, leverage, and capital is configured here.
* Volume BO (Base Order): Determines the size of the trade's opening order.
* Volume BO: A fixed amount in the quote currency (for example, in USDT).
* USDT (check mark): Manages the information in the comments to the orders. If enabled, the volume of orders in USDT will be displayed in the comments. This is convenient for visual analysis and for sending the amount of USDT by the placeholder {{strategy.order.comment}} via webhooks when connecting the strategy to the exchange or trading terminals.
* or % of deposit: The amount calculated as a percentage of the available capital of the strategy. The check mark to the right of this field enables this mode. Important: using a percentage activates the effect of compounding (compound interest), as the amount of each new transaction will be automatically recalculated based on the current capital (initial capital + profit/loss). If enabled, the percentage of orders will be displayed in the comments. This is convenient for visual analysis and for sending percentages on the placeholder {{strategy.order.comment}} via webhooks when connecting the strategy to the stock exchange, trading terminals, or creating Copy trading.
* Martingale: The coefficient applied to the volume of orders. It increases the size of each subsequent insurance order compared to the base one.
* Volume formula for the nth SO: Volume SO (N) = (Volume BO) * (Martingale^N).
* With a value of 1.2, the volume of the first SO will be 1.2 times greater than the base, the second — 1.44 times (`1.2 * 1.2`) and so on.
* Leverage: Specify the size of your leverage. This parameter is used exclusively for calculating and displaying the approximate liquidation price. It does not affect the size of positions, but it helps to visually assess the risks.
* Liquidation: Enables or disables the calculation and display of the liquidation line on the chart.
* Margin type: Allows you to select a method for calculating the liquidation price, simulating the logic of exchanges:
* Isolated: The liquidation price is calculated based on the size and leverage of the current open position only.
* Cross: The calculation simulates using the entire available balance to maintain a position. In the strategy, the liquidation price is calculated as the level at which the loss on the current transaction is equal to the current capital.
* Commission (%): Specify the percentage of your exchange's commission per transaction. The correct value of this parameter is crucial for obtaining realistic backtest results.
// ------------------------
3. 🕸️ Grid Management 🕸️
This group is responsible for the logic of safety orders and advanced mechanics such as Channel Mode and MultiGRID.
* SO Type: Defines the logic of placing averaging orders.
* GRID: Classic grid. All safety orders are placed in advance as limit orders.
* DCA: Signal averaging. The strategy is waiting for a signal from an external indicator to place a market averaging order.
* GRID+DCA: Hybrid. The strategy waits for a signal, and if it arrives, places a limit order at the appropriate price level of the grid or executes a market order if the signal has arrived below the limit order level.
* Signal for SO: A data source (indicator) that will be used for signals in DCA and GRID+DCA modes.
* ↔️ Channel Mode: When this option is enabled, the strategy tries to trade in a sideways range. After partially closing a take profit position, it immediately places a limit order for re-entry at the price of the last triggered safety order. This creates a buy-sell cycle within the local channel.
* Best Price Only: This filter adds an additional condition for averaging in DCA and MultiGRID modes (when it operates on a signal). The next averaging order or a new grid will be activated only if the current price is more favorable (lower for long, higher for short) than the price of the previous entry.
* 🧩 MultiGRID ⮕ Enables cascading grid mode.
* Grid Count: The total number of grids that can be activated sequentially.
* Offset: Percentage deviation from the price of the last order of the previous grid. When this margin is reached, the following grid of orders is activated (this mode does not require a signal).
* Or signal: Allows you to use the signal from an external indicator as a trigger to activate the next grid. The checkmark on the right turns on this mode.
// ------------------------
4. 🎯 Entry and Stop 🎯
This group of settings allows you to fine-tune the conditions for starting a new trade and all aspects related to protective stop orders, including the complex mechanics of trailing and managing SL after partial take profits.
* 🎯 Signal: A data source (indicator) that will be used to determine when to enter a trade. The strategy expects a value of 1 for the start of a long trade and -1 for a short trade.
* Min Bars: Sets the minimum number of candles that must pass from the moment of opening the previous trade to the moment of opening the next one. A value of 0 disables this filter. This is a useful tool to prevent overly frequent entries in a "noisy" market.
* Non-stop: If this option is enabled, the strategy ignores the Entry Signal and opens a new trade immediately after closing the previous one (taking into account the Min Bars filter, if it is set). This turns the strategy into a constantly working mechanism that is always on the market.
* 🛑 SL Type: Defines the base price from which the stop loss percentage will be calculated. The stop loss in the first section must be enabled for this block of settings to work.
* From the entry point: SL is always calculated from the opening price of the very first base order. It remains static throughout the entire transaction unless it is moved by other functions.
* From breakeven line: SL is dynamically recalculated and shifted each time a safety order is executed. It always follows the average price of the position, being at a given percentage distance from it.
* From last executed SO: SL is recalculated from the price of the last executed order, whether it is a base or a safety order.
* From last SO: SL is calculated from the price of the most recent possible safety order in the grid. This is usually the most remote and conservative type of SL.
* Trailing SL Type: Defines the algorithm by which the stop loss will move after its activation.
* Standard: Classic trailing. After activation, SL will follow the price at a fixed distance.
* ATR: SL will follow the price at a distance equal to the value of the ATR indicator multiplied by the specified multiplier.
* External Source: SL will follow any selected line of the third-party indicator.
* Period and Multiplier: Common parameters for all types of trailing.
* Source: The source of the line for the trailing SL of the third-party indicator.
* Trailing SL after entry: The mode of activation of the trailing SL after entering the transaction
* SL management after TP (sections 1️⃣, 2️⃣, 3️⃣): These three blocks allow you to create a complex stop loss management logic as profits are recorded.
For each take profit level (TP1, TP2, TP3), you can configure:
* SL BE / SL TP1 / SL TP2: When the corresponding TP is reached, the stop loss will be moved to the breakeven point (for TP1), to the TP1 price level (for TP2) or to the TP2 price level (for TP3).
* Trailing SL: When the corresponding TP is reached, the trailing stop loss is activated according to the settings above.
* By ↔️ Signal: A very powerful option. If it is enabled, the above action (SL transfer or trailing activation) will occur when the opposite trading signal is received from an external indicator. This allows you to protect profits or reduce losses if the market turns sharply, even before reaching the target.
* SL Delay ⮕ Allows you to delay the activation of the stop loss.
* Number of Bars: The Stop loss will be physically placed on the market only after the specified number of candles has passed since entering the trade. This can help to avoid "taking out" the stop with a random short movement (squiz) immediately after opening a position.
* SL Block: Unique defensive mechanics for trading both ways (`Strategy Type: Both`).
* Number of SL: If the strategy receives the specified number of stop losses in a row in one direction (for example, 2 stops long), it temporarily blocks the opportunity to open new trades in that direction.
* Lock Reset mode:
* By direction: The lock is lifted if a profitable trade is closed in the allowed direction or if a stop loss is triggered in the opposite direction.
* First profit: The lock is lifted after closing any profitable transaction, regardless of its direction.
// ------------------------
5. ✅ Take Profit ✅
This group of settings provides comprehensive control over profit taking, from a simple take profit to a complex system of partial closures and trailing.
* ✅ TP Type: Defines the base price for calculating the percentage deviation of the take profit.
* From entry point: TP is calculated from the base order price.
* From breakeven line: TP dynamically follows the average position price.
* From last executed SO: TP is calculated from the price of the last executed order.
* Filters for closing on signal
* Only ➕: If TP is triggered by a signal, the deal will be closed only if it is in the black relative to the average price.
* Or >TP: If TP is triggered by a signal, the trade will be closed only if the closing price is better than (or equal to) the estimated price of this TP.
* TP type of trailing: Yes, take profit has a trailing too! It works differently than the SL trailing.
* Standard / ATR: After the price touches the "virtual" TP level, the trailing is activated. He does not place a stop order, but begins to move away from the price, dynamically moving the limit order to close further and further in the profitable direction, allowing him to collect the maximum from the impulse movement.
* External Source: TP will follow any selected line of the third-party indicator.
* Period and Multiplier: Parameters for calculating the trailing margin TP.
* Source: The source of the line for the trailing TP of the third-party indicator.
* TP level settings (sections 1️⃣, 2️⃣, 3️⃣, 4️⃣): The strategy supports up to four independent take profit levels, which allows for a flexible system of partial commits.
For each level, you can set:
* TP: Enable the level and set its percentage deviation from the base price.
* Size: What percentage of the current position will be closed when this level is reached. For the last active TP, this parameter is ignored, and 100% of the remaining position is closed.
* Trailing TP: Enable the above-described trailing mechanism for this particular level.
* Signal: Enable closing based on the signal from the external indicator for this level.
* Or take: If both the closing on the signal and the limit order are enabled, then whatever comes first will work.
* After SO: Activate this TP level only after the specified number of safety orders has been executed. This allows you to set closer targets for riskier (deeply averaged) positions.
// ------------------------
6. 🔬 GRID and MultiGrid Analysis on Lower TFs (LTF) 🔬
This group activates one of the most important functions for accurate testing of grid strategies.
* Enable LTF Calculation ⮕ The main switch of the analysis mode on the lower timeframes.
* Timeframe selection: A drop-down list where you can select a timeframe for detailed analysis. For example, if your main schedule is 1 hour, you can select 1 minute here. The strategy will emulate the trading of minute candles within each hour candle.
❗️Important: As mentioned in the first part, the use of this mode is critically necessary to obtain realistic backtest results, especially for strategies with a dense grid of orders. Without it, the results may be overly optimistic and not reflect the real dynamics of the market. It should be remembered that TradingView imposes a limit on the number of intra-bars (minor TF bars) that can be requested. This is usually about 100,000 bars.
// ------------------------
7. 🕘 Backtest Date Range 🕘
This group allows you to focus testing on a specific historical period.
* Limit Date Range: Enables date filtering.
* Start time: The date and time when the strategy will start analyzing and opening deals.
* End time: The date and time after which the strategy will stop opening new deals and complete testing.
// ------------------------
8. 🎨 Visualization 🎨
All the options responsible for the appearance and information content of the chart are collected here.
* Show PnL labels: Enables/disables the display of text labels with the result (profit/loss) after closing each trade.
* Statistics Table: Enables/disables the main dashboard with detailed statistics on the results of the backtest.
* Strategy Settings Table: Enables/disables an additional panel that summarizes all the key parameters of the current configuration.
* Monthly Profit Table: Enables/disables a table with a breakdown of percentage returns by month and year.
* Table settings: For each of the three tables, you can individually adjust the Text size and Table Position on the screen to position them as conveniently as possible.
* Decimal places: Defines how many decimal places will be displayed in numeric values in tables and on labels.
// ------------------------
9. ✉️ Webhook Settings ✉️
This group is intended for traders who want to automate trading on strategy signals using third-party services and exchanges (for example, 3Commas, WunderTrading, Cryptorobotics, Cryptohopper, Bitsgap, Binance, ByBit, OKX, Pionex, Bitget or proprietary solutions).
For each key event in the strategy, there is a separate switch and a text field:
* Webhook for Open: Enable and set a message for the webhook that will be sent when the base order is opened.
* Webhook for Averaging: A message sent when executing any insurance order.
* Webhook for Take Profit: A message sent when closing on take profit (including partial ones).
* Webhook for Stop-Loss: A message sent when a stop loss is closed.
You can insert a JSON code or any other message format that your service requires for automation into the text fields. The strategy supports special placeholders (for example, `{{strategy.order.alert_message}}`), which allow you to dynamically insert the necessary data into the message, such as the amount of USDT or the percentage of the deposit for entry, averaging and take profit orders.
Credit Spread Alpha SignalCredit Spread Alpha Signal: Complete Description
Introduction and Purpose
The Credit Spread Alpha Signal is a custom indicator developed for TradingView, designed to monitor the credit spread between High Yield (HY) bond yields and the 10-Year US Treasury yield (US10Y). This indicator serves as an advanced macroeconomic tool for traders and investors, helping to identify shifts in risk sentiment, monetary policy adjustments, or financial stress in the economy. It combines credit market data with statistical analysis to generate inverted buy and sell signals, where wider spreads (deteriorated conditions) are seen as buy opportunities (green), and tight spreads (risk-on) as sell opportunities (red).
The script is original, inspired by macroeconomic concepts, and visualizes data intuitively with histograms, background colors, and signal arrows. It is particularly useful for portfolio traders seeking confirmation signals or early warnings, integrating seamlessly into charts of stocks, bonds, or crypto assets.
Key Concepts
- HY Spread : Calculated as the difference between the High Yield Corporate Effective Yield (symbol: BAMLH0A0HYM2EY) and the US10Y Yield. Wider spreads indicate higher credit risk and economic deterioration (buy opportunity in the inverted logic). Tight spreads reflect market optimism (risk-on, sell opportunity).
- Inverted Signal Logic : Unlike traditional interpretation, here widening spreads (stress) trigger green and buy arrows (↑ below the chart), suggesting entry into long positions during panics. Compressing spreads trigger red and sell arrows (↓ above the chart), indicating exit during optimism peaks.
- Visual Highlights : Green for spread > +2.2σ (financial stress, buy); Red for spread < low threshold (risk-on, sell); Optional orange for recession risk (inverted curve + high spread, strong buy).
The indicator uses statistics like simple moving average (SMA) and standard deviation for dynamic thresholds, making it adaptable to different market periods.
How It Works: Internal Calculations
1. Data Sources : Uses `request.security` to fetch daily data ("D") from US10Y, US02Y (for inverted curve), and HY Yield.
2. Spread Calculation : `spread_hy = hy_yield - us10y`.
3. Statistics :
- Average (SMA) of the spread over the last `sma_length` days (default: 120).
- Standard deviation (stdev) over the same period.
- High threshold: `avg_spread_hy + std_mult * std_spread_hy` (default: multiplier 2.2).
- Low threshold: Editable value (default: 1.5%).
4. Conditions :
- High stress (green/buy): `spread_hy > high_threshold`.
- Compression (red/sell): `spread_hy < low_threshold`.
- Recession risk (orange/strong buy, optional): Inverted curve (`us10y < us2y`) + spread > `recession_spread_threshold`.
5. Crossings for Signals :
- Buy (green ↑ below): Crossover above high threshold (`ta.crossover`).
- Sell (red ↓ above): Crossunder below low threshold (`ta.crossunder`).
These calculations are processed bar by bar, ensuring real-time updates.
Visual Elements
- Histogram : Plots the spread as columns (`plot.style_columns`), dynamically colored: Light green (90% transparency) for stress/buy; Light red (90%) for compression/sell; Gray for neutral; Orange for recession.
- Reference Line : Horizontal red line at zero for benchmark.
- Background Coloring : Applies color to the main chart (overlay=true via force_overlay): Light green for buy, Light red for sell, Orange for recession, no color for neutral.
- Signal Arrows : ↑ Green below the bar for buy (widening_cross); ↓ Red above the bar for sell (compressed_cross).
- Floating Legend : Label in the lower panel explaining thresholds and conditions, dynamically updated with editable values.
Editable Settings (Inputs)
- SMA Period (days) : Default 120; adjusts the horizon for average and standard deviation.
- Standard Deviation Multiplier : Default 2.2; sets sensitivity of the high threshold (e.g., 2.2σ for moderate alerts).
- Low Threshold for Compression (%) : Default 1.5; level to detect risk-on/sell.
- Enable Recession Risk? : Default false; activates combined condition of inverted curve + high spread.
- Spread Threshold for Recession (%) : Default 2.0; level for recession (visible if enabled).
These inputs allow customization via the TradingView interface, without editing the code.
Integrated Alerts
The indicator includes alert conditions (`alertcondition`) for notifications in TradingView:
- "ALERT: HY Spread High": Spread exceeds threshold - financial stress (Buy).
- "ALERT: HY Spread Compressed": Spread compressed - risk-on conditions (Sell).
- "ALERT: HY Spread Widening (Buy)": Crossover above - buy opportunity in stress.
- "ALERT: HY Spread Compressed (Sell)": Crossunder below - sell opportunity in risk-on.
- "ALERT: Recession Risk (Strong Buy)": Inverted curve + high spread - high recession risk, consider buy (if enabled).
Set up alerts for email, SMS, or webhook notifications.
Usage Tips and Considerations
- Recommended Timeframe : Daily ("D"), but works on others; data is forced to daily for consistency.
- Practical Application : Add to charts of indices like SPY or QQQ to correlate with market moves. Test on historical periods (e.g., 2020 for widening, 2021 for compressing) to validate signals.
- Limitations : Relies on external data (US10Y, HY Yield), which may have delays; spreads are typically positive. Not financial advice – use with complementary analysis.
- Advanced Customization : Adjust thresholds for volatile markets; enable recession for more robust macro signals.
This indicator transforms credit data into actionable alpha, helping navigate economic cycles with visual precision. For support or modifications, refer to the source code or TradingView community.
Swing Averages & Next Swing Forecast Swing Averages & Next Swing Forecast
What it does:
Finds confirmed swing highs/lows, keeps only “significant” legs (default ≥ $0.10), then computes average up/down leg sizes and projects the next swing low and next swing high. Optionally runs calculations on a higher timeframe (HTF) while plotting on your current chart.
20W SMA (true 20W or 140D match)Modified SMA to reflect true 20W Smooth Moving Average.
Choose between different TF's and the price remains the same
Auto Entry/SL/TP Zones + Dashboard (Fib + MACD Filter)📊 Auto Entry/SL/TP Zones + Dashboard (with MACD Filter)
This indicator automatically builds Entry, Stop Loss, and Take Profit zones based on price action and Fibonacci extensions.
It also provides a dashboard with real-time market conditions and signals.
🔑 Features:
Automatic Zones:
Entry point is set when a trading signal appears.
Stop Loss is placed at the nearest local support/resistance.
Take Profit levels (TP1, TP2, TP3) are calculated using Fibonacci multipliers (0.618, 1.0, 1.618).
Signal Logic (Multi-confirmation):
✅ RSI (Relative Strength Index)
✅ SMA50 trend filter
✅ MACD confirmation (histogram & signal line alignment)
Dashboard Panel:
RSI value with dynamic color zones
Trend direction (Up / Down / Sideways)
Divergence (Bullish / Bearish)
Volume state (High / Low / Neutral)
MACD status
Final signal: LONG / SHORT / WAIT
Visual Objects on Chart:
Colored zones for Entry, Stop Loss, and TP levels
Labels with price levels (Entry, SL, TP1, TP2, TP3)
🎯 How to Use:
Wait for a signal (LONG or SHORT).
Zones (Entry, SL, TP1-TP3) will automatically appear on the chart.
Use the dashboard to confirm market conditions.
Enter only if RSI, Trend, and MACD confirm the same direction.
Manage your position using TP levels or add your own Trailing Stop.
⚠️ Notes:
Works on any timeframe and any market (Forex, Crypto, Stocks).
The strategy is not a trading bot – it’s an assistant to help identify optimal entries and exits.
Always combine with risk management and your own market analysis.
👉 If you like this tool – add it to favorites and use it in your trading setup! 🚀
Forex 60m Simple Scanner + RSI Divergence“Forex 60m Simple Scanner + RSI Divergence”
This scanner helps beginner traders quickly identify trade opportunities across the top 10 forex pairs. It combines a simple EMA crossover system with an optional RSI filter to confirm trend direction, and adds RSI divergence detection to spot potential reversals early.
The built-in table shows each pair’s trend, RSI value, buy/sell signal, and divergence status—all in one place.
For beginners, this makes it easier to:
Avoid flipping between multiple charts.
See clear BUY/SELL 🚀 signals instead of guessing.
Spot high-probability setups with RSI divergence markers (😊/☹️).
It simplifies decision-making by turning complex signals into a straightforward dashboard that highlights where attention is needed most.
Forex 5m Simple Scanner + RSI DivergenceHello everyone. this is a easy to use indicator.
I wanted something very easy to visualize and understand. Great for the beginner's.
About this script:
“Forex 5m Simple Scanner + RSI Divergence”
This scanner helps beginner traders quickly identify trade opportunities across the top 10 forex pairs. It combines a simple EMA crossover system with an optional RSI filter to confirm trend direction, and adds RSI divergence detection to spot potential reversals early.
The built-in table shows each pair’s trend, RSI value, buy/sell signal, and divergence status—all in one place.
For beginners, this makes it easier to:
Avoid flipping between multiple charts.
See clear BUY/SELL 🚀 signals instead of guessing.
Spot high-probability setups with RSI divergence markers (😊/☹️).
It simplifies decision-making by turning complex signals into a straightforward dashboard that highlights where attention is needed most.
Exit SIGNALWhen an asset is overbought, using various methods, CCI, RSI, etc, this indicator paints candles red to signify that a potential top is forming. It is normal when the trend is very strong to see 2 or 3 candles turn red before the top is in. I like to use this to narrow down when to take profits. It's not the most sophisticated and fancy script but it gets it's job done well. :]
If you have any questions about the indicator or wish to try it out yourself for free, comment below or DM me, thanks!
Building a profitable strategy is all about combining various factors, I'm a hybrid trader meaning I mostly learned to trade with price action and smart money concepts only at first however I then learned pinescript and added my own indicators I have personalized to create various strategies, especially when it comes to helping me know when trend has reversed as soon as possible with as little false flags as possible.
MarketSurge EPS Line [tradeviZion]MarketSurge EPS Line
EPS trend line overlay for TradingView charts, inspired by the IBD MarketSurge (formerly MarketSmith) EPS line style.
Displays EPS trend line on price charts
Uses 4-quarter earnings moving average
Shows earnings momentum over time
Works with actual, estimated, or standardized earnings data
Customizable line color and width
This script creates an EPS trend line overlay, similar to the EPS line feature in IBD MarketSurge (previously MarketSmith), allowing you to visualize earnings trends alongside price action.
Add script to chart
EPS line appears automatically
Adjust color and width in settings if needed
Hover over line for earnings details
Settings:
EPS data type (actual/estimate/standardized)
Line color and width
💡 Tip:
For the complete IBD Style experience, pair this EPS line with IBD Style Candles to visualize price action with clean bars like IBD Style
MTF Advanced Disparity Index (Oscillator)multi time frame disparity index indicator is good for intraday ,we can find buy sell signals by using it's overbought & oversold zone
Wolfe Wave Auto+ManualWolfe Wave Auto+Manual Indicator
Description
The "Wolfe Wave Auto+Manual" indicator is a powerful tool for identifying and analyzing Wolfe Wave patterns on TradingView charts. It supports both automatic pattern detection based on Gann pivots and manual point configuration for precise pattern construction. This indicator is ideal for traders looking to leverage Wolfe Waves to predict market reversals and set take-profit targets.
The indicator displays the pattern with lines, zones (Sweet Zone), and labels, offering three take-profit calculation methods: ETA (intersection of lines 1-3 and 2-4), Line 1-4 (projection of the 1-4 trendline), and Flat (Point 4 price level). Users can customize visualization and calculations, including support for linear and logarithmic price scales.
Key Features
Auto and Manual Modes: Choose between automatic pattern detection using pivots or manual input of points 1-5.
Flexible Take-Profit Options: Supports three TP methods (ETA, Line 1-4, Flat) with customizable line and label colors.
Logarithmic Scale Support: Accurate calculations for charts with linear or logarithmic price scales.
Customizable Visualization: Enable/disable pattern lines, display the Sweet Zone, and show point labels positioned on the outer edges of the pattern for better readability.
Gann Pivots: Auto mode uses pivot detection for precise identification of key points.
User-Friendly Settings: All parameters include tooltips for easy configuration.
How to Use
Add the Indicator:
Find "Wolfe Wave Auto+Manual" in the TradingView indicator library and add it to your chart.
Select Mode:
Auto: The indicator automatically detects patterns based on pivots. Adjust "Swing Length" and "Pivot Offset" to control sensitivity.
Manual: Specify the time and price for points 1-5 in the settings to build a specific pattern.
Customize Visualization:
Enable/disable pattern lines using "Show Pattern Lines."
Adjust pivot and take-profit colors in their respective setting groups.
Choose Price Scale:
Set "Price Scale" to "Linear" or "Logarithmic" based on your chart type.
Configure Take-Profits:
Enable desired TP methods (ETA, Line 1-4, Flat) and customize their colors.
Use "TP Decimal Precision" to control the precision of displayed prices.
Analyze the Pattern:
Look for entry points near Point 5, using the Sweet Zone as a confirmation area.
Use TP levels to set profit targets.
Recommendations
Timeframes: The indicator works on all timeframes, but Auto mode is recommended for H1 and higher for more reliable pivots.
Instruments: Suitable for stocks, forex, cryptocurrencies, and other assets. Use logarithmic scale for long-term charts with high volatility.
Additional Filters: Combine with RSI, MACD, or support/resistance levels to enhance signal accuracy.
Testing: Experiment with "Swing Length" in Auto mode to optimize pattern detection for your trading style.
Notes
Ensure prices in Manual mode are positive when using logarithmic scale to avoid errors.
Disable "Show Pattern Lines" to focus on labels and TP levels for a cleaner chart.
Verify settings when switching between linear and logarithmic scales.
The "Wolfe Wave Auto+Manual" indicator is a versatile addition to your trading toolkit, helping you identify high-probability reversal patterns and plan trades with clear profit targets. Try it today to elevate your market analysis!
Индикатор "Wolfe Wave Auto+Manual"
Описание
Индикатор "Wolfe Wave Auto+Manual" — мощный инструмент для выявления и анализа паттернов волн Вульфа на графиках TradingView. Этот индикатор поддерживает как автоматическое обнаружение паттернов на основе пивотов Ганна, так и ручную настройку точек для точного построения. Он идеально подходит для трейдеров, которые хотят использовать волны Вульфа для прогнозирования разворотов рынка и определения целей тейк-профита.
Индикатор отображает паттерн с линиями, зонами (Sweet Zone) и метками, а также предлагает три метода расчёта тейк-профита: ETA (пересечение линий 1-3 и 2-4), Line 1-4 (проекция линии 1-4) и Flat (уровень точки 4). Пользователь может гибко настраивать визуализацию и расчёты, включая поддержку линейной и логарифмической шкал цен.
Ключевые особенности
Автоматический и ручной режимы: Выбирайте между автоматическим обнаружением паттернов на основе пивотов или ручным заданием точек 1-5.
Гибкие настройки тейк-профита: Поддержка трёх методов TP (ETA, Line 1-4, Flat) с настраиваемыми цветами линий и меток.
Поддержка логарифмической шкалы: Корректные расчёты для графиков с линейной или логарифмической шкалой цен.
Настраиваемая визуализация: Включайте/отключайте линии паттерна, отображайте Sweet Zone и метки точек, расположенные на внешних углах конструкции для лучшей читаемости.
Пивоты Ганна: В автоматическом режиме используются пивоты для точного определения ключевых точек.
Интуитивные настройки: Все параметры сопровождаются всплывающими подсказками для удобства.
Как использовать
Добавьте индикатор:
Найдите "Wolfe Wave Auto+Manual" в библиотеке индикаторов TradingView и добавьте на график.
Выберите режим:
Auto: Индикатор автоматически определяет паттерны на основе пивотов. Настройте "Swing Length" и "Pivot Offset" для контроля чувствительности.
Manual: Задайте время и цену для точек 1-5 в настройках для построения конкретного паттерна.
Настройте визуализацию:
Включите/отключите линии паттерна через "Show Pattern Lines".
Настройте цвета пивотов и тейк-профитов в соответствующих группах настроек.
Выберите шкалу цен:
Установите "Price Scale" в "Linear" или "Logarithmic" в зависимости от типа графика.
Настройте тейк-профиты:
Включите нужные методы TP (ETA, Line 1-4, Flat) и настройте их цвета.
Используйте "TP Decimal Precision" для контроля точности отображаемых цен.
Анализируйте паттерн:
Ищите точки входа вблизи точки 5, используя Sweet Zone как зону подтверждения.
Ориентируйтесь на уровни TP для фиксации прибыли.
Рекомендации
Таймфреймы: Индикатор работает на любых таймфреймах, но для Auto-режима рекомендуется использовать таймфреймы от H1 и выше для более надёжных пивотов.
Инструменты: Подходит для акций, форекса, криптовалют и других активов. Для долгосрочных графиков с высокой волатильностью используйте логарифмическую шкалу.
Дополнительные фильтры: Комбинируйте с индикаторами RSI, MACD или уровнями поддержки/сопротивления для повышения точности сигналов.
Тестирование: Протестируйте настройки в Auto-режиме с разными значениями "Swing Length" для оптимизации обнаружения паттернов.
Примечания
Убедитесь, что цены в Manual-режиме положительные при использовании логарифмической шкалы, чтобы избежать ошибок.
Для отключения линий паттерна используйте настройку "Show Pattern Lines", чтобы сосредоточиться на метках и уровнях TP.
Регулярно проверяйте настройки при переключении между линейной и логарифмической шкалами.
Этот индикатор станет отличным дополнением к вашей торговой стратегии, помогая выявлять высоковероятные разворотные паттерны и планировать сделки с чёткими целями прибыли. Попробуйте "Wolfe Wave Auto+Manual" и улучшите свой анализ рынка!
Gott's Copernican Trend PredictorThe Gott's Copernican Trend Predictor predicts trend duration using the Copernican Principle - Based on astrophysicist Richard Gott's temporal prediction method.
I had the idea to create this indicator after reading the book The Doomsday Calculation by William Poundstone.
Background & Theory
This indicator implements J. Richard Gott III's Copernican Principle - a statistical method that famously predicted the fall of the Berlin Wall and the duration of Broadway shows with remarkable accuracy.
The Copernican Principle Explained
Named after Copernicus who showed that Earth is not at the center of the universe, this principle assumes that you are not observing something at a special moment in time. When you observe a trend at any random point, you're statistically more likely to be seeing it during the "middle portion" of its lifetime rather than at its very beginning or end.
The Mathematics
Gott's formula provides a 95% confidence interval for how much longer a trend will continue:
Minimum remaining duration = Current Age ÷ 39
Maximum remaining duration = Current Age × 39
The factor of 39 comes from statistical analysis where:
There's only a 2.5% chance you're observing in the first 1/40th of the trend's life
There's only a 2.5% chance you're observing in the last 1/40th of the trend's life
This gives us 95% confidence that the trend will last between Age/39 and Age×39
How It Works
Trend Detection
The indicator uses dual moving averages (default: 50 & 200 period) to identify trend changes:
Bullish Cross: Fast MA crosses above Slow MA → Uptrend begins
Bearish Cross: Fast MA crosses below Slow MA → Downtrend begins
Real-Time Predictions
Once a trend is detected, the indicator continuously calculates:
Trend Age: How long the current trend has been active
Gott's 95% CI: Statistical range for remaining trend duration
Projected End Dates: Calendar dates when the trend might end
How to Use
Setup
Add the indicator to any timeframe (works on minutes, hours, days, weeks)
Customize MA periods and type (SMA, EMA, WMA)
Choose table position and font size for optimal viewing
Interpretation
Example: If a trend is 100 hours old:
Minimum duration: 100 ÷ 39 = ~3 more hours
Maximum duration: 100 × 39 = ~3,900 more hours
95% confidence: The trend will end between these times
This indicator might be useful for swing traders, trend followers, and quantitative analysts.
Coca-Cola example:
Coca-Cola's chart shows an uptrend spanning 810 weeks, approximately 15.5 years. According to Gott's Copernican Principle, this trend age generates a 95% confidence interval predicting the trend will continue for a minimum of 20 weeks and a maximum of 31,590 weeks.
On the other hand, a shorter trend age produces a proportionally smaller minimum duration and different risk profile in terms of statistical continuation probability. For this reason, more recent trends (and more recent companies) are likely to remain in trend for shorter.
EMA Oracle and RSIEMA Oracle
- “See the market’s structure through the eyes of exponential wisdom.”
combines classic EMA stacks with Pi-based logic to reveal high-probability buy/sell zones and trend bias across timeframes
Multi-EMA Trend & Pi Signal Indicator
This advanced indicator combines classic trend analysis with Pi-based signal logic to help traders identify optimal entry and exit zones across multiple timeframes.
Core Features
EMA Trend Structure: Displays EMAs 9, 13, 20, 50, and 200 to visualize short-term and long-term trend orientation. Bullish momentum is indicated when shorter EMAs are stacked above longer ones.
Pi-Based Signal Logic: Inspired by the Pi Indicator, it includes EMA111 and EMA700 (350×2) on the daily chart:
Buy Zone: When price is trading below EMA111, it signals potential accumulation for spot or low-leverage position trades.
Sell Zone: When price is above EMA700, it suggests potential distribution or exit zones.
Trend Cross Alerts: Detects EMA crossovers and crossunders to highlight shifts in market structure and generate buy/sell signals.
Multi-Timeframe Analysis: Evaluates trend direction across selected timeframes (e.g., 15m, 30m, 1h, 4h, 1D), offering a broader market perspective.
RSI Integration: Combines Relative Strength Index (RSI) readings with EMA positioning to assess momentum and overbought/oversold conditions.
Trend Table Display: A dynamic table summarizes the asset’s trend status per timeframe, showing:
RSI values
EMA alignment
Overall trend bias (bullish, bearish, neutral)
Concentric Geometry – Invariant MetricsConcentric Geometry – Invariant Metrics
This indicator demonstrates the invariant concept of a concentric circle around a selected price range. By anchoring two points (A & B), it calculates a set of ratios and slopes that remain consistent under concentric scaling of price and time. These invariants include the raw slope (ΔP/N), concentric slope, π-adjusted ratios, and √2 offsets — all of which can be used to explore deeper geometric relationships in the market.
What has been demonstrated here is not an “out-of-the-box” trading system. Instead, the outputs provide the raw invariant metrics from which the trader must derive their own ratios and extensions. For example, price-to-bar ratio inputs are not fixed — they need to be derived from the invariants themselves, and experimenting with them is the key to uncovering harmonic alignments and scaling behaviors.
Key features include:
• Range & Bars Analysis – Price range (ΔP) and bar count (N) between anchors.
• Core Invariants – Midpoint, radius (price and bar units), upper/lower bounds.
• Linear Slope Metrics – ΔP/N and √2 concentric slope.
• π-Adjusted Price/Bar – Harmonic arc-length ratio.
• Circumference & Offsets – Circle circumference, √2 and 1/√2 offsets in price and bar units.
This tool is best suited for traders studying market geometry, W.D. Gann principles, harmonic ratios, or the geometric methods of Michael Jenkins. It does not generate buy/sell signals — instead, it equips the trader with building blocks for geometric exploration.
Key point: The trader must experiment with the ratios derived from these metrics. Playing with different price-to-bar relationships unlocks the true potential of concentric market geometry, whether applied to dynamic anchored VWAPs, concentric overlays, or Vesica Piscis structures.
Use it to:
• Compare slopes across swings
• Derive new ratios from invariant metrics
• Anchor dynamic anchored VWAPs to concentric nodes
• Explore concentric or Vesica Piscis overlays
• Support advanced geometric trading strategies
Swing Support and Resistance [Vijay]Swing-based support & resistance with breakout buy/sell signals and alerts.
Full Description:
The Swing Support and Resistance indicator is a simple yet effective tool to identify swing-based support and resistance levels using pivot points.
Pivot Length: Defines how many bars on each side are used to confirm a swing high (resistance) or swing low (support).
Support & Resistance: Plots the most recent pivot levels as visual markers (circles) on the chart.
Buy & Sell Signals:
A Buy Signal is triggered when price crosses above the last resistance.
A Sell Signal is triggered when price crosses below the last support.
Visual Cues: Arrows are plotted directly on the chart for easy signal recognition.
Alerts: Built-in alert conditions allow you to set TradingView alerts for breakout signals.
This script is useful for traders who rely on price action, breakout trading, and swing structure analysis. It helps quickly spot where price is breaking key levels and provides instant alerts for trade opportunities.