Medico Action Zone self adjust TF version 2to create buy sell signal with adjusted EMA and timeframe
Penunjuk dan strategi
8/30 SMA Pullback + ATR Exits (Crypto)A tryout using LLM to see if it can apply to bots using SMA pullbacks with ATR exits for crypto
NADY 45M ADX-RSI StrategyADX-RSI Scalping Strategy for Gold (XAUUSD) – Pine Script v5
This script is a powerful scalping & swing trading strategy that combines the strength of ADX (Average Directional Index) and RSI (Relative Strength Index), along with a Moving Average trend filter, designed specifically for XAUUSD (Gold/USD) but can be adapted to other assets.
Core Logic:
🔹 Trend Strength Filter (ADX):
Trades are allowed only when ADX > 20, ensuring signals occur during strong trends.
Custom-coded ADX calculation for precision (no lagging built-in functions).
🔹 RSI Overbought/Oversold Signals:
Buy when RSI is deeply oversold (<20).
Sell when RSI is overbought (>85).
Exit conditions are also governed by RSI reversals (RSI > 75 for closing longs, RSI < 25 for closing shorts).
🔹 Trend Confirmation with Moving Average (MA):
A 300-period SMA ensures only trades in the direction of the larger trend.
Avoids false signals during sideways markets.
🔹 Risk Filters:
No overtrading: Trades are allowed only when all three conditions (ADX, RSI, MA) align.
Session visual filter (background color highlights signal bars).
Features Included:
✅ Precise ADX Calculation
✅ Configurable RSI & MA lengths
✅ Clean Buy/Sell Entry & Exit logic
✅ Alerts Ready (Webhook-compatible for bots)
✅ Visuals: MA line, background highlights, ADX Threshold line.
Best Timeframes:
45M
Recommended Pairing:
XAUUSD (Gold/USD)
Works well with trending assets, can adapt to Forex Majors with slight tweaks.
Customization Parameters:
MA Length (default 300)
RSI Length (default 2)
ADX Length (default 14)
ADX Threshold (default 20)
Backtest Insights:
High accuracy during strong trends.
Works best during London & US sessions.
Filters out sideways, low-volatility zones effectively.
Sniper Algo TradingTurn hesitation into precision. This tool locks onto clean entries and exits on the 1H timeframe for crypto, commodities, and select stocks, cutting through noise and emotion. While others chase pumps, Sniper Algo is already in position.
Swing Breakout Strategy PRO“Swing Strategy Pro”
A powerful trading tool designed for price action & swing traders. This indicator automatically detects swing highs and lows and generates precise Buy & Sell signals based on breakout confirmations.
✅ How It Works:
• Buy signal: When swing high breaks with confirmation candle
• Sell signal: When swing low breaks with confirmation candle
• Target = Distance between recent swing high & low
• Stop Loss = Opposite swing level
📌 Perfect for Breakout Trading, Swing Entries, and Trend Continuation strategies.
🎯 Fully automated with visual alerts & clean chart design.
BTC Dynamic Trend Core Strategy v45// The Dynamic Trend Core is a sophisticated, multi-layer trading strategy that provides both a quantitative //
// backtesting engine and a rich, intuitive visual interface. It is designed to identify high-probability //
// trend-following opportunities by requiring a confluence of conditions to be met before a signal is considered //
// valid. //
// //
// The system's philosophy is rooted in confirmation, seeking to filter out market noise by ensuring that trend, //
// momentum, market sentiment, and volume are all in alignment. //
// //
// --- CORE LOGIC COMPONENTS --- //
// 1. **Primary Trend Analysis (SAMA):** The foundation is a self-adjusting moving average (SAMA) that //
// determines the underlying market trend (Bullish, Bearish, or Consolidation). //
// //
// 2. **Confirmation & Momentum:** Signals are confirmed with a blend of the Natural Market Slope and a Cyclic //
// RSI to ensure momentum aligns with the primary trend. //
// //
// 3. **Advanced Filtering Layers:** A suite of optional filters allows for robust customization: //
// - **Volume & ADX:** Ensure sufficient market participation and trend strength. //
// - **Market Regime:** Uses total crypto market cap to gauge broad market health. //
// - **Multi-Timeframe (MTF):** Aligns signals with the dominant weekly trend. //
// - **BTC Cycle Analysis:** Uses Halving or Mayer Multiple models to position trades within historical //
// macro cycles. //
// //
// --- VISUAL INTERFACE --- //
// The strategy's real power comes from its on-chart visual feedback system, which provides full transparency. //
// ****Note: for this to be enabled recalculate 'on every tick' needs to be enabled in the properties settings. //
// 1. **Power Core Gauge:** Located at the bottom-center, this gauge is the heart of the system. It displays the //
// number of active filter conditions that have been met (e.g., 5/6). It "powers up" as more conditions align,//
// glowing brightly when a signal is fully confirmed and ready. //
// //
// 2. **Live Conditions Panel:** In the bottom-right corner, this panel acts as a detailed pre-flight checklist. //
// It shows the real-time status of every single filter, helping you understand exactly why a trade is (or //
// is not) being triggered. //
// //
// 3. **Energized Trendline:** The main SAMA trendline changes color and brightness based on the strength and //
// direction of the trend, providing immediate visual context. //
// //
// 4. **Halving cycle visualisation:** Visual guide to halving phases //
// //
// --- HOW TO USE --- //
// 1. **Select Operation Mode:** Use "Backtest Mode" to test settings and "Alerts-Only Mode" for live signals. //
// //
// 2. **Configure Strategy:** Start with the default filters. If a potential trade setup is missed, check the //
// **Live Conditions Panel** to see exactly which filter blocked the signal. Adjust the filters to suit your //
// specific asset and timeframe. //
// //
// 3. **Manage Risk:** Adjust the Risk & Exit settings to match your personal risk tolerance. //
(HHW) Helix Hybrid Wave Strategy Hakim Tung v1.0(HHW) Helix Hybrid Wave Strategy Hakim Tung v1.0
Strategy Concept & Core Logic
The (HHW) Helix Hybrid Wave Strategy is a long-only, trend-continuation system designed for BTC/USD on the daily timeframe. It combines multi-timeframe momentum analysis with adaptive trend filtering to capture sustained bullish movements while minimizing false signals. The addition of HMA indicator gives you as additional option to manually exit or re-enter trades should you wish to take some profit off your trade.
Indicator Synergy & Trade Logic
1. Gaussian Channel (Trend Filter)
2. Stochastic RSI (Momentum Trigger)
3. Williams %R (Trend Strength)
4. Moving Averages (Confluence)
5. LMA (Logarithmic Momentum Accelerator)
Exit Conditions:
* Auto-Exit: Price closes below SMA(126).
* Manual HMA Exit (Optional): Bearish HMA crossunder below price to secure profits, with re-entry on HMA reversal.
Why This Works for BTC
* Trend-Centric: Aligns with BTC’s multi-week bullish cycles.
* Hybrid Edge: Algorithmic entries + discretionary exits adapt to BTC’s volatility.
* Multi-Layer Confirmation: Reduces false signals in choppy markets.
Backtest Note: Optimized for BTC daily charts (2018–2024), with parameters tuned for high-momentum phases.
LeBlanc Strategy 2 -Inverted Fair Value Gap with Trend & 2.5 RRRThis is for recognizing the closed Inverted Fair Value Gaps (IFVG) to know when to enter a trade.
Detects true inverted FVGs only if the gap size is 3+ ticks.
Filters trades based on EMA50 vs SMA20 trend direction.
Uses ATR-based stop loss, and sets take-profit at a 2.5 risk-to-reward ratio.
Is fully backtestable in TradingView Strategy Tester.
Plots green/red boxes for FVGs.
AUD/USD 1-Min Scalping Strategy with LabelsHere’s a complete TradingView Pine Script v5 for the 1-minute AUD/USD scalping strategy we just discussed. This strategy uses:
EMA 13 and EMA 26 for trend filtering
Bollinger Bands for volatility extremes
RSI (4) for momentum confirmation
Backtest [OptAlgo]This backtest script is designed to convert ideas or indicators into backtest results. The script creates buy/sell signals by comparing price sources against fixed values or other imported plots using many comparison methods. It has many features including multiple exit systems: TP/SL, custom plot-based stops and more. It supports full trading automation through webhook alerts with live signal processing.
🔢 Signal Creation System
→ Values Group : Compare price sources against fixed numerical values
→ Plots Group : Compare two different price sources/indicators against each other
→ Flexible Comparisons : 15+ comparison methods (equal, crossover, rising...)
→ Signal Types : Long, Short, Close All, Block signals, and combination signals
→ Merge Rules : Minimum condition requirements for signal activation
🔀 Advanced Signal Logic
→ Counter Signals : Choose between reversing positions or closing them
→ Signal Inversion : Flip all buy/sell signals with one toggle
→ External Signal Import : Import coded signals (1=Long, -1=Short, 0=Close)
→ Day Blocker : Enable/disable trading on specific weekdays
→ Session Control : Limit trading to specific market sessions
⚙️ Strategy Settings
→ Position Sides : All Ways, Long Only, or Short Only modes
→ Signal Control : Individual enable/disable for long and short signals
→ Counter Signal Mode : Reverse Open Position vs Close Open Position
→ Signal Reversal : Global signal inversion capability
🔰 Risk Management (Limiter Settings)
→ Leverage Control : Leverage with liquidation warnings
→ Drawdown Limit : Auto-halt strategy at specified drawdown percentage
→ Tradable Ratio : Use portion of available balance (0.01-1.0)
→ Contract Limit : Cap maximum contract size regardless of balance
🎯 TP/SL System
→ Fixed TP/SL : Set percentage-based take profit and stop loss
→ Custom Plot Stops : Use any indicator/plot as dynamic stop loss
→ ATR-Based Exits : Volatility-adjusted TP/SL using Average True Range
→ Realistic Protection : Prevents unrealistic TP/SL prices in live trading
→ Stop Modes : Instant (Sudden) vs Candle Close execution
→ ATR Stop Loss : Override fixed SL with volatility-based calculations
→ ATR Take Profit : Dynamic TP based on market volatility
→ Trailing Options : Safe, Normal, or Aggressive trailing methods
→ Calculation Modes : Normal, Volume-weighted, or Limited (with max %) options
→ Volume Integration : ATR levels adjust based on volume influx
🤖 Automation & Alerts
→ Webhook Integration : Send JSON alerts for automated execution
→ Live Signals : Real-time signal processing (every tick vs bar close)
→ Strategy Key : Unique identifier for automated systems
→ Early Entry : Send alerts X seconds before candle close
→ Fast Execution : Prevent signal lag in automated trading
🐞 Development Tools
→ Alert Plotting : Visualize signals directly on chart (disable for live alerts)
→ Professional Mode : Remove UI controls for faster calculation
→ Debug : Metrics are plotted in data window.
📊 Key Advantages
→ Multi-Condition Logic : Combine multiple indicators with flexible rules
→ Risk-First Design : Built-in drawdown and leverage protection
→ Automation Ready : Full webhook and alert system integration
⚠️ Important Warnings
→ High leverage combined with high SL may adjust to liquidation price
→ Use consistent leverage across all strategies on same trading isolated margin pair
→ Live signals require "Calculate on every tick" enabled in settings
→ Disable alert plotting when creating actual alerts to prevent latency
Manadi Buy/Sell Strategy EMA + MACD + RSI + AlertsIt is a strategy / indicator of buy and sell special crypto for 15 min to 1 h time frame.
used with RSI, Macd, and Ema cros 9/21
Options Strategy V2.0📈 Options Strategy V2.0 – Intraday Reversal-Resilient Momentum System
Overview:
This strategy is designed specifically for intraday SPY, TSLA, MSFT, etc. options trading (0DTE or 1DTE), using high-probability signals derived from a confluence of technical indicators: EMA crossovers, RSI thresholds, ATR-based risk control, and volume spikes. The strategy aims to capture strong directional moves while avoiding overtrading, thanks to a built-in cooldown logic and optional time/session filters.
⚙️ Core Concept
The strategy executes trades only in the direction of the prevailing trend, determined by short- and long-term Exponential Moving Averages (EMA). Entry signals are generated when the Relative Strength Index (RSI) confirms momentum in the direction of the trend, and volume spikes suggest institutional activity.
To increase adaptability and user control, it includes a highly customizable parameter set for both long and short entries independently.
📌 Key Features
✅ Trend-Following Logic
Long entries are only allowed when EMA(short) > EMA(long)
Short entries are only allowed when EMA(short) < EMA(long)
✅ RSI Confirmation
Long: Requires RSI crossover above a configurable threshold
Short: Requires RSI crossunder below a configurable threshold
Optional rejection filters: Entry blocked above/below specific RSI extremes
✅ Volume Spike Filter
Confirms institutional participation by comparing current volume to an average multiplied by a user-defined factor.
✅ ATR-Based Risk Management
Both Stop Loss (SL) and Take Profit (TP) are dynamically calculated using ATR × a multiplier.
TP/SL ratio is fully configurable.
✅ Cooldown Control
After every trade, the system waits for a set number of bars before allowing new entries.
This prevents overtrading and increases signal quality.
Optionally, cooldown is ignored for reversal trades, ensuring the system can react immediately to a confirmed trend change.
✅ Candle Body Filter (Noise Control)
Avoids trades on candles with too small bodies relative to wicks (often noise or indecision candles).
✅ VWAP Confirmation (Optional)
Ensures price is trading above VWAP for long entries, or below for short entries.
✅ Time & Session Filters
Trades only during regular market hours (09:30–16:00 EST).
No-trade zone (e.g., 14:15–15:45 EST) to avoid low-liquidity traps or late-day whipsaws.
✅ End-of-Day Auto Close
All open positions are force-closed at 15:55 EST, protecting against overnight risk (especially relevant for 0DTE options).
📊 Visual Aids
EMA plots show trend direction
VWAP line provides real-time mean-reversion context
Stop Loss and Take Profit lines appear dynamically with each trade
Alerts notify of entry signals and exit triggers
🔧 Customization Panel
Nearly every element of the strategy can be tailored:
EMA lengths (short and long, for both sides)
RSI thresholds and length
ATR length, SL multiplier, and TP/SL ratio
Volume spike sensitivity
Minimum EMA distance filter
Candle body ratio filter
Session restrictions
Cooldown logic (duration + reversal exception)
This makes the strategy extremely versatile, allowing both conservative and aggressive configurations depending on the trader’s profile and the market context.
📌 Example Use Case: SPY Options (0DTE or 1DTE)
This system was designed and tested specifically for SPY and other intraday options trading, where:
Delta is around 0.50 or higher
Trades are short-lived (often 1–5 candles)
You aim to trade 1–3 signals per day, filtering out weak entries
🚫 Important Notes
It is not a scalping strategy; it relies on confirmed breakouts with trend support
No pyramiding or re-entries without cooldown to preserve risk integrity
Should be used with real-time alerts and manual broker execution
📈 Alerts Included
📈 Long Entry Signal
📉 Short Entry Signal
⚠️ Auto-closed all positions at 15:55 EST
✅ Proven Settings – Real Trades + Backtest Results
The current version of the strategy includes the optimal settings I’ve arrived at through extensive backtesting, as well as 3 months of real trading with consistent profitability. These results reflect real-world execution under live market conditions using 0DTE SPY options, with disciplined trade management and risk control.
🧠 Final Thoughts
Options Strategy V2.0 is a robust, highly tunable intraday strategy that blends momentum, trend-following, and volume confirmation. It is ideal for disciplined traders focused on SPY or other 0DTE/1DTE options, and it includes guardrails to reduce false signals and improve execution timing.
Perfect for those who seek precision, flexibility, and risk-defined setups—not blind automation.
AI - Williams Alligator Strategy (ATR Stop-Loss) AlertsAI - Williams Alligator Strategy (ATR Stop-Loss) with Alerts
PulseWave Strategy Markking77PulseWave Strategy (Markking77) — Description & Indicator Roadmap
PulseWave Strategy (Markking77) is a sleek, straightforward trading system that fuses three powerful market indicators — VWAP, MACD, and RSI — into one harmonious tool. Designed for traders who want clear, actionable signals, this strategy captures trend direction, momentum shifts, and market strength to help you spot optimal entry and exit points.
Step 1: VWAP — The Market Trend Compass (Color: Blue)
What it does:
The Volume Weighted Average Price (VWAP) is the average price a security has traded at throughout the day, weighted by volume. It acts as a dynamic benchmark that many institutional traders rely on.
Why it matters:
Price above the VWAP (blue line) signals bullish momentum — buyers dominate.
Price below the VWAP signals bearish momentum — sellers in control.
PulseWave use:
VWAP sets the trend foundation — we trade in the direction the price sits relative to VWAP.
Step 2: MACD — Momentum Confirmation (Colors: Orange & Blue)
What it does:
MACD tracks momentum by comparing short-term and long-term moving averages, using the MACD line and a signal line to indicate shifts.
Why it matters:
When the MACD line (orange) crosses above the Signal line (blue), it signals rising momentum — a bullish cue.
When the MACD line crosses below the signal line, it signals weakening momentum — bearish cue.
PulseWave use:
MACD confirms momentum that aligns with the VWAP trend before entering trades.
Step 3: RSI — The Strength Filter (Color: Purple)
What it does:
The Relative Strength Index (RSI) measures how fast prices are changing to indicate overbought or oversold conditions.
Why it matters:
RSI above 70 = overbought (possible reversal or pause).
RSI below 30 = oversold (potential bounce).
PulseWave use:
RSI filters out trades taken at extreme price levels, avoiding entries that are too stretched.
Color-Coded Roadmap Summary:
Step Indicator Role Buy Signal Sell Signal Color
1 VWAP Trend Direction Price > VWAP (bullish) Price < VWAP (bearish) Blue
2 MACD Momentum Confirmation MACD line crosses above Signal line MACD line crosses below Signal line Orange & Blue
3 RSI Entry Filter RSI < 70 (not overbought) RSI > 30 (not oversold) Purple
How PulseWave Strategy Works:
Buy when price sits above VWAP, MACD line crosses above the Signal line, and RSI is below 70.
Sell (exit) when price drops below VWAP, MACD line crosses below the Signal line, and RSI is above 30.
This layered approach ensures you only trade when trend, momentum, and strength align — reducing false signals and improving your edge.
Why Use PulseWave Strategy?
Clear & Simple: No guesswork — clear color-coded signals guide your decisions.
Robust: Combines trend, momentum, and strength in one system.
Versatile: Fits day trading and swing trading styles alike.
Visual: Easily interpreted signals with minimal clutter.
Dynamic DCA Envelope – Beta V1.1Dynamic DCA Envelope-Beta V1.1 is a preview version of a Dollar-Cost Averaging (DCA) strategy designed for trending or volatile markets.
-Long Positions Only
-Intended for Cryptocurrency, but can be used in any market
-1 and 4 hour timeframe
-Average Commissions 0.1%-0.3% per trade (Cryptocurrency)
What it does:
This strategy identifies buying opportunities when price closes below a dynamic envelope (based on EMA). After 3 consecutive closes below the lower envelope, the system arms a buy condition. A DCA buy-in is triggered when price bounces by a configurable percentage from the trailing low. The strategy supports up to 3 buy-ins, each equally sized, and closes the entire position at a fixed take profit or stop loss.
How it works:
-Entry logic is based on price deviation from an EMA envelope
-Waits for 3 closes below the envelope to detect weakness
-Uses bounce percentage from the lowest point to trigger each buy
-Includes cooldown logic between buys to avoid clustering
-All positions are closed when TP or SL is hit
How to use it:
-Use on trending assets with volatility (e.g., crypto, tech stocks)
-Adjust inputs to match asset behavior:
-EMA Length
-Envelope Offset %
-Bounce % (Trailing DCA)
-Take Profit / Stop Loss
-View strategy performance in the Strategy Tester tab
What’s unique:
Unlike most DCA scripts that immediately average down, this version includes:
-Trigger logic requiring multiple closes below trend
-Bounce-based entry to avoid catching a falling knife
-Cooldown resets to prevent overtrading
-A true entry–wait–buy–reset loop mimicking disciplined execution
*This is a beta version intended as a preview. A full Pro version is in development, which includes:
-SmartScaling logic
-Trailing take profit
-Multi-symbol scanning
-Backtest range limits
-Risk-adjusted filtering
[PS]Breakout Strategy: Nifty/BN only at 15 min TimeframeIt only works on 15 min timeframe for nifty and Bank nifty.
Test Bot: Bearish Buy / Bullish SellFor testing the connection between TradingView and your brokerage. Use with a demo account if possible.
SuperTrend Strategy with Trend-Based Exits🟩 SuperTrend Strategy with Trend-Based Exits
This is a fully automated trend-following strategy based on the popular SuperTrend indicator, enhanced with a position sizing algorithm tied to stop-loss distance and dynamic entry/exit rules. The strategy is designed for futures trading with an emphasis on sustainable risk, realistic backtesting, and transparent logic.
🧠 Concept and Methodology
The strategy uses the SuperTrend indicator, which is derived from ATR (Average True Range) and is widely used to capture medium- to long-term market trends.
Key features:
✅ Entries are triggered only when the SuperTrend direction changes (trend reversal).
✅ Exits are performed using a dynamic stop-loss placed at the SuperTrend line.
✅ Position size is automatically calculated based on the trader’s fixed dollar risk per trade and the current distance to the stop-loss.
✅ Rounding logic is included to ensure quantity is valid for the exchange’s lot size.
This strategy does not use any take-profit or classic trailing stop — the position is only closed when the trend reverses or the stop is hit by touching the SuperTrend line.
⚙️ Default Parameters
ATR Length: 300
Factor: 7.5
Risk per trade: $90 (3% of the default $3,000 capital)
Lot step: 10
Commission: 0.05%
These default parameters are not universal. They were optimized specifically for STXUSDT swap at 15M timeframe at Bybit and may not produce viable results on other pairs and timeframes.
Users are encouraged to customize the settings according to specific asset’s volatility, timeframe and other characteristics.
❗ These default settings yield meaningful backtesting results on STXUSDT with a reasonable number of trades (105+) over 7-month period. If applied to other assets, results may vary significantly.
📈 Position Sizing Logic
The strategy uses a dynamic position sizing formula:
Pine Script®
position_size = floor((risk_per_trade / stop_loss_distance) / lot_step) * lot_step
This ensures the trader always risks a fixed dollar amount per trade and never exceeds a sustainable equity exposure (recommended 2% or less).
✅ Realism in Backtesting
To ensure realistic and non-misleading backtest results, this strategy includes:
— Slippage and commission settings matching average exchange conditions (commission = 0.05%, slippage 5 ticks).
— Position sizing based on stop-loss distance (not fixed contract quantity).*
— A fixed risk-per-trade model that adheres to responsible capital management principles.
— This is in compliance with TradingView's Script publishing rules and House Rules.
📌 How to Use
Apply the strategy to a clean chart (preferably 15M for STXUSDT by default).
If using another asset, adjust:
- ATR Length
- Factor
- Risk per trade
- Qty step (lot precision for the symbol)
Avoid using with other indicators unless you understand their purpose.
Use the Strategy Tester to evaluate performance and optimize parameters.
⚠️ Disclaimer
This is not financial advice. Always perform forward testing and assess risk before deploying any strategy on live capital. The strategy is designed for educational and experimental use.