TradingView Quad-Ray Pine Script
Budget: $30 – $250 AUD
I need a compact Pine Script that lets me drop two anchor points on any TradingView chart and, the moment the second point is set, automatically projects four rays from the first anchor. The directions should approximate North-West, North-East, South-West and South-East, just like the classic Speed Resistance Fan but with full flexibility.
Key behaviour
• As soon as both anchors are placed, all four rays appear—no extra clicks or hotkeys.
• Slope for each ray is adjusted through numerical input fields in the indicator settings so I can fine-tune the exact angle rather than dragging.
• Colour, thickness and style for each ray should be individually configurable from the same pane, mirroring the familiar TradingView controls.
It should be possible through user settings to have NW and SW rays user settable to become mirror image around horizontal line, same for NE and SE. It should also be possible for NW and NE rays user settable to become mirror image around vertical line, same for SW and SE.
Please deliver a clean, well-commented .pinescript file that I can add to a chart with zero modification, along with a brief usage note so I know which built-in menu exposes the inputs.
Key behaviour
• As soon as both anchors are placed, all four rays appear—no extra clicks or hotkeys.
• Slope for each ray is adjusted through numerical input fields in the indicator settings so I can fine-tune the exact angle rather than dragging.
• Colour, thickness and style for each ray should be individually configurable from the same pane, mirroring the familiar TradingView controls.
It should be possible through user settings to have NW and SW rays user settable to become mirror image around horizontal line, same for NE and SE. It should also be possible for NW and NE rays user settable to become mirror image around vertical line, same for SW and SE.
Please deliver a clean, well-commented .pinescript file that I can add to a chart with zero modification, along with a brief usage note so I know which built-in menu exposes the inputs.
Related categories:
PHP
JavaScript
Python
Software Architecture
Financial Markets
Financial Analysis
Scripting
Pine Script