Smart Entry Zones - Trend Based -Teams sirMain Functions:
1. Detects Swing Points:
Finds pivot highs and pivot lows in the market
Identifies if each new swing is a Lower High (LH), Higher High (HH), Lower Low (LL), or Higher Low (HL)
2. Labels Only Current Structure:
Shows only 4 labels maximum on your chart:
LH (Lower High) - Red label
LL (Lower Low) - Green label
HH (Higher High) - Orange label
HL (Higher Low) - Blue label
When a new swing forms, the old label automatically disappears (keeps chart clean)
3. Detects Structure Break:
Watches when price breaks above (or comes near with buffer) the previous Lower High
This signals a potential trend change or reversal setup
4. Draws Entry Box:
When break is detected, automatically draws a blue box
Box shows the lower 50% zone (between mid-level and Lower Low)
This is your entry zone to watch for trades
Box extends forward for 10 candles
5. Shows Stop Loss:
Draws a red dashed line below the box
Stop loss = Lower Low minus (1.5x the candle range of the LL candle)
dedicated to teams sir
Pine Script® 인디케이터






















