Generating Signals with FVG and Liquidity on 15m Charts – Can Anyone Verify My Approach? #81
Unanswered
maynardjameskeenan700L
asked this question in
Q&A
Replies: 1 comment 1 reply
-
heyy contact me at [email protected] to help you because i created that trading bot using this library |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @joshyattridge
I am new to the SMC concepts and came across this library, it's brilliant work!!
I’m working on a trading strategy that generates signals using Fair Value Gaps (FVG) and liquidity sweeps on 5/15-minute charts, following ICT concepts. My goal is to identify setups where a liquidity sweep precedes an FVG, then wait for a retracement into the FVG zone to enter a trade. I’d appreciate if someone could verify if my signal generation logic is correct and suggest improvements. Here’s my approach:
smc library pulls:
swings = smc.swing_highs_lows(symbol_dfs[symbol], swing_length=10)
fvg = smc.fvg(symbol_dfs[symbol], join_consecutive=True)
liq_signals = smc.liquidity(symbol_dfs[symbol], swings)
htf_levels = smc.previous_high_low(symbol_dfs[symbol], "1D")
Setup Conditions:
Long: Bullish FVG (FVG = 1 at iloc[-2]) + bearish liquidity sweep (Liquidity = -1 in iloc[-30:-2]).
Short: Bearish FVG (FVG = -1 at iloc[-2]) + bullish liquidity sweep (Liquidity = 1 in iloc[-30:-2]).
Entry Rules:
Store the FVG setup in a dictionary (fvg_storage) when the conditions are met.
Wait for a future candle (after iloc[-1] of the setup) to retrace into the FVG zone:
For longs: fvg_bottom < current_low <= fvg_top and green candle (close > open).
For shorts: fvg_bottom <= current_high < fvg_top and red candle (close < open).
Really appreciate your help and looking forward to hear your thoughts on it. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions