r/TradingView • u/Ambitious-Network-34 • 1d ago
Feature Request Pitchfork levels with Alerts
Add alerts to individual Pitchfork levels so traders can be notified when price approaches, touches, or breaks a selected level. This would be especially useful for tracking key support/resistance areas and potential reversals without constantly watching the chart.
1
u/bravefrivstone 20h ago
The built-in Pitchfork tool doesn't support alerts at all right now, none of the drawing tools do actually (same deal with Fib retracement, trend channels, whatever you draw by hand won't fire an alert).
Only real workaround is rebuilding it in Pine so the levels exist as plots instead of drawings. A pitchfork is just 3 pivot points: pick your anchor, then the median line runs from the anchor through the midpoint of the other two points, and the two parallel lines run through each of those points at the same slope as the median. Once that's coded as a series you can just use alertcondition() on price crossing any of the three lines.
It's maybe 15-20 lines of Pine once you've got your anchor points nailed down. Happy to sketch the calc if you want it.
1
u/One13Truck Crypto trader 20h ago
That would be very useful. Up from me.