//@version=5 indicator("BSL/SSL with Sweep Confirmation & Volume Filter", overlay=true)…
- User
//@version=5 indicator("BSL/SSL with Sweep Confirmation & Volume Filter", overlay=true)
// PDH/PDL pdh = request.security(syminfo.tickerid, "D", high[1]) pdl = request.security(syminfo.tickerid, "D", low[1])
// Γραμμές PDH & PDL plot(pdh, title="PDH", color=color.green, linewidth=1) plot(pdl, title="PDL", color=color.red, linewidth=1)
// Break detection bsl = high > pdh // Break PDH ssl = low < pdl // Break PDL
// Candle type isBearish = close < open isBullish = close > open
// Volume και μέσος όρος vol = volume avgVol = ta.sma(volume, 20) highVol = vol > avgVol
// Sweep + αντίδραση
// SHORT (Sell) είσοδος = Έσπασε PDH + αμέσως μετά bearish κερί + όγκος πάνω από μέσο όρο shortEntry = bsl and isBearish and highVol
// LONG (Buy) είσοδος = Έσπασε PDL + αμέσως μετά bullish κερί + όγκος πάνω από μέσο όρο longEntry = ssl and isBullish and highVol
// Σήματα στο chart plotshape(shortEntry, title="Short Entry", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="Sell") plotshape(longEntry, title="Long Entry", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="Buy")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.