Type/to search

Doubly Confident Price Oscillation Quant Strategy

Common strategy
Created: 2024-02-18 10:10:16
Last modified: 2 years ago
1
Follow
1802
Followers

img

Overview

The main idea of this strategy is to combine the 123 Reversal strategy and the Absolute Price Oscillator indicator to obtain an integrated signal. Specifically, if both sub-strategies emit long signals, the final strategy signal is 1 (long); if both emit short signals, the final signal is -1 (short); if the signals are inconsistent, the final signal is 0 (no operation).

Principles

Firstly, the principle of the 123 Reversal strategy is: if the close price is lower than the previous day's close for two consecutive days, and the Stochastic Oscillator is below the overbought line, go long; if the close price is higher than the previous day's close for two consecutive days, and the Stochastic Oscillator is above the oversold line, go short.

Secondly, the Absolute Price Oscillator displays the difference between two exponential moving averages. A positive value indicates an upward trend, while a negative value indicates a downward trend.

Finally, this strategy combines the signals of the two sub-strategies, i.e. follow the signal if they are consistent; otherwise, do not operate.

Advantage Analysis

This strategy comprehensively considers short-term reversal signals and medium-to-long term trend signals, which can effectively identify turning points. Compared to using 123 Reversals or APO alone, this strategy can greatly improve the reliability of signals and reduce erroneous signals.

In addition, this strategy employs multiple technical indicators to judge the market comprehensively instead of relying on any single one. This avoids wrong judgments due to failure of one indicator.

Risk Analysis

The biggest risk is when the 123 Reversal and APO emit conflicting signals. In such cases, the operator needs to judge based on experience which signal is more reliable. Wrong judgements may lead to missing trading opportunities or losses.

In addition, drastic market changes may invalidate signals from both sub-strategies simultaneously. Traders need to monitor events that significantly impact markets, and pause the strategy if necessary.

Optimization

Possible optimization directions:

  1. Optimize sub-strategy parameters for more reliable signals, e.g. moving average periods.

  2. Add other auxiliary indicators to form a voting mechanism. Consistent signals from multiple indicators are more reliable.

  3. Add stop loss strategies. Timely stop loss on adverse price moves avoids further losses.

  4. Optimize entry and stop loss levels based on historical backtesting.

Conclusion

This strategy combines multiple technical indicators to judge the market, avoiding single indicator dependency risks to some extent and improving signal accuracy. There is also room for optimization based on investor requirements. Overall, the Doubly Confident Price Oscillation Quant Strategy provides reliable trade signals and is worth researching further.

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

//@version=3
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 22/04/2019
// This is combo strategies for get 
Strategy parameters
Strategy parameters
Length
KSmoothing
DLength
Level
LengthShortEMA
LengthLongEMA
Trade reverse
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)