Strategy · Pine Script v6 · On the chart

Lucid 100K v5 Ultimate Prop Bot (MES 5m)

by DexWilder

Lucid 100K v5 is a Pine Script strategy for trading MES futures on 5-minute charts.

View on GitHub

GitHub stars4on the repository
Pine versionv6current
Lines of code535
Settings40inputs
LicenceNone stated
Last updateyesterday27 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 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

Lucid 100K v5 Ultimate Prop Bot (MES 5m) overlays buy and sell signals directly on the price chart. The strategy runs two phases based on equity and recent profit factor. Phase 1 uses trend pullback entries with EMA and RSI filters plus MTF confirmation. Phase 2 activates after reaching the lock target and switches to aggressive regime detection. Position sizing scales from 2 contracts in phase 1 to 5 in phase 2 with cooldown logic after loss days. Entries follow session windows and range expansion filters while exits include trailing stops at 1R and break-even protection. The main settings control phase targets, trade limits, daily loss caps, and MTF timeframes.

Details

Published by

DexWilder on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

Trend, Oscillators & momentum, Mean reversion, Sessions & time

Markets

Indices

Timeframes

M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Lock Target / Phase 2 ($)float3100phase2ProfitUsd
Phase SizingbooltrueusePhaseSizing
Qty Phase 1 (Lock)int2qtyPhase1
Qty Phase 2 (Payout)int5qtyPhase2
Qty Cooldown (day after halt)int1qtyCooldown
Phase 2 Min Recent PFfloat1.2phase2ReqPF
Phase 2 PF Lookback Tradesint10phase2Lookback
Session FilterbooltrueuseSession
RTH Windowsession0830-1515sessWindow
Flatten at Session EndbooltrueflattenEnd
Warmup (skip after open)int15warmupMins
Use Power WindowsbooltrueuseWindows
Show all 40 settings
SettingTypeDefaultVariable
Window 1 (Morning)session0845-1100win1
Window 2 (Afternoon)session1330-1510win2
Reversion Blackout (mins from open)int30revBlackoutMins
Phase 1 ModestringTrend Pullbackphase1Mode
Phase 2 ModestringAuto (Regime)phase2Mode
Phase 1 MTFstring15m + 60mmtfModeP1
Phase 2 MTFstring15m OnlymtfModeP2
DirectionstringBothtradeDir
Max Trades/Day (P1)int2maxTradesP1
Max Trades/Day (P2)int4maxTradesP2
Max Daily Loss $ (P1)float600maxDailyLossP1
Max Daily Loss $ (P2)float1200maxDailyLossP2
Max Weekly Loss $float1500maxWeeklyLoss
Max Consecutive Lossesint2maxConsecLosses
Fast EMAint9fastLen
Slow EMAint21slowLen
Trend EMAint200trendLen
RSIint14rsiLen
ATRint14atrLen
Use ADXbooltrueuseAdx
ADX Lenint14adxLen
ADX Minfloat16.0adxMin
Use VolumebooltrueuseVol
Vol MAint20volLen
Vol Multfloat1.0volMult
Reversion Dist (ATR)float1.4revDistATR
Reversion RSI Lowint35revRsiLow
Reversion RSI Highint65revRsiHigh
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.

Similar Pine Scripts

285 stars

Mean Reversion Strategy is an overlay strategy that identifies pullbacks using a long-term EMA, RSI, and candlestick patterns. It generates long signals when a bullish engulfing candle forms below the EMA while RSI is oversold, and short signals when a bearish

Strategy v4 Mean reversionCandlestick patterns
Updated 3 years ago · None stated GitHub repository of Mean Reversion Strategy

ADX + RSI Strat

by hasnocool
106 stars

This strategy combines a 7-period RSI with an ADX filter to trade market regimes on the price chart. When the ADX indicates ranging conditions below a set threshold, it triggers entries on RSI overbought or oversold extremes. By default, the entry logic is inv

Strategy v4 Oscillators & momentumTrend
Updated 2 years ago · GPL-3.0 GitHub repository of ADX + RSI Strat
53 stars

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

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · MPL-2.0 GitHub repository of BTCUSD 5M Optimized Strategy
13 stars

This strategy overlays the price chart to trade DAX futures during European market hours. It calculates exponential and simple moving averages, RSI, MACD, Bollinger Bands, ATR, and realized volatility to simulate VIX levels. Trades execute when session time fi

Strategy v5 Sessions & timeOscillators & momentum
Updated 8 months ago · Custom licence GitHub repository of ClaudeHedge - DAX Session Strategy
6 stars

This strategy combines higher-timeframe market bias filtering with an oscillator and ADX trend detection to generate trading signals. It calculates market bias using Heikin-Ashi values across custom timeframes and filters entries using dynamic or static ADX th

Strategy v6 TrendOscillators & momentum
Updated 7 months ago · None stated GitHub repository of EURUSD Synergy + PropEA Hedge

More strategys

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers