PMax - Asymmetric MultipliersDescription: This script is an enhanced version of the popular PMax (Profit Maximizer) indicator, originally developed by KivancOzbilgic. It has been converted into a full strategy with advanced customization options for backtesting and trend following.
Key Features & Modifications:
Asymmetric ATR Multipliers: Unlike the standard version, this script allows you to set different ATR multipliers for Upper (Short/Resistance) and Lower (Long/Support) bands.
Default Upper: 1.5 (Tighter trailing for Short positions)
Default Lower: 3.0 (Wider trailing for Long positions to avoid whipsaws)
Expanded MA Types: Added HULL (HMA) and VAR (Variable Index Dynamic Average) options.
VAR is highly recommended for filtering out noise in ranging markets.
HULL is ideal for scalping and faster reactions.
Built-in Risk Management: A fixed 5% Stop Loss mechanism is integrated into the strategy. It protects your capital by closing positions if the price moves 5% against you, even if the trend hasn't reversed yet.
Visibility Fix: Solved the issue where the PMax line would disappear or start at zero in the initial bars.
How to Use:
Use the VAR MA type for trend following in volatile markets.
Adjust the "Stop Loss Percent" input to fit your risk appetite.
The strategy employs an "Always In" logic (Long/Short) but respects the hard Stop Loss.
Credits: Original PMax logic by KivancOzbilgic.
Phân tích Xu hướng
Tailwind (SPY)Tailwind is a staggered level breakout strategy (Grid Breakout), designed to trade the SPY, although the logic can be applied to any asset.
In this case, traditional indicators are not used. Instead, the price is divided into a grid based on a step size (step_size), which defaults to 20 points.
The strategy looks for the exact moment when the price "breaks out" or crosses upward one of these invisible steps (since there is an upward bias). It buys if the current candle closed above the step, but the previous candle closed below that same level. In other words, it detects when the price crosses a grid line.
Once it enters a trade (buy), it sets fixed and symmetric targets based on the step size.
• Entry: The price of the base level is assumed (the multiple of 20).
• Take Profit: entry_level + step_size. It aims to gain exactly one step upward.
• Stop Loss: entry_level - step_size. It cuts losses if the price falls exactly one step
downward.
The code includes advanced visual logic (line.new and line.set_x2):
• When a trade is opened, it draws a dashed green line on the chart indicating where your Take Profit is.
• It draws a dashed red line indicating your Stop Loss.
• These lines extend to the right as long as the trade remains open.
Capital Configuration
• Initial Capital: 20,000 USDT (or the base currency).
• Position Size: Risks 10% of your total capital on each trade.
• Commission: Simulates a 0.1% cost per trade.
You'll love testing how it performs on a weekly chart. Best regards!
Tailwind(XMR)Tailwind is a staggered level breakout strategy (Grid Breakout), apparently designed to trade Monero (XMR), although the logic can be applied to any asset.
In this case, traditional indicators are not used. Instead, the price is divided into a grid based on a step size (step_size), which defaults to 27 points.
The strategy looks for the exact moment when the price "breaks out" or crosses upward one of these invisible steps (since there is an upward bias). It buys if the current candle closed above the step, but the previous candle closed below that same level. In other words, it detects when the price crosses a grid line.
Once it enters a trade (buy), it sets fixed and symmetric targets based on the step size.
• Entry: The price of the base level (the multiple of 27) is assumed.
• Take Profit: entry_level + step_size. It aims to gain exactly one step upward.
• Stop Loss: entry_level - step_size. It cuts losses if the price falls exactly one step downward.
The code includes advanced visual logic (line.new and line.set_x2):
• When a trade is opened, it draws a dashed green line on the chart indicating where your Take Profit is.
• It draws a dashed red line indicating your Stop Loss.
• These lines extend to the right as long as the trade remains open.
Capital Configuration
• Initial Capital: 20,000 USDT (or the base currency).
• Position Size: Risks 10% of your total capital on each trade.
• Commission: Simulates a 0.1% cost per trade.
The system operates on timeframes of 5 minutes, 15 minutes, 30 minutes, 45 minutes, 4 hours...
Tailwind.(BTC)Imagine the price of Bitcoin is like a person climbing a staircase.
The Steps (Grid): Instead of watching every single price movement, the strategy divides the market into fixed steps. In your configuration, each step measures **3,000 points**. (Examples: 60,000, 63,000, 66,000...).
The Signal: We buy only when the price climbs a full step decisively.
The "Expensive Price" Filter: If the price jumps the step but lands too far away (the candle closes too high), we do not buy. It is like trying to board a train that has already started moving too fast; the risk is too high.
Rigid Exits: The Take Profit (TP) and Stop Loss (SL) are calculated from the edge of the step , not from the specific price where you managed to buy. This preserves the geometric structure of the market.
The Code Logic (Step-by-Step)
A. The Math of the Grid (`math.floor`)
pinescript
level_base = math.floor(close / step_size) * step_size
This is the most important line.
What does it do? It rounds the price down to the nearest multiple of 3,000.
Example: If BTC is at 64,500 and the step size is 3,000:
1. Divide: $64,500 / 3,000 = 21.5$
2. `math.floor` (Floor): Removes the decimals $\rightarrow$ remains $21$.
3. Multiply: $21 * 3,000 = 63,000$.
Result: The code knows that the current "floor" is **63,000**, regardless of whether the price is at 63,001 or 65,999.
B. The Strict Breakout (`strict_cross`)
pinescript
strict_cross = (open < level_base) and (close > level_base)
Most strategies only check if `close > level`. We do things slightly differently:
`open < level_base`: Requires the candle to have "born" *below* the line (e.g., opened at 62,900).
`close > level_base`: Requires the candle to have *finished* above the line (e.g., closed at 63,200).
Why? This avoids entering on gaps (price jumps where the market opens already very high) and confirms that there was real buying power crossing the line.
C. The "Expensive Price" Filter (`max_dist_pct`)
pinescript
limit_price_entry = level_base + (step_size * (max_dist_pct / 100.0))
price_is_valid = close <= limit_price_entry
Here you apply the percentage rule:
-If the level is 63,000 and the next is 66,000 (a difference of 3,000).
-If `max_dist_pct` is **60%**, the limit is $63,000 + (60\% \text{ of } 3,000) = 64,800$.
-If the breakout candle closes at **65,000**, the variable `price_is_valid` will be **false** and it will not enter the trade. This avoids buying at the ceiling.
D. TP and SL Calculation (Anchored to the Level)
pinescript
take_profit = level_base + (step_size * tp_mult)
stop_loss = level_base - (step_size * sl_mult)
Note that we use `level_base` and not `close`.
-If you entered because the price broke 63,000, your SL is calculated starting from 63,000.
-If your SL is 1.0x, your stop will be exactly at 60,000.
This is crucial: If you bought "expensive" (e.g., at 63,500), your real stop is wider (3,500 points) than if you bought cheap (63,100). Because you filter out expensive entries, you protect your Risk/Reward ratio.
E. Visual Management (`var line`)
The code uses `var` variables to remember the TP and SL lines and the `line.set_x2` function to stretch them to the right while the operation remains open, providing that visual reference on the chart until the trade ends.
Workflow Summary
Strategy Parameters:
Total Capital: $20,000
We will use 10% of total capital per trade.
Commissions: 0.1% per trade.
TP: 1.4
SL : 1
Step Size (Grid): 3,000
We use the 200 EMA as a trend filter.
Feel free to experiment with the parameters to your liking. Cheers.
Daily High Breakout Strategy v2Long trade signal strategy, connects via API key to any exchange, can be used as an indicator. Based on breakout, rebound from daily highs.
Session Volume Profile Sniffer: HVN & Rejection ZonesA simple tool built for traders who rely on intraday volume structure.
What this script does
This script tracks volume distribution inside a selected session and highlights two key price levels:
High Volume Nodes (HVNs) — areas where price spent time building heavy participation.
Low Volume Nodes (LVNs) — thin zones where price moved quickly with very little interest.
Instead of plotting a full profile, this tool gives you the exact rejection-level lines you usually hunt manually.
Why these levels matter
HVN → price tends to react, stall, or flip direction
LVN → price often rejects strongly since liquidity is thin
Rejection patterns around these areas give clean entry signals
Positioning trades around HVN/LVN helps filter noise in choppy sessions
This script removes the trouble of drawing profiles, counting bins, or guessing node levels. Everything is calculated inside the session you choose.
How the detection works
Inside your session window, the script:
1. Tracks each tick-based price bucket
2. Accumulates raw volume for every bucket
Identifies:
HVNs = buckets with volume above a tier
LVNs = buckets with volume below a tier
3. Prints each level as a single clean line
4. Generates:
Long signal → bounce from LVN
Short signal → rejection from HVN
Built-in exits use ATR-based conditions for quick testing.
Features
Session-based volume mapping
HVN + LVN levels drawn automatically
Entry triggers based on rejection
ATR exits for experimental backtests
Clean, minimal visual output
Best use cases
Intraday futures
Index scalping
FX sessions (London / NY)
Crypto sessions (user-timed)
Anyone who trades around volume structure
Adjustable settings
Session window
Volume bin size
HVN multiplier
LVN multiplier
Enable/disable zone lines
This keeps it flexible enough for both scalpers and slow-paced intraday setups.
Important note
This script is built for study + idea testing.
It is not intended as a final system.
Once you identify how price behaves around these nodes, you can blend this tool into your own setup.
Gann High Low Strategy## Trend & Structure Strategy — Overview
This strategy is designed to follow directional market moves by using a **dynamic price reference** to identify transitions between strength and weakness.
### Core concept
* It visually highlights when the market shifts from a **favorable phase** to an **unfavorable phase**, and vice versa.
* Signals are generated only when price behavior shows **minimum structural consistency**, helping to avoid random or low-quality conditions.
### Entries & trade management
* Entries aim to align with moments where price shows a **renewed directional intent**.
* Trade management is based on **technical price references**, allowing risk and objectives to adapt naturally to the current market context.
* Key directional and operational areas are clearly displayed on the chart to keep decision-making simple and visual.
### Best use cases
* Performs best in markets with **clear directional movement** and readable transitions.
* In very tight or choppy conditions, a more selective approach may be required.
*This content is for educational purposes only. Always test on different markets and timeframes before live use.*
Momentum Quality Index Strategyfiles.fm
Welcome to the Momentum Quality Index Strategy!
This is a fairly conservative strategy with a sharp criteria for entries and taking profits. This strategy has been tested amongst the top 50 stocks with volatility over 2%, and the verdict was that the profitability was often times over 85% profitability, often times reaching over 90% profitability. This strategy thrives in more volatile environments, often times beating the buying and holding strategy YTD performance by large margins.
This strategy is highly optimized for the 30 minute chart, giving insights into shorter term movements. It is based on cash trades of $1,000 per position, with a maximum of 4 trades being placed at once.
This strategy is optimized for common stock trading in more liquid markets, and not yet optimized for options trading (however I plan on developing highly profitable strategies for this purpose soon). The take profit is customizable.
I would refer to the image link I have posted at the top of this article for the strategy's effectiveness. The strategy report on this article isn't accurate, as this strategy is based on trading $1,000 per trade, therefore over longer term periods of time will not be as successful due to the fact that there is no compounding. However, over the course of smaller time frames (such as one year), it beats buying and holding of many assets.
This strategy is meant for day trading and short term swing trading, and is not meant to beat buying and holding of successful assets over the course of long periods of time.
Monarch Strategies Altcoin Optimized Cycle & Trend Strategy (1W)The Altcoin Optimized Cycle & Trend Strategy (1W) is a professional, long-term cycle and trend trading strategy designed specifically for altcoins such as Stellar (XLM). It is built for traders and investors who want to systematically capture explosive altcoin cycles while avoiding emotional decision-making and excessive trading.
The strategy operates on the weekly timeframe (1W) and focuses on identifying major accumulation zones, breakout phases, and distribution tops that typically define altcoin market behavior.
Nifty-50 Futures Trading Ideas/ Strategyb]Nifty-50 Futures Trading Ideas is a trend-following strategy designed for study and backtesting .
The strategy identifies directional bias using a structured price-based approach and applies ADX + DI and RSI filters to validate trend strength.
It includes inbuilt risk-management logic such as Stop-Loss, Take-Profit, ATR-based exits, separate maximum loss per trade (₹) for long and short positions, and optional date/session filters.
This script is provided for educational and analytical purposes only and is not a trading signal or investment recommendation.
Quantum X StrategyQuantum X Strategy is a structured market-behavior based trading model developed for Midcap Nifty on the 15-minute timeframe.
It focuses on identifying directional strength, momentum alignment, and price participation using a multi-factor confirmation approach.
Rather than relying on a single indicator, the strategy evaluates multiple dimensions of price movement to determine whether the market environment is favorable for participation. This helps in avoiding random entries during low-quality or sideways conditions.
🔍 Conceptual Framework
The strategy dynamically observes:
Momentum expansion and contraction
Trend participation strength
Directional consistency over recent price action
Each market condition contributes to an internal decision process, allowing trades only when sufficient alignment is present. This approach helps filter out noise and improves trade selectivity.
📊 Trade Execution Philosophy
Trades are initiated only when market structure shows clear directional intent
Both bullish and bearish opportunities are evaluated independently
Positions are exited when momentum balance weakens or returns to a neutral state
No over-trading during indecisive phases
The system is designed to stay inactive during uncertain market conditions, which is a key part of its risk-aware behavior.
🕒 Backtesting Scope
For consistency and reliability, the strategy logic is activated only from January 2024 onward, ensuring analysis is focused on recent market behavior rather than outdated volatility patterns.
⚙️ Usage Guidelines
Instrument: MIDCAPNIFTY
Timeframe: 15 Minutes
Suitable for intraday and short-term positional observation
Works best when combined with disciplined risk management
⚠️ Disclaimer
This strategy is provided strictly for educational and research purposes.
Market conditions change, and past performance does not guarantee future results. Users should always forward-test and apply their own risk management before live use.
Nifty-50 Futures trading ideas with RSI and ADX FilterNifty Futures @15M is a trend-following strategy derived from the Savitzky Flow Bands methodology by ChartPrime , adapted into a complete strategy with structured trade execution and risk controls.
The strategy identifies directional bias using a Savitzky-smoothed price structure and executes trades based on trend changes or continuation, depending on the selected entry mode.
Configurable Entry Modes are : 1. Change Only (trend reversal based) 2.Continuation Allowed (trend follow-through).
Optional ADX + DI and RSI filters help validate trend strength and avoid unfavorable market conditions.
Risk management features include configurable Stop-Loss and Take-Profit, ATR-based exits, trailing stop, and separate maximum loss per trade (₹) for long and short positions.
Date and session filters are provided for controlled backtesting.
This script is published for educational and analytical purposes only and is intended for research and backtesting, not as a trading signal or investment recommendation.
Credits:
Original indicator concept: Savitzky Flow Bands by ChartPrime
Strategy conversion & enhancements: @Alpha_Trinity
Range Strategy (kasatura84)Winning Range Strategy (Set Heikin Ashi Candles)
Incredible winning strategy. You have to set Heikin Ashi Candles to activate strategy! It works both long and short trades.
Scalping EMA + Pinbar Strategy (London & NY only, BE @ 1R)The scalping trading system uses two types of indicators:
EMA 10, EMA 21, EMA 50
Pinbar Indicator
Rules for entering a buy order:
If the closing price is above the EMA 50, the trend is uptrend and only buy orders should be considered.
The EMA 10 and EMA 21 lines must simultaneously be above the EMA 50.
The price must correct down at least 50% of the area created by the EMA 10 and EMA 21, or correct further down.
A Type 1 Pinbar candle (marked by the Pinbar indicator) must appear; this Pinbar candle must react to at least one of the three EMA lines (EMA 10, EMA 21, EMA 50) and close above the EMA 50.
This Pinbar candle must have a Pinbar strength value (marked by the Pinbar indicator) less than 2 to be considered valid. Check if the closing price of this pinbar candle is higher than the 50-day EMA and if the 10-day and 21-day EMAs are also higher than the 50-day EMA. If so, the conditions have been met and you can begin trading.
Place a buy stop order 0.1 pip higher than the highest price of the pinbar candle, and a stop loss order 0.1 pip lower than the lowest price of the pinbar candle. Set the take profit at 3R.
If the price moves past the previously set stop loss, cancel the pending order.
When the price moves 1R, move the stop loss back to the entry point.
The next trade can only be executed after the previous trade has moved the stop loss back to the entry point.
Rules for placing sell orders:
If the closing price is below the 50-day EMA, the trend is bearish, and only sell orders should be considered. The 10-day and 21-day EMAs must both be below the 50-day EMA.
The price must correct downwards by at least 50% of the area formed by the 10-day and 21-day EMAs, or even further.
A Type 1 pinbar candle (marked by the Pinbar indicator) must appear. This pinbar candle must react to at least one of the three EMAs (EMA 10, EMA 21, EMA 50) and close below the EMA 50.
This pinbar is valid if its strength (indicated by the Pinbar indicator) is less than 2. Verify that the closing price of this pinbar candle is below the EMA 50 and that both the EMA 10 and EMA 21 are below the EMA 50. If all conditions are met, the trade can be executed.
(This appears to be a separate entry rule and not part of the previous text.) Place a sell stop order 0.1 pip below the lowest point of the pinbar candle, and a stop loss order 0.1 pip above the highest point of the pinbar candle. Set the take profit point at 3R.
If the price moves past the previously set stop-loss point, cancel the pending order.
When the price moves 1R, move the stop-loss point back to the entry point.
The next trade can only be executed after the previous trade has moved the stop-loss point back to the entry point.
AlphaGen ME V.15.12AlphaGen ME V.15.10 is an ATR-based trend-following strategy with dynamic trailing stops and EMA filter, designed for automated Crypto perpetual trading.
Core Logic:
• ATR Trailing Stops: Dynamically adjusts stop-loss using ATR(10) × 3.0 multiplier
• 200 EMA Trend Filter: Optional Only takes longs above EMA, shorts below EMA
• Reversal System: Flips positions when trend changes (filter-aware)
• MACD Acceleration Exit: Optional momentum-based profit taking
Position Sizing Modes:
• Simple % of Equity (default 90%) - Safe leverage control
• Risk % of Equity - Fixed risk per trade
• Fixed Contract Size - Consistent lot sizing
Webhook Integration:
Routes signals directly to AlphaGen-AI for execution on:
• Hyperliquid DEX
• AsterDEX
Requirements:
• AlphaGen-AI Pro subscription for webhook routing
• Hyperliquid or AsterDEX Wallets
• TradingView alerts configured with passphrase
Risk Disclosure: Trading involves substantial risk. Past performance does not guarantee future results. Only trade with capital you can afford to lose.
DAX-30 ATRXVersion 1 of DAX-30 ATRX algo.
Revised versions may be available in future.
To be used on the 45 minute timeframe only.
Algorithm is also profitable on the NAS100 - but use with caution.
Optimized Settings:
Higher-TF for trend bias - 4 hours
HTF EMA length - 5
Min HA body size (pts) - 0.5
RSI length - 14
RSI threshold for longs - 40
Fisher length - 11
Volume MA length - 20
Volume spike multiplier - 1.2
ATR length - 14
ATR-mean length - 80
Min ATR / ATR_mean multiplier - 0.8
Max ATR / ATR_mean multiplier - 2.5
SL = ATR x - 0.9
TP = ATR x - 2.1
NY Session ON
Max trades per day - 1
Sinals 15m - RSI 7 e 9This strategy is designed to capture continuation moves on the 15-minute chart by combining trend filters, momentum indicators, and strong-candle confirmation. The core idea is to enter trades shortly after EMA crossovers that signal direction, as long as momentum and candle strength support the move.
[SM-021] Gaussian Trend System [Optimized]This script is a comprehensive trend-following strategy centered around a Gaussian Channel. It is designed to capture significant market movements while filtering out noise during consolidation phases. This version (v2) introduces code optimizations using Pine Script v6 Arrays and a new Intraday Time Control feature.
1. Core Methodology & Math
The foundation of this strategy is the Gaussian Filter, originally conceptualized by @DonovanWall.
Gaussian Poles: Unlike standard moving averages (SMA/EMA), this filter uses "poles" (referencing signal processing logic) to reduce lag while maintaining smoothness.
Array Optimization: In this specific iteration, the f_pole function has been refactored to utilize Pine Script Arrays. This improves calculation efficiency and rendering speed compared to recursive variable calls, especially when calculating deep historical data.
Channel Logic: The strategy calculates a "Filtered True Range" to create High and Low bands around the main Gaussian line.
Long Entry: Price closes above the High Band.
Short Entry: Price closes below the Low Band.
2. Signal Filtering (Confluence)
To reduce false signals common in trend-following systems, the strategy employs a "confluence" approach using three additional layers:
Baseline Filter: A 200-period (customizable) EMA or SMA acts as a regime filter. Longs are only taken above the baseline; Shorts only below.
ADX Filter (Volatility): The Average Directional Index (ADX) is used to measure trend strength. If the ADX is below a user-defined threshold (default: 20), the market is considered "choppy," and new entries are blocked.
Momentum Check: A Stochastic RSI check ensures that momentum aligns with the breakout direction.
3. NEW: Intraday Session Filter
Per user requests, a time-based filter has been added to restrict trading activity to specific market sessions (e.g., the New York Open).
How it works: Users can toggle a checkbox to enable/disable the filter.
Configuration: You can define a specific time range (Default: 09:30 - 16:00) and a specific Timezone (Default: New York).
Logic: The strategy longCondition and shortCondition now check if the current bar's timestamp falls within this window. If outside the window, no new entries are generated, though existing trades are managed normally.
4. Risk Management
The strategy relies on volatility-based exits rather than fixed percentage stops:
ATR Stop Loss: A multiple of the Average True Range (ATR) is calculated at the moment of entry to set a dynamic Stop Loss.
ATR Take Profit: An optional Reward-to-Risk (RR) ratio can be set to place a Take Profit target relative to the Stop Loss distance.
Band Exit: If the trend reverses and price crosses the opposite band, the trade is closed immediately to prevent large drawdowns.
Credits & Attribution
Original Gaussian Logic: Developed by @DonovanWalll. This script utilizes his mathematical formula for the pole filters.
Strategy Wrapper & Array Refactor: Developed by @sebamarghella.
Community Request: The Intraday Session Filter was added to assist traders focusing on specific liquidity windows.
Disclaimer: This strategy is for educational purposes. Past performance is not indicative of future results. Please use the settings menu to adjust the Session Time and Risk parameters to fit your specific asset class.
30min First Candle + Fibo50 + Sequential Multi-TF Break StrategyPrice action basée sur ouverture marché US a partir de la 1ere bougie
Réinitialisation chaque jour
Price action based on US market opening from 1st candle
Reset every day.
30min First Candle + Fibo50 + Sequential Multi-TF Break StrategyPrice action basée sur ouverture marché US avec Réinitialisation chaque jour
ETH UU Reversion Strategy [Limit]Strategy Overview
The "ETH UU Reversion Strategy" is a sophisticated mean-reversion trading system designed to capture price reversals at standard deviation extremes. Unlike typical strategies that enter trades immediately at market price, this script employs a proprietary **Limit Order Execution Mechanism** combined with volatility filtering to optimize entry prices and reduce slippage.
Originality & Key Features
This script addresses the common pitfalls of standard Bollinger Band strategies by introducing advanced order management logic:
1. Limit Order Execution:** Instead of market orders, the strategy calculates an optimal entry price based on ATR offsets. This allows traders to capitalize on "wicks" and secure better risk-reward ratios.
2. Smart Timeout Logic:To prevent "catching a falling knife," pending orders are automatically cancelled if not filled within a customizable number of bars (default: 15). This ensures orders do not remain active when market structure shifts.
3. Dynamic Risk Recalculation:** Stop Loss (SL) and Take Profit (TP) levels are recalculated at the exact moment of execution using the real-time ATR, ensuring risk parameters adapt to current market volatility.
How to Use
1. Setup: Apply the strategy to ETH/USDT (or other crypto pairs) on 15m or 1h timeframes.
2. Configuration:
* Adjust `BB Length` and `RSI Length` to fit your timeframe.
* Set `Order Timeout` to define how long a pending order should remain active.
* Toggle `Use ADX Filter` to avoid trading against strong trends.
3. *Visuals: The chart displays distinct labels for pending orders (Gray), active entries (Blue/Red), and cancellations, providing full transparency of the strategy's logic.
Risk Disclaimer
This script is for educational and quantitative analysis purposes only. Past performance regarding backtesting or live trading does not guarantee future results. Cryptocurrency trading involves high risk and high volatility. Please use proper risk management and trade at your own discretion.
-------------------------------------------------------------
Chinese Translation (中文说明)
策略概述
“ETH UU 均值回归策略”是一个旨在捕捉标准差极端位置价格反转的交易系统。与立即以市价入场的典型策略不同,本策略采用独特的**挂单执行机制**结合波动率过滤,以优化入场价格并减少滑点。
原创性与核心功能
本脚本通过引入高级订单管理逻辑,解决了普通布林带策略的常见缺陷:
1. 挂单交易模式: 策略不使用市价单,而是根据 ATR 偏移计算最佳入场价(Limit Orders)。这允许交易者捕捉K线的“影线”,获得更好的盈亏比。
2. 智能超时撤单: 为了防止“接飞刀”,如果挂单在指定K线数内(默认15根)未成交,系统会自动撤单。这确保了当市场结构发生变化时,旧的挂单不会被错误触发。
3. 动态风控重算: 止损和止盈在成交的瞬间根据实时 ATR 重新计算,确保风控参数始终适应当前的市场波动率。
风险提示
本脚本仅供教育和量化分析使用。回测或实盘的过往表现并不预示未来结果。加密货币交易具有极高的风险和波动性,请务必做好仓位管理,并自行承担使用本策略的风险。
New Age US ORB═════════════════════════════════════════════════════════════
NEW AGE US ORB
Opening Range Breakout Strategy with Neon Glow Effect
═════════════════════════════════════════════════════════════
🔒 INVITE-ONLY ACCESS
This script requires an invitation to use.
To request access, please send me a private message.
═════════════════════════════════════════════════════════════
🎯 OVERVIEW
The New Age US ORB is a clean, professional Opening Range Breakout (ORB) strategy with a futuristic visual style featuring dynamic neon glow effects.
Designed for Crypto (BTC/USD) and Indices (US100, US30, SPX) trading.
Best results on 5-minute or 15-minute chart with Regular Candles.
The strategy captures the first 15 minutes of US market activity (9:30-9:45 NY) and trades breakouts in the direction of the initial move.
💎 WHAT MAKES THIS UNIQUE
Unlike standard ORB indicators, this strategy combines:
• Proprietary 3-layer Neon Glow visualization for enhanced box visibility
• Integrated US Session backgrounds for market context
• Smart Session Filter to avoid low-probability late entries
• Separate Long/Short TP management for asymmetric markets
• Automatic EOD position closure for overnight risk control
• Daily trade limiter to prevent overtrading
• Global Timezone Support - works correctly for traders worldwide
This combination of visual design and risk management features is not available in standard ORB scripts.
Trade Smarter, not Harder.
📦 WHAT IS ORB?
The Opening Range Breakout (ORB) strategy is based on the concept that the first 15 minutes of the US market session often sets the tone for the rest of the day. The High and Low established during this period act as key support/resistance levels.
• Price breaks ABOVE ORB High → Bullish momentum (LONG)
• Price breaks BELOW ORB Low → Bearish momentum (SHORT)
⚡ KEY FEATURES
📦 ORB BOX VISUALIZATION
• Automatically captures High/Low of 9:30-9:45 NY candle
• Dynamic color change:
→ Cyan: Price ABOVE ORB High (Bullish)
→ Red: Price BELOW ORB Low (Bearish)
• Extends throughout the trading session
✨ NEON GLOW EFFECT
• 3-layer glow effect around the ORB box
• Layered borders (8px → 5px → 3px) with gradient transparency
• Creates futuristic, high-visibility appearance
• Toggle on/off in settings
🕐 US SESSION BACKGROUNDS
• US Open (9:30-11:30 NY) - Blue
• Lunch Break (11:30-13:30 NY) - Orange
• Afternoon (13:30-16:00 NY) - Green
• Visual reference only - helps identify optimal trading windows
⏱️ SESSION FILTER
• Configurable trading window (default: until 11:50 NY)
• Prevents late entries when momentum fades
• EOD auto-close in YOUR selected timezone (default: 21:45)
🎚️ RISK MANAGEMENT
• ORB Box Stop Loss: SL at opposite ORB level + buffer
• Separate Take Profit settings for Long/Short
• Points or Percentage mode
• Daily trade limit (default: 6 trades max)
📊 INFO DASHBOARD
• Real-time status panel (top right)
• Shows: Timezone, Status, Session, Direction, Trades, SL/TP, EOD, ORB levels
⚙️ SETTINGS
TIMEZONE
└── Your Timezone: Select from 12 global timezones (Default: Europe/Zurich)
Available: UTC, New York, Chicago, Los Angeles, London, Berlin,
Zurich, Paris, Tokyo, Hong Kong, Singapore, Sydney
ORB BOX (9:30-9:45 NY)
├── Show ORB Box: true/false
└── Neon Glow Effect: true/false
US SESSION BACKGROUNDS
├── Show Session Background: true/false
├── US Open Color (9:30-11:30)
├── Lunch Color (11:30-13:30)
└── Afternoon Color (13:30-16:00)
SESSION FILTER
├── Enable Session Filter: true/false
├── Session End Hour (NY): 0-23
└── Session End Minute (NY): 0-59
DAILY CLOSE (Your Timezone)
├── Enable Daily Close: true/false
├── EOD Hour: 0-23
└── EOD Minute: 0-59
TRADE LIMITS
├── Enable Daily Limit: true/false
└── Max Trades per Day: 1-10
STOP LOSS
├── Enable ORB Box SL: true/false
└── SL Buffer: Points distance from ORB level
TAKE PROFIT - LONG
├── Enable TP Long: true/false
├── Mode: Points / Percent
├── TP Long Points: Distance in points
└── TP Long Percent: Distance in %
TAKE PROFIT - SHORT
├── Enable TP Short: true/false
├── Mode: Points / Percent
├── TP Short Points: Distance in points
└── TP Short Percent: Distance in %
COLORS
├── Bullish: Default #00ffbb (Cyan)
└── Bearish: Default #ff1100 (Red)
📈 HOW TO USE
1. Apply to BTC/USD or US100 on 5min or 15min timeframe
2. Use Regular Candles for realistic results
3. Go to Strategy Properties → Enable ☑️ "Recalculate On Bar Close"
4. Select your Timezone in settings (for correct EOD close time)
5. Wait for ORB box to complete (9:45 NY)
6. Strategy enters automatically on breakout:
→ LONG when price closes above ORB High
→ SHORT when price closes below ORB Low
7. Manage risk with ORB Box SL and TP settings
8. All positions close at EOD time (in your timezone)
🔔 ALERTS
• LONG Entry - Breakout above ORB High
• SHORT Entry - Breakout below ORB Low
• EOD Close - End of day position close
💡 BEST PRACTICES
• Most effective during US Open session (9:30-11:30 NY)
• Avoid Lunch session (11:30-13:30) - lower volatility
• ORB levels act as support/resistance all day
• Wider TP for trending days, tighter for ranging markets
• Use session filter to avoid late, low-probability entries
═════════════════════════════════════════════════════════════
© AL_R4D1 - New Age Style Trading Tools
═════════════════════════════════════════════════════════════
ORB Strategy: Extensions & Custom SL (EOD & Live Lines)That's a great request. Since you've now built a complex Pine Script Strategy with several user-configurable risk management, targeting, and exit options, the description should focus on the systematic rules used for entering, managing, and exiting trades.
Here is a clear, written description of the trading strategy you have built:
Trading Strategy Description: ORB Extension Breakout with Custom Stop, Live Tracking, and EOD Exit
This strategy is a systematic, momentum-based system designed for intraday trading. It operates on the principle of an Opening Range Breakout (ORB), utilizing the initial market consolidation to project high-probability targets, while offering multiple methods for managing risk and enforcing a mandatory end-of-day closure.
1. Market Identification (The Opening Range)
The strategy first defines the market's initial boundaries and volatility:
Session Window: The strategy calculates the Opening Range (OR) over a user-defined time period (default: 9:30 AM to 10:30 AM New York Time).
ORB Levels: Two key price levels are established and locked once the time window closes:
Wick High/Low: The absolute highest and lowest prices of the session. These serve as the entry trigger lines.
Body High/Low (Shaded Range): The highest and lowest open/close prices of the session. The height of this range is used as the basis for calculating all targets and stops.
2. Entry Rule (The Breakout)
The strategy waits passively for a breakout that confirms direction and ensures the move has not yet reached its immediate target.
Trigger Condition: A trade is signaled when a candle closes either:
Above the Wick High (for a Long entry).
Below the Wick Low (for a Short entry).
Constraint (Fresh Breakout): The entry is invalidated if the breakout candle's price action (High for Long, Low for Short) has already touched or surpassed the projected Take Profit (0.5 Extension) level before the candle closes.
Execution: The entry is a Market Order executed on the candle that meets the trigger conditions, subject to a user-defined Entry Delay (default 0 bars).
Direction Control: The user can select to trade Long Only, Short Only, or Both.
3. Exit and Risk Management
All trades are placed with simultaneous Take Profit and Stop Loss orders (a bracket order) upon entry.
A. Take Profit (TP)
The Take Profit is set at the 0.5 Extension of the Shaded Range (Body Range).
Calculation: The distance from the Body High/Low to the TP level is exactly 50% of the total height of the Shaded Range.
B. Stop Loss (SL)
The Stop Loss is dynamically calculated based on a user-selected method for risk control:
Range 0.5 (Body Range): The SL is placed an equal distance (0.5 times the Body Range height) outside the opposite side of the Body Range.
ATR Multiple: The Stop Loss distance is calculated as a user-defined Multiplier times the Average True Range (ATR).
Recent Swing Low/High: The Stop Loss is placed based on a structural low (for Long) or high (for Short) within a user-defined lookback period.
C. End-of-Day (EOD) Exit
Any open position is forced closed at the market price if it is still open when the user-defined closing time (default: 16:00 HHMM) is reached. This prevents carrying intraday risk overnight.
4. Visualization
The strategy includes comprehensive visual cues for analysis:
ORB Drawing: Displays the Wick High/Low and the shaded Body Range.
Breakout Signals: Highlights the specific bar where the validated entry signal occurs.
Closed Trades: Draws persistent lines for the Entry and Exit prices of the last few closed trades.
Live Open Trades: Draws persistent lines for the current Entry Price, active Take Profit Level, and active Stop Loss Level for any open position.






















