Strategy · Pine Script v6 · On the chart

VMC Strat Flex Corrected

by matlaenousse

This strategy evaluates market conditions using a combination of WaveTrend, RSI, Stochastic RSI, and a custom Money Flow Index calculation inspired by VuManChu.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code140
Settings17inputs
LicenceNone stated
Last update10 months ago17 Dec 2025

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

VMC Strat Flex Corrected enters long positions when multiple oscillators hit oversold thresholds and generate an upward crossover, with an optional fractal-based bullish divergence filter. Exits trigger when WaveTrend or Stochastic RSI reach overbought upper boundaries. Core inputs configure oscillator periods, entry and exit thresholds, and divergence rules. The strategy displays on the price chart and does not employ a stop loss.

Details

Published by

matlaenousse on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • The strategy enters trades without a stop loss

Settings

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

SettingTypeDefaultVariable
WT Channel Lengthint9wtChannelLen
WT Average Lengthint12wtAverageLen
WT MA Lengthint3wtMALen
WT Buy Level (Must be below)int-53wtBuyLevel
WT Exit Level (Must be above)int20wtSellLevel
RSI Lengthint14rsiLen
RSI Buy Level (<)int35rsiBuyLevel
Stoch RSI Lengthint14stochLen
Stoch Buy Level (<)int20stochBuyLevel
Stoch Exit Threshold (>)float95.0stochExitLevel
Stoch Exit Lookbackint5stochExitLookback
MFI Periodint60mfiPeriod
Show all 17 settings
SettingTypeDefaultVariable
MFI Area Multiplierfloat150.0mfiMultiplier
MFI Low Lookbackint12mfiLookback
MFI Low Tolerance (%)int30mfiTolerance
Require Regular Divergence?boolfalseuseDivCondition
WT Bullish Div Minint-60wtDivOSLevel
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

The Stock and NQ Futures Convergence Strategy identifies trading opportunities by comparing the Relative Strength Index of the active chart stock against NQ futures. It enters a long position when NQ RSI rises above the upper threshold while the stock RSI stay

Strategy v5 Oscillators & momentumDivergence
Updated 2 years ago · GPL-3.0 GitHub repository of Stock and NQ Futures Convergence Strategy
1 stars

MACD Divergence - Reversal Hunter detects regular and hidden divergences between price action and the MACD line using pivot points. It generates buy signals on bullish divergences and sell signals on bearish divergences, with optional RSI filter for overbought

Strategy v5 DivergenceOscillators & momentum
Updated 8 months ago · None stated GitHub repository of MACD Divergence - Reversal Hunter
330 stars

Alert BB + RSI [Alorse] is a multi-symbol mean-reversion strategy designed for cryptocurrency trading. It evaluates Bollinger Bands and the Relative Strength Index (RSI) across up to 20 user-defined ticker symbols simultaneously. The strategy enters long posit

Strategy v4 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of Alert BB + RSI [Alorse]
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

This strategy draws on the price chart and combines Stochastic RSI, the Money Flow Index, and an exponential moving average to open long or short trades. Longs use the lower oscillator thresholds and shorts use the upper ones, with direction limited to longs,

Strategy v5 Oscillators & momentumMoving averages Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 3 Indicator Strategy (StochRSI, MFI & EMA) With Safety Orders

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers