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
Each of up to five signals has a name, long and short source and a usage mode. Positions are sized in contracts, with a maximum total for adding entries. A status table, background mode colours and a backtest table with futures multiplier, commission and slippage inputs are included. The header mentions webhook integration. It is marked beta and deprecated.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Debug Level
string
Basic
debugLevel
Trend Mode Color
color
#089981
trendModeColor
Scalp Mode Color
color
#f23645
scalpModeColor
Hybrid Mode Color
color
#2157f3
hybridModeColor
Flat/No Position Color
color
#808080
flatModeColor
Background Transparency
int
60
modeBackgroundIntensity
Status Table Position
string
Top Right
tablePosition
Compact Mode (Mobile)
bool
false
compactMode
ATR Length for Background Range
int
20
atrLength
Background Range Multiplier
float
1.5
rangeMultiplier
Contracts per Signal
int
1
positionQty
Max Total Contracts
int
5
pyramidLimit
Show all 40 settings
Setting
Type
Default
Variable
📊 Individual Signal Backtest
bool
true
showBacktestTable
💰 Futures Multiplier
int
20
futuresMultiplier
💰 Commission Per Trade
float
2.50
commissionPerTrade
📉 Slippage Per Trade
float
0.50
slippagePerTrade
📊 Virtual Position Size
int
1
virtualPositionSize
📊 Signal 1
bool
true
signal1Enable
Long
source
close
signal1LongSrc
Short
source
close
signal1ShortSrc
Name
string
LuxAlgo
signal1Name
Usage
string
Entry All
signal1Usage
Only
bool
false
signal1OnlyMode
└─ Use as Trend Indicator
bool
false
signal1TrendEnable
📊 Signal 2
bool
false
signal2Enable
Long
source
close
signal2LongSrc
Short
source
close
signal2ShortSrc
Name
string
UTBot
signal2Name
Usage
string
Entry All
signal2Usage
Only
bool
false
signal2OnlyMode
└─ Use as Trend Indicator
bool
false
signal2TrendEnable
📊 Signal 3
bool
false
signal3Enable
Long
source
close
signal3LongSrc
Short
source
close
signal3ShortSrc
Name
string
VIDYA
signal3Name
Usage
string
Entry All
signal3Usage
Only
bool
false
signal3OnlyMode
└─ Use as Trend Indicator
bool
false
signal3TrendEnable
📊 Signal 4
bool
false
signal4Enable
Long
source
close
signal4LongSrc
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 script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status
This overlay strategy combines a machine-learning distance model with a MACD oscillator to open trades on the price chart. It compares recent history using cosine similarity or Euclidean and Lorentzian distance, then filters direction with selectable moving-av
This strategy automates the TradingLatino methodology by evaluating Squeeze Momentum combined with the Average Directional Index (ADX). It executes long or short positions based on momentum shifts and directional strength. Risk management options include const
Dual Moving Average is a Pine Script v4 strategy that overlays the price chart. The shown code declares a strategy with fixed quantity, cash commission, slippage, and calculation on every tick. Inputs set the price source, a start and end date, a symbol that d
Calculates a custom moving average (MaMA) by modifying the source price with price momentum, acceleration, and psychological win-rate probability before applying an EMA or SMA. Plots the adjusted moving average directly on the price chart alongside optional re
This long-only trend-following strategy combines Ichimoku Kinko Hyo components with higher timeframe moving average filters. It triggers long entries when price trades above a higher timeframe EMA and a bullish Tenkan-Sen cross above Kijun-Sen occurs under fav