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
GOLDEN-PIVOT φ v2 calculates a golden pivot region using Fibonacci retracement at 0.618 of a swing high-low range spanning 96 candles. The script applies a volume filter requiring current volume to exceed 1.3 times the 20-bar average. Signals trigger entries when price reaches the pivot level with the volume condition met. Exits use a stop loss of 2 times ATR14 or a take profit based on the swing range multiplier of 1.0, with maximum hold time of 128 candles. Position sizing follows user-defined risk percentage per trade and leverage cap. The main inputs adjust swing length, Fibonacci ratio, volume threshold, risk parameters, and order cancellation delay.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
طول سوئینگ (کندل)
int
96
lookback
ریتریس فیبوناچی (0.618=طلایی)
float
0.618
retFrac
حداقل نسبت حجم به میانگین ۲۰ کندل
float
1.3
volrMin
استاپ (× ATR14)
float
2.0
slAtr
هدف (× دامنهی سوئینگ)
float
1.0
tpMult
حداکثر نگهداری (کندل)
int
128
maxHold
ریسک هر معامله (٪ اکوییتی)
float
2.0
riskPct
سقف اهرم (× اکوییتی)
float
10.0
maxLev
لغو لیمیت پرنشده پس از N کندل
int
3
cancelBars
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 overlay strategy plots previous-day high and low, the daily open, and fair value gap zones on the price chart. It takes entries on a selectable timeframe when the FVG requirement and an optional session window allow them, then uses an ATR or fixed pip sto
This strategy draws on the price chart and sizes positions from account equity, a risk percent, and a leverage multiplier. It tracks long and short stops, pending add-on entries, limit and stop order offsets, and a percentage profit target. Settings change lin
This overlay strategy is built for ES futures on the one-minute chart. It plots a volume-weighted moving average of price opens and standard-deviation bands at Fibonacci ratios, plus a second longer volume-weighted average from a higher-timeframe open. Call an
This overlay strategy plots a two-timeframe Ichimoku setup on the price chart, with Tenkan, Kijun, Chikou, and Kumo from a base higher timeframe and an optional highest-timeframe cloud. It allows two entries in the same direction and uses ATR-based trailing st
Gold Scalping BOS & CHoCH is an overlay strategy designed for detecting market structure shifts. It calculates rolling swing highs and lows to identify Break of Structure (BOS) and Change of Character (CHoCH) events. Long signals trigger when bullish BOS and C
This strategy identifies trend reversals through market structure changes (CHoCH) filtered by MACD momentum. It initiates long positions on bullish structure breaks when MACD is positive and above its signal line, and short positions on bearish breaks when MAC