TradingView Pattern Trend Indicator

Job ID: 40605523

Budget: ₹5,000 – ₹10,000 INR

I want a single, self-contained Pine Script indicator on TradingView that spots the intraday trend, fires entries only in that direction, and shows every key element I use in my discretionary workflow—yet never repaints.

Core logic
• Trend bias comes from 9 EMA vs 20 EMA.
• A market-pattern–based engine (not an off-the-shelf library) then confirms Break of Structure, Change of Character, Fair Value Gaps and Liquidity Sweeps.
• Only when pattern confirmation aligns with the EMA bias should a Buy or Sell arrow appear.

Visual & alert requirements
• Entry arrow, fixed 1:2 Risk-Reward box, stop-loss and target lines plotted automatically.
• Real-time alerts must trigger on TradingView mobile exactly when the arrow prints.

Markets & flexibility
The script has to perform on Nifty, Bank Nifty and any Sensex constituent without code edits. All parameters—EMAs, risk-reward ratio, colours, line styles—must be exposed in the settings panel.

Quality expectations
• Absolutely no repainting once the candle closes.
• Pine Script v5, clean, modular and commented so I—or another developer—can bolt on new ideas later.
• I am looking for your expertise on the precise pattern rules; feel free to propose the best structure-based approach that meets the above signals.

Deliverables
1. .pine file with well-documented code
2. Short Loom or GIF showing it running live on the three specified markets
3. Alert template text for copy-paste into TradingView

I do NOT need auto-trading hooks, broker APIs, AI, login systems or a separate mobile app—just a solid, professional TradingView indicator that hits the checklist above.