When you take a closure look at any pinescript it has following key components.
- Variable definitions
- Logic and calculations
- Graph plotting
- Plotting shapes
- Alerts
This can serves as a guide while writing your own pine-script.
When you take a closure look at any pinescript it has following key components.
This can serves as a guide while writing your own pine-script.