OPEN-SOURCE SCRIPT

//@version=5 indicator("Custom Sweep Liquidity Strategy", overla

//version=5
indicator("Custom Sweep Liquidity Strategy", overlay=true)

// Description :
// Cet indicateur détecte un balayage de liquidité (Sweep of Liquidity) suivi d'une cassure de structure de marché (Market Structure Break) avec une bougie Engulfing haussière.
// Il ajoute également des confirmations via un Order Block (OB) ou un Fair Value Gap (FVG).
// Une alerte est générée lorsque toutes les conditions sont remplies, signalant une potentielle opportunité d'entrée.

isBullishEngulfing = close[1] < open[1] and close > open and close > high[1]
sweepLow = low < ta.lowest(low, 15)
sweepHigh = high > ta.highest(high, 15)
orderBlockDetected = ta.crossover(close, open)
fvgDetected = ta.highest(high, 3) > high[1] and ta.lowest(low, 3) < low[1]

if (sweepLow and isBullishEngulfing and (orderBlockDetected or fvgDetected))
alert("Alerte : Toutes les conditions sont remplies pour une potentielle entrée", alert.freq_once_per_bar_close)
Candlestick analysisChart patterns

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項