I have a proprietary trading concept for major Forex pairs and I need the logic translated into a clean, reusable indicator on TradingView. The idea is a fully custom algorithm—not something found in public libraries—that highlights entries and exits directly on the chart and fires TradingView alerts so I can act through my broker integration. The rules are already documented; what I need from you is the Pine Script implementation, visual styling that makes long and short signals easy to read at a glance, and parameter inputs so I can fine-tune the behaviour without touching the code. Please build on the current Pine Script v5 syntax and keep performance in mind because I usually load multiple pairs at once. Deliverables • Well-commented Pine Script (.pine) source • A brief note explaining each input and how the calculations work • Instructions for installing, saving, and setting up custom alerts Acceptance criteria • Plots, background colouring, and alerts follow the logic exactly (I will provide test cases) • No repainting beyond the unavoidable final bar repaint inherent to TradingView • Executes without errors on both 1-minute and daily charts If you have solid Pine Script experience and can share a couple of custom indicators you have coded before, that will help me decide quickly.