Dual MA Stoch Indicators Combo Trading Strategy
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:
-
Calculate long-term MA and short-term EMA to determine trend direction.
-
Calculate Stoch K and D values to identify overbought/oversold levels.
-
When CLOSE breaks above MA, and Stoch K&D are above overbought line, go long.
-
When CLOSE breaks below EMA, and Stoch K&D are below oversold line, go short.
-
Use COLOR to mark determined trade direction.
Advantages:
-
Dual MAs improve trend accuracy and avoid false signals.
-
Stoch identifies high-probability buy/sell zones.
-
Combining indicators improves reliability through verification.
Risks:
-
Poor parameter tuning causes excessive signals or inconsistencies.
-
Both MAs and Stoch can lag, causing premature or delayed entries.
-
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.
/*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)- 1
