The Simpleton STEPFUN Strategy combines signals from multiple technical indicators including RSI-2, MACD crossover, Bollinger Band squeeze, volume spikes, triple EMA, and Ichimoku cloud.
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
Simpleton STEPFUN Strategy generates buy signals when the weighted ensemble meets or exceeds the minimum strength threshold and sell signals on reversal. The strategy supports non-repainting logic by default and overlays entry and exit arrows directly on the price chart. Users can toggle individual indicators, adjust their weights, set minimum signal strength, enable take profit and stop loss with custom percentages, and control position sizing. It draws solely on the price chart with no pyramiding.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Non-Repainting (Recommended)
bool
true
use_non_repainting
Enable RSI-2 Strategy
bool
true
enable_rsi2
Enable MACD Crossover
bool
true
enable_macd
Enable Bollinger Squeeze
bool
true
enable_bb_squeeze
Enable Volume Spike
bool
true
enable_volume_spike
Enable Triple EMA
bool
true
enable_triple_ema
Enable Ichimoku Cloud
bool
true
enable_ichimoku
Enable Multi-Indicator Confirmation
bool
true
enable_multi_confirmation
RSI-2 Weight
float
1.0
weight_rsi2
MACD Weight
float
1.0
weight_macd
Bollinger Weight
float
1.0
weight_bb
Volume Spike Weight
float
1.2
weight_volume
Show all 20 settings
Setting
Type
Default
Variable
Triple EMA Weight
float
0.8
weight_ema
Ichimoku Weight
float
0.9
weight_ichimoku
Multi-Conf Weight
float
1.5
weight_multi
Minimum Signal Strength
int
2
min_strength
Enable TP/SL
bool
true
enable_tp_sl
Take Profit %
float
2.0
tp_percent
Stop Loss %
float
1.0
sl_percent
Position Size %
float
100.0
position_size_pct
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 combines Bollinger Bands, the Relative Strength Index (RSI), and On-Balance Volume (OBV) to generate trade signals directly on the price chart. Long entries trigger when price is above the middle SMA band, RSI is over 50, and OBV is rising. Short
This strategy trades on the price chart using multiple indicators. It enters long positions when price dips meet conditions on Bollinger Bands 40 and 20, RSI, MFI, volume and other thresholds. It exits at custom ROI profit levels based on RSI or after timeout
This strategy plots long and short markers on the price chart. It builds a composite index from RSI change and a short RSI average, then requires that index, a one-minute cumulative volume delta, and a relative volatility index to agree. EMA, SMA, and VWAP rel
TnSovereignSignalForgeV20 is a price-chart strategy that combines seven directional votes from RSI, EMA, MACD, volume, VWAP, Bollinger Bands, and a volume oscillator. A long condition requires the vote total to meet a minimum agreement setting. A thermodynamic
This strategy plots MACD line, signal line, Bollinger Bands, and RSI on the price chart. It signals long entries on MACD crossover above signal with RSI below 50 and price below BB basis, plus optional DMI filter. Short entries are available but disabled by de
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