logo
TradeSearcher

UT Bot v5

Script from: TradingView

Swing

Trend following

Bot

The UT Bot v5 strategy utilizes a moving average in comparison with an ATR-based trailing stop loss to determine entry points. Trades are executed when both the price and the moving average exceed (for buying) or drop below (for selling) the trailing stop loss level. Enhancements include take profit and stop loss parameters, directional trading options, various MA types, and on-chart visualization of MA and ATR_TSL.

Shiba Inu / United States Dollar (SHIBUSD)

+ UT Bot v5

@ 4 h

1.30

Risk Reward

504.58 %

Total ROI

307

Total Trades

OKB (OKBUSD)

+ UT Bot v5

@ 4 h

1.23

Risk Reward

8,959.11 %

Total ROI

646

Total Trades

XDC / Dollar (XDCUSD)

+ UT Bot v5

@ 4 h

1.20

Risk Reward

4,924.26 %

Total ROI

826

Total Trades

Bitcoin SV (BSVUSD)

+ UT Bot v5

@ 5 min

1.09

Risk Reward

14.99 %

Total ROI

1056

Total Trades

Aptos (APTOUSD)

+ UT Bot v5

@ 5 min

1.08

Risk Reward

12.92 %

Total ROI

1159

Total Trades

OKB (OKBUSD)

+ UT Bot v5

@ 5 min

1.03

Risk Reward

2.91 %

Total ROI

1109

Total Trades

Blue Owl Capital Inc. (OWL)

+ UT Bot v5

@ 4 h

1.69

Risk Reward

208.05 %

Total ROI

119

Total Trades

NextEra Energy, Inc. (NEE)

+ UT Bot v5

@ Daily

1.54

Risk Reward

3,498.11 %

Total ROI

692

Total Trades

DraftKings Inc. (DKNG)

+ UT Bot v5

@ 1 h

1.36

Risk Reward

2,037.18 %

Total ROI

501

Total Trades

Roivant Sciences Ltd. (ROIV)

+ UT Bot v5

@ 1 h

1.34

Risk Reward

173.27 %

Total ROI

428

Total Trades

SoFi Technologies, Inc. (SOFI)

+ UT Bot v5

@ 1 h

1.33

Risk Reward

677.99 %

Total ROI

389

Total Trades

Uber Technologies, Inc. (UBER)

+ UT Bot v5

@ 4 h

1.32

Risk Reward

175.72 %

Total ROI

174

Total Trades
Create your account for free to see all 128+ backtests

Access filters, details, best timeframes, explore 100K+ backtests and more

Active Trades

Create your account  to see on which symbols UT Bot v5 is currently trading on.

Popular TradingView Strategies

Find the best trading strategy for your trading styte

Guide

How does the UT Bot v5 strategy work ?

The UT Bot v5 strategy utilizes the relationship between a Moving Average (MA) and a modified Average True Range (ATR) to determine entry points for trades. By comparing the MA to the ATR configured for trailing stop loss (ATR_TSL), it identifies buy signals when both the MA and the price are greater than the ATR_TSL. Conversely, sell signals are generated when both are less than the ATR_TSL. The script offers flexibility, allowing users to select from different types of MAs—Simple (SMA), Exponential (EMA), Weighted (WMA), or Hull (HMA)—and to choose the price source for analysis.

Enhancements in this version include the ability to set take profit (TP) and stop loss (SL) levels and to restrict the strategy to buying or selling only. The chosen MA and ATR_TSL are also plotted on the chart for real-time visual reference. Buy and sell signals are clearly indicated on the chart through shapes and bar colors, turning green for buy and red for sell opportunities. Furthermore, the strategy automatically closes positions when predefined TP or SL conditions are met or when an opposite signal is identified, given that the corresponding buy or sell option is enabled.

How to use the UT Bot v5 strategy ?

This trading strategy uses a moving average crossover system based on the ATR (Average True Range) for defining trailing stops. Trades are executed when the price either crosses over or under the ATR trailing stop, indicating a potential trend reversal.

To trade this strategy manually on TradingView, perform the following steps:

  • Select the preferred price source (e.g., Open, Close). For this strategy, OPEN is recommended.
  • Add a Moving Average indicator based on the selected price source and set the period to the MA_Period (2 in the script).
  • Choose your Moving Average type (SMA, EMA, WMA, or HMA as per the 'smoothing' input) and apply it to the chart.
  • Calculate the ATR (Average True Range) using the ATR Period (11 in this script).
  • Construct an ATR trailing stop by subtracting a multiple of the ATR (defined by 'a', here it is 1) from the price when the trend is up, and add the same multiple to the price when the trend is down.
  • Enter a long position when the price crosses over the ATR trailing stop and the Moving Average. Enter a short position when the price crosses under the ATR trailing stop and the Moving Average.
  • Set Take Profit and Stop Loss levels as required, corresponding to the 'TakeProfit' and 'StopLoss' inputs in the strategy script (50000 here).
  • Execute the closes as per the conditions, for example, close the position when the open profit exceeds the Take Profit or falls below the Stop Loss value.
  • Optional: If the 'AllowBuy' is true, allow buy trades; if not, close any existing buy trades. Similarly, if 'AllowSell' is true, allow sell trades; if not, close any existing sell trades.
  • Use the indicator plot functions to help visualize the Moving Average and ATR trailing stop on the price chart for better entry and exit decisions.

How to optimize the UT Bot v5 trading strategy ?

