I already trade with a Trend Magic Color-Change indicator on TradingView and now want to formalise the rules in code and push the orders straight into MT5. Scope • Build or adapt a Pine Script that spots a colour change on Trend Magic and confirms it with a simultaneous volume increase. • Generate a BUY when the line flips green + volume rises, and a SELL when it flips red + volume rises. • Every position must open with user-defined stop-loss and take-profit levels (I’ll supply the exact numbers/ATR formula once we start). • Create the bridge from TradingView alerts to MT5 so the trades execute automatically in my desktop terminal, including partial-fill handling and error logging. Webhook + Python relay, or any proven method that does not rely on paid third-party services, is fine. • Give me a brief setup guide so I can edit inputs (SL, TP, lot size, symbol mapping) without touching the core code. Acceptance 1. Strategy plot in TradingView shows entry/exit arrows and prints SL/TP levels. 2. Alerts fire only when both colour change and volume criteria are true. 3. An end-to-end test on demo successfully opens, modifies, and closes orders in MT5 with the correct SL/TP. 4. Source files and clear installation steps are delivered. Please factor in a short revision round for fine-tuning the threshold values and alert text.