OPEN-SOURCE SCRIPT
Updated [TEMPLATE] Code Block Comments

█ OVERVIEW
Here I present to the community at large a collection of code comment blocks that I think will be useful, especially for larger script projects bordering on 2,000 lines or above of code.

█ PLANNED FUTURE UPDATES
Here I present to the community at large a collection of code comment blocks that I think will be useful, especially for larger script projects bordering on 2,000 lines or above of code.
█ PLANNED FUTURE UPDATES
- [IMPROVEMENT] Work with the community to expand this template to be even more useful with the inclusion of useful global colour sets, variables, tooltips, groups, etc.
- [ADD] better script thumbnail.
- [ADD] full-screen table or label outlining the script's use-cases.
Release Notes
█ CHANGELOG- [CHANGE] = Code block comments to better adhere to the TradingView Code Style Guidelines. Resulting in an overall reduction of code from 2005 to 1750 lines.
- [FIX] = A few spacing issues that were missed in the initial release.
- [FIX] = Index numbering under "2. Indicators and Functions" where B1... skipped to B3...
Release Notes
->- CHANGE = Code block comments to better adhere to the https://www.tradingview.com/pine-script-docs/en/v5/writing/Style_guide.html#collapsible-code-sections]TradingView Code Style Guidelines. Resulting in an overall reduction of code from 2005 to 1750 lines.
- FIX = A few spacing issues that were missed in the initial release.
- FIX = Index numbering under "2. Indicators and Functions" where B1... skipped to B3...
- NOTE = Made trivial update so that I could update the above release notes as the previous update's formatting was wrong & couldn't be fixed...
Release Notes
->- ADD = ASCII header code comment + comment on how to create your own.
- CHANGE = Revision History ⮩ to ⇲ as fixes some minor formatting issues.
Comments:
*I took a break from trading but I am back now and exploring all the fantastic new features of PineScript. Expect to see new scripts released in the coming months :)
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Looking for an ECN broker which is reputable, still offers 1:500 leverage, supports TradingView, & offers commissions from $6/lot down to $3/lot, well you're in luck :)
Follow my IB link today
blackbull.com/en/live-account/?ib=420187
Follow my IB link today
blackbull.com/en/live-account/?ib=420187
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Looking for an ECN broker which is reputable, still offers 1:500 leverage, supports TradingView, & offers commissions from $6/lot down to $3/lot, well you're in luck :)
Follow my IB link today
blackbull.com/en/live-account/?ib=420187
Follow my IB link today
blackbull.com/en/live-account/?ib=420187
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.