Name
收益捕捉策略在趋势反转市的应用Scalping-Strategy-in-Trend-Reversal-Market
Author
ChaoZhang
Strategy Description
该策略旨在识别长期趋势态势通过短期震荡进行调整后的低买点,以期捕捉新的趋势行情的开始。它整合多种技术指标判断关键的支持区域,实现风险可控的进入。
-
首先判断长期趋势态势,策略采用KD指标判断长短期趋势vetical状况。当长期KD指标连续多周期维持在50以上表示处于多头行情,这为策略确定大级市背景创造条件。
-
其次,识别短期调整震荡的特征。该策略使用RSI指标判断短期调整的深度。当RSI指标连续创出较低的谷底意味着积累和洗盘的进行。结合KD指标可以判断短期震荡是否接近尾声。
-
再者,确定支持区域。策略会识别RSI指标在较低水平后的回升,表明支撑区域的形成。KD指标的回升也验证了这一点。这些因素综合表明反转的时机成熟,可以进行介入。
-
最后,识别反转信号完成入场。当上述指标满足条件时,会产生做多信号,提示可以介入做多。此时作为趋势开始的最佳切入点。
该策略最大的优势在于充分利用短期调整震荡进行反转切入的时间点选择非常准确,支撑强度得到验证,从而风险可控。这为后续趋势行情提供了巨大的回报潜力。
其次,指标参数设置得当,避免了过多的噪音交易。只在大级市框架内寻找高置信度的支撑区域进行介入,大幅降低了错误交易的概率。
该策略面临的主要风险在于长期趋势判断出现偏差。当处于盘整和分化行情时,策略会产生错误信号。此外,短期支撑可能再次下破,需要及时止损退出。
为降低风险,首先需要根据大级市背景调整参数,降低多头信号的敏感度。其次,可以设定止损线,在支撑下破时快速退出。最后,如果出现连续的错误信号,应暂停策略,重新评估市场情况。
该策略还有进一步优化的空间:
-
增加成交量指标判断,确保支撑强度
-
设置回撤止损保护策略收益
-
增加突破过滤,避免支持下破后的追踪停损被套
-
结合更多指标综合判断,提升策略稳定性
该收益捕捉策略成功利用短期调整震荡的特点,在大级市背景指引下,识别反转信号,以低买高卖的原则进入市场。通过优化参数设置和止损手段,可以降低交易风险。这是一个可靠、稳定、高效的量化策略。
||
This strategy aims to identify low buying points after long-term trend adjustments through short-term fluctuations, in order to capture the start of new trend markets. It integrates multiple technical indicators to determine key support areas and achieve risk-controlled entry.
-
First, determine the long-term trend situation. The strategy adopts KD indicator to judge long and short term trend conditions. When the long-term KD indicator maintains above 50 for consecutive periods, it means a bullish market, which creates conditions for the strategy to determine the macro background.
-
Secondly, identify the characteristics of short-term adjustment fluctuations. This strategy uses the RSI indicator to determine the depth of short-term adjustments. When the RSI indicator creates relatively low troughs in succession, it means accumulation and wash plates are in progress. Combined with the KD indicator, we can judge whether the short-term fluctuation is nearing its end.
-
Furthermore, determine the support area. The strategy will identify the rise of the RSI indicator from lower levels, indicating the formation of support areas. The rise of the KD indicator also verifies this point. These factors together indicate that the timing for reversal is ripe for intervention.
-
Finally, identify the reversal signal to complete the entry. When the above indicators meet the conditions, a buy signal will be generated, indicating that long intervention can be made. This is the best entry point as the trend begins.
The biggest advantage of this strategy is that by fully utilizing the timing of reverse entry during short-term adjustment fluctuations, the support strength is verified, thus the risk is controllable. This provides huge return potential for the subsequent trend market.
Secondly, the parameter settings of indicators are appropriate to avoid excessive noisy trades. Only high-confidence support areas are sought under the macro market framework for involvement, which greatly reduces the probability of wrong trades.
The main risk faced by this strategy is that errors occur in judging long-term trends. When in consolidation and differentiation markets, the strategy will generate wrong signals. In addition, short-term support may break down again, requiring timely stop losses.
To reduce risks, parameters should first be adjusted according to the macro market background to reduce the sensitivity of long signals. Secondly, stop loss lines can be set to exit quickly when supports break down. Finally, if consecutive wrong signals occur, the strategy should be suspended and market conditions reevaluated.
There is still room for further optimization of this strategy:
-
Add volume indicators to ensure support strength
-
Set pullback stop loss to protect strategy profit
-
Increase breakthrough filters to avoid tracing stop losses after support breakdowns
-
Integrate more indicators for comprehensive judgment to enhance strategy stability
This profit capturing strategy successfully utilizes the characteristics of short-term adjustment fluctuations under the guidance of macro backgrounds to identify reversal signals and enter the market according to the principle of buying low and selling high. By optimizing parameter settings and stop loss means, trading risks can be reduced. This is a reliable, stable and efficient quantitative strategy.
[/trans]
Strategy Arguments
Argument | Default | Description |
---|---|---|
v_input_1_hl2 | 0 | Source: hl2 |
v_input_2 | 5 | short term trend |
v_input_3 | 60 | long term trend |
v_input_4 | 13 | smooth long term trend |
v_input_5 | 15 | clear short term pullback appears recently |
v_input_6 | 35 | threshold of short term pullback clear |
v_input_7 | 50 | threshold of short term pullback end |
v_input_8 | false | x_exit_if_reason_over |
Source (PineScript)
/*backtest
start: 2023-01-17 00:00:00
end: 2024-01-23 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
strategy("scalping against trapped countertrend", overlay=false , precision=5 )
x_src = input( hl2 , title="Source" )
x_len_a = input( 5 , title="short term trend" , minval=1 )
x_len_b = input( 60 , title="long term trend" , minval=1 )
x_k_b = input( 13 , title="smooth long term trend" , minval=1 )
x_changk = input( 15 , title="clear short term pullback appears recently" , minval=1 )
x_rsi_ct = input( 35.0 , title="threshold of short term pullback clear" , minval=0.0 , maxval=100.0 )
x_rsi_ft = input( 50.0 , title="threshold of short term pullback end" , minval=0.0 , maxval=100.0 )
x_exit_if_reason_over = input(false)
y_stoch = stoch( x_src , high , low , x_len_b )
y_k = sma( y_stoch , x_k_b )
y_rsi = rsi( x_src , x_len_a )
y_upper = min( y_k-50 , y_rsi-x_rsi_ft , x_changk>1?x_rsi_ct-lowest(y_rsi,x_changk):50 )
if ( y_upper>0 )
strategy.entry("LE", strategy.long)
else if ( x_exit_if_reason_over and strategy.position_size>0 )
strategy.close("LE", comment="x" )
y_lower = max( y_k-50 , y_rsi-x_rsi_ft , x_changk>1?100-x_rsi_ct-highest(y_rsi,x_changk):-50 )
if ( y_lower<0 )
strategy.entry("SE", strategy.short)
else if ( x_exit_if_reason_over and strategy.position_size<0 )
strategy.close("SE", comment="x" )
plot( y_stoch , color=#ff3333 )
plot( y_k , color=#6666ff )
plot( y_rsi , color=#cccc00 )
hline(50)
Detail
https://www.fmz.com/strategy/439901
Last Modified
2024-01-24 17:43:50