PINE LIBRARY
已更新 tools

Library "tools"
A library of many helper methods, plus a comprehensive print method and a printer object.
This is a newer version of the helpers library. This script uses pinescripts v5 latest objects and methods.
A library of many helper methods, plus a comprehensive print method and a printer object.
This is a newer version of the helpers library. This script uses pinescripts v5 latest objects and methods.
發行說明
v2Added:
- Added full Documentation - https://faiyaz7283.github.io/tools/
- I have also made some small bug fixes with the print() method, and few other small refactoring changes.
Notes:
Moving forward, I will make changes on github repo first, and then publish it here. Please checkout the project at https://github.com/faiyaz7283/tools. If anyone has any new ideas, or want to contribute some changes or bug fix, please do it through the github repo. Also, any questions or concerns or want to report a bug, you may do so at github issues.
發行說明
v3Added:
- New Feature: Added multiple methods to breakdown UNIX timestamps into various time segments, facilitating easy access to different time units.
- New Feature: Now supports calculating time differences between two UNIX timestamps, providing valuable insights for time-related calculations.
發行說明
v4No major changes. Just some refactoring, and extending the printer object for my multidata library.
發行說明
v5 - Bug fix (issue with gradient)發行說明
v6 - BugFix: _color() method calculation issue. FIXED.發行說明
v7 - Removed the Printer object and its associated methods from the 'tools' library. Moving forward, Printer will be available as a standalone library, distinct from 'tools'.發行說明
v8Added: numCompact function
發行說明
v9 - Bug fix with the numCompact function and negative numbers.發行說明
v10 Added: new method 'ordinal'. It takes an integer and returns its ordinal number.發行說明
v11 Added: 6 new methods for scanning specific data. All time highest and lowest, highest and lowest within a range of bars, and highest and lowest within a range of time. All the methods will return a map object containing the following keys for the searched source data - open, high, low, close, volume, time_open, time_close, and bar_index. 發行說明
v12 - Bug Fix發行說明
v13 - Added: A currencyFormat for use with dynamic decimal places. Helpful for displaying assets that trades in fractions.發行說明
v14 - Bug fix - $ sign was missing from the currencyFormat method - Fixed it.發行說明
v15 - Removed: currencyFormat method. 發行說明
v16: Code updated for version 6. Few breaking changes, mainly function/method names. 發行說明
v17 - bug fix - fixed missing 'export' keysPine腳本庫
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Faiyaz Haider
免責聲明
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.
Pine腳本庫
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Faiyaz Haider
免責聲明
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.