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
Monthly Returns in PineScript Strategies calculates pivot high and low levels using user-defined left and right bar parameters, placing stop orders to enter long or short when price breaks these levels. The script tracks equity changes across bars to render a performance matrix at the bottom right. It overlay plots pivot levels on the main chart. Note that default execution has no stop loss and uses pivot lookback logic.
Pivot point reversal strategy entries
On-chart monthly and yearly returns table
Dynamic plot lines for high and low pivot levels
Customizable return precision and pivot bar lookbacks
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
leftBars
int
2
leftBars
rightBars
int
1
rightBars
Return Precision
int
2
prec
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
FxHD Strategy v2.0 is a Fibonacci multi-timeframe strategy drawn on the price chart. It reads a higher timeframe, defaulting to four hours, and sets bias with CRT kill zones, the last two candles, dynamic CRT, or market structure, plus a fallback method. It pl
RG Structure is a pivot-constrained break-and-retest strategy that calculates dynamic trendlines, market structure changes, and regime states on the price chart. It identifies support and resistance lines through pivot points and evaluates break-and-retest sig
This strategy overlays an ICT and smart money framework on the price chart. It stores candle-range, swing-structure, fair-value-gap, and order-block objects, and can show those zones plus premium and discount shading. Settings choose the range and structure ti
Grid Bot places a configurable number of long and short orders between a user-set grid top and bottom and draws those levels on the price chart. Direction can be longs, shorts, or both, with default or burst entry and an optional instant first fill. Exits use
The MTF Signal Strategy is designed for 1-minute charts to identify trade entries using multi-timeframe EMA trends, Opening Range Breakout (ORB) levels, key daily high/low levels, and custom pivot zones. It generates trade signals on bar closes when price alig