prosum_solutions

Quickfingers Luc's Base Breaking Strategy v2.5

prosum_solutions Aggiornato   
Introduction

The strategy attempts to implement a popular price action strategy by Luc Thomas (a.k.a. Quickfingers Luc) typically referred to as a QFL base-breaking strategy. The strategy revolves around price action movements that reveal “bases”, which are price levels of support that have a significant, rapid price surges called “bounces”. Once a base is revealed, the base price level is used as reference to implement multiple entries below the base using a layering technique of dollar-cost averaging to place multiple limit orders at various price levels below the base price. As price action breaks below the base price, the limit orders will be filled, and the take profit, breakeven and stop loss prices will be recalculated.

How is it original and useful?

This strategy is unique in that the strategy version fully supports the TradingView backtester, which will enable you to perform experiments with various settings to evaluate performance using the historical chart data. The study version implements numerous custom alerts for you to build TradingView notifications around specific price action events and stay informed with market activity in real-time. Both script versions will provide the same configuration abilities where you can define:

  • Base confirmation settings, including volume analysis.
  • Your preferred layering strategy of either Dollar-cost averaging (DCA) or grid-like layers along with precise layer placement.
  • Your trading parameters like take profit and stop loss offsets, exchange commission rates, trading start time, and position size multiplication for each layer.
  • Flexible trade eligibility rules that can use other chart indicators, like RSI or EMA, to exclude the selection of base prices for trading.
  • The visibility of detailed statistics from the chart history pertaining to trading sessions started and closed, session durations, win rate, price action drops and bounces, as well as layer utilization.

How does it compare to other scripts in the Public Library?

The strategy offers a very detailed, comprehensive settings to address all types of markets found on TradingView where you can implement the QFL base-breaking strategy. The strategy version can be considered the first of its kind on TradingView to leverage the backtester to provide informative, detailed performance measurements surrounding this unique trading strategy. The study version will contain numerous custom alerts to aid in your notification preferences and stay informed on the indicator's activities:

  • Base Created
  • Base Cracked
  • Base Respected
  • Any Layer Cracked
  • Layer 1 Cracked
  • Layer 2 Cracked
  • Layer 3 Cracked
  • Layer 4 Cracked
  • Layer 5 Cracked
  • Layer 6 Cracked
  • Layer 7 Cracked
  • Layer 8 Cracked
  • Layer 9 Cracked
  • Layer 1 Respected
  • Layer 2 Respected
  • Layer 3 Respected
  • Layer 4 Respected
  • Layer 5 Respected
  • Layer 6 Respected
  • Layer 7 Respected
  • Layer 8 Respected
  • Take Profit Crossed
  • Stop Loss Crossed

What does it do and how does it do it?

It is recommended that you start with a chart that is on an hourly timeframe with the "Scale Price Chart Only" chart setting enabled. When applied to the chart for the first time, the default settings will work to render base price levels in orange and 8 DCA layers in blue using a Fibonacci-like sequence for the deviation offset relative to the base price. As you scroll through the chart's history you should see price action crossing the DCA layers, denoted with blue triangles, and a green take-profit line will render with green triangle denoting the crossing. Lastly, when a trade session begins upon the crossing of the first layer, the indicator will continue to identify base price levels, but the color of the price lines will be gray. When the trade session concludes upon the crossing of the take profit line, the indicator will switch the most recent base price line from gray to orange to make it active and eligible for trading.

As price action develops, the indicator will use the "Base Confirmation Settings" to look back by counting the number of bars to the left and right of a pivot low point, measure the price drops and bounces, and volume amounts to validate that they are within the specified values. If so, the indicator will draw an orange triangle beneath the candle bar to denote it as the pivot low point and begin rendering the orange line as the base price. The DCA layers will be calculated and offset relative to the base price using thin blue lines.

Optionally, the breakeven price line will be drawn to help visualize the true breakeven price which takes into consideration the exchange fees being applied. Base line, take profit, stop loss and DCA layer crossings will be denoted with colorful shapes to help visually recognize the events on the chart.

The volume is validated only at the pivot low candle. It will measure the volume against the moving average to determine base confirmation. A volume factor of 1 will mean that the volume must be at least the same value as the moving average value. A volume factor of 2 means it must be twice the moving average value.

Lastly, the very last bar will render a table of statistics that summarize all the events that have taken place since the indicator began simulating trading sessions from the chart's history.

Strategy Results

The default settings are designed to define a "weak" QFL base to ensure that the indicator will render chart elements when first loaded as well as to allow the backtester to gather order executions and display performance summary. The strategy version is using $10,000 initial capital, a commission rate of 0.1% for both entries and exits, and a 1 tick slippage setting. It is also using 3.4887% of the equity with a Position Size Multiplier of 1.35, using 8 total DCA layers, and a take profit of 5% with no stop loss. All other settings are defaults.

It is recommended that the indicator be "tuned" for your specific market in order to best implement the QFL trading strategy and obtain better desirable results. You do so by using the statistics table and observe the Mean Price Drop and Bounce values to learn what the indicator is detecting when it measures from the pivot low points. Using this information, you can adjust the Base Confirmation Settings accordingly, along with any volume specifications you require, to configure the indicator for the chart.

Always keep in mind that past performance may not be indicative of future results. Settings that seem favorable for one market may be found to be disastrous in another. Therefore, do take the time needed to understand how the settings will behave with the given chart symbol.

Enjoy! 😊👍

How to obtain access to the script?

You have two choices:

  • Use the "Website" link below to obtain access to this indicator, or
  • Send us a private message (PM) in TradingView itself.
Note di rilascio:
v2.5.12 - Patch Release

