Type/to search

Dual MA Stoch Indicators Combo Trading Strategy

Cryptocurrency
Created: 2023-09-12 14:44:56
Last modified: 3 years ago
1
Follow
1781
Followers

This strategy combines moving averages and Stoch indicators into a quantitative trading system with both trend-following and overbought/oversold detection capabilities. It integrates the strengths of multiple indicators for systematic trend identification and opportunity capture.

Strategy Logic:

  1. Calculate long-term MA and short-term EMA to determine trend direction.

  2. Calculate Stoch K and D values to identify overbought/oversold levels.

  3. When CLOSE breaks above MA, and Stoch K&D are above overbought line, go long.

  4. When CLOSE breaks below EMA, and Stoch K&D are below oversold line, go short.

  5. Use COLOR to mark determined trade direction.

Advantages:

  1. Dual MAs improve trend accuracy and avoid false signals.

  2. Stoch identifies high-probability buy/sell zones.

  3. Combining indicators improves reliability through verification.

Risks:

  1. Poor parameter tuning causes excessive signals or inconsistencies.

  2. Both MAs and Stoch can lag, causing premature or delayed entries.

  3. More indicators mean more complexity despite improved reliability.

In summary, this strategy quantitatively trades using MAs for trend and Stoch for overbought/oversold levels. With robust parameter optimization, it can improve system stability and reliability. But prudent risk management is still required, and investors should apply discretion.

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

//@version=4

// strategy("PMB2", overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value = 20, initial_capital=1000, currency=currency.USD)
//study(title="PMB2", overlay=true)
Strategy parameters
Strategy parameters
MA (green)
EMA (red)
STOCH - K
STOCH - D
STOCH - Smooth
Long when Close > MA and Stoch >
Short when Close < EMA and Stoch <
Strategy Test Start Year
Strategy Test Start Month
Strategy Test Start Day
Strategy Test Stop Year
Strategy Test Stop Month
Strategy Test Stop Day
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)