To enhance the UT Bot v5 strategy for manual trading on TradingView, several refinements can be implemented. By fine-tuning the indicators, execution criteria, and management tactics, the strategy can potentially become more robust and better suited for varying market conditions.

  • Optimize Moving Average Parameters: Experiment with different MA periods and types to find the optimal setting for the current market volatility and trend strength. This could mean increasing the period in a trending market to filter out noise, or decreasing it in a sideways market to catch moves sooner.
  • Adjust ATR Multiplication Factor: The multiplication factor 'a', which determines the sensitivity of the ATR trailing stop, should be dynamic. Use a lower factor during low-volatility conditions to keep the trailing stop close, and increase it during high-volatility phases to avoid premature exits.
  • Filter Trades with Additional Indicators: Incorporate supplementary indicators like RSI or MACD to filter out potential false signals. For instance, a trade could be validated if the RSI is above a certain level (e.g., 50) for a buy or below for a sell signal.
  • Refine Entry and Exit Criteria: Instead of relying solely on crossovers, consider confirmation from candlestick patterns or volume data to ensure the validity of the reversal. For exits, besides fixed take profit and stop loss, implement a trailing stop or scale out of positions to capture more significant trends.
  • Add Contextual Market Analysis: Before any trade, assess the broader market sentiment and economic news that could affect price movement. Enter trades that align with the general market direction and be cautious around significant news releases.
  • Adapt Position Sizing: Use a variable position-sizing approach where more capital is allocated to higher-probability setups based on backtesting and less to riskier ones. This could be done using a percentage of the account balance or a fixed dollar amount relative to the stop loss distance.
  • Employ Discretionary Trading Skills: Apply subjective judgment and experience to decide when to override the system, whether by avoiding a trade that doesn't 'look right' despite meeting all criteria or by closing a trade early due to unforeseen market changes.
  • Paper Trade Before Going Live: Practice the refined trading plan in a simulated environment to ensure all components work harmoniously together and to build confidence in the adjustments made before risking real capital.

For which kind of traders is the UT Bot v5 strategy suitable ?

The UT Bot v5 strategy is particularly suitable for swing traders who have the skills to undertake technical analysis and seek to capitalize on price movements that occur over a period of a few days to several weeks. Its reliance on a Moving Average crossover with an Average True Range-based trailing stop loss requires monitoring to catch trend reversals, making it less suited for very short-term day traders or those looking for a set-and-forget system.

  • Swing Traders: This strategy appeals to those looking to hold positions over multiple sessions, benefiting from significant swings in price.
  • Technical Analysts: Traders who are inclined towards technical analysis will find this strategy aligns well with their skillset.
  • Trend Followers: As it uses Moving Average and ATR, it is optimized for traders who prefer to follow the trend rather than predict market tops and bottoms.
  • Active Market Participants: Suitable for traders who actively manage their trades, monitoring performance and adjusting parameters as needed.

Key Takeaways of UT Bot v5

  • Strategy Type: Trend-following with a Moving Average and ATR-based trailing stop loss for swing traders.
  • How It Works: The strategy triggers buy/sell signals when the price crosses over/under the MA and the ATR trailing stop.
  • Automation Potential: Scripted for TradingView, enabling automation with configurable parameters for MA type and price source.
  • Manual Trading Option: Manual trading is possible by applying the correct indicators and settings on TradingView charts.
  • Combining Alerts and Analysis: Set alerts for crossover events while using manual analysis to filter signals and manage trades.
  • Optimization Tips:: Adjust MA periods, ATR factor, and add other indicators like RSI or MACD to refine signals.
  • Better Risk Management: Employ dynamic position sizing, implement trailing stops or scaling out, and consider market context before trades.
  • Trader Suitability: Best for technically inclined swing traders who actively manage and monitor their positions.
  • Improvement Through Practice: Test refinements and build confidence via paper trading before going live.
Explore the best Trading & TradingView strategies

Stop trading blindly. Explore the best strategies among 100K+ backtests and improve your trading skills with data.


logo

Loved by more than 3200+ traders

Explore

Crypto

Forex

Bitcoin

AI Strategies

Day Trading

Swing Trading

Trading is a risky activity and the majority of traders lose money. This website and the products and services offered by TradeSearcher are for informational & educational purposes only. TradeSearcher does not guarantee the accuracy, relevance, timeliness, or completeness of any information on its website.

All Trading Strategies displayed on this website are simulated backtests and does not represent actual trading results. Past backtests results do not predict or guarantee future performance.

TradeSearcher uses public snapshot data sourced from third-party tools, including TradingView. While we strive to present accurate and timely information, TradeSearcher does not have control over these third-party tools and cannot verify, guarantee, or be held responsible for the accuracy or completeness of data sourced from them. Users acknowledge and agree that TradeSearcher is not affiliated with, endorsed by, or sponsored by TradingView or any other third-party data provider. Any reliance on data or tools sourced from third parties is at the user's own risk.

Backtests and Charts used on this site are by TradingView in which our backtests are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com.

Users of TradeSearcher are responsible for conducting their own due diligence and making their own investment decisions. Before making any investment, it is recommended that users consult with a qualified professional to ensure that the strategy or investment is suitable for their individual circumstances.

TradeSearcher and its affiliates, employees, agents, and licensors will not be held liable for any decisions made based on the information provided on the website or any damages or losses that may arise directly or indirectly from the use of the website or the information contained therein.

This does not represent our full Disclaimer. Please read our Full Disclaimer before using this site.

© 2023 TradeSearcher. All rights reserved.