The following script recognises QL sweeps in the desired time frame with alarm function!
Theory: There is liquidity above highs and below lows. If this is tapped and the market reacts strongly immediately, the probability of a reversal is greatly increased! In the chart, this is defined in such a way that a candle has its wicks BELOW the old low, but the close is ABOVE the old low. the same applies to the high, of course! In such a case we have an "LQ Sweep"
How does the script work? Williams 3 fractals are used as a basis. These are meaningful as lows or highs. Whenever a fractal is created, the price level is saved. This means that not only the last fractal is relevant, but all historical fractals as long as they have not been reached! If a candle reaches the level, but shows a rejection and closes within the level again, we have our "LQ Sweep" setup. In the script you can select the timeframe in which the market has to be analysed. When the QL sweep occurs, an alert is triggered. This saves a lot of time because you can analyse different markets in different timeframes at the same time! Each QL Sweep is marked in the chart when we are in the selected timeframe. These can also be deactivated so that only the last sweep is displayed.
Benefits for the trader: An LQ sweep is a nice confirmation for a reversal. If we have such an LQ sweep, we can wait in the lower timeframe for further confirmation, such as a structural break, to position our entries there. The alarm function saves us a lot of time and we only go to the chart when a potential setup has been created. You can set different time frames in the script: The selected time frame is then scanned and sends a signal when the event occurs.
Notes de version
Timeframe wird nun korrekt erkannt wenn er höher als 12 H ist
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.