Type/to search

Multi-Timeframe Trend Following Strategy with ATR-Based Take Profit and Stop Loss

ATR
1
Follow
1781
Followers

img

Overview

This is a trend following trading strategy that combines UT Bot and 50-period Exponential Moving Average (EMA). The strategy operates primarily on a 1-minute timeframe while using a 5-minute timeframe trend line as a directional filter. It employs the ATR indicator for dynamic stop loss calculation and implements dual take profit targets to optimize returns.

Strategy Principles

The core logic is based on the following key components:

  1. Using UT Bot to calculate dynamic support and resistance levels
  2. Utilizing 50-period EMA on 5-minute timeframe for overall trend direction
  3. Combining 21-period EMA and UT Bot signals for specific entry points
  4. Setting dynamic trailing stops through ATR multipliers
  5. Implementing two take profit targets at 0.5% and 1%, each closing 50% of the position

Trade signals are triggered when price breaks through UT Bot's support/resistance levels and 21-period EMA crosses with UT Bot, provided the price is in the correct direction relative to the 5-minute 50-period EMA.

Strategy Advantages

  1. Multi-timeframe combination enhances trading reliability
  2. Dynamic ATR stops adapt to market volatility
  3. Dual take profit targets balance returns and win rate
  4. Heikin Ashi candlesticks filter out some false breakouts
  5. Flexible trade direction options (long only, short only, or both)

Strategy Risks

  1. Short timeframe trading may face high spread and commission costs
  2. May generate frequent false signals in ranging markets
  3. Multiple conditions may cause missed trading opportunities
  4. ATR parameters need optimization for different markets

Optimization Directions

  1. Add volume indicators for additional confirmation
  2. Consider incorporating more market sentiment indicators
  3. Develop adaptive parameters for different market volatility characteristics
  4. Add trading session filters
  5. Develop more intelligent position sizing system

Summary

This strategy constructs a complete trading system through the combination of multiple technical indicators and timeframes. It includes not only clear entry and exit conditions but also comprehensive risk management mechanisms. While parameter optimization is still needed for specific market conditions in practical application, the overall framework demonstrates good practicality and extensibility.

Source
Pine
/*backtest
start: 2019-12-23 08:00:00
end: 2024-12-18 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
//Created by Nasser mahmoodsani' all rights reserved
// E-mail : [email protected]
Strategy parameters
Strategy parameters
Signals from Heikin Ashi Candles
Trade Type (Optional)
Take Profit 1 Quantity (as % of position size) (Optional)
Take Profit 2 Quantity (as % of position size) (Optional)
LONG
Key Value (Sensitivity - Long) (Optional)
ATR Period (Long) (Optional)
SHORT
Key Value (Sensitivity - Short) (Optional)
ATR Period (Short) (Optional)
TP Settings
TP1 Percentage (Optional)
TP2 Percentage (Optional)
Stop Loss Percentage (Optional)
Use Stop Loss in Percentage
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)