This multi-mode trading strategy executes trades on the price chart using selectable technical models, including RSI-2 mean reversion, SuperTrend, MACD crossovers, Triple EMA, Bollinger Bands, or a combined multi-indicator approach.
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 KIMI – Enhanced filters trade entries using an ADX threshold and an optional higher-timeframe 200 EMA trend filter. Exits are handled via ATR-based or fixed percentage take-profit and stop-loss orders, an ATR trailing stop, and a post-trade cooldown period. Position sizing can dynamically scale with market volatility.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Strategy Mode
string
Multi-Indicator
strategyMode
Use Take‑Profit / Stop‑Loss
bool
true
useTPSL
Take‑Profit % (fallback if ATR‑TP off)
float
3.0
tpPercent
Stop‑Loss % (fallback if ATR‑SL off)
float
2.0
slPercent
Position Size (% of Equity)
float
10.0
positionSizePct
Scale size with ATR
bool
true
useATRSize
Use trailing stop (ATR‑based)
bool
true
useTrailing
Trailing‑stop ATR multiplier
float
0.5
trailATRMultiplier
Enable HTF trend filter (EMA‑200)
bool
true
useHTF
HTF for EMA‑200
timeframe
D
higherTF
ADX Length
int
14
adxLength
ADX minimum for trend
float
20.0
adxThresh
Show all 35 settings
Setting
Type
Default
Variable
Use ATR‑based TP/SL
bool
true
useATRTP
ATR TP multiplier
float
1.5
atrTPMultiplier
ATR SL multiplier
bool
1.0
atrSLMultiplier
Bars to wait after TP/SL before new entry
int
5
coolDownBars
Allow repainting (NOT RECOMMENDED)
bool
false
repaintMode
RSI‑2 Mode
string
Tight
rsiMode
RSI Length
int
2
rsiLength
RSI Oversold (Classic)
int
30
rsiOversoldCls
RSI Overbought (Classic)
int
70
rsiOverboughtCls
RSI Oversold (Tight)
int
10
rsiOversoldTight
RSI Overbought (Tight)
int
90
rsiOverboughtTight
Use 200‑EMA trend filter (RSI‑2)
bool
true
useTrendFilter
SuperTrend Factor
float
3.0
stFactor
SuperTrend ATR Period
int
10
stPeriod
MACD Fast
int
12
macdFast
MACD Slow
int
26
macdSlow
MACD Signal
int
9
macdSignal
Fast EMA
int
9
emaFast
Medium EMA
int
21
emaMedium
Slow EMA
int
50
emaSlow
BB Length
int
20
bbLength
BB Multiplier
float
2.0
bbMult
Base min confirmations
int
2
minConfirmations
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 trend-following strategy identifies buying opportunities during bullish pullbacks on the price chart. It defines a bull market when the 50-period simple moving average trades above the 200-period moving average. Long entries trigger when the RSI drops bel
This strategy combines a Simple Moving Average (SMA) and the Relative Strength Index (RSI) to generate long trading signals. It enters a long position when price closes above the SMA filter while RSI drops below the oversold threshold. The strategy exits the p
This strategy executes mean-reversion trades based on RSI overbought and oversold levels directly on the price chart. It generates long signals when the RSI crosses back above the oversold boundary and short signals when it crosses below the overbought boundar
The Buy/Sell Position Strategy combines a long-term Exponential Moving Average (EMA) with a short-term Relative Strength Index (RSI) to capture pullbacks in an uptrend. It enters a long position on the price chart when the price is above the EMA filter and the
Calculates a long-term Exponential Moving Average as a baseline for fair value alongside a Relative Strength Index. Generates long entry signals when the close price trades at least five percent below the moving average while the RSI is oversold. Exits trades
This strategy executes trades based on one of two selectable regimes: trend-following or mean reversion. In trend mode, it enters long positions on a bullish EMA crossover and exits on a bearish crossover. In reversion mode, it buys when the RSI dips below an