Rampage Quantum ProPro version includes: HUD KPI Summary + Matrix Dashboard + Real Execution delivering a complete visual-to-execution workflow for serious backtesting and systematic trading. Pine Script®策略由lai_zai提供已更新 2
SuperTrend Strategy V4 [Filtered & Directional] Strategy Type: Trend-Following / Breakout Core Indicator: SuperTrend (ATR-based trailing stop) Risk Profile: Variable (User-defined Risk per Trade) Filtering: ADX, CHOP 1. Executive Summary This strategy is an advanced trend-following system designed to capture significant market moves while rigorously filtering out "noise" and consolidation phases. Built on the classic SuperTrend indicator, V4 introduces a modular "Regime Filter" suite (ADX, Choppiness Index) to solve the common problem of "whipsaw" losses during sideways markets. It features dynamic position sizing based on account risk and allows for full directional control (Long-only, Short-only, or Bi-directional). 2. Core Logic (The Engine) The primary signal generation relies on the SuperTrend indicator, which serves two purposes: - Trend Definition: Determining the market direction (Bullish/Bearish). - Trailing Stop Loss: Providing a dynamic exit point that moves with the price. - Entry Signal: A trade is triggered when the price closes on the opposite side of the SuperTrend line (flipping the trend direction), provided that all enabled filters give permission. Important Note: ATR Length and Factor are key parameters of the strategy; to get positive backtesting results, those should be aligned individually for each specific asset and timeframe. 3. The "Anti-Whipsaw" Filter Suite To prevent overtrading in ranging markets, the strategy employs three selectable filters. These act as "logic gates" if any enabled filter says "No," the trade is skipped. A. Choppiness Index (The Noise Filter): - Purpose: Detects lack of trend. - Logic: If the "Chop" value exceeds the threshold, the market is considered too chaotic. The strategy waits for the index to drop, indicating a return to directional movement. - Default settings (recommended): - Chop Length: 14 - Max Chop Threshold: 55 B. ADX (The Strength Filter): - Purpose: Measures the strength of the current trend. - Logic: Only permits entry if the Average Directional Index (ADX) is above a set threshold, ensuring momentum is present. - Default settings (recommended): - DI Length: 14 - ADX Smoothing Length: 5 - Min ADX Threshold: 15 4. Risk Management & Position Sizing* Instead of fixed lot sizes, this strategy uses Volatility-Adjusted Sizing: - Risk Per Trade: The user defines a fixed dollar amount to risk according to initial capital. - Calculation: The script calculates the distance between the Entry Price and the SuperTrend (Stop Loss). It then mathematically determines the exact position size so that if the Stop Loss is hit, the loss equals the defined risk amount. - Safety: Includes a failsafe for zero-division errors during extreme volatility (e.g., crypto flash crashes). 5. Directional Bias Control Recognizing that different assets have different biases (e.g., Crypto is often long-biased; Forex pairs can be mean-reverting), V4 allows the user to toggle: - Enable Longs: Toggle ON/OFF. - Enable Shorts: Toggle ON/OFF. Note: Disabling a direction prevents new entries but allows existing positions to close naturally to preserve capital. 6. Visual Aids - Trend Lines: Green/Red SuperTrend line indicates active trailing stop. - Regime Highlighting: The chart background turns Gray when the market is in a "No Trade Zone" (failed filter checks), allowing for instant visual backtesting of the filters' effectiveness.Pine Script®策略由nefyodov.artyom提供116
Anhnga4.0 - Filter ToggleINPUTS: 1.5 0.8 (OR 1.6 0.5/0.6) BE=0.45 1 MAs: 35 135 7 This Pine Script code defines a trading strategy named **"Anhnga4.0 - Filter Toggle"**. It is a trend-following strategy that uses momentum oscillators and moving averages to identify entries, while featuring a specific "Overextension Filter" to avoid buying at the top or selling at the bottom. Here is a breakdown of how the script works: --- ## 1. Core Trading Logic (The Entry) The strategy looks for a "perfect storm" of three factors before entering a trade: * **Momentum (WaveTrend):** It uses the WaveTrend oscillator (`wt1` and `wt2`). * **Long:** A bullish crossover happens while the oscillator is below the zero line (oversold). * **Short:** A bearish crossunder happens while the oscillator is above the zero line (overbought). * **Trend Confirmation:** The price must be on the "correct" side of three different lines: the 20-period Moving Average (BB Basis), the 50-period SMA, and the 200-period SMA. * **The Window:** You don't have to enter exactly on the cross. The `Signal Window` allows the trade to trigger up to 4 bars after the momentum cross, provided the trend filters align. ## 2. The "Overextension" Filter This is a unique feature of this script. It calculates the distance between the current price and the **50-period Moving Average**. * If the price is too far away from the MA (defined by the **ATR Limit**), the script assumes the move is "exhausted." * If `Enable Overextension Filter?` is on, the strategy will skip these trades to avoid "chasing the pump." * **Visual Cue:** The chart background turns **purple** when the price is considered overextended. --- ## 3. Risk Management & Exit Strategy The script manages trades dynamically using Bollinger Bands and Risk:Reward ratios: | Feature | Description | | --- | --- | | **Stop Loss (SL)** | Set at the **Lower Bollinger Band** for Longs and **Upper Band** for Shorts. | | **Take Profit (TP)** | Calculated based on your **RR Ratio** (default is 2.0). If your risk is $10, it sets the target at $20 profit. | | **Breakeven** | A "protection" feature. Once the price moves in your favor by a certain amount (the `Breakeven Trigger`), the script moves the Stop Loss to your entry price to ensure a "risk-free" trade. | --- ## 4. Visual Elements on the Chart * **Green Lines:** Your target price (TP). * **Red Lines:** Your initial Stop Loss. * **Yellow Lines:** Indicates the Stop Loss has been moved to **Breakeven**. * **Purple Background:** High alert—price is overextended; trades are likely being filtered out. --- ## Summary of Settings * **BB Multiplier:** Controls how wide your initial stop loss is. * **ATR Limit:** Controls how sensitive the "Overextension" filter is (higher = more trades allowed; lower = stricter filtering). * **Breakeven Trigger:** Set to 1.0 by default, meaning once you are "1R" (profit equals initial risk) in profit, the stop moves to entry. Pine Script®策略由ngamei2912提供26
BTC/SOL Spread StrategySpread Percentage Trading Strategy A mean reversion strategy for highly correlated asset pairs (e.g., BTC/SOL) that trades based on price ratio divergence. CORE CONCEPT This strategy monitors the logarithmic spread between two correlated assets and generates trading signals when the spread deviates significantly from its historical mean. It only trades the second asset (S2) while using the first asset (S1) as a reference for spread calculation. HOW IT WORKS Spread Calculation: - Computes log spread: log(S1) - log(S2) - Calculates rolling Z-score of the spread - Identifies overbought/oversold conditions Entry Signals: - Long S2: When spread Z-score crosses above entry threshold (S1 relatively overpriced) - Short S2: When spread Z-score crosses below negative entry threshold (S2 relatively overpriced) Exit Signals: - Positions close when Z-score reverts to exit threshold levels KEY PARAMETERS - Window: Rolling period for mean and standard deviation calculation (default: 144) - Entry Threshold: Z-score level to trigger new positions (default: 1.5) - Exit Threshold: Z-score level to close positions (default: 0.3) FEATURES ✓ Vectorized backtesting engine ✓ Built-in parameter optimization ✓ Comprehensive performance metrics ✓ Visual analysis tools ✓ Position sizing with leverage support RISK WARNING This strategy: - Assumes mean-reverting behavior in price ratios - Does not guarantee future performance - Uses leverage which amplifies both gains and losses - Does not include transaction costs in base implementation - Requires monitoring of correlation breakdown RECOMMENDED USE Best suited for pairs with: - High historical correlation (>0.8) - Similar market dynamics - Sufficient liquidity - Stable volatility patterns Always backtest with realistic transaction costs and implement proper risk management including stop-losses and position limits. DISCLAIMER For educational purposes only. Past performance does not guarantee future results. Trade at yourPine Script®策略由zhux9512提供4
UCY-DorukBot2 LiveTitle: DorukBot2 aka Doruk DENİZ Short Title: DorukBot2 Author: Uğur Çağrı YILMAZ x.com Co-Authors: Murat DENİZ Mehmet Sıddık TEMEL Osman ÖZEN Salih ÜNSAL Serkan BODUR Backtest parameters: Backtested with default parameter of DorukBot2 XU030D1! 5 min BIST chart (with all available price data) Backtested initial capital 100.000 TRY Order size set as 100% of equity Commission is set to 0.1% same as this is a brokerage default in Turkey. DorukBot is a hit and run indicator so it's main purpose is to enter positions in intra-day movements at price action levels.Pine Script®策略由ugurcagriyilmaz提供0
ASC Trio Trader SignalASC Trio Trader Strategy — Description for TradingView Short Description: ASC Trio Trader is a powerful trading strategy combining Bollinger Band Breakouts with SuperOscillator trend confirmation to generate precise buy and sell signals. Ideal for traders seeking trend-following signals with reduced noise and clear entry/exit points. Strategy Logic: Bollinger Band Breakouts Uses a configurable SMA (default 55) and standard deviation (default 1.0) to calculate upper, middle (basis), and lower bands. Buy signal is considered when price closes above the upper band. Sell signal is considered when price closes below the lower band. SuperOscillator Confirmation Trend momentum is confirmed using a SuperOscillator (green/red candles). Buy signal triggers only when BB breakout + above middle line + green SuperOscillator. Sell signal triggers only when BB breakout + below middle line + red SuperOscillator. Signal Lock / Unlock Mechanism Prevents repeated signals during strong trends. Once a buy is triggered, the next buy will not occur until price closes below the middle line. Once a sell is triggered, the next sell will not occur until price closes above the middle line. Auto Exit Positions are automatically closed when an opposite signal occurs. Features: One-click strategy: Ready for backtesting in TradingView. Dynamic Bollinger Bands: Middle line changes color based on price relative to bands. Visual signals: Clear buy (green) and sell (red) arrows plotted on chart. Customizable inputs: SMA length, standard deviation multiplier, source, and backtest range. Color-coded bars: Highlights market direction for easy trend identification. Backtest window: Allows you to test the strategy over a custom date range. Default Inputs: Input Default Source Close SMA Length 55 Std Dev Multiplier 1.0 Color Bars True Backtest Range 01-01-2018 to present How to Use: Add the strategy to any chart. Use default inputs or customize SMA and Std Dev based on asset volatility. Enter trades when arrows appear (green for buy, red for sell). Monitor automatically managed exits or use additional risk management. Notes: Designed for trend-following markets; works best in volatile stocks, crypto, and commodities. Not based on volume or fundamentals; consider using additional indicators for confirmation. Always apply proper risk management.Pine Script®策略由golifeassociates提供1
DkS Market Structure Breakout Strategy Crypto & ForexDkS Market Structure Breakout Strategy Crypto & Forex 🔍 Overview DkSPro – Universal Market Analysis is a structure-based trading strategy designed for Crypto and Forex markets, focused on trend alignment, breakout confirmation, and volume validation. This strategy is built to filter low-quality trades, avoid ranging conditions, and reduce false breakouts by requiring multiple layers of confirmation before any trade is executed. It is intended for scalping and intraday trading, prioritizing consistency and risk control over trade frequency. 🧠 Strategy Logic (How It Works) DkSPro follows a sequential decision process, not a single-indicator signal: Trend Bias (EMA Structure) A fast and slow EMA define the directional bias. Long trades are only allowed during bullish EMA alignment. Short trades are only allowed during bearish EMA alignment. This prevents counter-trend and ranging-market entries. Market Structure & Breakout Validation The strategy identifies recent swing highs and lows. Trades are triggered only after a confirmed breakout of structure, not during consolidation. This avoids early entries and false momentum moves. Volume Confirmation Volume must exceed its moving average by a defined multiplier. This ensures participation and filters out low-liquidity breakouts. Volume thresholds adapt depending on the selected trading mode. Momentum Confirmation (RSI) RSI is used strictly as a momentum filter, not as a standalone signal. It confirms that price movement aligns with the breakout direction. Risk Management (Mandatory) Every position includes a predefined Stop Loss and Take Profit. Position sizing is based on a fixed percentage of equity, keeping risk per trade within sustainable limits. All conditions must align simultaneously; otherwise, no trade is executed. ⚙️ Trading Modes SAFE Mode Stronger volume and RSI thresholds Fewer trades, higher selectivity Designed for risk control and consistency AGGRESSIVE Mode Slightly relaxed filters Higher trade frequency during strong momentum Intended for experienced users only 📊 Markets & Assets This strategy has been actively used and tested on: 🟢 Crypto (Binance / Binance.US) SOL-USDT XRP-USDT Other high-liquidity pairs (BTC, ETH) Crypto mode benefits from stronger volume confirmation to adapt to higher volatility. 🔵 Forex Major pairs such as EURUSD, GBPUSD, USDJPY Optimized for liquid markets with lower relative volume The same structural logic applies to both markets, with volume behavior naturally adapting to each asset class. ⏱ Recommended Timeframes Crypto: 5m – 15m Forex: 15m – 1H Lower timeframes (1m) are not recommended due to noise and unreliable volume behavior. 🧪 Backtesting & Settings Transparency Default strategy properties are intentionally conservative to reflect realistic conditions: Initial capital: $20,000 Position size: 2% of equity Commission: 0.08% Slippage: 1 tick Fixed Stop Loss and Take Profit on every trade Backtests should be performed on sufficient historical data (ideally 6–12 months) to ensure a statistically meaningful sample size (100+ trades). 📈 Originality & Usefulness DkSPro is not a simple indicator mashup. Each component serves a specific role in a layered confirmation system: EMAs define direction Structure defines timing Volume validates participation RSI confirms momentum Risk management controls exposure Removing any layer significantly reduces signal quality. The strategy is designed as a complete decision framework, not a signal generator. ⚠️ Important Notes This script is an analysis and execution tool, not financial advice. Market conditions change, and no strategy performs well in all environments. Users are encouraged to backtest, forward test, and adjust position sizing according to their own risk tolerance. 🧩 Version Notice This publication represents a consolidated and refined version of an internal experimental script. No parallel or duplicate versions are intended. All future improvements will be released exclusively using TradingView’s Update feature. 🇪🇸 Descripción en Español (Resumen) DkSPro es una estrategia basada en estructura de mercado, diseñada para Crypto y Forex, que combina tendencia, ruptura de estructura, volumen y control de riesgo. Solo opera cuando todas las condiciones se alinean, evitando rangos, falsas rupturas y sobreoperar. Ha sido utilizada en Binance con pares como SOL-USDT y XRP-USDT, así como en Forex, siempre con gestión de riesgo fija y condiciones realistas.Pine Script®策略由dksniewieders提供已更新 39
Stochastic Long on 25 Crossover Strategy + ATR Filter 5 minThis Pine Script strategy is a momentum-based long-only system designed for 5-minute charts. It combines the Stochastic Oscillator for entry timing with an Average True Range (ATR) filter to ensure the market has sufficient volatility before entering a trade. ## Strategy Overview The strategy focuses on catching "oversold" bounces while filtering out "choppy" or low-volatility periods that often lead to false signals. It is built for intraday traders who want disciplined session management and a visual dashboard for tracking performance.Pine Script®策略由kevin_toscano14提供已更新 3
ShefaBot V232 This is a custom-built trading system designed for intraday analysis on GBP/USD. Unlike standard indicators, this script incorporates specific logic to filter out market noise based on trading sessions and volatility ranges. It provides clear visual cues for trend direction while minimizing false signals during low-volume periods. Key Features: Custom trend calculation algorithm. Session-based volatility filtering. Clean visual interface for rapid decision-making. Note: This script implements a specific proprietary strategy and is intended for private community use.Pine Script®策略由aviadss22提供已更新 0
6e - Support/Resistance ( Retest ) M1cadeau les frr utilisez en m1 et adaptez les paramètres Pine Script®策略由hxgoo9提供7
SUPERTRADER SYSTEM SuperTrader SYSTEM allows you to execute Robotic Trades on Financial Markets.Pine Script®策略由Automated_提供2218
DayTradeMind Combined High Win Rate StrategyThe DayTradeMind Combined High Win Rate Strategy is a trend-following system that relies on confluence—the idea that a trade signal is stronger when multiple independent indicators agree. Instead of entering on a single indicator's whim, it uses a "voting" system to qualify entries and a strict risk-to-reward ratio to manage exits.Here is a breakdown of the three main layers of this strategy:1. The Voting Engine (Confluence Model)The strategy tracks four indicators and assigns a "point" for a bullish or bearish bias. It requires a minimum number of points (set by minConfirmations, usually 2/4) before it even considers a trade.IndicatorBullish Condition (1 point)Bearish Condition (1 point)PurposeMACDMACD Line > Signal LineMACD Line < Signal LineMeasures short-term momentum.DonchianPrice > 20-period MedianPrice < 20-period MedianIdentifies price relative to recent range.SuperTrendPrice above trend linePrice below trend lineFilters for the "Macro" trend direction.%B (Bollinger)Price in lower-mid range (0.2–0.5)Price in upper-mid range (0.5–0.8)Prevents buying when overextended.2. The Entry TriggerHaving enough "votes" (confirmations) isn't enough to enter. The strategy waits for a trigger event to ensure you aren't entering a stale trend. An entry only occurs if the minimum confirmations are met AND one of the following happens on the current bar:MACD Cross: The MACD line crosses over the signal line.Structural Break: The price crosses over the Donchian Middle (Median) line.This "Confirmation + Trigger" approach is designed to catch the start of a momentum push rather than buying a flat market.3. Mathematical Risk ManagementThe performance you see in your backtest (like the 46.86% return) is largely driven by the 2:1 Reward-to-Risk (RR) Ratio.Stop Loss (SL): Fixed at 2% below entry.Take Profit (TP): Fixed at 4% above entry.By aiming for a target twice as large as the risk, the strategy can remain profitable even with a win rate as low as 35%–40%. Mathematically, your winning trades compensate for more than two losing trades.Visualizing the SystemTriangles: Small green (up) and red (down) triangles appear on your chart only when the Votes + Trigger align perfectly.Background Shading: Faint green or red bands show you exactly when the "Confluence" is active. If the background is gray, the indicators are in conflict.Dashboard: The table in the top-right summarizes the current "score" for each indicator, letting you know how close you are to a potential trade signal.Pine Script®策略由day_trade_mind提供2296
Universal Signal Trading Tool : Single TargetInternal V 128.0 Overview This script by maurya_algo_trader is designed for four major things Connect external buy/sell entry signal (from indicator) as well as optional exit signal (bool as well as limit) if available SL/Target/TSL : Set various types of Target, Stoploss and trailing stoploss through this script Trade/Risk Managements : Control the no of trades, day or month profits or loss etc. Time managements : Sessions for trade timings Execute trades (Equity, Futures and Options) on various brokers (Currently available for Dhan, Flattrade, 5Paisa, Anand Rathi and Delta exchange) automatically via webhook features through only single alerts (currently available only for indian market : NSE, BSE, MCX and Delta exchange India crypto) How to Connect External Signals for Entry, Exit(optional) To connect external signals it is mandatory that the external signal script must be in the form of an “indicator” (Not in strategy). In the tradingview community indicator you can find readymade indicator buy/sell signals (e.g. ut bot alerts). Mostly the buy/sell signal plotted via plotshap() function which gives the particular value (mostly: 1). This can be seen in “Data Window” (Right side of Tradingview just below the alert section). When you keep the cursor on the candle at buy or sell signal, it gives the value “1” and on the rest of the candles it will be “0”. In Settings/Input tab you will find “EXTERNAL ENTRY” section where you can select the buy signal in drop down menu of “External Ling Entry Signal” and in same line default value 1 is already present (You can change it if plotted signal showing any other numbers for Buy signal). Similarly Choose sell signal in drop down menu of “External Short Entry Signal”. It also has the same “1” value by default but if it is different like” -1” you can change it manually. If you have your own strategy, you need to convert it into an indicator first by removing the strategy function from the entire script (if you know the pine script coding or you can message me for the same). Then set the variable for the logic (bool condition) of long entry and short entry. And then plot the logic by following pine codes : long_entry_cond = *your long condition logic variables (unique bool condition)* short_entry_cond = *your short condition logic variables (unique bool condition)* plot(long_entry_cond ? 1 : 0, '✅✅Long Entry Connector✅✅', display = display.data_window) plot(short_entry_cond ? 1 : 0, '⛔⛔Short Entry Connector⛔⛔', display = display.data_window) This will create the external plots which can be retrieved in the dropdown menu of “EXTERNAL ENTRY”. If you have any external exits (other than opposite entry) you can use them similarly in sections of “EXTERNAL EXIT”. If you have any Take profit or take SL (at limit price) then it can also be retrieved in External TAKE PROFIT and EXTERNAL TAKE SL section by selecting the appropriate option in the dropdown menu. Once proper signal attachment done with dropdown menu, you can see various entry exit labels like : “Long Entry”, “Short Entry”, “Long Exit” and “Short Exit”. In addition to original entry, advance entry options are available like : “Entry at second candle of the day if no position”; “Entry at high/low breakout of actual Buy/Sell candle”; and “Add buffer to high/low of buy sell candle in points/percentage (inputs). SL/Target Settings By default, target and SL are off. You can select various target types below and set the value accordingly (additional multiplier input available to optimize various interval of target level) : Value (INR 1000 : not applicable of Index); Percentage, Points, R:R (Multiplier of SL (Point/Percentage) ); No of Bars: Exit at set no of bars after entry. Various stoploss types available like : Value (INR 1000 : not applicable of Index); Percentage, Points, Low/High During entry : A fix SL as low or high of no of candle back Following options are one kind trailing Stoploss HH/LL of period of candle : As candle moves ahead fix length of candle’s low or high move a one kind of trailing stoploss ATR : Supertrend as trailing SL you need to add length and multiplier in respective input tabs Pivot : This is the pivot point of right and left side candles length (low for long side and high for short) add left and right side candle length in respective input tabs. Opposite band of Bollinger : Lower Band for Long Side and Upper band for Short side TSL settings TSL settings have the following types of options. By default it is off. This section is specifically designed to activate TSL after some market achieved some distance from its entry and TSL can be started from desired distance from entry or SL. High/Low : It trails by distance of previous to new high created after entry Step : It trails by by given inputs of distance: at every 50 points trails 50 points Pivot/HH/LL od period of candle, ATR, opposite band of Bollinger these options are same as available in Stoploss section. The difference is only You can choose where the TSL is activated where it start from that you can decide in section. Trade/Risk Managements Trade direction : Both/Only Long/ Only short Reverse Trade : You can reverse the trade if SL/TSL hit if it is in loss/profit options Skip Opposite trade: If SL and Target or TSL is set then you can skip opposite trade until your SL/Target or TSL hit Close trade if profitable at no of candle new highest close (for long) and lowest close (for short) Max no of orders per day Max Profit Per day Max loss per day Max Profit per month Max Loss per month Kill All Trades on chart This option enables you to take only fresh entries after creating the alert. So many times Trade is running on chart and still we have not taken any order or created alert and I want a fresh entry signal (with any exit signal of previous entry). So for that you need to set the current date and times after the last entry on the chart. This will show you a pink color vertical draggable line. Before the pink line all signals disappear. Only after that you have to create an alert to take trade. Date Filter This filter is enabled to backtest from a specific date. But remember that date should not be beyond the unavailable candles on the chart. For Deep backtest you must use the tradingview premium plan feature in the strategy section. Always unclick this option if you are trading via webhook Time Management Auto square off on click option available for NSE, NSE and MCX symbols, where mostly between 15:00 to 15:30 hours for NSE/BSE and 23:00 to 23:30 hours for MCX depending upon timeframe. Upto two sessions you can set for trading: 0000 to 0000 means continue trading without any time restriction: Always set in 24 hour format. Input always shows in candles opening time instead of closing time. Example Trade timing : 09:30 - 15:00 (All entry and exit as per logic) Squareoff timing : 15:00 – 15:30 (Only Exit happen at first candle close between 15:00 to 15:30, for 1 min TF it square off on 15:01, for 5 min TF 15:05 and for 15 min TF 15:15) Algo Settings Select broker : Dhan, Flattrade, 5Paisa,Anand Rathi, Delta Exchange Instrument: Option, Future, Equity (What are you trading?) For Future always use 1! (for current month) and 2! (for next month expiry) symbol chart (eg. NIFTY1! Or NIFTY2!) Order type: Delivery (carry forward), Intraday ( Always set autosquare off of square off settings in time management). This selection also affects signals on the equity chart, Intraday shows both long and short signals while Delivery option shows only long side signals because in equity short trade is not allowed in delivery. Quantity: for equity use no of shares that you what to trade, for future and options always use no of lot: enter 1 for 1 lot (please do not use lot size). Client ID: You need to add client Id if you use broker Flattrade or Anand Rathi Secret key from Json : Paste secret code for Dhan/Flattarde/Anand Rathi while strategy Id for delta exchange, no need of secret code for 5 paisa. Secret code for Dhan: Order/Webhook/ Manage/ select webhook expiry/ creat webhook/ add any script/ creat json/ copy secret code from json without any inverted coma Secret code from Flattrade: Order/webhook/login to creat webhook/ copy code from json (longer in character) Strategy Id for Delta exchange : Algo/trading bot/Creat webhook/OTP-2FA-submit/ copy strategy id from json deltaexchangeindia.freshdesk.com Option settings If you are trading options then select OPTION in instrument. Option Buyer or seller: If you are option buyer then by default it is OPT BUYING OPT BUYING: buy CE when long entry and buy PE when short entry on index chart, while it shows only long trades on option premium chart OPT SELLING: sell PE when long entry and sell CE when short entry on index chart, while it shows only short trade on option premium chart BOTH: This option is only used when you want to trade both long (Option Buying) and short signal (Option Selling) on option premium charts. Do not use on index chart; this is exclusively for option premium chart. Strike selection : ATM : At the money, OTM: out of the Money (low Premium), ITM : In the money (Higher Premium) You can trade the strike in multiple of your choice like in Nifty strike difference is 50 , but if dont want to trade 50 multiple strike 25850 or 25950 and you only want to trade 25800, 25900 then click on that option and enter strike difference 100. Set expiry: for NSE and BSE according to instrument it has specific expiry day Current Auto Expiry : Nearest expiry date (tuesday for NSE and thursday for BSE) for nifty50 current week tuesday and for Banknifty Current month last tuesday. Current week/Next week/Next to Next week : for Nifty50 only Current Month: Monthly expiry for NSE and BSE Next Month: Next Monthly Expiry for NSE and BSE Manual Date Input : Select this option for MCX and delta exchange india as well as NSE/BSE if date is not accurate automatically function. Suppose any Tuesday expiry for NSE is on holiday then you must select Manual date input. Manual Expiry date: When you select Manual Input Date in above option then only you can select particular date of option expiry. Delay Entry order by approx seconds: This option exclusively for Future and equity where new entry and previous exit order fire at the same time which cause margin release issues and hence order rejected due to low margin. This option gives signals at the same time but fires order after some seconds. Minimum 5 seconds are set but according to your symbols liquidity increases seconds specifically in MCX market where more than 10 seconds is appropriate. Always monitor such trades. Consent and disclaimer Always click this option : 'Trading involves a risk of loss and may not appropriate for every one. Please consider carefully if trading is appropriate for you. Past performance is not indicative of future results. Any signals appear on chart are for education purpose only. This signals can be optimised by yourself changing the variables in the indicator\'s input tab on various instruments and timeframe. It is your responsibility knowing that by clicking you are accepting that indicator would trade on your behalf at your own risk. We are not SEBI registered.' Show Monthly Performance Table This option enable the Monthly Performance in table form where month wise profit and loss are showing (on index it shows in point form). Percentage in () depends upon initial capital set in the property tab. Various Statistical parameters are also seen in table like : % profitability, profit factor, No of trades (W winnings and L Lossing), Max Run-Up, Max Drawdown, Initial capital, Backtest Range. This data only shows that shows on strategy tester without any deep backtesting. Show Small PNL Table This option enables a small profit and loss table for today’s trade only (except the last candle close) Show Algo Setting Details Table This table enables you to show which settings have you done for automation and also guides if you select the wrong option showing in red background color. Symbols, instruments, broker, client id, secret key, position on chart, expiry date (most important for FNO) please verify this date with actual option chain expiry date. Wrong expiry date lead to no execution of trade. Creat Alert for Automation At the end of indicator on three dot click on “Add alert on Universal Signal Trading Tool : Single Target”. Which Creat on Pop-Out Page with three different tab: Settings Message and Notifications #Settings Symbols : current symbol Condition: Universal Signal Trading Tool : Single Target Interval: Same as chart #Message Alert Name: Type your Custom alert name Message: by default you will this message : {{strategy.order.alert_message}} Please do not change this message, do not use any json message here #Notifications Click on webhook url : (Only available if you have Tradingview subscription and two factor authentication is done) paste brokers valid webhook here (Use only active webhook). Please do not use api webhook, use only tradingview webhook separately available for tradingview User’s broker account. Play sound as per your need How to update an alert? Once you create an alert on the current indicator and current chart with the same timeframe then green color watch you can see next to indicator name on chart. If green watch does not appear then the current indicator setting/symbol/timeframe is different from the setting in alert. So if you have made any changes then you must update the alert. See the right top side of the alert in the alert section: pause/ restart, edit and delete option are available. Click on edit option then pop-up window will open, select appropriate symbol if it is different, in condition dropdown menu if indicator name shows two time means second name is the new settings, so select second indicator name and select timeframe as same as chart and then click ok. Check if the green watch appears or not. Trouble shooting Q : I am not able to see signals on chart? Check initial capital on chart, increase zero at end if required. Always unclick the backtest date filter. Check entry exit external signal properly selected. Q: Trade not executing on broker panel? Is alert generated in alert log? If yes then check secret code, expiry date if trading FNO, valid webhook and symbols. If No then update your alert. Q: Order fails at broker? Click on the failed order and see the reason and approach us via message on tradingview. Note: Strategy used in the above strategy is only for example and demonstration purpose. It does not indicate to use the same strategy. Results shown here are using the supertrend indicator (attached to this script as external indicator) with ATR length 1 and factor 30 on Nifty 50 index chart on 5 minute timeframe. Always use your own criteria, risk management and proper backtesting before using the live capital. Do not go for blind trading, always monitor the automated trade in synchronization. Any misbehave by system or technical glitches leads to unwanted loss. So, think first, practice and go according to your analysis. Your feedback and reporting any kind of bug is appreciable. Please reach us via message, comment or communication method available in our profile. Pine Script®策略由MAURYA_ALGO_TRADER提供已更新 7
Peachain BTC SystemBTC Specialist is a rule-based trading strategy designed to analyze Bitcoin market structure and adapt positioning to changing market conditions. The strategy focuses on participating in sustained BTC trends while reducing exposure during weak, choppy, or unfavorable market regimes. Core principles: – Regime-based market assessment – Dynamic long/short positioning based on BTC strength – Emphasis on risk control and drawdown management – Designed to operate across multiple Bitcoin market cycles The strategy does not attempt to predict exact market tops or bottoms. Instead, it prioritizes structured exposure during favorable conditions and capital preservation when conditions deteriorate. This script is intended for analytical and educational purposes only. It does not constitute financial advice. Pine Script®策略由peachchainsystems提供2
Peachchain ETH StrategyPeaChain ETH Strategy is a rule-based trading system designed to analyze Ethereum market structure and adapt positioning to changing market conditions. The strategy focuses on participating in sustained ETH trends while reducing exposure during weak, choppy, or unfavorable regimes. Core principles: – Regime-based decision making – Dynamic positioning based on market strength – Emphasis on risk control and drawdown management – Designed to operate across multiple market cycles The strategy does not attempt to predict market tops or bottoms. Instead, it prioritizes structured exposure during favorable conditions and capital preservation when conditions deteriorate. This script is intended as an analytical and educational tool. It does not constitute financial advice. Pine Script®策略由peachchainsystems提供1
Peachchain AVAX SystemPeaChain AVAX Allocation System is a rule-based trading framework designed to analyze AVAX market structure and adapt exposure to changing market regimes. The system focuses on identifying periods of sustained momentum and trend strength, while reducing or avoiding exposure during weak, choppy, or unfavorable conditions. Key characteristics: – Regime-based positioning rather than fixed signals – Dynamic exposure adjustment based on market strength – Emphasis on risk management and drawdown control – Designed to operate across multiple market cycles The script is intended to be used as a decision-support tool, helping traders understand when market conditions are favorable or unfavorable for AVAX exposure. This is not a predictive model and does not aim to call exact tops or bottoms. It prioritizes structure, consistency, and positioning over short-term noise. For educational and analytical purposes only. This script does not constitute financial advice. Pine Script®策略由peachchainsystems提供1
Bitwardex AI Algo 2.0Bitwardex AI Algo — Adaptive Intelligent Strategy ══════════════════════════════════════════════ 📋 OVERVIEW This comprehensive algorithmic strategy combines adaptive trend detection using Gaussian smoothing, statistical cluster analysis for support/resistance identification, and intelligent risk management into a unified decision-support system. Unlike simple indicator combinations, this strategy implements an integrated analytical architecture where each component directly influences the others — the Heikin Ashi transformation feeds into Gaussian smoothing with adaptive sigma parameters, which adapts to volatility metrics (ATR), while the clustering engine uses this preprocessed data to identify statistically significant price zones that the trend filter validates before execution. This creates a synergistic system where removing any component fundamentally changes the behavior of the others. ══════════════════════════════════════════════ 🎯 WHAT MAKES THIS UNIQUE ▸ Integrated Analytical Pipeline Most strategies use independent indicators that don't interact. This system implements a complete analytical chain where: - Heikin Ashi preprocessing reduces noise before Gaussian smoothing - Gaussian smoothing adapts its sigma parameter based on pseudo-K-means trend classification - Statistical clustering uses the smoothed data to identify statistically significant price zones - Trend filter validates cluster-based signals using the same Gaussian-smoothed trend line - Removing any component fundamentally changes the behavior of the others ▸ Statistical Cluster-Based Support/Resistance Unlike traditional pivot-based or Fibonacci levels, this system uses statistical clustering methods to identify support/resistance zones. The algorithm dynamically adjusts boundaries based on: - Current volatility (ATR ratio) - Cluster strength (density of price points in each cluster) - Price dispersion metrics This creates adaptive levels that respond to market conditions rather than fixed historical points. ▸ Self-Analyzing Performance Built-in real-time performance tracking monitors winrates for each TP level across three time windows (last 10, last 25, all trades), automatically tests 40 parameter variations in parallel, and provides optimization recommendations with overfitting protection filters. ▸ Human-Readable Market Intelligence System The system transforms complex multi-indicator analysis (RSI, MACD, ADX, Bollinger Bands, ATR, volume) into clear text summaries that evaluate inter-indicator relationships, identify conflicts and consistency, and provide actionable market insights. ══════════════════════════════════════════════ 🧠 HOW IT WORKS — METHODOLOGY ▸ Price Preprocessing with Heikin Ashi The system uses Heikin Ashi transformation to reduce market noise and highlight significant trend patterns. Critical design decision: only confirmed values from previous bars (ha_close_prev, ha_open_prev, ha_high_prev, ha_low_prev) are used, which completely eliminates signal repainting. This means that signals you see in backtest are identical to those you would receive in real-time — no changes after appearance. ▸ Adaptive Trend Detection using Gaussian Smoothing Instead of standard moving averages, the system uses Gaussian smoothing with adaptive sigma parameters. The Gaussian kernel is calculated as: weight = exp(-i²/(2σ²)), where sigma = length / (6.0 * trendStrength). The trendStrength parameter dynamically adjusts based on market conditions detected via pseudo-K-means clustering: - In trending conditions (cluster 1 or -1): sigma is reduced (0.5x), making the filter more responsive - In sideways conditions (cluster 0): standard sigma (1.0x) is used for balanced filtering The trend line itself is calculated using a pseudo-K-means approach that classifies market state into three clusters: - Feature vector: - Normalization: price_change uses sigmoid(priceChange/ATR), CCI is clamped to then scaled to , price_deviation uses sigmoid - Centroids: uptrend=0.75, downtrend=0.25, sideways=0.5 - Classification: assigns to nearest centroid via Euclidean distance - Adaptive response: in trending clusters, trend line is pulled closer to price (0.5x distance multiplier) and smoothing is reduced ▸ Intelligent Sensitivity Adaptation The key innovation is dynamic adaptation of processing parameters depending on current market state. The system uses pseudo-K-means clustering to classify market conditions: - Cluster 1 (Uptrend): Centroid at 0.75, based on normalized price change + normalized CCI + normalized price deviation - Cluster -1 (Downtrend): Centroid at 0.25 - Cluster 0 (Sideways): Centroid at 0.5 Based on cluster assignment, the system automatically adjusts: In trending conditions (cluster 1 or -1): Sensitivity multiplier reduced to 0.5x, trendStrength reduced to 0.5, making the system more responsive In volatile conditions: Volatility factor (ATR / SMA(ATR, 14)) increases noise filtering In sideways movements: Standard parameters apply balanced approach ▸ Signal Generation through Statistical Cluster Analysis The system uses statistical clustering methods to identify significant price zones that represent potential support and resistance levels. The clustering algorithm analyzes recent price data to group prices into statistically significant clusters, identifying areas where price has historically consolidated. The identified cluster boundaries are dynamically adjusted based on multiple market factors: - Current market volatility (measured through ATR ratios) - Statistical strength of cluster formations - Price dispersion metrics - User-defined sensitivity parameters This creates adaptive support/resistance levels that respond to changing market conditions rather than relying on fixed historical points. The boundaries are recalculated on each bar to reflect current market structure. Signals are generated when Heikin Ashi close crosses these statistically justified boundaries: Long signals occur when price crosses below the lower cluster boundary, indicating a move toward a potential support zone Short signals occur when price crosses above the upper cluster boundary, indicating a move toward a potential resistance zone ▸ Validation through Trend Filter All signals undergo validation through a trend filter using the Gaussian-smoothed trend line. The filter confirms signal direction matches current trend: - Long signals require: trendSide == 1 (trend >= trend and ha_close_prev > trend) - Short signals require: trendSide == -1 (trend <= trend and ha_close_prev < trend) Optional multi-timeframe confirmation is available, where the system automatically selects a higher timeframe (e.g., 1min → 5min, 5min → 15min) for additional signal validation, ensuring consistency with broader market context. ══════════════════════════════════════════════ 🔬 WHY THIS COMBINATION IS ORIGINAL This strategy is not a simple mashup of indicators. The integration creates novel behavior: 1. Feedback Loop Between Components - Statistical clustering identifies price zones, but these zones are calculated using Gaussian-smoothed Heikin Ashi data - The Gaussian smoothing adapts its responsiveness based on pseudo-K-means trend classification - The trend filter validates cluster-based signals using the same adaptive trend line - This creates a feedback loop where each component informs and adjusts the others 2. Statistical Justification for Levels Unlike fixed pivot points or Fibonacci retracements, support/resistance levels are: - Dynamically recalculated using statistical clustering methods with minimum point requirements for validity - Adjusted by volatility factor (ATR ratio) and cluster strength (density) - Statistically validated through cluster formation strength - This adapts to changing market regimes rather than relying on historical levels 3. Adaptive Smoothing Based on Market Regime The Gaussian smoothing doesn't use fixed parameters. Instead: - Sigma adapts based on market regime classification (trending vs sideways) - In trending markets, reduced smoothing (0.5x sigma) allows faster response - In sideways markets, standard smoothing filters noise effectively - This prevents the common problem of lag in trends and noise in ranges 4. Multi-Layer Signal Validation Signals must pass multiple validation layers: - Cluster boundary crossing (statistical significance) - Trend direction confirmation (adaptive trend filter) - Optional multi-timeframe validation - This reduces false signals compared to single-indicator approaches ══════════════════════════════════════════════ 📊 UNIQUE FEATURES ▸ 🤖 AI Market Summary — Intelligent Market Analysis The system transforms complex multi-indicator analysis into understandable text summaries written in the style of professional market reports. The system collects data from multiple sources: Data Collection: Trend metrics: price position relative to EMA, trend direction, trend strength (ADX) Momentum indicators: RSI levels, MACD signals, momentum histogram Volatility: ATR percentage value, Bollinger Bands width, squeeze detection Volume analysis: current volume to average ratio, volume spike detection Price action: candlestick pattern analysis, proximity to key levels Processing and Analysis: Each category is analyzed through specialized functions that not only calculate numerical scores but also evaluate inter-indicator relationships. The system identifies conflicts and consistency between different signals, creating a holistic picture of market conditions. Summary Generation: The result is a coherent text report that includes: Current market state (trend/flat, volatility, phase) Key support and resistance levels Possible development scenarios Identified risk factors and warnings Recommendations for interpreting current situation The summary updates with configurable frequency (default every 10 bars) to balance information freshness and readability. ▸ 📈 Multi-Level Winrate Tracking The system provides detailed performance statistics for each take-profit level across three time windows, allowing tracking of both short-term changes and long-term trends. Time Windows: Last 10 trades : Shows immediate changes in performance, helps identify current shifts in strategy effectiveness Last 25 trades : Reflects medium-term trends, balances between relevance and statistical significance All trades : Provides long-term baseline for comparison Visualization: Each winrate matrix cell has color coding with gradient from dark red (0%) to bright green (100%), allowing instant assessment of each TP level's effectiveness. Practical Applications: Identifying most reliable TP levels in current market conditions Detecting strategy degradation (when recent performance is significantly lower than historical) Validating parameter changes — comparing performance before and after adjustments Comparing effectiveness across different timeframes and instruments Making decisions about volume distribution between TP levels ▸ ⚙️ AI Strategy Optimizer — Automatic Optimization The system automatically tests 40 sensitivity parameter variations in real-time, providing optimization recommendations without the need for manual backtesting. Mechanism: On each confirmed bar, the system runs parallel sensitivity simulations using the backtest library. Each simulation: 1. Generates signals using calculateLevelsAndConditions() with different sensitivity multipliers 2. Fully reproduces the strategy's trading logic, including all risk management mechanisms (TP/SL, trailing stop, breakeven) 3. Calculates metrics: comprehensive score, winrate, profit factor, net profit 4. Applies configurable filters (minimum trades, winrate, profit, profit factor) 5. Selects best parameters based on four criteria: Optimal (balanced score), Best Profit, Best Winrate, Best Profit Factor Optimization Metrics: The system provides four different criteria for selecting optimal parameters: Optimal : Balanced comprehensive score considering profit, winrate, and profit factor simultaneously. Recommended for most cases. Best Profit : Maximizes net profit in absolute values. Suitable for aggressive traders willing to accept lower winrate for greater profit. Best Winrate : Focuses on maximum percentage of winning trades. Ideal for conservative traders preferring stability. Best Profit Factor : Optimizes profit to loss ratio. Shows how efficiently the strategy generates profit relative to risk. Protection Filters: To prevent overfitting and ensure statistical significance, configurable filters are available: Minimum trades : Requires minimum number of historical trades for result validation (recommended ≥30) Minimum winrate : Excludes options with unacceptably low win percentage Minimum profit : Filters options that don't reach target profitability level Minimum profit factor : Ensures profit/loss ratio meets requirements Overfitting Protection: Multiple metrics prevent optimization on a single statistic Minimum trade requirements ensure statistical validity Comparing different time windows helps identify degradation of "optimal" parameters ══════════════════════════════════════════════ 🎯 RISK MANAGEMENT ▸ Take-Profit: Multi-Level Exit System The strategy supports up to 4 independent take-profit levels, each configurable individually. Calculation Modes: Percentage mode : Fixed percentage from entry price, simple and clear ATR mode : Distance calculated based on Average True Range, automatically adapts to current instrument volatility Partial Exits: Each TP level can close a configurable percentage of position, allowing flexible profit distribution strategy: Default: 25% at each of first three TPs, 100% at fourth Fully configurable volume distribution between levels Ability to disable any level while keeping others Multi-Level System Advantages: Capturing profit at early stages of movement Preserving part of position for potentially large moves Reducing psychological pressure through partial profit locking ▸ Stop-Loss: Adaptive Protection The system offers several stop-loss calculation methods for optimal capital protection. Calculation Modes: ATR mode : Stop is placed at distance multiple of current ATR. Automatically widens in volatile conditions and narrows in calm markets, providing adequate protection without excessive risk. Percentage mode : Fixed percentage from entry price. Simple and predictable method, suitable for stable instruments. Features: Fully configurable multiplier/percentage Ability to disable stop-loss (not recommended) Automatic adjustment when breakeven or trailing stop activates ▸ Trailing Stop: Profit Protection Advanced trailing stop system that automatically moves stop-loss in favorable direction, protecting profit while maintaining potential for further growth. Activation Modes: Immediate activation : Trailing starts immediately after position entry Threshold activation : Trailing activates only after reaching certain profit percentage, allowing position to "breathe" at early stages Calculation Modes: Percentage mode : Stop held at fixed percentage from maximum achieved price ATR mode : Trail distance calculated based on ATR, adapting to volatility Key Features: Stop moves only in favorable direction, never backward Automatic update when new extremes are reached Full integration with alert system for change notifications ▸ Breakeven: Automatic Entry Protection The system automatically moves stop-loss to entry level after reaching certain profit threshold, guaranteeing no loss on further movement. Activation Modes: Percentage mode : Activation when reaching certain profit percentage ATR mode : Activation when reaching distance multiple of ATR TP-based mode : Activation when reaching one of take-profit levels (TP1, TP2, TP3, or TP4) Advantages: Psychological comfort — position protected from loss Ability to hold position for large moves without risk Automatic management without need for manual intervention ▸ Position Size Management Flexible position size management system with multiple modes and additional optimization mechanisms. Size Modes: Fixed amount : Position opened for fixed amount in dollars (or other currency) Percentage of deposit : Position size calculated as percentage of current deposit, automatically adapts to balance changes Consolidation Risk Control: Unique function that automatically increases position size when detecting periods of low volatility (consolidation). Logic is based on the fact that during low volatility periods, stop-losses are placed closer to price, meaning lower absolute risk per position. Size increase compensates for this, maintaining constant risk level. Martingale (Optional): The system supports optional martingale mechanism with configurable multiplier: Activation only after losing trade Configurable size increase multiplier (default 1.5x) Protection against excessive increase through maximum position size limit Automatic reset to base size after profitable trade Leverage: Full support for trading with leverage: Configurable leverage value (default 10x) Automatic position size calculation considering leverage Correct profit/loss calculation including commissions ▸ Commissions Full support for commission accounting: Configurable commission percentage (default 0.04%) Automatic commission accounting in profit/loss calculations Commission impact considered in all backtests and optimizations ══════════════════════════════════════════════ 📐 VISUAL INTERFACE Information Tables: ▸ Control Panel Comprehensive information panel displaying all key metrics: Header and Status: Strategy status indicator (LONG/SHORT/Waiting) First trade date for history tracking Current instrument and timeframe information Winrate Matrix: Three-dimensional matrix: 4 TP levels × 3 time windows Color coding with gradient for instant assessment Percentage values with integer precision Allows quick identification of most effective levels AI Strategy Optimizer: Four recommendation rows with different optimization criteria Display of recommended sensitivity for each criterion Corresponding profit and profit factor metrics Color coding for quick assessment of recommendation quality Information about active optimization filters Display Settings: Table position selection (4 screen corners) Configurable text size (tiny, small, normal) Dark color scheme for comfortable viewing ▸ AI Market Summary Table Separate table with textual market analysis in professional report style: Content: Complete textual summary of current market state Analysis of trend, momentum, volatility, and volume Identified key levels and scenarios Risk factors and warnings Settings: Independent positioning from main panel Configurable text size Update frequency (default every 10 bars) Automatic caching for performance optimization Alert System: ▸ Internal Alerts Human-readable alerts for manual trading or notifications: Entry Alert: Instrument ticker Position direction (LONG/SHORT) Entry price All active TP levels with exit volumes Stop-loss level Leverage Order size TP Achievement Alert: Ticker and position direction Number of achieved TP level Entry price for reference SL Trigger Alert: Ticker and position direction Notification of position closure by stop-loss Trailing Stop Alert: Notification of trailing stop trigger Position direction information Breakeven Alert: Notification of breakeven activation New stop-loss level Dynamic Exit Alert: Exit reason (e.g., "RSI overbought exit") Closed position direction ▸ Custom Alerts Fully configurable text messages for each event type: Custom entry alert Custom TP achievement alert Custom SL trigger alert Useful for integration with external systems or message personalization ▸ JSON Format Alerts JSON format alerts for integration with external trading systems Features: Complete information about all TP levels with exit volumes Automatic generation of correct JSON structure Support for all event types (entry, exit, SL change) Structured format includes: key_hash, signal_hash, action, side, symbol, amount, leverage, stopLoss, take_profits array ══════════════════════════════════════════════ ⚠️ IMPORTANT DISCLAIMERS DOES NOT: Predict future prices — identifies probabilistic setups Guarantee profits — all trading involves risk Work equally everywhere — performance varies by instrument/TF Eliminate need for risk management — use appropriate sizing Recommendations: Paper trade first Start with small positions Monitor winrate tables continuously Re-optimize if recent performance degrades Understand the logic before live trading This strategy is intended for educational and informational purposes. Conduct your own research before trading with real capital. Past performance does not guarantee future results. Pine Script®策略由bitwardex提供118
Session Liquidity Sweep + Trend ConfirmationThis strategy aims to capture high-probability intraday trades by combining liquidity sweeps with a trend confirmation filter. It is designed for traders who want a systematic approach to trade breakouts during specific market sessions while controlling risk with ATR-based stops. How it Works: Session Filter: Trades are only considered during a defined session (default 9:30 - 11:00). This helps avoid low-volume periods that can lead to false signals. Trend Confirmation: The strategy uses a 50-period EMA to identify the market trend. Long trades are only taken in an uptrend, and short trades in a downtrend. Liquidity Sweep Detection: A long entry occurs when price dips below the prior N-bar low but closes back above it, indicating a potential liquidity sweep that stops being triggered before the trend continues upward. A short entry occurs when price spikes above the prior N-bar high but closes below it, signaling a potential sweep of stops before the downward trend resumes. ATR-Based Risk Management: Stop loss is calculated using the Average True Range (ATR) multiplied by a configurable factor (default 1.5). Take profit is set based on a risk-reward ratio (default 2.5x). Position Sizing: Default position size is 5% of equity per trade, making it suitable for risk-conscious trading. Inputs: Session Start/End (HHMM) Liquidity Lookback Period (number of bars to define prior high/low) ATR Length for stop calculation ATR Stop Multiplier Risk-Reward Ratio EMA Trend Filter Length Visuals: Prior Liquidity High (red) Prior Liquidity Low (green) EMA Trend (blue) Why Use This Strategy: Captures stop-hunt moves often triggered by larger market participants. Only trades with trend confirmation, reducing false signals. Provides automatic ATR-based stop loss and take profit for consistent risk management. Easy to adjust session time, ATR, EMA length, and risk-reward to suit your trading style. Important Notes: Assumes 0.05% commission and 1-pip slippage. Adjust according to your broker. Not financial advice; intended for educational, backtesting, or paper trading purposes. Always test strategies thoroughly before applying to live accounts.Pine Script®策略由AIScripts提供32
Logit Alpha Ranker For BTCThe ORLA Ranker is a "Fat-Tail" strategy. It is designed to ignore noise and only participate in high-probability, high-conviction trends. Its ability to achieve a 3.8+ Profit Factor on BTC suggests that the Logit model effectively filters out the volatility "churn" that kills most retail trend-following scripts. Efficiency: The strategy is highly selective, with only 66 trades over nearly a decade. This low frequency minimizes commission drag and slippage. Pine Script®策略由ycloudyu提供6
ezzy Golden Cross mit Target und StopA simple crossover system based on SMA 50 and SMA 200 including percentage target and stop loss.Pine Script®策略由sean_david提供30
ezzy_goldencross This strategy is a simple crossover trading strategy using SMA 50 and SMA 200 (long only). I also implemented a percentage profit target and stop loss.Pine Script®策略由sean_david提供9
S99XAU-strategyXAUdaily Trading System - Intelligent Solution 🌟 Core Value An intelligent trading engine specifically designed for the gold market, combining multiple filtering mechanisms and dynamic risk control to identify high-probability trading opportunities in complex market conditions. 🔥 Four Core Modules 1. Dual-Line Resonance Signal System Primary Frequency Tracker: Quickly captures subtle price change characteristics Auxiliary Confirmation Line: Verifies trend strength and continuity Collaborative Operation: Dual-line crossover combined with special algorithm processing to generate high-quality trading signals 2. Triple Intelligent Filtering Network 🔍 Volatility Activity Detection: Automatically identifies effective volatility, avoiding market noise 🔍 Capital Flow Confirmation: Analyzes volume anomalies to capture main force movements 🔍 Trend Environment Adaptation: Multi-timeframe trend consistency assessment to ensure trend-following trades 3. Dynamic Risk Management System 🛡️ Adaptive Protection: Adjusts stop-loss spacing based on market volatility rate 🎯 Intelligent Moving Protection: Automatically moves stop-loss upward when trend is favorable to lock in profits 📊 Risk Visualization: Real-time display of stop-loss line for clear understanding of risk boundaries 4. Visual Decision Panel 📈 Clear Signal Marking: Green for buy/Red for sell, intuitive and clear ⚠️ Filtering Tips: Gray markers show signals excluded by the system 🎯 Risk Monitoring: Continuous display of stop-loss line during holding period Suitable Market Environment: ✅ Gold intraday trading ⚙️ Quick Start Guide Load to gold 3-minute to 4-hour charts (depending on your preferred timeframe) Start observing with default parameters Familiarize yourself with signal characteristics in a demo account first Adjust stop-loss parameters based on personal risk tolerance (Recommended: depending on your broker's gold quote decimal places, for 2 decimal places: 420, 80; for 3 decimal places: 4200, 800) Friendly reminder: The maximum loss per trade is based on the gold price, not account balance. Recommended parameter: 0.2 💎 Why Choose This System? For Beginners: Provides clear trading signals, avoiding complex analysis For Experienced Traders: Complements existing trading systems, provides additional confirmation For Busy Individuals: Automated signal generation saves chart-watching time Professional Tip: Any trading system needs to match your personal risk tolerance. It's recommended to start with small positions to familiarize yourself with the system characteristics, find the parameter configuration that best suits you.Pine Script®策略由a1461868828提供已更新 0
George QQQ 2H Gold Standard (Production)For QQQ 2H Gold Standard (Production). In last 365 days QQQ backtest, P&L 45% Max.DD 10% Short term back test only, 2h timeframe on QQQ only.Pine Script®策略由RealMrStrange提供0