feat: add pip-installable aura-trade-sdk and real TradingView advanced chart
This commit is contained in:
@@ -136,7 +136,7 @@ class SMCScanner:
|
||||
# 4. Liquidity Sweep (25 Pts)
|
||||
# Check if price swept Asian Low and is now bouncing up (Bullish Setup)
|
||||
swept_liquidity = False
|
||||
if asian_low > 0 and current_price > asian_low and (candles_15m[-1]["low"] < asian_low or candles_15m[-2]["low"] < asian_low):
|
||||
if asian_low > 0 and current_price > asian_low and len(candles_15m) >= 2 and (candles_15m[-1]["low"] < asian_low or candles_15m[-2]["low"] < asian_low):
|
||||
swept_liquidity = True
|
||||
liq_pts = 25
|
||||
liq_msg = f"Asian Low (${asian_low}) Swept & Reclaimed ✅"
|
||||
|
||||
Reference in New Issue
Block a user