A strategy that combines four engines into one signal: a Z-score regime classifier, a weekly midline heat score, an exhaustion detector for absorption and climax bars, and a synthesizer that weighs them using confidence thresholds.
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
Entries and exits appear as markers on the price chart along with a yellow midline gate. Position size defaults to 10 percent of equity with no pyramiding, plus commission and slippage. Inputs set engine lengths, confidence levels and heat limits. The code shows no explicit stop loss, and weekly data uses lookahead.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Z-Score Length (Long)
int
200
i_lenLong
Volatility Length
int
30
i_lenShort
Energy Fast Period
int
14
i_energyFast
Energy Slow Period
int
50
i_energySlow
Min Regime Persistence
int
5
i_minRegime
BMSB EMA Length
int
21
i_bmsbEma
BMSB SMA Length
int
20
i_bmsbSma
ATR Length
int
14
i_atrLen
ATR Regime SMA Length
int
20
i_atrRegimeLen
Sensitivity Multiplier
float
1.2
i_exhSens
Cluster Requirement
int
3
i_clusterReq
Cluster Lookback
int
10
i_clusterLook
Show all 19 settings
Setting
Type
Default
Variable
Strong Long Confidence %
int
60
i_confStrong
Light Long Confidence %
int
50
i_confLight
Accumulate Confidence %
int
40
i_confAccum
Revival Confidence %
int
30
i_confRevival
Heat Warning Level
int
80
i_heatWarn
Heat Block Strong Level
int
85
i_heatBlock
Heat Force Trim Level
int
95
i_heatForce
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 plots VWMA-based Bollinger bands on the 1-minute ES futures price chart for volatility analysis and potential breakout identification. It calculates dynamic long and short stop loss and take profit levels using percentage inputs relative to entry
This strategy uses multiple VWAP anchors and a custom Lull indicator to generate buy and sell signals on the Nasdaq price chart. It plots the VWAP trend line and three VWAP anchors with customizable colors and mitigation methods. The Lull indicator produces si
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
This strategy implements a multi-stage trend following system inspired by John W. Seykota. It generates long and short entries when price breaks above or below Donchian channels of specified length. Each entry adds a unit sized to risk a fixed percentage of cu
Calculates upper and lower Donchian Channel bands over a customizable lookback length and plots them on the main price chart. At a specified exchange hour, the strategy places a long buy stop order at the upper Donchian Channel level. Unfilled pending orders a
Smooth Trend Radar Strategy calculates a double-smoothed Supertrend baseline using WMA and EMA to identify trend direction and sideway regimes. It plots baseline rejection signals on flips, trend slope filters, and statistical overextension highlights with can