テクニカル分析によると,70以上のRSI指標は,超買い状態を意味し,したがって,売り込み信号である.暗号通貨は,テクニカル分析の概念を再構築した新しい資産のカテゴリーを代表しています.FOMO型の購入は,デジタル資産が十分に長く超買い状態に留まることを可能にする強力な力を生み出し,上昇傾向を追跡するための良いショートライン取引機会を提供します.
通常反転指標と考えられるRSIをベースにトレンドトレーディング戦略を構築することは,直感に反しているように見えるだろう。しかし,200回以上の反省で証明されているように,これは非常に興味深い長期戦略設定である。
この戦略は,各注文の取引可能な資金の30%を想定している. 0.1%の取引料金を考慮し,これは,Binance (世界最大の暗号通貨取引所) の基礎料金のそれと一致している.
この戦略は,RSI指標を使用して,過買状態の判断トレンドの方向を識別し,上昇傾向を追跡し,徐々に停止します.従来の下落RSIの操作方法と比較して,この戦略は新しい考えを提供します.厳格な反省テストによって,この戦略は良好なパフォーマンスを得ています.しかし,私たちはいくつかの潜在的なリスクに注意し,パラメータの調整と最適化をする必要があります.全体的に,この戦略は,取引を量化するための簡単な実用的なトレンド追跡プログラムを提供します.
/*backtest
start: 2024-01-02 00:00:00
end: 2024-02-01 00:00:00
period: 3h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=1
strategy(shorttitle='Trend-following RSI Scalping Strategy (by Coinrule)',title='Trend-following RSI Strategy ', overlay=true, initial_capital = 1000, default_qty_type = strategy.percent_of_equity, default_qty_type = strategy.percent_of_equity, default_qty_value = 30, commission_type=strategy.commission.percent, commission_value=0.1)
//Backtest dates
fromMonth = input(defval = 1, title = "From Month")
fromDay = input(defval = 10, title = "From Day")
fromYear = input(defval = 2020, title = "From Year")
thruMonth = input(defval = 1, title = "Thru Month")
thruDay = input(defval = 1, title = "Thru Day")
thruYear = input(defval = 2112, title = "Thru Year")
showDate = input(defval = true, title = "Show Date Range")
start = timestamp(fromYear, fromMonth, fromDay, 00, 00) // backtest start window
finish = timestamp(thruYear, thruMonth, thruDay, 23, 59) // backtest finish window
window() => true
// RSI inputs and calculations
lengthRSI = input(14, title = 'RSI period', minval=1)
RSI = rsi(close, lengthRSI)
//Entry
strategy.entry(id="long", long = true, when = RSI > 70 and window())
//Exit
Take_profit= ((input (6))/100)
longTakeProfit = strategy.position_avg_price * (1 + Take_profit)
strategy.close("long", when = RSI < 55 or close > longTakeProfit and window())