1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Alper requests one-minute Binance DOGE perpetual prices, builds fast and slow RSI values, and enters long or short only inside a fixed 2021 date window when the WaveTrend relationship and the RSI difference agree. Channel length, RSI lengths, and overbought or oversold levels are adjustable. Trailing-stop inputs are declared, but the shown logic has no exit or stop-loss orders.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
fromMonth
int
5
fromMonth
fromDay
int
19
fromDay
thruMonth
int
12
thruMonth
thruDay
int
21
thruDay
fromYear
int
2021
fromYear
thruYear
int
2021
thruYear
Channel Length
int
10
n1
n2
int
30
n2
Length Fast RSI
int
5
len_fast
Length Slow RSI
int
14
len_slow
Over Bought Level 1
int
70
obLevel1
Over Bought Level 2
int
53
obLevel2
Show all 16 settings
Setting
Type
Default
Variable
Over Sold Level 1
int
-70
osLevel1
Over Sold Level 2
int
-53
osLevel2
Trailing Stop Loss
int
5000
inpTrailStopL
Trailing Stop Loss
int
5000
inpTrailStopS
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This strategy combines the Price Moving Average Ratio Percentile (PMARP) with Madrid Moving Average Ribbon concepts to identify overextended price conditions and trend shifts. It calculates PMAR or PMARP across selectable moving average types and a lookback wi
This strategy plots a MACD oscillator in a separate pane and trades Bitcoin futures from zero-line and signal-line crosses. Optional early momentum signals, a volume filter, and a trend moving-average filter can confirm entries. It sizes positions as fixed con
This strategy combines Relative Strength Index and Bollinger Bands for short-term signal generation. It enters long positions when the price crosses below the lower Bollinger Band while the RSI falls at or below the oversold threshold. Positions are scaled dow
This strategy executes trades based on a smoothed Stochastic oscillator inspired by FieryTrading's Stochastic Trend concept, specifically tailored for automated crypto execution via Zignaly alerts. It opens positions when Stochastic values cross configured tri
This strategy plots the previous daily high and low on the price chart and calculates the Andean oscillator bull and bear components with an exponential moving average signal. It looks for a bull or bear cross of that signal, then confirms the setup against re
This strategy trades EUR/USD on the price chart using a fast and slow exponential moving average crossover filtered by RSI. It enters long when the fast EMA crosses above the slow EMA while RSI is above 50 and below the overbought level, and enters short on th