SHUBHAM V7aits a combination of 22 and 200 simple moving average for better accuracy and trend identification for beginners which minimise your losses with showing right trend and also calculate the ATR value for buy/sell signals by SHUBHAM VAIRAGEE
Трендовый анализ
Adaptive Confluence StrategyAdaptive Confluence Strategy brings institutional discipline to retail charts — blending adaptive EMA crossovers, RSI, VWAP, and higher-timeframe filters with ATR-driven risk management and smart position sizing to help traders capture trends with confidence.
Adaptive EMA Crossovers – auto-adjusted for intraday, daily, or weekly charts.
Multi-Factor Confluence – optional RSI filter, VWAP alignment (intraday), and higher timeframe EMA trend confirmation.
ATR-Based Risk Management – stop loss, take profit, and optional Chandelier trailing stop.
Position Sizing Guidance – suggested trade size and risk/reward metrics displayed on chart.
Flexible Use – suitable for both short-term day trading and longer-term swing setups.
Back test & Refine – built-in strategy logic for historical testing and optimization.
Overview:
A multi-factor trend-following strategy designed for both intraday
and swing trading. The system combines EMA crossovers with optional
RSI filters, VWAP confluence (intraday), and higher timeframe trend
confirmation. Risk management is enforced through ATR-based stop
loss / take profit and an optional ATR Chandelier trailing stop.
Position sizing guidance is included to assist with consistent
risk-per-trade allocation.
// Disclaimer:
// This script is for educational and research purposes only.
// Past performance in backtests does not guarantee future results.
// Use at your own risk.
MSP- Commodity - Silver strategy Commodity - Silver strategy
it's working for silver and making good reliable P&L with less drowadown
KONG FX ORB The FX Opening Range Breakout (ORB) strategy defines the high and low of a selected opening range session and enters trades when price breaks out. Long positions are triggered on a breakout above the range high, and short positions on a breakout below the range low.
Take Profit / Stop Loss: Defined in pips for precise FX risk management.
Position Sizing: Controlled by lot size (e.g., 0.1 = 10,000 units, 1.0 = 100,000 units).
Session Control: Trades are taken only within the defined trading window, with all positions closed at session end.
This strategy is designed for Forex traders who want a clean breakout system with configurable pips-based risk/reward and flexible lot sizing.
RSI 趋势套利策略概览
「RSI 趋势套利」策略是一款基于动态支撑阻力概念的自动化交易策略。它创新性地将RSI指标的超买超卖阈值与经过波动率调整的移动平均线通道相结合,用以识别趋势启动的契机并进行追踪止损。该策略不仅具备清晰的交易逻辑,还集成了时间过滤器、回测日期范围选择以及自动平仓机制,旨在捕捉趋势性行情的同时,有效控制风险。
核心逻辑与功能
动态交易通道 (Dynamic Bands)
策略的核心是计算一个动态通道。该通道以选定类型的移动平均线(如EMA、SMA等)为中线,并以27周期的ATR(平均真实波幅) 来衡量市场波动性。
RSI的上界(默认60)和下界(默认40)并非直接用于RSI指标本身,而是作为参数来动态缩放通道的宽度。这使得通道能自适应不同波动率的市场环境,在趋势市场中扩大通道以抓住更多利润,在震荡市场中收窄通道以减少虚假信号。
趋势判断与交易信号
多头信号:当价格(使用ohlc4)上穿动态通道的上边界时,策略判定市场进入多头趋势,产生买入信号。
空头信号:当价格(使用close)下穿动态通道的下边界时,策略判定市场进入空头趋势,产生卖出信号。
策略通过内部状态变量确保在同一时间只存在一种趋势立场(多头或空头),避免了信号反复切换。
高级过滤与风险管理
时间过滤器:允许用户自定义每日的交易时段(例如,仅允许在上午9点到下午4点之间交易),避免在流动性差或波动异常的时段进行操作。
回测日期范围:可以精确设置策略的回测起止日期,方便进行历史业绩验证和参数优化。
自动定时平仓:策略内置了在每日下午15:10 - 15:20之间自动平仓所有头寸的功能,旨在规避隔夜风险或锁定当日利润,非常适合日內交易者。
丰富的可视化与警报
可视化:在图表上清晰地绘制了动态通道的上轨和下轨,并根据当前市场趋势改变颜色(绿色为多头,红色为空头)。同时可选择显示中线,并为K线着色以直观显示当前趋势状态。
警报系统:策略内置了Alert功能,可在产生交易信号时触发警报,方便用户实时监控或连接自动化交易系统。
适用市场与场景
适用品种:该策略基于价格和波动率,理论上适用于所有具有趋势特性的交易品种,如股票、外汇、期货、加密货币等。
总结
「RSI 趋势套利」策略是一款设计精巧、功能全面的趋势跟踪工具。它通过将经典的RSI思想与动态波动率通道相结合,提供了一种系统化的趋势交易解决方案。其内置的风控模块和灵活的过滤器使其不仅是一个信号指标,更是一个可直接用于实盘的完整交易策略框架。 Strategy Overview
The "RSI Trend Arbitrage" strategy is an automated trading system built on the concept of dynamic support and resistance levels. It innovatively combines the overbought/oversold thresholds of the RSI indicator with a volatility-adjusted moving average channel to identify trend initiation opportunities and manage trades. Equipped with a time filter, backtest date range selection, and an automatic position-closing mechanism, this strategy is designed to capture trending moves while effectively managing risk.
Core Logic & Methodology
Dynamic Trading Channel
The core of the strategy is a dynamic channel. This channel uses a selected type of moving average (e.g., EMA, SMA, WMA) as its midline and employs the 27-period Average True Range (ATR) to measure market volatility.
The RSI Upper (default: 60) and Lower (default: 40) bounds are not used directly on the RSI indicator but as parameters to dynamically scale the width of this channel. This allows the channel to adapt to different market regimes: widening to capture more profit during trending markets and narrowing to reduce false signals during ranging markets.
Trend Identification & Trading Signals
Long Signal: A bullish trend is confirmed when the price (using ohlc4) crosses above the dynamic channel's upper bound, triggering a buy entry.
Short Signal: A bearish trend is confirmed when the price (using close) crosses below the dynamic channel's lower bound, triggering a sell entry.
Internal state variables ensure the strategy maintains only one market bias (long or short) at a time, preventing signal whipsaws.
Advanced Filters & Risk Management
Time Filter: Allows users to define specific trading hours within the day (e.g., only between 9:00 AM and 4:00 PM), avoiding periods of low liquidity or atypical volatility.
Backtest Date Range: Enables precise configuration of the strategy's backtesting period for accurate historical performance analysis and optimization.
Auto-Close Mechanism: The strategy features a built-in function to close all open positions between 15:10 - 15:20 daily. This is crucial for mitigating overnight risk or locking in intraday profits, making it ideal for day traders.
Visualization & Alerts
Visuals: Plots the dynamic upper and lower bounds on the chart, changing their color based on the prevailing trend (green for bullish, red for bearish). Options to display the midline and color the price bars provide an at-a-glance view of the market state.
Alert System: Integrated alert conditions trigger notifications upon signal generation, enabling real-time monitoring and connectivity to automated trading systems.
Recommended Markets & Usage
Instruments: As a price-and-volatility-based strategy, it is theoretically applicable to any trending asset, including stocks, forex, futures, and cryptocurrencies.
MA Cross with TP/SL by GMETrade on cross when trading in same direction. use daily on session open for best sucess. use volume, macd for accurate entries along side this stratergy. mark highs and lows of previous sessions. if signals are close to support or resistance lines they are viewed as more valid
VWMA-KNN Supertrend Nifty 50VWMA-KNN Supertrend
The strategy essentially bridges traditional technical analysis with modern data science techniques, making it a hybrid quantitative approach to market timing and trend identification. combining traditional technical indicators with predictive algorithms.
Why This Specific Combination?
Complementary Strengths:
1. VWMA → Filters noise, focuses on significant moves
2. Supertrend → Provides clear trend framework and stop-loss levels
3. KNN → Adds predictive intelligence and pattern recognition
4. Volume → Ensures all signals are backed by real market participation
Problem-Solution Mapping:
• Problem: Traditional Supertrend has lag and false signals
• Solution: VWMA reduces noise, KNN anticipates changes
• Problem: Pure ML can be unstable and overfitted
• Solution: Supertrend provides robust trend framework
• Problem: Many indicators ignore volume
• Solution: VWMA integration throughout
Synergistic Effects:
• Volume validation + Trend following + Pattern recognition = More reliable signals
• Each component covers weaknesses of the others
• Creates a multi-dimensional view: price, volume, volatility, and historical patterns
This combination attempts to create a "smart trend follower" that learns from history while staying grounded in proven technical analysis principles.
Trading Logic Flow
1. Enter initial positions based on signals
2. Monitor trend - force exit opposing positions if trend changes
3. If position moves against you by 120 points AND trend is still favorable, double down
4. Exit when profit targets are hit (targets decrease with position size)
5. Reset all tracking variables on exit
This strategy attempts to profit from mean reversion while respecting the overall trend direction, using martingale sizing to potentially recover from initial losses.
VWAP TrendGuard [KedarArc Quant]Strategy Overview: A non-repainting intraday strategy that pairs VWAP entries with an EMA-based trend gate on the entry timeframe. Entries come from VWAP Cross or Cross+Retest, with an optional Momentum exception. Exits use either an ATR emergency stop or a structural TrendBreak. The Today Panel summarizes Net-R, Win%, and PF for the current session.
Non-repainting: all higher-timeframe requests use lookahead_off (no peeking).
Works across intraday frames; keep the HTF filter your chart timeframe.
Signals & Exits
Trend gate (entry timeframe): trendUp if EMA(fast) > EMA(slow); trendDown otherwise.
Volume gate: volume SMA(volume, volLen) × volMult.
Long (Base): trendUp & volOK AND (cross above VWAP OR (Cross+Retest AND recent low VWAP
within lookback)).
Short (Base): trendDown & volOK AND (cross below VWAP OR (Cross+Retest AND recent high VWAP within lookback)).
Momentum exception (optional): body momBodyPct AND volume SMA × momVolMult allows fast
entry.
TrendBreak exit: Long closes when price < VWAP AND EMA(fast) < EMA(slow); Short closes on the
opposite.
ATR emergency stop: strategy.exit at entry with stop = close ± ATR(atrLen) × atrMult.
趋势Scalping(多时间框架动能策略)策略概述
本策略是一个基于多时间框架动能的短线交易策略,通过结合短期与长期趋势指标、RSI超买超卖判断以及时间过滤机制,在趋势明确时入场,并在特定条件或时间点退出交易。策略适用于股票、期货、加密货币等高频波动的市场。
输入参数说明
数据源(Source)
默认使用 hl2(最高最低价的平均值),也可选择其他价格数据。
短期趋势周期(Short Term Trend)
默认值为5,用于计算短期RSI,捕捉近期价格动量的变化。
长期趋势周期(Long Term Trend)
默认值为60,用于计算随机指标(Stochastic)的周期,判断中长期趋势方向。
长期趋势平滑周期(Smooth Long Term Trend)
默认值为13,对长期随机指标进行平滑处理,减少噪音。
近期回调检测周期(Clear Short Term Pullback Appears Recently)
默认值为15,用于检测短期是否出现明显回调。
RSI超卖阈值(Threshold of Short Term Pullback Clear)
默认值为35.0,RSI低于该值视为短期超卖,可能出现反弹。
RSI回调结束阈值(Threshold of Short Term Pullback End)
默认值为50.0,RSI回升至此表示短期回调结束。
条件失效时退出(Exit if Reason Over)
若启用,当入场条件不再成立时自动平仓。
交易时间范围
可设置策略运行的开始与结束时间(以小时和分钟为单位),仅在指定时间段内交易。
策略逻辑
指标计算:
随机指标(Stochastic):基于长期周期计算,反映价格在近期区间内的位置。
平滑随机值(y_k):对随机指标进行移动平均平滑处理。
RSI指标:基于短期周期计算,反映近期价格动量的强弱。
多空判断:
多头信号(y_upper):
当平滑随机值高于50、RSI高于结束阈值,且近期出现明显超卖回调时,触发做多信号。
空头信号(y_lower):
当平滑随机值低于50、RSI低于结束阈值,且近期出现明显超买回调时,触发做空信号。
时间过滤:
策略仅在用户设定的时间范围内(例如7:00至15:10)运行,避免在波动性较低或非主力交易时段操作。
强制平仓机制:
每天下午16:10(或指定时间区间)强制平仓所有头寸,避免隔夜风险或尾盘波动。
图表显示
策略在副图中绘制以下三条线:
随机指标(红色)
平滑随机值(蓝色)
RSI指标(黄色)
水平线50:作为多空分界线参考。
使用建议
本策略适合在流动性高、波动性强的市场中运行。
建议配合止损机制使用,以控制单笔交易风险。
用户可根据不同品种调整参数周期和阈值,优化入场时机。
Strategy Overview
This is a short-term trading strategy designed to capitalize on momentum shifts within a broader trend. It combines multiple technical indicators across different timeframes—including Stochastic, RSI, and custom trend logic—to generate entry and exit signals. The strategy incorporates a time filter to operate only during specified high-liquidity hours and includes a mandatory end-of-session close-out to avoid overnight risk. It is suitable for volatile markets like equities, futures, and cryptocurrencies.
Input Parameters
Source
The price data used for calculations. Default is hl2 (the average of high and low prices).
Short Term Trend (x_len_a)
The period for the short-term RSI calculation. Default is 5. Used to capture recent price momentum.
Long Term Trend (x_len_b)
The period for the Stochastic Oscillator calculation. Default is 60. Defines the medium-to-long-term trend context.
Smooth Long Term Trend (x_k_b)
The smoothing period applied to the Stochastic value (K). Default is 13. Reduces noise for a clearer trend signal.
Clear Short Term Pullback Appears Recently (x_changk)
The lookback period to identify a recent significant pullback. Default is 15.
Threshold of Short Term Pullback Clear (x_rsi_ct)
The RSI level indicating an oversold (for longs) or overbought (for shorts) condition. Default is 35.0.
Threshold of Short Term Pullback End (x_rsi_ft)
The RSI level signaling that the short-term pullback has concluded and momentum is reversing. Default is 50.0.
Exit if Reason Over (x_exit_if_reason_over)
A boolean switch. If enabled, the strategy will automatically close a position if the original entry condition is no longer valid.
Time Filter (Start/End Hour & Minute)
Defines the specific intraday window during which the strategy is active (e.g., 7:00 to 15:10). All trades are initiated and managed only within this window.
Strategy Logic
Indicator Calculation:
y_stoch: The raw Stochastic Oscillator value calculated over the x_len_b period.
y_k: A smoothed version of the Stochastic (y_stoch) using a Simple Moving Average with period x_k_b.
y_rsi: The Relative Strength Index calculated on the Source price over the short-term period x_len_a.
Entry & Exit Conditions:
The core logic generates a composite signal (y_upper for long, y_lower for short) based on three components:
The deviation of the smoothed Stochastic (y_k) from its midpoint (50).
The deviation of the RSI (y_rsi) from its pullback-end threshold (x_rsi_ft).
The extremity of the recent RSI move compared to the pullback-clear threshold (x_rsi_ct) over the x_changk period.
Long Entry (LE): Triggered when the composite signal y_upper is greater than 0 AND the current time is within the allowed trading window.
Short Entry (SE): Triggered when the composite signal y_lower is less than 0 AND the current time is within the allowed trading window.
Conditional Exit: If x_exit_if_reason_over is true, long positions are closed if y_upper <= 0, and short positions are closed if y_lower >= 0.
Time-Based Filter:
The strategy only evaluates entries and exits if the current bar's time falls within the user-defined start_time and end_time range.
Mandatory Close-Out:
A critical risk management feature: All open positions are automatically closed at 16:10 (4:10 PM) based on the chart's timezone, ensuring no positions are held overnight or into the late session.
Plotting
The strategy plots three key series in the indicator pane:
Stochastic (y_stoch): Red line.
Smoothed Stochastic (y_k): Blue line.
RSI (y_rsi): Yellow line.
A hline at 50 serves as a visual midpoint reference for both Stochastic and RSI.
Usage Recommendations
This strategy performs best in markets with high volatility and strong trending characteristics.
It is highly recommended to use this script with a brokerage account that supports and enforces stop-loss orders on the strategy's behalf, as the script itself does not calculate stop-loss levels.
Parameters, especially periods and thresholds, should be optimized for the specific asset and timeframe being traded.
Always conduct rigorous backtesting and forward testing before deploying capital.
Day Range Breakout Strategy + Trend Structure Filter🚀 Enhanced Strategy for Breaking Previous Day’s Extremes with Market Structure-Based Trend
The strategy focuses on breakouts of previous day’s highs and lows, filtered by trend direction based on market structure.
🔑 Key Improvements
1️⃣ Solved the repainting issue.
There are similar strategies in the community, but the historical results of those algorithms do not correspond to the results of real backtesting.
2️⃣ Added a trend filter.
In most cases, this makes it possible to achieve higher profitability. It works as follows:
The script determines market structure based on a defined number of previous candles.
If there are higher highs and higher lows, this is considered an uptrend structure.
If there are lower highs and lower lows, this is considered a downtrend structure.
The trend filter is adjusted using the Lookback Period setting.
3️⃣ Choice of entry principle.
Implemented the ability to choose whether trades are opened based on closing prices or by high/low breakout, which allows finding the optimal settings for a specific instrument.
4️⃣ Improved entry/exit logic.
When an opposite signal appears, before entering a trade, the script first closes the previous position.
✅ This makes the strategy fully ready for algorithmic trading via webhook on any exchange that supports this function.
5️⃣ Better visualization.
🟥 Red and 🟩 green backgrounds indicate the trend direction.
⚙️ How It Works
The principle of the strategy as follows:
Wait for the breakout of the previous day’s high or low.
Enter long on a breakout of the high, or short on a breakout of the low in the market structure trend direction.
Exit occurs on the breakout of the opposite extreme.
📈 This allows capturing long trends.
⚠️ But, like all similar strategies, in a sideways market it produces losing trades.
⚙️ Default Settings
Breakout Confirmation:
The breakout is determined by the candle close.
You can also choose high/low, but this often gives more false signals. However, on some assets, it may show higher profitability in backtesting.
Trend Structure Period:
The default value is 15.
This means the script analyzes the last 15 candles on the selected timeframe to determine market structure as described above.
Position Size:
Fixed at $1,000, which is 1% of the initial capital of $100,000 to keep risks under control.
Commission:
Set to 0.1%, which is sufficient for most cryptocurrency exchanges.
Slippage:
Configured at 1 tick.
Funding Note:
Keep in mind that funding is not included in this strategy.
It’s impossible to predict whether it will be positive or negative, and it can vary significantly across exchanges, so it is not part of the default settings.
🕒 Recommended Settings
Timeframe: 1H and higher
On lower timeframes → significant discrepancies may occur between historical and real backtesting data.
On higher timeframes → minor differences are possible, related to slippage, sharp moves, and other unpredictable situations.
⚠️ Important Notes
Always remember: Strategy results may not repeat in the future.
The market constantly changes, so:
✅ Monitor the situation
✅ Backtest regularly
✅ Adjust settings for each asset
Also remember about possible bugs in any algorithmic trading strategy.
Even if a script is well-tested, no one knows what unpredictable events the market may bring tomorrow.
⚠️ Risk Management:
Do not risk more than 1% of your deposit per trade, otherwise you may lose your account balance, since this strategy works without stop losses.
⚠️ Disclaimer
The author of the strategy does not encourage anyone to use this algorithm and bears no responsibility for any possible financial losses resulting from its application!
Any decision to use this strategy is made personally by the owners of TradingView accounts and cryptocurrency exchange accounts.
📝 Final Notes
This is not the final version. I already have ideas on how to improve it further, so follow me to not miss updates.
🐞 Bug Reports
If you notice any bugs or inconsistencies in my algorithm,
please let me know — I will try to fix them as quickly as possible.
💬 Feedback & Suggestions
If you have any ideas on how this or any of my other strategies can be improved, feel free to write to me. I will try to implement your suggestions in the script.
Wishing everyone good luck and stable profits! 🚀💰
MuLegend's Break & Retest StrategyThis strategy was produced to help traders who trade NQ: win! try it out on a demo, see how you like and happy trading!! Works well if you are a break & retest trader!!!
MuMu
@atltime2shine on IG
AI KNN-Dual SuperTrend MTF - by Trading Pine Lab🇬🇧
The AI KNN-Dual SuperTrend MTF is a next-generation trading strategy that merges two higher-timeframe SuperTrends with dual KNN (K-Nearest Neighbors) classifiers, an ADX/DMI filter, and a Pivot Percentile bias module. This layered architecture ensures stronger signal confirmation by requiring consensus across AI models, multi-timeframe SuperTrends, and statistical filters.
Entries occur only when both SuperTrends align with bullish or bearish KNN labels, while the ADX/DMI filter validates momentum. Exits are managed dynamically with adaptive trailing stops (ST ± ATR × factor) or when market conditions flip according to percentile bias.
All parameters are fully configurable:
-Trading direction filter: Long / Short / Both.
-KNN classifiers: neighbors (K), dataset size (N), smoothing lengths.
-Dual SuperTrend: higher timeframes, ATR length, ATR factor, baseline type.
-ADX/DMI filter: customizable length and timeframe.
-Pivot Percentile module: multi-scale statistical bias.
-Visualization: AI markers, ribbons, aura lines, and per-trend coloring.
Flex-ATR SuperTrend - by Trading Pine Lab🇬🇧
The Flex-ATR SuperTrend is a versatile trading strategy that enhances the classic SuperTrend with adjustable ATR methods, a custom date-range filter, and modern visual styling. By allowing a switch between standard ATR and SMA-based TR, the baseline adapts better to different volatility regimes and market conditions.
Entries are triggered when the SuperTrend flips bullish, while exits occur when it flips bearish. A highlight cloud emphasizes the active trend, and optional BUY/SELL labels provide clear visual confirmation of entry and exit signals.
All parameters are fully configurable:
-ATR settings: period and multiplier, with toggle between classic ATR and SMA-based TR.
-Date range filter: define exact backtesting windows.
-Signal visualization: optional BUY/SELL labels.
-Highlight cloud: cyan/magenta overlay for trend emphasis.
-Customization: enable/disable signals and visuals for a clean or detailed interface.
Dual-BB SuperTrend - by Trading Pine Lab🇬🇧
The Dual-BB SuperTrend is a fusion strategy that builds a BBTrend oscillator from two Bollinger Bands (short & long lookbacks) and then runs a SuperTrend over that oscillator to time entries and exits. The BBTrend captures expansion/contraction between the two bands (structural momentum), while the SuperTrend converts that flow into clear directional flips.
Entries occur on SuperTrend direction flips over the BBTrend series (Long when ST turns bullish, Short when it turns bearish). Optional percentage TP/SL can be applied on top. The chart includes a blue/orange theme for the BBTrend histogram with a subtle glow around the zero line, and BUY/SELL label markers with arrows for clean visual confirmation.
All parameters are fully configurable:
-Trading direction filter: Long / Short / Both.
-Bollinger settings: short length, long length, standard-deviation multiplier.
-SuperTrend over BBTrend: length and ATR factor, contrarian labels toggle, bull/bear colors.
-Risk controls: Take-Profit % and Stop-Loss % with TP/SL/Both/None mode.
-Visualization: BBTrend column colors (blue/orange, strong/weak), zero-line glow, BUY/SELL label styling.
Gaussian Trend Rider - by Trading Pine Lab🇬🇧
The Gaussian Trend Rider is a clean and effective trend-following strategy based on a simulated Gaussian filter (double SMA smoothing).
Long entries are triggered when the price closes above the Gaussian trend line, and positions are exited when the price closes back below it.
The strategy is designed to keep trading simple while still offering visual clarity:
A dynamic trend line that adapts with price.
An optional ATR-based "waterfall cloud", adding subtle context about volatility and confidence.
Entry and exit markers for clear visual confirmation.
This minimalistic approach is ideal for traders who prefer riding established trends without overcomplicating the setup.
Configurable parameters:
-Trend Length (Gaussian smoothing window).
-Styling options (line width, static/dynamic coloring, markers, ATR cloud).
Quantum Edge Scalper - Adaptive Precision Trading [KedArc Quant]Strategy Overview
Quantum Edge Scalper is a multi-regime intraday strategy engineered for adaptability across equities. It fuses EMA trend & slope, RSI sanity checks, ATR-based volatility gating, and candle-shape filters. Regime detection (ATR%% z-score) tunes thresholds on-the-fly, while an optional OSS — Oversold Short Override captures late-session breakdowns. Robust day-level controls include trade caps, cooldowns, and loss-streak stops. A compact panel summarizes live session stats.
Key Features
• Preset modes: Aggressive / Aggressive+ / Conservative / Hybrid / Custom.
• EMA Fast/Slow trend filter + EMA-separation slope gate.
• ATR volatility floor (percent-of-price) to avoid dead markets.
• Candle-shape and wick-ratio filters to curb false breakouts.
• Regime adaptation using ATR% z-score (HIGH / LOW / NEUTRAL).
• Hybrid+ LOW-regime extras: tighter SL, adaptive TP, mid-session pause, loss-streak blocker.
• OSS (Oversold Short Override): validators for micro-pullback, range expansion, structure break, and time window.
• Daily caps & loss-streak protection; cooldown management post wins/losses.
• Clean summary labels + compare panel; optional debug labels.
𝐍𝐄𝐔𝐑𝐀𝐋 𝐍𝐄𝐓𝐖𝐎𝐑𝐊神经网络交易系统全网都在疯狂寻找的神经网络交易系统
策略通过整合多种技术指标(如EMA、Supertrend、HMA、PSAR、RSI、MACD、WaveTrend、Stochastic、Bollinger Bands、ATR、RVI、OBV、CMF、VWAP、K线形态等),生成综合交易信号。策略采用评分系统,根据各指标的权重累积分数,触发强/弱多头和空头信号,并结合趋势过滤(可选)和止损机制进行交易管理。
The neural network trading system that the entire network is frantically searching for
The strategy integrates multiple technical indicators (such as EMA、Supertrend、HMA、PSAR、RSI、MACD、WaveTrend、Stochastic、Bollinger Bands、ATR、RVI、OBV、CMF、VWAP、K Generate comprehensive trading signals based on line shapes, etc. The strategy adopts a scoring system, accumulates scores based on the weights of each indicator, triggers strong/weak long and short signals, and combines trend filtering (optional) and stop loss mechanism for trading management.
Trend MasterOverview
The Strategy is a trend-following trading system designed for forex, stocks, or other markets on TradingView. It uses pivot points to identify support and resistance levels, combined with a 200-period Exponential Moving Average (EMA) to filter trades. The strategy enters long or short positions based on trend reversals during specific trading sessions (London or New York). It incorporates robust risk management, including position sizing based on risk percentage or fixed amount, trailing stop-losses, breakeven moves, and weekly/monthly profit/loss limits to prevent overtrading.
This script is ideal for traders who want a semi-automated approach with visual aids like colored session backgrounds, support/resistance lines, and a performance dashboard. It supports backtesting from a custom start date and can limit trades to one per session for discipline. Alerts are built-in for entries, exits, and stop-loss adjustments, making it compatible with automated trading bots.
Key Benefits:
Trend Reversal Detection: Spots higher highs/lows and lower highs/lows to confirm trend changes.
Session Filtering: Trades only during high-liquidity sessions to avoid choppy markets.
Risk Control: Automatically calculates position sizes to risk only a set percentage or dollar amount per trade.
Performance Tracking: Displays a table of weekly or monthly P&L (profit and loss) with color-coded heatmaps for easy review.
Customizable: Adjust trade direction, risk levels, take-profit ratios, and more via inputs.
The strategy uses a 1:1.2 risk-reward ratio by default but can be tweaked.
How It Works
Trend Identification:
The script calculates pivot highs and lows using left (4) and right (2) bars to detect swing points.
It identifies patterns like Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) to determine the trend direction (uptrend if above resistance, downtrend if below support).
Support (green dotted lines) and resistance (red dotted lines) are drawn dynamically and update on trend changes.
Bars are colored blue (uptrend) or black (downtrend) for visual clarity.
Entry Signals:
Long Entry: Price closes above the 200 EMA, trend shifts from down to up (e.g., breaking resistance), during an active session (London or NY), and no trade has been taken that session (if enabled).
Short Entry: Price closes below the 200 EMA, trend shifts from up to down (e.g., breaking support), during an active session, and no prior trade that session.
Trades can be restricted to "Long Only," "Short Only," or "Both."
Entries are filtered by a start date (e.g., from January 2022) and optional month-specific testing.
Position Sizing and Risk:
Risk per trade: Either a fixed dollar amount (e.g., $500) or percentage of equity (e.g., 1%).
Quantity is calculated as: Risk Amount / (Entry Price - Stop-Loss Price).
This ensures you never risk more than intended, regardless of market volatility.
Stop-Loss (SL) and Take-Profit (TP):
SL for Longs: Set below the recent support level, adjustable by a "reduce value" (e.g., tighten by 0-90%) and gap (e.g., add a buffer).
SL for Shorts: Set above the recent resistance level, with similar adjustments.
TP: Based on risk-reward ratio (default 1.2:1), so if SL is 100 pips away, TP is 120 pips in profit.
Visual boxes show SL (red) and TP (green) on the chart for the next 4 bars after entry.
Trade Management:
Trailing SL: Automatically moves SL to the new support (longs) or resistance (shorts) if it tightens the stop without increasing risk.
Breakeven Move: If enabled, SL moves to entry price once profit reaches a set ratio of initial risk (default 1:1). For example, if risk was 1%, SL moves to breakeven at 1% profit.
One Trade Per Session: Prevents multiple entries in the same London or NY session to avoid overtrading.
Sessions include optional weekend inclusion and are highlighted (blue for London, green for NY).
Risk Limits (Weekly/Monthly):
Monitors P&L for the current week or month.
Stops trading if losses hit a limit (e.g., -3%) or profits reach a target (e.g., +7%).
Resets at the start of each new week/month.
Alerts notify when limits are hit.
Exits:
Trades exit at TP, SL, or manually via alerts.
No time-based exits; relies on price action.
Performance Dashboard:
A customizable table (position, size, colors) shows P&L percentages for each week/month in a grid.
Rows = Years, Columns = Weeks (1-52) or Months (1-12).
Color scaling: Green for profits (darker for bigger wins), red for losses (darker for bigger losses).
Yearly totals in the last column.
Helps visualize strategy performance over time without manual calculations.
Input Parameters Explained
Here's a breakdown of the main inputs for easy customization:
Trade Direction: "Both" (default), "Long Only," or "Short Only" – Controls allowed trade types.
Test Only Selected Month: If true, backtests only the specified month from the start year.
Start Year/Month: Sets the backtest start date (default: Jan 2022).
Include Weekends: If true, sessions can include weekends (rarely useful for forex).
Only One Trade Per Session: Limits to one entry per London/NY session (default: true).
Risk Management Time Frame: "Weekly" or "Monthly" – For P&L limits.
Enable Limits: Toggle weekly/monthly stop trading on loss/profit thresholds.
Loss Limit (%)/Profit Target (%): Stops trading if P&L hits these (e.g., -3% loss or +7% profit).
London/New York Session: Enable/disable, with time ranges (e.g., London: 0800-1300 UTC).
Left/Right Bars: For pivot detection (default: 4 left, 2 right) – Higher values smooth signals.
Support/Resistance: Toggle lines, colors, style, width.
Change Bar Color: Colors bars based on trend.
TP RR: Take-profit risk-reward (default: 1.2).
Stoploss Reduce Value: Tightens SL (negative values widen it, 0-0.9 range).
Stoploss Gap: Adds a buffer to SL (e.g., 0.1% away from support).
Move to Breakeven: Enables SL move to entry at a profit ratio (default: true, 1:1).
Use Risk Amount $: If true, risks fixed $ (e.g., 500); else, % of equity (default: 1%).
EMA 3: The slow EMA period (default: 200) for trend filter.
Performance Display: Toggle table, location (e.g., Bottom Right), size, colors, scaling for heatmaps.
Setup and Usage Tips
Add to Chart: Copy the script into TradingView's Pine Editor, compile, and add to your chart.
Backtesting: Use the Strategy Tester tab. Adjust inputs and test on historical data.
Live Trading: Connect alerts to a broker or bot (e.g., via webhook). The script sends JSON-formatted alerts for entry, exit, SL moves, and limits.
Best Markets: Works well on crypto pairs like SOLUSD or RUNEUSD on 4H timeframes.
Risk Warning: This is not financial advice. Always use demo accounts first. Past performance doesn't guarantee future results. Commission is set to 0.05% by default – adjust for your broker.
Customization: Experiment with EMA length or RR ratio for your style.
Optimised EURGBP (IC Markets, 30m)Illyad Strategy 1.0 – Optimised EURGBP (IC Markets, 30m)
Description:
This is the Illyad Strategy 1.0 optimised for EURGBP on the 30-minute timeframe (IC Markets feed).
📊 Results (Jan 2024 – Aug 2025):
✅ Total P&L: +£31,032.15 (+31.03%)
📉 Max Drawdown: 2.86% (£3,576.85)
🔁 Total Trades: 39
📈 Win Rate: 58.97%
⚖️ Profit Factor: 2.92
This strategy focuses on controlled drawdown + consistent growth, making it ideal for prop trading challenges and long-term account compounding.
🔧 Optimisation:
Works best on the 30m timeframe.
Each symbol behaves differently — for maximum performance, you should optimise the parameters (MAs, SL/TP, intensity) to the instrument you want to trade.
Example: The EURGBP setup shown here differs from what you’d use on NASDAQ, XAUUSD, or stocks like Tesla.
💡 Best Use Cases:
Passing and scaling prop firm accounts (FTMO, AquaFunded, etc.).
Automated alerts → MT5 integration (hands-free trading).
Consistent, rule-based trading without emotion.
⚠️ Disclaimer:
This script is for educational purposes only. Past results don’t guarantee future performance. Always backtest and forward-test on demo before live trading.
📲 Next Steps:
This version shows the EURGBP optimisation. If you want to run it on other pairs, indices, or stocks → simply optimise parameters for that symbol.
👉 For full automation (TradingView → MT5 execution), check my profile for details.
MW Futures Liquidity Scalper (FREE)MW Futures Liquidity Scalper (FREE) - ICT-Inspired Precision Trading
Unlock Market Edge with Smart Liquidity Hunting – Now Free on TradingView!
Imagine transforming chaotic futures and forex markets into a predictable playbook: spotting high-probability setups where liquidity pools get raided, FVGs (Fair Value Gaps) align with institutional bias, and risk-managed entries turn volatility into consistent edges. That's the power of the MW Futures Liquidity Scalper – an ICT (Inner Circle Trader) inspired strategy enhanced with machine learning for pattern recognition, correlation filters, and adaptive avoidance. Previously invite-only and paid, we're making the manual TradingView version completely free to empower more traders like you to master liquidity scalping without barriers.
This isn't just another indicator – it's a battle-tested system built for risk-tolerant traders who crave pattern identification, bulletproof risk management, and optimization tools. Whether you're a beginner needing educational setups or a pro seeking insights, this strategy delivers real-world value while always emphasizing: Trading involves substantial risk of loss and is not suitable for everyone. Past performance isn't indicative of future results.
Core Features & How It Works
Powered by advanced logic (imported from our proprietary library), this strategy scans for liquidity sweeps and FVGs every 15/30/60 minutes (customizable), aligning with ICT models like first-presentation bias in key sessions (Asia, London, NY AM/PM). Here's what sets it apart:
Liquidity & FVG Detection : Automatically identifies buy/sell-side liquidity pools and FVGs with customizable size filters (min/max handles). Uses volume imbalance for refined entries, with options for 2022-model FVGs post-liquidity purge.
Bias & Direction Filters : Integrates NDOG/NWOG (New Day/Week Opening Gaps), EMA crossovers (9/18 on daily/weekly/custom timeframes), macro time restrictions (e.g., xx:50-xx:10), and correlation with tickers like DXY (positive/negative sync).
Order Flow Analysis : Tracks Short-Term (STH/STL), Intermediate (ITH/ITL), and Long-Term (LTH/LTL) highs/lows for premium/discount entries – only trade in alignment with market flow.
Risk Management Mastery :
Stoploss placement at FVG/candle lows/highs, with min/max overrides and trailing stops (using close or high/low).
Breakeven logic: Auto-moves to breakeven after X handles in profit, with avoidance during high-risk times.
Funded account rules for Topstep (50k/100k/150k) or AMP Live, including max daily loss/drawdown, contract limits, and risk-per-trade caps.
Time-Based Controls : Define liquidity search (e.g., 09:30-10:00 AM range), trading windows, and avoidance periods (e.g., first 2 mins of macro, day-specific blocks like Mondays 10:00-10:29).
Entry & Exit Precision : Slippage adjustments, 75% body closure filter to avoid wick runs, min/max handle runs for TPs, runner contracts for unlimited upside, and clustering/merging of close TPs.
Visuals & Alerts : Color-coded FVGs (bullish green, bearish red, neutral blue), liquidity lines (purged/non-purged), bias dashboard, and customizable alerts for entries, breakevens, and trails.
Backtest on futures like ES or NQ, or forex pairs – it processes on every tick for realism (with bar magnifier). No internet or extra installs needed; just add to your chart and tweak inputs.
Educational Resources
Dive deeper with our FREE Manual : Download the comprehensive guide at >>Manual with full documentation<< for setup tips, ICT breakdowns, and risk disclaimers.
Check out case studies: >>Case Studies Playlist<<
Step-by-step tutorials: >>Tutorial Playlist<<
Discord: >>Questions? Join Discord here<<
Ready to scalp liquidity like a pro? Add this to your chart now!
ORB FVG Strategy with telegram V6.1Summary
Intraday NY-session strategy with Opening-Range bias (09:30–10:00 NY), FVG entries (incl. optional HTF FVGs), momentum filters (LinReg slope & Williams %R), limit entries inside the zone, SL from FVG anchors, and TP via risk-reward. Includes session/trade caps, pending-order handling, auto-cancel at NY time, and optional Telegram webhook alerts.
Feature Overview
Opening Range & Bias: OR high/low built until 10:00 NY, then frozen. Bias from confirmed 5-minute candles (modes: Body Close, Complete Candle, Wick Only).
FVG Scanner: Bull/bear FVGs (choose wick or body gaps), min size, auto-extend, mitigation cleanup (touch or 50%).
HTF FVG (10 min): Optional – displayed after ≥ 2 consecutive FVGs; cleans up on touch/50%.
Entry/SL/TP: Entry at X% fill (+extra %) within the FVG; SL from FVG candle / FVG-1 / FVG-2 (smart) + buffer; TP via risk-reward.
Momentum Filters: LinReg slope (MLL) + Williams %R with threshold/slope filters (individually switchable).
Intrabar Mode (optional): Immediate Open/intrabar entry on touch (calc_on_every_tick=true) or classic bar-close confirmation (toggle).
Trade Management: Max trades/day, pending cap, auto-cancel at defined NY time, pause after first winner (optional).
Telegram: Programmatic alerts via alert() with Telegram-ready JSON payload.
Parameters (compact)
Group Parameter Purpose
Sessions Trading session, Opening range Trading/OR window (internal NY TZ)
Bias Body Close / Complete Candle / Wick Only Bias confirmation relative to OR
Liquidity LQ session, lookback days, cleanup points, show lines Intraday liquidity marks & cleanup
FVG Min size, wick/body, colors, extend, cleanup Detection/visualization & validity
HTF FVG (10 m) Toggle/Display/Colors Conservative HTF filter/POI
Entry Fill %, extra %, max pending, validity (bars), cancel time, intrabar switch Execution timing, order caps, auto-cancel
Stop Loss Source: Candle / -1 / -2 (smart), buffer (points) SL anchor from FVG history + safety offset
Take Profit Risk-Reward (R:R) Target calculation
Momentum LinReg length/min slope, W%R length/min slope, HUD Trend/momentum filters
Trade Mgmt Max trades/day, pause after win Daily cap / risk cooldown
Telegram Enabled, tester, interval, channel id Webhook output & test signals
Debug & Info Debug panel, rejection reasons On-chart status/diagnostics
Alerts / Telegram Webhook (Quick Setup)
Create an alert with Condition: “Any alert() function call”.
Webhook URL: api.telegram.org
Message: leave empty (the strategy provides JSON via alert() – includes chat_id, parse_mode, text).
Ensure your bot can post to the channel and the chat_id is valid.
Repainting & Backtesting
HTF series via lookahead_off on closed higher-TF candles; FVG detection on confirmed bars (barstate.isconfirmed).
Intrabar/Open entries allow earlier fills but typically cause differences between backtest and live (tick granularity/slippage, limit touch on bar OHLC).
For reproducibility, trade without intrabar (bar-close only).
Limitations
No full tick simulation; limit fills rely on bar OHLC.
Liquidity “cleanup” is rule-based (not an orderbook).
Telegram depends on correct webhook configuration.
Tips
Timeframes: M5 (intrabar)
Start with modest R:R (e.g., 1.5–2.0) and tune filters carefully.
Disclaimer
No financial advice. Past results do not guarantee future performance. Use responsibly and follow Public Library rules.
License / Credits
© 2025 Lean Trading (Lennart Pomreinke). License: MPL-2.0.
Changelog
V06.1: Intrabar switch (Open/intrabar vs bar-close), Telegram sanitizer & tester, HTF-FVG cleanup, refined pending/cancel logic, debug panel (status & rejections).
ICT Unicorn Strategy [RoboQuant]What it detects
Structure: uses pivots (ta.pivothigh/low) to build a mini zigzag (A–B–C–D).
“Unicorn” Pattern:
Bull: bullish direction, C below A (protected swing), with a bullish “BRB” candle at B.
Bear: mirrored version.
FVG: searches for a valid gap between candle i and i+2 inside the BRB candle range and greater than 0.05 × ATR (quality filter).
When an FVG appears, it plots boxes/lines (top/bottom of range, protected swing, FVG box).
How it enters
Bull Trigger: a candle opens inside the FVG and closes above the top of the FVG (mitigation + continuation).
SL = protected swing (firstBl.swing, pivot C).
TP = top + (top - swing) * (reward/risk).
Draws Risk and Reward boxes if showTargets=true.
Bear Trigger: mirror setup (opens inside FVG and closes below bottom).
Management & sizing
Sizing: calculates position size = riskAmount / SL distance, capped by maxPositionSize.
RR configurable with risk and reward (default 1:2).
Trailing optional: adjusts TsL using short pivots (lenS).
Trade closes at SL (break of swing) or TP (target reached).
combine: if false, a bull setup cancels a bear setup (and vice versa). If true, both can coexist.
Key parameters
len: pivot sensitivity (structure).
riskAmount and maxPositionSize: risk control.
trail, lenS: trailing logic.
Box colors/visibility (showTargets, colRisk, colReward).
ICT translation
Seeks impulse → FVG → pullback into FVG → expansion, with a protected swing (implicit BOS/MSS via zigzag) and mitigation of imbalance.
The ATR * 0.05 filter avoids micro-gaps without intent.
How I’d use it (quick checklist)
Mark HTF bias (only take bull or bear setups with the trend).
On LTF, wait for a valid FVG inside the BRB candle.
Enter only if a candle re-enters the FVG and closes breaking its edge.
SL at swing C, TP by RR (default 1:2).
Enable trailing only after 1R is reached (optional, tuned via lenS).