Features:
Concentric Circles:
Drawn using points (•) placed around a center.
The number of circles and their spacing are customizable.
Radial Lines:
Straight lines radiate outward from the center.
You can customize the number of lines (e.g., 12 for 30° intervals).
Highlight Marker:
An orange marker is placed at a specific angle (customizable) on the outermost circle.
Key Customization Inputs:
Circle Count: Number of concentric circles.
Circle Spacing: Distance between circles.
Line Count: Number of radial lines.
Highlight Angle: Position of the orange marker in degrees.
Colors: Customize grid and marker colors.
Core Logic:
Circles and radial lines are calculated using trigonometric functions (math.cos and math.sin).
The x-coordinates are tied to bar_index (integer), ensuring compatibility with TradingView's requirements.
This script is ideal for creating a visual radar-like grid on TradingView charts. Let me know if you'd like further enhancements! 😊