The Pine Script implements your strategy's logic:
Weekly Trend Determination: Identifies the trend direction.
Fibonacci Levels Calculation: Plots 0.5, 0.382, and 0.236 levels based on last HH/LL.
Daily Pullback Confirmation: Checks for pullback wicks at key levels.
4-Hour Entry Signal: Confirms green candle closing above red retrace candle.
Entry, Stop Loss, and Take Profit: Configurable placeholders for risk management.
You can refine this script further, particularly for stop-loss and take-profit levels. Let me know if you'd like assistance adjusting any part!