faiyaz7283

tools

faiyaz7283 已更新   
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.
版本注释:
v2

Added:
- 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.
版本注释:
v3

Added:
  • 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.
版本注释:
v4

No 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'.
版本注释:
v8

Added: 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.

Faiyaz Haider
Pine脚本库

本着真正的TradingView精神,作者将此Pine代码以开源脚本库发布,以便我们社区的其他Pine程序员可以重用它。向作者致敬!您可以私下或在其他开源出版物中使用此库,但在出版物中重用此代码受网站规则约束。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想使用这个脚本库吗?

复制以下行并将其粘贴到您的脚本中。