PROTECTED SOURCE SCRIPT

TradeBuilder

업데이트됨
Overview

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’s how you would set it up in Tradebuilder:

use_ma = true
ma_cross_type = "MA/MA"
ma_length = 5
ma_type = "SMA"
ma_length2 = 100
ma_type2 = "EMA"

use_rsi = true
rsi_length = 14
rsi_overbought = 20
rsi_oversold = 45

use_stoch = true
stoch_k = 8
stoch_d = 1
stoch_smooth = 1
stoch_overbought = 95
stoch_oversold = 5

confirm_trend = true

trade_long = true
trade_short = false

Alerts

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)

스냅샷

Exponential Moving Average (EMA)moving_averagemovingaveragecrossoverRelative Strength Index (RSI)rsi-emarsitradingscalpingStochastic OscillatorstochasticoscillatortrendfollowingVOLUMEBREAKOUT

보호된 스크립트입니다

이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.

차트에 이 스크립트를 사용하시겠습니까?


ChartVPS Technologies | chartvps.com
또한 다음에서도:

면책사항