Type/to search

Multiple Indicators Follow Strategy

Common strategy
Created: 2024-01-26 15:42:36
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

The Multiple Indicators Follow strategy is a quantitative trading strategy for cryptocurrencies. This strategy generates trading signals by combining the signals from two basic indicators, the 123 Reversal indicator and the Qstick indicator, and decides whether to enter the market based on the consistency of the two indicators.

Strategy Logic

The strategy consists of two parts:

  1. 123 Reversal Indicator

The trading signals of this indicator come from the closing prices of the last two candlesticks. If the closing prices of the last two candlesticks reverse (i.e. closing price switches from rising to falling or vice versa), while satisfying the condition of the Stochastic Oscillator, it will generate trading signals.

Specifically, if the closing prices of the previous two days fall and today's closing price rises, while the 9-day Stochastic Slow line is lower than 50, it generates a buy signal; if the closing prices of the previous two days rise and today's closing price falls, while the 9-day Stochastic Fast line is higher than 50, it generates a sell signal.

  1. Qstick Indicator

This indicator judges the strength of bulls and bears by calculating the simple moving average of the difference between the opening price and closing price. It generates trading signals when crossing the zero line.

If Qstick crosses above the zero line, it indicates increasing bullish momentum and generates a buy signal. If Qstick crosses below the zero line, it indicates increasing bearish momentum and generates a sell signal.

The Multiple Indicators Follow strategy then comprehensively considers the trading signals from both the 123 Reversal indicator and the Qstick indicator. It will take relevant trading actions only when the signals from both indicators are consistent.

Advantage Analysis

The Multiple Indicators Follow strategy combines the signals of two different types of indicators, which can improve the accuracy of trading signals. Compared with a single indicator, it can effectively reduce false signals and achieve higher win rates.

In addition, this strategy only enters the market when the signals of both indicators are consistent, which can effectively control risks and prevent abnormalities in the difference between the two indicators.

Risks and Solutions

  1. Time difference in signal generation between indicators, cannot perfectly match

This can be solved by parameter optimization, adjusting parameters of the two indicators to coordinate the frequency and rhythm of their signal generation.

  1. Abnormal difference between indicators causing over-trading

Can set minimum holding period to avoid frequently canceling and creating orders.

Optimization Directions

  1. Optimize length parameters of both indicators to find optimal parameter combinations

  2. Test Stochastic Oscillator configurations with different parameters

  3. Add stop loss strategy

Conclusion

By combining the advantages of multiple basic indicators, the Multiple Indicators Follow strategy can improve signal quality. While controlling risks, it can achieve relatively higher returns. There is room for further parameter and strategy optimization for this strategy. Through testing, the strategy can be made more stable and reliable.

Source
Pine
/*backtest
start: 2023-12-26 00:00:00
end: 2024-01-25 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 24/05/2021
// This is combo strategies for get a cumulative signal. 
Strategy parameters
Strategy parameters
---- 123 Reversal ----
Length
KSmoothing
DLength
Level
---- Qstick Indicator ----
LengthQ
Trade reverse
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)