Type/to search

Ichimoku Cloud, MACD and Stochastic Based Multi-Timeframe Trend Tracking Strategy

Cryptocurrency
Created: 2024-02-05 10:30:45
Last modified: 2 years ago
1
Follow
1789
Followers

img

Overview

This strategy integrates Ichimoku Cloud, moving average, MACD, Stochastic and ATR indicators to identify and track trends across multiple timeframes. It adopts ATR-based stop loss and take profit methods for risk control after obtaining high probability trend signals.

Strategy Logic

  1. Ichimoku Cloud judges medium and long term trend directions. The CLOSE price crossing above Ichimoku's turning line and baseline is a bullish signal, and crossing below them is a bearish signal.

  2. MACD judges short-term trends and overbought/oversold situations. MACD histogram crossing above MACD signal line is a bullish signal, and crossing below is a bearish signal.

  3. Stochastic KD judges overbought/oversold zones. K line crossing above 20 is a bullish signal, and crossing below 80 is a bearish signal.

  4. Moving average judges medium-term trends. Close price crossing above MA is a bullish signal, and crossing below is a bearish signal.

  5. Integrate signals from the above indicators to filter out some false signals and form high probability sustainable trend signals.

  6. Use ATR to calculate stop loss and take profit price. Use a certain multiple of ATR as stop loss and take profit bits to control risks.

Advantages

  1. Identify trends across multiple timeframes to improve signal accuracy.

  2. Widely employ indicator combos to effectively filter out false signals.

  3. ATR-based stop loss & take profit significantly limits per trade loss.

  4. Customizable strictness of entry conditions caters to different risk appetites.

Risks

  1. Trend following nature fails to detect reversals caused by black swan events.

  2. Idealized ATR stop loss is hard to fully replicate in live trading.

  3. Improper parameter settings may lead to overtrading or insufficient signal accuracy.

  4. Parameter tweak is needed to fit different products and market environments.

Enhancement Areas

  1. Introduce machine learning to aid judging trend reversal points.

  2. Optimize ATR multiplier parameter values for different products.

  3. Incorporate other factors like volume changes to improve breakthrough signal accuracy.

  4. Keep optimizing parameters based on backtest results to find best parameter combinations.

Summary

This strategy leverages Ichimoku Cloud, MACD, Stochastic and more for multi-timeframe trend identification, capturing trends while avoiding being trapped by black swan events. The ATR-based stop loss & take profit effectively limits per trade loss. With more auxiliary judgments and machine learning methods introduced, this strategy has further optimization potential.

Source
Pine
/*backtest
start: 2024-01-05 00:00:00
end: 2024-02-04 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/
// © FXFUNDINGMATE

//@version=4
Strategy parameters
Strategy parameters
Conversion Line Length
Base Line Length
Lagging Span 2 Length
Displacement
Fast Length
Slow Length
Source
Signal Smoothing
Simple MA (Oscillator)
Simple MA (Signal Line)
%K Length
%K Smoothing
%D Smoothing
Atr Length
Stop loss multi Atr
Take profit multi Atr
Smoothing
Position side
Show sl&tp lines
MA Length
Backtesting Start Time
Backtesting End Time
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)