OPEN-SOURCE SCRIPT

BO - RSI - M5 Backtesting

已更新
BO - RSI - M5 Backtesting -Rule of Strategy

A. Data
1. Chart M5 IDC
2. Symbol: EURJPY

B. Indicator
1. RSI
2. Length: 12 (adjustable)
3. Extreme Top: 75 (adjustable)
4. Extreme Bottom: 25 (adjustable)

C. Rule of Signal
1. Put Signal
* Rsi create a temporary peak over Extreme Top
row61: peak_rsi= rsi[2]>rsi[3] and rsi[1]>rsi[2] and rsi[0]<rsi[1] and rsi[1]>rsi_top
2. Call Signal
* Rsi create a temporary bottom under Extreme Bottom
row62: bott_rsi= rsi[2]<rsi[3] and rsi[1]<rsi[2] and rsi[0]>rsi[1] and rsi[1]<rsi_bot

D. Rule of Order
1. Only 1 trade opening
2. Stoploss: No trade open after 1 loss trade each day (number of loss trades adjustable)
3. Expiry: after 6 bars (number of bars adjustable)
發布通知
Fix bug at stoploss line (from Line 78 -> 85)
binaryoptionbinaryoptionstrategiesRelative Strength Index (RSI)Trend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明