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 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항