1Copy the scriptPress Copy script above, or the copy button on the code below.
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
176 lines of Pine Script v4 from [EA]Breakout EURUSD 5Min.pinescript, published under MIT. Keep the author's credit and licence lines when you reuse it.
Robot Forex BREAKOUT EUR/USD 5MIN - Ichimoku marks a compressed range when the Senkou spans twist and the range height stays under a pip limit. It enters long on a close above the prior range high, or short below the prior low, only inside the selected session and after a recent twist. Position size follows a percentage of capital. Exits use a pip stop and a take-profit multiple of that stop. Ichimoku lengths, session hours, range height, risk, stop, and reward ratio are adjustable. The script is intended for the five-minute chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Tenkan-Sen
int
9
TenkanLen
Kijun-Sen
int
26
KijunLen
Senkou Span B
int
52
SSBLen
Offset
int
26
Offset
Show Twist
bool
false
ShowTwist
Show Ichimoku lines
bool
false
Show_all_Ichimoku_Lines
Session Trading
session
0200-0400
mySession
Hauteur du range (pips)
int
20
inputHauteurRange
Risk par trade (%)
float
2
risk_per_trade
Ratio Take Profit en % (%)
float
3
tp_multi
Stop Loss en Pips
int
10
nbrpips
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 enters long or short on the price chart when price is on the correct side of a 200-period EMA, MACD agrees, RSI is not at the opposing extreme, ADX exceeds a threshold, volume beats a 20-bar average, and close breaks the recent high or low. A tim
This strategy evaluates breakout and trend opportunities on the price chart using a weighted composite score of volume, trend, and candlestick structure. It tracks volume spikes, fast and slow EMAs, higher-timeframe EMA trend alignment, opening ranges, and ses
This strategy trades Nikkei 225 futures during a configurable overnight session, defaulting to 19:00–03:00 ET. It builds long and short trend conditions from an 8/21 EMA pair and a 200-period SMA, with RSI, momentum, an ATR-scaled breakout range, and a volume
This strategy identifies volatility breakout opportunities by constructing dynamic ATR-based price boxes and detecting volatility squeezes. Trades are filtered using an exponential moving average trend condition and designated session hours. Entries trigger up
This trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr
This strategy plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos