Type/to search

Multiple Indicator Quantitative Trading Strategy

Common strategy
Created: 2024-01-26 16:19:47
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy utilizes multiple technical indicators for quantitative trading. It mainly uses indicators including EMA crossovers, SuperTrend, RSI, MACD etc. to generate trading signals.

Strategy Logic

The core logic is based on the following aspects:

  1. EMA Crossover: Compute fast EMA1 and slow EMA2. When EMA1 crossover above EMA2, generate buy signal. When EMA1 crossover below EMA2, generate sell signal.

  2. VWMA: Compute VWMA. When close price crossover above VWMA, it is a buy signal. When close price crossover below VWMA, it is a sell signal.

  3. SuperTrend: Compute the upper band and lower band based on ATR and multiplier parameter. Determine trend direction. Generate buy signals in uptrend and sell signals in downtrend.

  4. RSI: Compute RSI indicator. When RSI is above overbought level, it is sell signal. When RSI is below oversold level, it is buy signal.

  5. MACD: Compute MACD, signal line and histogram. When MACD line crossover above signal line, generate buy. When MACD line crossover below signal line, generate sell.

The strategy adopts "AND" logic to combine signals above. Only when multiple indicators emit buy/sell signal simultaneously, a final trading signal will be generated.

Advantages

This strategy combines multiple indicators to filter the market and avoid false signals. Main advantages:

  1. Multiple indicators combination avoids errors of single indicator.

  2. Combination of trend indicator and oscillator capture extra profit during trends.

  3. Use of stop loss logic limits maximum loss per trade.

  4. Martingale logic provides chance to break even after losses.

Risks

Main risks:

  1. Too conservative indicator combination may miss some trading chance. Simplify the indicators combination when necessary.

  2. Martingale logic may lead to significant losses. Set reasonable limitation to the number of additional entries.

  3. Improper use of stop loss may lead to unnecessary stop out. Adopt adaptive stop loss mechanism.

  4. Improper parameter tuning may lead too more false signals. Optimize parameters to find the best combination.

Optimization

The strategy can be further optimized in the following aspects:

  1. Evaluate different combination of indicators, determine the weights.

  2. Test different parameters for each indicator.

  3. Add adaptive stop loss logic.

  4. Add dynamic position sizing mechanism.

  5. Leverage machine learning to optimize parameters and models.

Summary

In summary, this is a very practical quantitative trading strategy. It combines the strength of multiple classical technical indicators for market analysis. Further parameter tuning and model optimization can lead to better results.

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


//@version=5
strategy(title='Pinku Buy', overlay=true)
Strategy parameters
Strategy parameters
From Month
From Day
From Year
Thru Month
Thru Day
Thru Year
Show Date Range
length1
length2
VWMA_len
STR Period
Source
STR Multiplier
Rsi Period
over_sold
over_bought
slow_len_macd
fast_len_macd
signal_len_macd
ADX Smoothing
DI Length
adx_Greater_than
volume_ema
multiple_signals
StopLoss
Profit
Reverse Limit
Averaging position ?
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)