Pine Script Indicator Development

Job ID: 40099183

Budget: ₹600 – ₹1,500 INR

I need a easy pine script indicator

Timeframes Used
Higher Timeframe (HTF): 4-Hour (H4)
Execution Timeframe (LTF): 15-Minute (M15)
Market Structure Definition
Identify the most recently closed 4-hour candle.
Mark:
4H High → Resistance / Supply Level
4H Low → Support / Demand Level
These levels remain valid until the next 4-hour candle closes.
Trade Setup Rules
Buy Setup (Long Trade)
Condition:
A 15-minute candle touches or tests the Low of the previous 4-hour candle.
Interpretation:
Price is reacting to higher-timeframe demand.
Action:
Look for a buy entry on M15 at or near the 4H Low.
Sell Setup (Short Trade)
Condition:
A 15-minute candle touches or tests the High of the previous 4-hour candle.
Interpretation:
Price is reacting to higher-timeframe supply.
Action:
Look for a sell entry on M15 at or near the 4H High.
Entry Criteria
Entry is triggered when:
The wick or body of a 15-minute candle touches the marked 4H level.
No trade is taken if price does not interact with the 4H High or Low.