New fix in this release:

Both Indicator & Strategy:

  • Fixing a defect where the strategy would prematurely switch to the next base when it wasn't eligible to be switched on rare circumstances.

Indicator Only:

  • Added support for the new "Any alert() function call" alerts feature. This will allow for custom messages using custom placeholders.
    Custom placeholders are: {{exchange}}, {{ticker}}, {{base_currency}}, {{quote_currency}}, {{event_name}}, {{base_price}}, {{next_base_price}}, {{break_even_price}}, {{take_profit_price}}, {{stop_loss_price}},
    {{layer_1_price}}, {{layer_2_price}}, {{layer_3_price}}, {{layer_4_price}}, {{layer_5_price}}, {{layer_6_price}}, {{layer_7_price}}, {{layer_8_price}}, {{layer_9_price}}
Note di rilascio:
v2.5.13 - Patch Release

New feature in this release for the Strategy Only:

  • Adding a "Compounding" check-box to toggle compounding the entry order size by including accumulated Net Profits after each deal.
Note di rilascio:
v2.5.14 - Patch Release

New features in this release for both Indicator & Strategy:

  • Adding a "Trade Stop Date/Time" inputs-box to enable defining an active timeframe period.
  • Adding a "billionth" and "ten billionth" options to the "Override Minimum Tick Precision" inputs-box to support exchanges (i.e. KuCoin) that support these precision levels.
  • Adding the "Chart/Indicator Data Point" data point to the Data Window to display the actual value that was used for the "Trade Eligibility Condition" rule evaluation.
  • Updating the default colors of the QFL STATISTICS label to make it improve readability.
Note di rilascio:
v2.5.15 - Patch Release

New features in this release for both Indicator & Strategy:

  • Updated the default value of the "Trade Stop Date/Time" input to 2030-01-01.
Note di rilascio:
v2.5.16 - Patch Release

New features in this release for both Indicator & Strategy:

  • Adding popover help text to all the inputs in the settings.
  • Adding the "Initial Capital" input to the "TRADE SETTINGS" section to support the new placeholders. (Indicator Only)
  • Adding the "Entry Order Size" & Unit inputs to the "TRADE SETTINGS" section to support the new placeholders. (Indicator Only)
  • Added the "⚠️ Warning" input to the ALERT SETTINGS section to explain the reason for the warning prompt when creating alerts due to using the 'barstate.isconfirmed' variable. (Indicator only)
  • Adding the new "Base Respected Message" input to the "ANY ALERT() FUNCTION CALL SETTINGS" section to support the new placeholders. (Indicator Only)
  • Adding the new "Layer # Respected Message" inputs to the "ANY ALERT() FUNCTION CALL SETTINGS" section to fully support all the alert condition as alert() function calls. (Indicator Only)
  • Adding the new "Placeholder # Name" and "Value" inputs to the "ANY ALERT() FUNCTION CALL SETTINGS" section to support up to three additional custom placeholders for the alert messages. (Indicator Only)
  • Adding new custom placeholders for the "Layer # Cracked Message" inputs. They are: {{layer_1_quote_volume}}, {{layer_2_quote_volume}}, etc. and {{layer_1_base_quantity}}, {{layer_2_base_quantity}}, etc. All layers 1 thru 9 have these new placeholders. (Indicator Only)
  • Adding the new "Fixed Amount (Quote Currency)" option to the "Entry Order Size Unit" drop-down to the "TRADE SETTINGS" section to support the new placeholders.
  • Converted the alert message inputs to text area to support multi-line messages. (Indicator only)
  • Replaced the QFL Statistics label with a table which includes numerous inputs to configure the table content and theme.
  • Updating the "Compounding" label to "Compounding (% Of Initial Capital Only)" to make it clearer that it is only applicable when the Entry Order Size Unit is "% Of Initial Capital".
  • Updated the line style for the "Breakeven", "Take Profit", and "Stoploss" price lines from "Step line" to "Line with breaks" because step lines with breaks is no longer supported by TradingView.
  • Upgraded the source code to version 5 of Pine Script.
Note di rilascio:
v2.5.17 - Patch Release

New features in this release for both Indicator & Strategy:

  • Updated source code to resolve the "Something went wrong. Please try again later." error that is displayed when loading it to a chart.
Note di rilascio:
v2.5.18 - Patch Release

New fixes in this release for both Indicator & Strategy:

  • Fixing a defect where the "Base Cracked" alert would not fire when the candle would also cross one or more layers.
  • Fixing a defect where the third placeholder name label needed to say "Placeholder 3 Name:".

Contact Us on our Website: www.prosum-solutions.store/contact-us/
Documentation for Indicators: prosum-solutions.store/documentation/
Discord Server: discord.com/invite/Zuf9MyKmfW
Script su invito

L'accesso a questo script è riservato agli utenti autorizzati dall'autore, solitamente dietro pagamento di una commissione. Puoi aggiungerlo ai preferiti, ma sarai in grado di utilizzarlo solo una volta ricevuto il via libera da parte dell'autore. Per maggiori informazioni, puoi controllare le istruzioni qui sotto o contattare direttamente prosum_solutions.

TradingView sconsiglia di acquistare la licenza per usare uno script fino a che non si ha fiducia al 100% nei confronti del venditore. In molti casi, esistono alternative gratuite ed open-source nella nostra Libreria pubblica.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Istruzioni dell'autore

To request access to this script, either use the "Website" link below or send us a private message (PM) in TradingView. We will respond as soon as possible.

Vuoi usare questo script sui tuoi grafici?

Avvertenza: leggi prima di richiedere l'accesso.