Type/to search

STC MA ATR Integrated Trend Trading Strategy

Cryptocurrency
Created: 2023-10-17 14:34:10
Last modified: 3 years ago
1
Follow
1781
Followers

img

Overview

This strategy combines the technical indicators STC, Moving Average MA and Average True Range ATR to judge trends and implement relatively stable trend tracking trading.

Strategy Principle

  1. STC indicator judges trend reversal. It utilizes the fast line minus the slow line, then processes secondary smoothing, forming consistent trend signals. The buying signal comes when the indicator crosses above 0 axis, and the selling signal below 0 axis.

  2. Moving Average MA judges trend direction. When stock price crosses above MA, it signals an uptrend, giving a long position holding signal. When price crosses below MA, it signals a downtrend, giving a short position holding signal.

  3. ATR indicator sets stop loss and take profit. ATR can dynamically adjust stop loss and take profit points based on market volatility. And ATR acts as a signal for trading direction itself, rising in uptrend and falling in downtrend.

  4. The strategy takes STC signals as the main timing for entry, uses MA as auxiliary trend judgment, and ATR for stop loss and take profit. When STC gives a buy signal, if MA also shows uptrend and ATR rises, it opens long position; when STC gives a sell signal, if MA shows downtrend and ATR falls, it opens short position.

Advantage Analysis

  1. The strategy combines multiple indicators to judge trends and reversal points, improving the accuracy of trading signals.

  2. STC can capture reversal signals and avoid being trapped in trends. MA filters uncertain reversal signals to ensure following the main trend.

  3. ATR sets dynamic stop loss and take profit based on market volatility, avoiding huge losses. And ATR acts as an auxiliary signal for trend judgment.

  4. The combination of multiple indicators forms strong trend tracking ability. Historical backtests show relatively stable profitability.

Risk Analysis

  1. STC has time lag, which may miss the optimal timing for price reversal.

  2. MA tends to lag during violent price swings, which may generate wrong signals.

  3. ATR stop loss may be hit in seconds. The ATR multiplier should be loosened, or temporarily disabled during big trends.

  4. More indicators means more chances of hitting stop loss. Parameters should be adjusted to avoid unnecessary stop loss.

Optimization Directions

  1. Adjust STC parameters to find faster responsive combinations for reversal.

  2. Optimize MA period parameter for better trend tracking.

  3. Test impacts of different ATR multiples.

  4. Try replacing STC with other indicators for better match.

  5. Introduce machine learning algorithms for multi-parameter auto optimization.

  6. Consider large cycle trends and distinguish different stages.

Summary

The STC MA ATR strategy combines 3 indicators to capture trend reversal points for stable trend tracking trading. Indicator combos filter false signals and control risks with stop loss/take profit. It has strong robustness and stability. Further improvements can be achieved through parameter optimization and algorithm introduction. Overall it is a reliable and moderate strategy choice.

Source
Pine
/*backtest
start: 2023-09-16 00:00:00
end: 2023-10-16 00:00:00
period: 4h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Romedius

//@version=5
Strategy parameters
Strategy parameters
Close position when ATR changes color
STC
Length
FastLength
SlowLength
ATR Stops
nATRPeriod
nATRMultip
Moving Average
MA Length
Strategy
Take Profit ATR Multiplier
Stop Loss ATR Multiplier
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)