Renko Yin Yang Quant Trading Strategy
Overview
The Renko Yin Yang quant trading strategy is a short-term trading strategy based on intraday price-volume relationship. It utilizes the yin yang direction information within a day and combines volume confirmation signals to implement low-risk short-term trading.
Strategy Logic
The strategy calculates the open, close, high and low prices of each trading day, and generates Renko bricks together with ATR indicator. Trading signals are generated when yin yang bricks reverse.
Specifically, the strategy first calculates the open price o2 and close price c2 of the Renko bricks. If o2<c2, it indicates a yang line, if o2>c2, it indicates a yin line. When yang line turns to yin line, a sell signal is generated. When yin line turns to yang line, a buy signal is generated.
To filter false breakouts, the strategy also counts the number of periods of the last yang and yin line. If the yang line has more periods, the signal is more reliable. In addition, stop loss and take profit logic are set after buying and selling.
Advantages
-
Renko bricks filter market noise and make trading signals clearer.
-
Combining price-volume relationship avoids the risk of false breakout.
-
The DAPM model is simple and effective for intraday trading.
-
Customizable ATR parameters adjust trading frequency.
-
Customizable stop loss improves risk management.
Risks
-
There is still risk of unclear false breakout.
-
Improper Renko parameter settings may miss trends or increase trading frequency.
-
A too tight stop loss may get stopped out by minor pullback.
Optimization
-
Consider combining other technical indicators to filter signals.
-
Consider adding trailing stop loss feature.
-
Optimize parameters for different assets.
-
Consider combining different timeframes for multi-timeframe trading.
Conclusion
In conclusion, this is a very practical short-term trading strategy. It uses price-volume relationship to filter efficiently and capture key turning points. Proper parameter tuning, risk management and stop loss strategy can greatly improve its stability and profitability. With continuous optimization and testing, this strategy can become a powerful tool for intraday traders.
/*backtest
start: 2022-09-26 00:00:00
end: 2023-09-26 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
// This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License https://creativecommons.org/licenses/by-sa/4.0/
// © dman103
strategy(title="Renko Strategy V2", shorttitle="Renko Strategy V2", overlay=true,precision=3, commission_value=0.025, default_qty_type=strategy.cash, default_qty_value=10000, initial_capital=10000)- 1
