TradingView Pine Signal Generator -- 2

Job ID: 40545582

Budget: ₹12,500 – ₹37,500 INR

I’m building out a quantitative toolkit inside TradingView and need a seasoned Pine Script-plus-Python hand to turn my draft logic into a clean, reliable signal engine. The sole purpose of this project is to generate high-quality buy/sell alerts—no broker execution, no external data feeds, just pure TradingView data distilled into actionable signals.

Here’s what I have and what I’m after:

• A written spec that describes the entry, exit and filter conditions, already translated into pseudocode.
• A preference for Pine Script v5 so I can keep everything native to the TradingView chart.
• Historical testing: I’d like your code structured as a strategy so I can run quick back-tests, then slim it down to an indicator that fires alerts once the logic is validated.
• Optional hand-off to Python: a lightweight script that listens for TradingView webhooks and logs each alert to an SQLite database for later analysis. If you’d rather stay exclusively in Pine, that’s fine—I value clarity over bells and whistles.

Acceptance criteria
1. Pine Script compiles in v5 without warnings.
2. Strategy results match sample calculations I’ll supply (max 0.1% deviation).
3. Alert() function triggers exactly on the same bar as the strategy trade.
4. Clear in-code comments so I can tweak parameters on my own.
5. If the optional Python piece is delivered, it must run under Python 3.10, store every field from the webhook JSON, and create the table automatically on first run.

I respond quickly to questions and am happy to screen-share to walk through the rule set. Looking forward to seeing how you’d structure the project and timeline.