Strategy · Pine Script v5 · On the chart

3C QFL Mean Reversal

by wynnforthework

This strategy implements a Quickfinger Luc mean-reversion trading model tailored for automated execution.

View on GitHub

Repaints

GitHub stars2on the repository
Pine versionv5runs as is
Lines of code1,316
Settings40inputs
LicenceNone stated
Last update1 year ago7 Oct 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

3C QFL Mean Reversal calculates base support levels and volume moving averages across timeframes to identify sharp price dips below established base levels. The script includes inputs for date range filtering, session time controls, QFL volume parameters, and webhook payload configurations for external trading bots. Trades are plotted directly on the main price chart with pyramiding enabled for scaling into positions.

Details

Published by

wynnforthework on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Mean reversion, Support & resistance, Volatility & bands

Markets

Crypto

Timeframes

M15-H1, H4 and above

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time
  • The strategy can add several entries in the same direction

Settings

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

SettingTypeDefaultVariable
Chart themestringdarki_theme
FrombooltrueusefromDate
fromDatetimetimestamp('01 Jan 2022 00:00 UTC')fromDate
To boolfalseusetoDate
toDatetimetimestamp('31 Dec 2121 23:59 UTC')toDate
Session DaysboolfalseuseSessionDay
Monbooltruemon
Tuebooltruetue
Wedbooltruewed
Thubooltruethu
Fribooltruefri
Satbooltruesat
Show all 40 settings
SettingTypeDefaultVariable
Sunbooltruesun
Session StartboolfalseuseSessionStart
sessionStartHourint12sessionStartHour
:int00sessionStartMinute
Session EndboolfalseuseSessionEnd
sessionEndHourint20sessionEndHour
:int00sessionEndMinute
Enable Bot Control Via Webhookboolfalsei_enable_bot_control
Bot idstringi_bot_id
Email tokenstringi_email_token
Deal startbooltruei_exec_deal_start
Safety Orders SPOT ONLYbooltruei_exec_safety_order
Take profit deal stopbooltruei_exec_take_profit
Stop Lossbooltruei_exec_stop_loss
Strategy Typestringlongi_strategy_type
QFL timeframetimeframecurrenttf
QFL volume MAint60vamp
Max candle ageint10maxbaseage
Allow consecutive signalsboolfalseallowConsecutiveSignals
plot basesbooltrueplotLevels
Take Profit Typestring% From total volumei_take_profit_type
Take Profit (%)float1i_take_profit_perc
Base order sizefloat30i_base_order_size_usd
Safety order sizefloat60i_safety_order_size_usd
QFL percentage to buyfloat0.5deal_start_condition
Price Deviation To Open Safety Trades (%)float0.5i_safety_order_price_deviation_perc
Safety Order Volume Scalefloat2i_safety_order_volume_scale
Safety Order Step Scalefloat2i_safety_order_price_step_scale
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

Buy The Dip

by hasnocool
106 stars

Calculates a historical dip level based on the lowest low over a specified lookback period. It enters a long strategy position when the current bar close falls below the previous dip level. Positions are managed with take profit and stop loss exits placed at f

Strategy v4 Mean reversionVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of Buy The Dip
3 stars

This strategy combines two sets of Bollinger Bands with a Laguerre RSI oscillator plotted on the price chart. It generates buy and sell signals when price touches the upper or lower bands or zones. The strategy allows enabling or disabling entries and includes

Strategy v5 Mean reversionVolatility & bands
Updated 5 months ago · None stated GitHub repository of BB + LaRSI Strategy

DP2

by grinay
3 stars

DP2 is a price-chart strategy that looks for a short dump between the chosen from and to prices, optionally requiring a break of a multi-day low while ignoring moves larger than a dump cap. It can enter through classic, two-close, break-and-retest, ATR-stop, a

Strategy v6 Mean reversionVolatility & bands
Updated 7 months ago · MIT GitHub repository of DP2

Bollinger Bands

by Studentcodee
1 stars

This strategy plots Bollinger Bands directly on the price chart. It computes the middle band as the simple moving average of the close price over the input length and the upper and lower bands by multiplying the standard deviation by the multiplier and adding

Strategy v6 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Bollinger Bands

ES Professional Fade

by knectardev
1 stars

The ES Professional Fade strategy trades overnight price gaps during regular trading hours on intraday charts. It establishes an opening range and enters counter-trend positions when price fails near overnight extremes. Positions target the previous day's clos

Strategy v5 Mean reversionSessions & time
Updated 9 months ago · None stated GitHub repository of ES Professional Fade
1 stars

The strategy detects range expansion by comparing the previous bar's range to its ATR multiple. It places pending stop entries above highs of up bars or below lows of down bars. On trigger it enters positions with take profit and stop loss in ticks using OCA g

Strategy v6 Volatility & bandsSupport & resistance
Updated 5 days ago · Apache-2.0 GitHub repository of PF probe 97 - tp/sl gap reversal oca

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