OPEN-SOURCE SCRIPT
업데이트됨 Universal Strategy Feed

User Manual: Universal Strategy Feed
The Universal Strategy Feed is a flexible Pine Script strategy designed to allow traders to backtest various technical entry signals and exit methodologies within a single, unified interface.
1. Overview
This script operates as a "meta-strategy." Instead of being hardcoded for a single indicator, it allows you to select from seven different signal types and customize how they trigger trades.
2. Configuration Settings
A. Signal Mode
The Signal Mode determines how the strategy identifies entry points. You can select the following modes:
Pulse: Uses a binary signal (+1/-1). Enters Long when Source A is positive, Short when negative.
Sign Cross: Enters Long when Source A crosses above a defined level, Short when it crosses below.
Level Cross: Traditional overbought/oversold logic (e.g., crossing 70/30 or 50/50).
Two Sources Cross: Compares two different indicators (e.g., crossing of two MAs or MACD vs. Signal line).
Two Trigger Sources: Simply checks if Source A (Long) or Source B (Short) is active.
Three Sources: Complex logic for combinations like KDJ or multi-MA filters.
Volume: Automatically detects volume spikes relative to an MA on green (buy) or red (sell) candles.
B. Sources
Source A/B/C: Select the specific indicator or price data (e.g., close, RSI, EMA) to act as the trigger for the selected Signal Mode.
Invert: A toggle to flip the logic (if you want to turn every buy signal into a sell, and vice versa).
C. Exits (TP/SL)
You can choose how to exit a trade using the TP/SL Method:
Signal: Exits only when the opposite signal is generated (Reversal mode).
Percent: Uses a fixed percentage for Take Profit and Stop Loss.
ATR: Uses Average True Range to set dynamic, volatility-based profit and loss targets.
D. Sizing & Filters
Contracts per trade: Sets the fixed quantity for each order.
Date Filter: Use this to restrict backtesting to a specific time window.
3. Quick Start Guide
Load the Strategy: Add the "Universal Strategy Feed" to your chart in TradingView.
Select a Mode: Open the script settings and choose the Signal Mode that matches the indicator you intend to use.
Define Sources: Assign the indicators you are using to Source A, B, and C.
Set Exit Criteria: Navigate to the Exits tab to define how you want to manage your risk (Percent or ATR is recommended for most users).
Review Performance: Use the Strategy Tester tab at the bottom of the TradingView interface to analyze the results.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Trading indicators:
tradingview.com/u/Options360/
tradingview.com/u/Options360/
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Trading indicators:
tradingview.com/u/Options360/
tradingview.com/u/Options360/
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.