TradeBuilder is an ever-growing toolbox that lets you combine and compound any number of bundled indicators and algorithms to create a compound strategy. At launch, we're including two Moving Averages (SMA, EMA), RSI, and Stochastic Oscillator, with many more to come. You can use any combination of indicators, be it just one, two, or all.
Key Concepts
Indicator Integration: Tradebuilder allows the use of Moving Averages, RSI, and Stochastic Oscillators, with customizable parameters for each. More indicators to come.
Mode Selection: Choose between Confirm Trend Mode (using indicators to confirm trends) and Momentum Mode (using indicators to spot reversals).
Trade Flexibility: Offers options for both long and short trades, enabling diverse trading strategies.
Customizable Inputs: Easily toggle indicators on or off and adjust specific settings like periods and thresholds.
Signal Generation: Combines multiple conditions to generate entry and exit signals.
Input Parameters:
Moving Average (MA):
use_ma: Enable this to include the Moving Average in your strategy. ma_cross_type: Choose between "Close/MA" (price crossing the MA) or "MA/MA" (one MA crossing another). ma_length: Set the period for the primary MA. ma_type: Choose between "SMA" (Simple Moving Average) or "EMA" (Exponential Moving Average). ma_length2: Set the period for the secondary MA if using the "MA/MA" cross type. ma_type2: Set the type for the secondary MA.
Relative Strength Index (RSI):
use_rsi: Enable this to include RSI in your strategy. rsi_length: Set the period for RSI calculation. rsi_overbought: Define the overbought level. rsi_oversold: Define the oversold level.
Stochastic Oscillator:
use_stoch: Enable this to include the Stochastic Oscillator in your strategy. stoch_k: Set the %K period. stoch_d: Set the %D period. stoch_smooth: Define the smoothing factor. stoch_overbought: Set the overbought level. stoch_oversold: Set the oversold level.
Confirmation or Momentum Mode:
confirm_trend: Set this to true to use RSI and Stochastic Oscillator to confirm trends (long when above overbought, short when below oversold). Set to false to trade on momentum (short when above overbought, long when below oversold). Tip: When set to false and used with just momentum oscillators like Stochastic or RSI, it's geared toward scalping as it essentially becomes momentum trading.
Trade Directions:
trade_long: Enable to allow long trades. trade_short: Enable to allow short trades.
Example Strategy on E-mini S&P 500 Index Futures ( ES1! ), 1-minute Chart
Let’s say you want to create a strategy to go long when:
A 5-period SMA crosses above a 100-period EMA. RSI is above 20. The Stochastic Oscillator is above 95. Trend Confirmation Mode is on.
For short:
A 5-period SMA crosses below a 100-period EMA. RSI is below 45. The Stochastic Oscillator is below 5. Trend Confirmation Mode is on.
Here is how to set TradeBuilder alerts: open a TradingView chart, attach TradeBuilder, right-click on chart -> Add Alert. Condition: Symbol (e.g. NQ) >> TradeBuilder >> Open-Ended Alert >> Once Per Bar Close.
Development Roadmap
We plan to add many more compoundable indicators to TradeBuilder over the coming months from all walks of technical analysis, including Volume, Volatility, Trend Detection/Validation, Momentum, Divergences, Chart Patterns, Support/Resistance Analysis. etc.
ملاحظات الأخبار
Added dynamic volume filtering.
Highlights:
Filters based on where the current volume is relative to a moving average of volume over a user-defined period (e.g., 20 periods).
Useful in filtering whipsaws and while trading during off peak hours.
New user input variables:
Use Volume Filter: Setting to true activates volume filtering.
Volume Threshold: Set the threshold as a multiplier of the average volume. For example, if set to 1.2, the strategy will only trade when the current volume is 1.2 times (20%) greater than the average volume over the specified period.
Volume Average Length: The period for averaging volume.
Example Strategy on E-mini S&P 500 Index Futures ( ES1! ), 1-minute Chart
TradeBuilder configured with double MA (5/100, SMA/SMA) cross, and Stochastic oscillator (period 14, 60/30 thresholds) without volume filtering
The same strategy with volume filtering (Volume Threshold set to 1; Volume Average Length set to 10)
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.