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
Estimations-10min plots a regression estimator with ATR near and far boundaries, can color bars by trend, and can show order blocks. Entries follow the selected long, short, or both mode, sized as a percent of equity. Point stop loss and take profit default to zero, so they are off unless the user sets them. A security call uses lookahead.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
TIMEFRAME
timeframe
res
Use Alternate Signals
bool
true
useRes
Multiplier for Alernate Signals
int
8
intRes
MA Type:
string
TEMA
basisType
MA Period
int
8
basisLen
Offset for LSMA / Sigma for ALMA
int
13
offsetSigma
Offset for ALMA
float
0.85
offsetALMA
Show coloured Bars to indicate Trend?
bool
true
scolor
Delay Open/Close MA (Forces Non-Repainting)
int
0
delayOffset
What trades should be taken :
string
BOTH
tradeType
Signals for Heikin Ashi Candles
bool
true
h
Initial Stop Loss Points (zero to disable)
int
0
slPoints
Show all 40 settings
Setting
Type
Default
Variable
Initial Target Profit Points (zero for disable)
int
0
tpPoints
Number of Bars for Back Testing
int
5000
ebar
- SET to ZERO for Daily or Longer Timeframes
bool
true
dummy
Long Entry Message
text
i_alert_txt_entry_long
Short Entry Message
text
i_alert_txt_entry_short
Lookback Window
int
8
h1
Relative Weighting
float
8.
alpha
Start Regression at Bar
int
25
x_0
ATR Length
int
40
atr_length
Near ATR Factor
float
1.7
nearFactor
Far ATR Factor
float
5.0
farFactor
Upper Boundary Color: Far
color
color.new(color.red, 60)
red_far
Upper Boundary Color: Near
color
color.new(color.red, 80)
red_near
Bullish Estimator Color
color
color.new(color.green, 50)
yhat_green
Bearish Estimator Color
color
color.new(color.red, 50)
yhat_red
Lower Boundary Color: Near
color
color.new(color.green, 80)
green_near
Lower Boundary Color: Far
color
color.new(color.green, 60)
green_far
Order Blocks
bool
true
show_order_blocks
ibull_ob_css
color
#a2a2a2
ibull_ob_css
ibear_ob_css
color
#a2a2a2
ibear_ob_css
ob_type__
string
All
ob_type__
Timeframe
timeframe
i_tf_ob
Mitigation Method
string
Wicks
mittigation_filt
Hide Overlap
bool
true
overlapping_filt
Max OBs
int
4
max_obs
Length
int
21
length_extend_ob
Extend
bool
false
ob_extend
Text Size
string
Large
text_size_ob
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 market structure strategy identifies trading opportunities using Change of Character (CHoCH) gates, liquidity sweeps, and structural breaks. It combines exponential moving averages, RSI, and ATR volatility filters, with optional higher-timeframe trend che
This mean-reversion strategy plots Bollinger Bands and a long-term moving average directly on the price chart. It enters trades when price candles penetrate the outer Bollinger Bands beyond a user-defined body percentage, anticipating a price reversal. Entries
This overlay strategy targets one-minute ES futures and plots volume-weighted moving-average bands from the open, scaled by a standard-deviation multiple, plus a slower band from ten-minute opens. A higher-timeframe exponential moving average can filter trades
STRG-BBForce is a Bollinger Bands trend-following strategy. It calculates standard Bollinger Bands and tracks directional alignment across the upper, lower, and basis lines. When all three lines slope upward, it opens a long position and closes short positions
This trading strategy combines three Exponential Moving Averages (8, 14, and 50 periods by default) with Stochastic RSI and Average True Range (ATR). It enters a long position when EMA 1 is above EMA 2, EMA 2 is above EMA 3, and the Stochastic RSI %K line cros
This strategy generates buy and sell signals based on Bollinger Band crossovers combined with a simple moving average trend filter. It enters a long position when price crosses above the lower band while trading above the SMA filter line, and enters a short po