PROTECTED SOURCE SCRIPT
Telah dikemas kini 测试 (RSI+K形态+TP/SL)

This Pine Script strategy identifies potential long entry opportunities by combining the Relative Strength Index (RSI) with a specific two-bar candlestick pattern confirmation. A buy signal is generated when the RSI crosses below the user-defined oversold level (default 20) and the following pattern is confirmed on the current bar: the previous bar was bearish (close < open), the current bar is bullish (close > open), and the current bullish bar's close is higher than the previous bearish bar's open (bullish body top surpasses bearish body top).
The strategy only enters long positions (strategy.long). Positions are managed and exited using percentage-based Take Profit (TP) and Stop Loss (SL) levels, calculated from the average entry price. Configurable parameters include the RSI calculation length, the TP percentage, and the SL percentage. This strategy aims to capture potential reversals from oversold conditions when confirmed by specific bullish price action.
策略简介 (中文):
该 Pine Script 策略通过结合相对强弱指数 (RSI) 与一个特定的双K线形态确认来识别潜在的多头入场机会。当 RSI 向下穿越用户定义的超卖水平 (默认为20) 并且在当前K线上确认出现以下形态时,生成买入信号:前一根K线为阴线 (收盘价 < 开盘价),当前K线为阳线 (收盘价 > 开盘价),并且当前阳线的收盘价高于前一根阴线的开盘价 (即阳线实体顶部超过阴线实体顶部)。
该策略只执行多头入场 (strategy.long)。仓位通过基于入场均价计算的百分比止盈 (TP) 和止损 (SL) 水平进行管理和退出。可配置的参数包括 RSI 计算周期、止盈百分比 (%) 和止损百分比 (%)。此策略旨在捕捉由特定的看涨价格行为所确认的、从超卖状况中可能出现的反转机会。
The strategy only enters long positions (strategy.long). Positions are managed and exited using percentage-based Take Profit (TP) and Stop Loss (SL) levels, calculated from the average entry price. Configurable parameters include the RSI calculation length, the TP percentage, and the SL percentage. This strategy aims to capture potential reversals from oversold conditions when confirmed by specific bullish price action.
策略简介 (中文):
该 Pine Script 策略通过结合相对强弱指数 (RSI) 与一个特定的双K线形态确认来识别潜在的多头入场机会。当 RSI 向下穿越用户定义的超卖水平 (默认为20) 并且在当前K线上确认出现以下形态时,生成买入信号:前一根K线为阴线 (收盘价 < 开盘价),当前K线为阳线 (收盘价 > 开盘价),并且当前阳线的收盘价高于前一根阴线的开盘价 (即阳线实体顶部超过阴线实体顶部)。
该策略只执行多头入场 (strategy.long)。仓位通过基于入场均价计算的百分比止盈 (TP) 和止损 (SL) 水平进行管理和退出。可配置的参数包括 RSI 计算周期、止盈百分比 (%) 和止损百分比 (%)。此策略旨在捕捉由特定的看涨价格行为所确认的、从超卖状况中可能出现的反转机会。
Nota Keluaran
This Pine Script strategy identifies potential long entry opportunities by combining the Relative Strength Index (RSI) with a specific two-bar candlestick pattern confirmation. A buy signal is generated when the RSI crosses below the user-defined oversold level (default 20) and the following pattern is confirmed on the current bar: the previous bar was bearish (close < open), the current bar is bullish (close > open), and the current bullish bar's close is higher than the previous bearish bar's open (bullish body top surpasses bearish body top).The strategy only enters long positions (strategy.long). Positions are managed and exited using percentage-based Take Profit (TP) and Stop Loss (SL) levels, calculated from the average entry price. Configurable parameters include the RSI calculation length, the TP percentage, and the SL percentage. This strategy aims to capture potential reversals from oversold conditions when confirmed by specific bullish price action.
策略简介 (中文):
该 Pine Script 策略通过结合相对强弱指数 (RSI) 与一个特定的双K线形态确认来识别潜在的多头入场机会。当 RSI 向下穿越用户定义的超卖水平 (默认为20) 并且在当前K线上确认出现以下形态时,生成买入信号:前一根K线为阴线 (收盘价 < 开盘价),当前K线为阳线 (收盘价 > 开盘价),并且当前阳线的收盘价高于前一根阴线的开盘价 (即阳线实体顶部超过阴线实体顶部)。
该策略只执行多头入场 (strategy.long)。仓位通过基于入场均价计算的百分比止盈 (TP) 和止损 (SL) 水平进行管理和退出。可配置的参数包括 RSI 计算周期、止盈百分比 (%) 和止损百分比 (%)。此策略旨在捕捉由特定的看涨价格行为所确认的、从超卖状况中可能出现的反转机会。
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.