Universal Strategy Adapter - Connect Anything, Backtest EverythiDescription The Universal Strategy Adapter is a powerful utility that allows you to turn ANY indicator into a backtestable strategy without writing a single line of code. Whether you want to trade based on a simple crossover, a specific threshold, or complex multi-indicator confluence, this adapter handles the logic, execution, and risk management for you.
Key Features
Connect Up To 8 Indicators Plug in up to 8 different data sources using the input.source dropdowns. Mix and match indicators (e.g., RSI + MACD + Moving Average).
Advanced Logic Engine Mandatory vs. Optional : Distinct "Must Have" signals vs. "Nice to Have" confluence. Min Optionals Required : Require at least X optional indicators to fire before taking a trade. Lookback Persistence : Solves the "Sync" problem. If Indicator A fires on candle 1 and Indicator B fires on candle 3, the Lookback window ensures they still count as a confluence setup.
Flexible Conditions For each slot, choose how the signal is interpreted: Signal (!= 0) : Best for "Event" indicators like Golden Dots or Alerts. Price > Source : Trend Filters (e.g., Price above EMA 200). Source > Threshold : Value filters (e.g., RSI > 50). Rising / Falling : Momentum filters (e.g., RSI is trending up compared to 12 bars ago).
Risk Management & Cooldown Built-in Stop Loss and Take Profit (%) settings. Trade Cooldown : Prevent "Machine Gun" trades by enforcing a wait period after each entry.
How To Use Add your favorite indicators to the chart (e.g., "VuManChu Cipher B" and "EMA 200"). Add Universal Strategy Adapter to the chart. Open Settings > Inputs. Slot 1 (Trigger) : Source : Select the "Buy Signal" or "Golden Dot" plot from the first indicator. Condition : Signal (!= 0) Role : Mandatory Slot 2 (Filter) : Source : Select the "EMA 200" plot. Condition : Price > Source (Trades only taken when price is above EMA). Role : Mandatory Adjust SL/TP and Backtest Range as needed.
Why Use This? TradingView strategies are often hardcoded to specific indicators. This script breaks that barrier, giving you a universal "Container" to drop any logic into and see the raw backtest results immediately.
Сферы применения Pine
Auto S/R Zones + EMA + VWAP StrategyStrategy Overview
This strategy combines Auto Support & Resistance Zones, Exponential Moving Average (EMA), and VWAP to identify high-probability trade setups using market structure, trend direction, and institutional price levels.
The goal is to trade only when price aligns with key zones, trend bias, and volume-weighted price, reducing false signals and emotional decision-making.
Indicators Used
Auto Support & Resistance Zones – Identifies key institutional price zones automatically
EMA – Determines trend direction and momentum
VWAP – Confirms institutional bias and fair value
Market Bias Rules
Bullish Bias
Price is above the EMA
Price is above VWAP
Bearish Bias
Price is below the EMA
Price is below VWAP
Trades are taken only in the direction of the confirmed bias.
XAUUSD Bullish Continuation Strategy v2 EMA Pullback Breakout This strategy is designed to trade XAUUSD (Gold) using a bullish continuation model based on trend structure and pullback breakouts.
The system uses a 200 EMA trend filter to identify the dominant market direction and waits for price to retrace before entering on breakout confirmation — allowing entries in high-probability continuation zones.
The strategy adapts dynamically to price action and works across all XAUUSD broker feeds without relying on fixed price levels.
🔍 Strategy Logic
✔ Trade only in bullish trend (price above 200 EMA)
✔ Wait for pullback toward EMA
✔ Enter on breakout of recent highs
✔ Stop loss placed below recent swing low
✔ Take profit based on Risk/Reward ratio
⚙️ Key Features
• Dynamic price action entries
• Auto stop-loss & take-profit
• Works on any XAUUSD broker
• Produces full Strategy Tester reports
• Optimized for 1H timeframe
📌 Recommended Settings
Symbol: XAUUSD
Timeframe: 1H
Trend Filter: EMA 200
Risk/Reward: 1:2 or higher
📈 Market Bias
Trend-following bullish continuation system designed for strong gold markets.
TSLA Mechanical Day Trading Strategy📌 How to Use This
Apply to TSLA
Recommended timeframe: 1-minute or 5-minute
Session: Regular Trading Hours (9:30–16:00 NY time)
Designed for day trading only (no overnight holds)
⚙️ Strategy Logic (Mechanical Rules)
1️⃣ Opening Momentum Pullback
Gap ≥ ±0.5% vs prior close
Trade only after 9:45
Pullback toward VWAP
Enter in direction of gap
2️⃣ VWAP Mean Reversion
Price deviates from VWAP by ≥ 0.3%
Enters counter-move back toward VWAP
3️⃣ Risk Management
Fixed % stop loss
Fixed % take profit
Flat before close
OrangePulse v3.0 Lite - Free Mean Reversion DCA Strategy
🍊 OrangePulse v3.0 Lite - Free Mean Reversion DCA Strategy
A simplified, open-source version of the OrangePulse trading bot featuring:
📈 Strategy:
• Mean Reversion using Bollinger Bands + RSI
• Automatic entry when price touches lower BB with RSI oversold (LONG)
• Works in both LONG and SHORT directions
💰 DCA (Dollar Cost Averaging):
• Up to 3 Safety Orders to average down your position
• Customizable Volume Scale and Step Scale
• Price Deviation settings for SO trigger levels
🎯 Risk Management:
• Take Profit % exit
• Stop Loss % exit
• Simple Trailing TP option
📊 Visualization:
• Yellow AVG price line
• Green TP level line
• Orange SO trigger lines
• Status table with real-time position info
⚙️ Settings:
• Time window for trading
• Order sizes in USD
• All DCA parameters customizable
• Cooldown settings between orders
---
🔒 Looking for more? The full OrangePulse v3.0 includes:
• 4 entry strategies (MeanReversion, TrendPullback, Breakout, MicroBreakout)
• Unlimited Safety Orders + Emergency SO
• Advanced 3-stage Trailing TP (ARM → BUFFER → TRAIL)
• WunderTrading & 3Commas integration with JSON signals
• TP/SL at specific price levels
• Fee tracking (Maker/Taker/Funding)
• Manual mode, Start at Price, Stop on Exit
• And much more!
Visit our website for the full version.
---
⚠️ Disclaimer: This script is for educational purposes only. Past performance does not guarantee future results. Always do your own research and trade responsibly.
```
---
## Feature Comparison Table
| Feature | OrangePulse v3.0 Lite | OrangePulse v3.0 (Full) |
|---------|----------------------|-------------------------|
| **Entry Strategies** | 1 (MeanReversion) | 4 (MeanReversion, TrendPullback, Breakout, MicroBreakout) |
| **Safety Orders** | Up to 3 | Unlimited |
| **Emergency SO (MSO)** | ❌ | ✅ (3 time-based) |
| **Volume Scale** | ✅ | ✅ |
| **Step Scale** | ✅ | ✅ |
| **Price Deviation** | ✅ | ✅ |
| **Take Profit %** | ✅ | ✅ |
| **Stop Loss %** | ✅ | ✅ |
| **Trailing TP** | ✅ Simple | ✅ 3-stage (ARM→BUFFER→TRAIL) |
| **TP at Price** | ❌ | ✅ |
| **SL at Price** | ❌ | ✅ |
| **SL in Profit** | ❌ | ✅ |
| **Manual Mode** | ❌ | ✅ |
| **Start at Price** | ❌ | ✅ |
| **Stop on Exit** | ❌ | ✅ |
| **Pause Bot** | ❌ | ✅ |
| **WunderTrading** | ❌ | ✅ (JSON signals) |
| **3Commas** | ❌ | ✅ (JSON signals) |
| **Fee Tracking** | ❌ | ✅ (Maker/Taker/Funding) |
| **Status Table** | ✅ 8 rows | ✅ 15 rows |
| **SO Line Visualization** | ✅ | ✅ |
| **AVG/TP Lines** | ✅ | ✅ + stepline history |
| **Cooldowns** | ✅ Basic | ✅ Advanced |
| **Time Window** | ✅ | ✅ |
| **LONG/SHORT** | ✅ | ✅ |
---
## Code Size Comparison
| Metric | v3.0 Lite | v3.0 Full |
|--------|-----------|-----------|
| Lines of code | ~420 | ~1,900 |
| Input parameters | ~20 | ~60+ |
logger.DEMO◼ Objective
This is an accompanying script to logger library. As the library has lot of logging features, this script demonstrates how all fields and methods interact to display logs on screen.
Please always use the latest version of the library and the key information functions
◼ How to access help and info about this library
Import the latest version of Library, call logger.overview(), and hover mouse over overview() to see help in Editor!
import GETpacman/logger/4 as logger
logger.overview() => Help and general information
logger.sampleCode() => Sample Code Usage
logger.fields() => For listing all fields
logger.methods() => For listing of all methods
AI Oversold Swing - Screener//@version=5
indicator("AI Oversold Swing - Screener", overlay=false)
// ─────────────────────────
// USER INPUTS
// ─────────────────────────
maxPrice = input.float(75.0, "Max Price ($)")
rsiLen = input.int(14, "RSI Length")
rsiOversold = input.float(35.0, "RSI Oversold Level")
bbLen = input.int(20, "BB Length")
bbMult = input.float(2.0, "BB StdDev")
supportLen = input.int(20, "Support Lookback (days)")
nearSupportPct = input.float(1.5, "Near Support %")
undercutPct = input.float(0.5, "Allowed Undercut %")
atrLen = input.int(14, "ATR Length")
maxATRfromSup = input.float(1.0, "Max ATR From Support")
minDollarVol = input.float(75000000.0, "Min Dollar Volume", step=1000000)
requireTrigger = input.bool(false, "Require Reversal Trigger")
// ─────────────────────────
// DAILY DATA (screener uses indicator outputs)
// ─────────────────────────
dClose = request.security(syminfo.tickerid, "D", close)
dLow = request.security(syminfo.tickerid, "D", low)
dVol = request.security(syminfo.tickerid, "D", volume)
dPrevC = request.security(syminfo.tickerid, "D", close )
// ─────────────────────────
// INDICATORS
// ─────────────────────────
rsi = ta.rsi(dClose, rsiLen)
basis = ta.sma(dClose, bbLen)
dev = bbMult * ta.stdev(dClose, bbLen)
bbLow = basis - dev
atr = request.security(syminfo.tickerid, "D", ta.atr(atrLen))
support = ta.lowest(dLow, supportLen)
distPct = support > 0 ? (dClose - support) / support * 100.0 : na
distATR = atr > 0 ? (dClose - support) / atr : na
dollarVol = dClose * dVol
// ─────────────────────────
// CONDITIONS
// ─────────────────────────
priceOK = dClose > 0 and dClose <= maxPrice
liqOK = dollarVol >= minDollarVol
oversold = (rsi <= rsiOversold) and (dClose <= bbLow)
nearSup =
support > 0 and
dClose <= support * (1 + nearSupportPct / 100.0) and
dClose >= support * (1 - undercutPct / 100.0) and
distATR <= maxATRfromSup
setup = priceOK and liqOK and oversold and nearSup
// Optional reversal confirmation
rsiReversal = ta.crossover(rsi, rsiOversold)
greenCandle = dClose > dPrevC
trigger = rsiReversal or greenCandle
signal = requireTrigger ? (setup and trigger) : setup
// ─────────────────────────
// SCREENER OUTPUTS
// ─────────────────────────
plot(signal ? 1 : 0, title="Signal (1 = YES)")
plot(rsi, title="RSI (Daily)")
plot(distPct, title="Dist to Support % (Daily)")
plot(distATR, title="Dist to Support ATR (Daily)")
plot(dollarVol, title="Dollar Volume (Daily)")
Bitget Pro Sinyal [Optimized v2]11 gösterge onaylı sinyaller yatırım tavsiyesi değildir kendi kullandıgım sinyaller
TruTrend Market Bias FREETruTrend — Market Bias & Signal Indicator (Free)
TruTrend (Free) is a real-time market bias and signal indicator designed to help traders see trend direction and key buy/sell moments with clarity.
This version focuses on core trend structure and momentum shifts, giving you a clean visual read of the market without clutter. Signals update live and are intended to help traders stay on the right side of the move.
TruTrend Free is built to be simple, fast, and easy to use — ideal for traders who want structure without complexity.
What the Free Version Provides
• Market bias (bullish vs bearish)
• Basic buy & sell signals
• Trend structure visualization
• Clean, easy-to-read chart layout
Important Notes
• Signals are real-time and non-repainting
• Designed for general guidance, not trade automation
• Works across all markets and timeframes
Upgrade to Pro / Pro+
For advanced filtering, earlier entries, stronger confirmations, and premium features, check out TruTrend Pro and Pro+.
🔓 Upgrade access: whop.com
Volatility Radar Volatility Radar
A comprehensive VIX-based dashboard for volatility regime analysis and trade bias confirmation. Designed for options traders who use VIX levels to inform directional bias and identify potential traps in market positioning.
Dashboard Columns
1. 10-Min Rule
Displays your current directional bias based on VIX zone positioning with time-based confirmation.
CALLS (Green): VIX is below the Bullish Chop level — conditions favor call buying / bullish stock positioning
PUTS (Red): VIX is above the Bearish Chop level — conditions favor put buying / bearish stock positioning
CHOP (Yellow): VIX is between the two chop levels — no clear directional edge
Confirmation Logic: The bias must hold for a configurable period (default: 10 minutes) before showing "✓ CONFIRMED". A countdown timer shows time remaining until confirmation. High-velocity moves (spikes or crushes) trigger immediate confirmation. If VIX touches a chop boundary, the timer resets.
2. VIX Levels
Displays four user-configurable VIX thresholds that define the volatility regime zones:
Bearish (Red): Extreme fear — VIX at or above this level signals high volatility / bearish stock conditions
Resist (Orange): Upper chop boundary — resistance level for VIX
Support (Yellow): Lower chop boundary — support level for VIX
Bullish (Green): Low fear — VIX at or below this level signals low volatility / bullish stock conditions
The current zone is highlighted based on where VIX is trading relative to these levels.
3. Options Flow
Displays net options flow sentiment to gauge market positioning. Supports both simulated and real-time OPRA data.
Simulated Mode (Default):
Net Val: Shows simulated flow based on candle direction (bullish candle = positive, bearish = negative) multiplied by volume
Sentiment: BULLISH, BEARISH, or NEUTRAL based on flow direction
- Header displays "Options Flow (Sim)"
Real-Time OPRA Mode:
Vol: Shows actual call and put volumes summed across strikes near ATM (e.g., "C:12.5K P:8.2K")
Sentiment: BULLISH if call volume > put volume, BEARISH if puts dominate
- Header displays "Options Flow 📡"
- Net flow calculated as: `Total Call Volume - Total Put Volume`
⚠️ OPRA Data Requirement
Real-time mode requires an active OPRA data subscription in TradingView. Without this subscription, the options volume data will not populate. Enable "Use Real-Time OPRA Data" in settings and configure the required parameters (see Settings section below).
4. Velocity
Monitors the speed of VIX movement to detect rapid regime changes.
STABLE (Gray): Normal VIX movement
⚡ SPIKE (Red): VIX increased by more than the velocity threshold (default: 0.40 points) over the last 5 bars — rapid fear increase
⚡ CRUSH (Green): VIX decreased by more than the velocity threshold over the last 5 bars — rapid fear decrease
Calculation: `VIX - VIX ` (current VIX minus VIX from 5 bars ago)
5. Trap Detect
Identifies potential positioning traps by comparing VIX regime with options flow direction.
CLEAN (Gray): No divergence detected — flow aligns with VIX regime
⚠️ TRAP (Orange): High VIX + Bullish Flow — warns of potential bull trap; smart money may be selling into retail call buying during elevated fear
🛡️ ABSORB (Yellow): Low VIX + Bearish Flow — institutional absorption pattern; put buying during low VIX may indicate smart money hedging or accumulation
Horizontal Level Lines
Four horizontal lines are automatically drawn on the chart at your configured VIX levels:
1. Green line: Bullish level
2. Yellow line: Bullish Chop (Support) level
3. Orange line: Bearish Chop (Resist) level
4. Red line: Bearish level
Settings
Display Settings
Table Position: Choose where the dashboard appears on your chart
Text Size: Tiny, Small, or Normal
Table Background / Transparency: Customize dashboard appearance
10-Minute Rule
Confirmation Minutes: Time required in a zone before bias is confirmed (default: 10)
Velocity Threshold: Points per 5-bar period to trigger spike/crush detection (default: 0.40)
VIX Levels
Bullish (Green): Low volatility threshold (default: 14)
Bullish Chop (Yellow): Lower chop boundary (default: 16)
Bearish Chop (Orange): Upper chop boundary (default: 20)
Bearish (Red): High volatility threshold (default: 25)
Options Flow Data
Use Real-Time OPRA Data: Toggle between simulated and real-time options data (default: off)
Ticker Override: Manual ticker symbol. Leave blank to auto-detect from chart. Examples: SPY, QQQ, SPXW, NDX. Note: SPX auto-converts to SPXW for options symbols.
Center/Anchor Price: Required for OPRA mode. Enter the current underlying price (e.g., 590 for SPY, 5900 for SPX). This determines the ATM strike for data fetching.
Expiry Date (YYMMDD): Options expiration date in YYMMDD format (e.g., 260117 for Jan 17, 2026). Leave blank to use today's date (0DTE).
Strikes Above/Below ATM: Number of strikes to scan on each side of center price (1-10, default: 5). Higher values capture more flow data but use more API calls.
Strike Step Auto-Detection:
- SPX/SPXW, NDX: $5 strikes
- VIX: $0.50 strikes
- SPY, QQQ, and others: $1 strikes
What's New in This Release
1. Real-Time OPRA Options Flow: New toggle to switch between simulated and real-time options data. When enabled with an OPRA subscription, fetches actual call/put volumes across up to 11 strikes around ATM.
2. Configurable Options Parameters: New settings for ticker override, center price, expiry date, and strike range for precise options data targeting.
3. Horizontal Level Lines: VIX threshold levels are now drawn directly on the chart as colored horizontal lines for quick visual reference
4. Reordered Settings: VIX level inputs now flow logically from Bullish to Bearish
Best Practices
1. Use on VIX chart: Apply this indicator directly to a VIX chart (CBOE:VIX) for best results
2. Wait for confirmation: Don't act on bias until the 10-minute rule confirms
3. Respect velocity signals: Spikes and crushes can indicate regime changes before price confirms
4. Watch for traps: Divergence between flow and VIX regime often precedes reversals
5. Customize your levels: Adjust VIX thresholds based on current market conditions and your trading style
6. OPRA Setup: If using real-time options data, ensure you:
- Have an active OPRA subscription in TradingView
- Set the correct Center/Anchor Price for the underlying you're tracking
- Update the expiry date if trading non-0DTE options
- Match the ticker to your target (SPY for SPY options, leave blank on VIX chart for VIX options)
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Options flow data is simulated by default; real-time OPRA data requires a separate TradingView subscription. Always do your own research and manage risk appropriately.
INSTITUTIONAL GHOST [Jorge's Algo]Here is the professional English translation for your TradingView publication. It uses the correct technical terminology (SMC, ICT, Order Flow) to attract serious traders.
Title: INSTITUTIONAL GHOST
Subtitle: The Institutional Footprint Algorithm: Liquidity, Structure, and Volume (CVD).
DESCRIPTION:
INSTITUTIONAL GHOST is not just an indicator; it is a complete vision system engineered to clear market noise and reveal only what matters: Where is the liquidity, and when are institutions entering?
Unlike conventional indicators that clutter your chart with colors and false signals, the Ghost Protocol operates on absolute minimalism. It only displays information when high-probability algorithmic conditions are met, based on Smart Money Concepts (SMC) and Cumulative Volume Delta (CVD).
🔥 KEY FEATURES:
1. LIQUIDITY DETECTOR (Lr): The algorithm automatically identifies Major Swing Points where retail Stop Losses reside.
"Lr" Lines: Minimalist projections that act as magnets for price.
2. POWER SWEEPS (The Institutional Trap): Forget signal spam on every candle. This system filters noise and only marks a "Power Sweep" (Cyan Diamond) when:
Price sweeps a major liquidity level.
IMMEDIATE REJECTION: The candle closes in the opposite direction of the breakout (e.g., breaks high but closes bearish).
This confirms a Stop Hunt and rapid distribution.
3. CVD DIVERGENCE (The Lie Detector): In the background, the script calculates the Cumulative Volume Delta.
If a small "D" label appears above a Sweep, it means price made a New High/Low, but the Order Flow (real money) did not support it.
Signal: Confirmed Divergence = High probability reversal.
4. FVG GHOST LINES: Identification of Fair Value Gaps (Imbalances) without intrusive boxes. Only fine vertical lines connecting the gap, maintaining a "Clean Chart" aesthetic.
5. ICT MIDNIGHT OPEN: A discrete marker at the New York Open (00:00 NY) to determine the Daily Bias (Premium vs. Discount).
📋 HOW TO TRADE THIS ALGORITHM (THE MECHANICAL PLAN):
WAIT: Let price approach a Liquidity Line (Lr). Do not chase the price.
OBSERVE: Look for the appearance of the Cyan Diamond (Power Sweep). This indicates liquidity has been taken and rejected.
CONFIRM: If the "D" (Divergence) appears, the signal is "institutionally validated" by volume.
EXECUTE: Enter at the close of the Sweep candle or on the retest of the nearest FVG.
AUTHOR'S NOTE: This script was designed under the philosophy of "Less is More." If the chart is empty, it is because there is nothing to do. Patience pays.
Recommended Settings: M15, H1, H4 (Forex, Gold, Indices). Style: Minimalist / Zen.
Satoshi Frame Risk FrameSatoshi Frame Risk Frame
Trade with structure, not emotion.
Satoshi Frame – Risk Frame is a minimalist capital and risk management tool designed for traders who value discipline over hype.
This indicator helps you:
Calculate position size based on fixed risk
Control margin usage with leverage awareness
Visualize risk before entering any trade
Stay consistent across different market conditions
Built for futures and leveraged trading, Risk Frame focuses on one rule only:
Protect your capital first. Profits come later.
This is the first public release by Satoshi Frame —
a framework, not a signal .
LARGER PRICE LINE Adjustable (UPDATED)LARGER PRICE LINE
I made this so I could SEE THE PRICE LINE BETTER and try to reduce some eye strain!!
Hope it helps... enjoy! comment for improvements or suggestions
Improved Adjustable Size and Color for the Price Line and Price Box
Adjustment for Price Line: Size and Color plus Solid Line, Dashed or Dotted Line
Adjustments include: Price Box Text Size and Color (Small, Normal, Large, Huge!)
Adjustable Right Side Offset for Price Box
UT Bot TP1 TP2 Optional BE 1min XAUUSD TradeThis custom trading bot is designed for scalping XAUUSD on the 1-minute timeframe. It uses a proprietary strategy combining momentum and volatility signals to identify short-term entry and exit opportunities. The bot aims to capture fast price movements while applying strict risk management rules. Optimized for high-frequency gold trading under real-time market conditions.
If you want, I can also give you a more aggressive, more professional, or more simple version.
Buy sell 5 min gold V2.3 Indicator (Keep last 5): M15 Trend + M5 EMA20 Reclaim + RSI + ATR SL/TP + Trailing Runner
GD Spread FilterAdditional chart for Gold spread, which highlights not relevant periods (clearings and night time)
PT Spread FilterAdditional chart for Platinum spread, which highlights not relevant periods (clearings and night time)
CNY Spread FilterAdditional chart for CNY spread, which highlights not relevant periods (clearings and night time)
SV Spread FilterAdditional chart for Silver spread, which highlights not relevant periods (clearings and night time)
Crosses Open Daily (shock points OD)It is an indicator that works to alert you when an asset, during the day, crosses or approaches the daily open again.
Intraday Session Ranges (Asian-London-NY) - JonathanJD86This script is a technical utility designed to automatically track and visualize the high and low price levels of the three major trading sessions (Asian, London, and New York).
How it works: The script uses the time() function with the America/New_York timezone anchor to ensure accuracy regardless of the user's local time. It tracks the maximum and minimum price values during specific user-defined intervals.
Key Methodology:
Vertical Tick Offset: Unlike standard session boxes, this tool allows users to set a vertical gap (in ticks) so that the labels do not overlap the candle wicks, providing a clearer view of the actual price action.
Session Intervals: Defaulted to high-activity windows: Asian (20:00-00:00), London (02:00-05:00), and New York (08:30-16:00).
Dynamic Visibility: The script includes a logical check to automatically hide levels on timeframes higher than 1H, preventing chart clutter during macro analysis.






















