Description: Boolean and alert functions that check if the latest user-selected symbol 'sym' has started printing. Alerts trigger by bar close. Usage: Mainly for 24/7 crypto exchanges. If an exchange you have alerts on goes offline, the alerts will not trigger. The offline alert is an alert to alert you of that. It's best to create the alerts while on...
Library "Objects" A collection of frequently used objects functions in my scripts. method getType(this) Identifies an object's type. Namespace types: series int, simple int, input int, const int Parameters: this (int) : Object to inspect. Returns: A string representation of the type. method getType(this) Namespace types: series float,...
Library "ChartUtils" Library for chart utilities, including managing tables initTable(rows, cols, bgcolor) Initializes a table with specific dimensions and color Parameters: rows (int) : (int) Number of rows in the table cols (int) : (int) Number of columns in the table bgcolor (color) : (color) Background color of the table Returns:...
Library "TradingUtils" Utility library for common trading functions calcVariation(price, threshold) Calculates variation of a price based on a threshold Parameters: price (float) : (float) The price to be varied threshold (float) : (float) The threshold for the variation Returns: (float) The varied price sendAlert(action, symbol, orderType,...
This is a Pine Script library for the public indicator "Volatility ZigZag" by brettkind. For further description, please refer to the information available on the original indicator page. Library "Volatility_ZigZag_Library" getValues_andStyling_VolatilityZigZag_byBrettkind(hl_src, SOURCE, length, min_dev_input, stdev_fctr, ZigZag, zz_color, zz_width,...
Library "LoggerLib" Function Description: This library aims to extend the logging functionality by overloading various logging methods. The objective is to enable appending ".log" at the end of different types to make logging outputs easier. Key features of this function include: Multi Debug Levels: The readout will encompass error, warning, and info...
Library "Log" - Log methods that return input value for code readbility and cleaness. method str(input) str Namespace types: series float, simple float, input float, const float Parameters: input (float) method str(input) str Namespace types: series int, simple int, input int, const int Parameters: input (int) method str(input)...
Library "support_array_methods" Contains methods for support work with arrays: 1. unic description: delete duplicate element from array param _array: array for delete duplicate. Support types: int,float,string,bool return: duplicate-free array
Library "NetLiquidityLibraryMacF" The Net Liquidity Library provides daily values for net liquidity. Net liquidity is measured as Fed Balance Sheet - Treasury General Account - Reverse Repo. Time series for each individual component included too. get_net_liquidity(component) Gets the Net Liquidity time series for the last 250 trading days. Dates that are...
Library ”StrategyDashboard” Hey, everybody! I haven’t done anything here for a long time, I need to get better ^^. In my strategies, so far private, but not about that, I constantly use dashboards, which clearly show how my strategy is working out. Of course, you can also find a number of these parameters in the standard strategy window, but I prefer to display...
Make debugging easier during development in Pinescript by displaying debug variables on the chart. No need for explanations, you devs know how to use it :) Library "debug" label(_output, _delete, _position) - Debug label Parameters: _output (string) : Label output string _delete (bool) : Delete all labels and only show the last one ...
Backtest Strategy Optimizer Adapter With this library, you will be able to run one or multiple backtests with different variables (combinations). For example, you can run 100 backtests of Supertrend at once with an increment factor of 0.1. This way, you can easily fetch the most profitable settings and apply them to your strategy. To get a better understanding...
Library "Table" This library provides an easy way to convert arrays and matrixes of data into tables. There are a few different implementations of each function so you can get more or less control over the appearance of the tables. The basic rule of thumb is that all matrix rows must have the same number of columns, and if you are providing multiple...
Library "Utils" A collection of convenience and helper functions for indicator and library authors on TradingView formatNumber(num) My version of format number that doesn't have so many decimal places... Parameters: num (float) : (float) the number to be formatted Returns: (string) The formatted number getDateString(timestamp) Convenience...
PineUnit by Guardian667 A comprehensive testing framework for Pine Script on TradingView. Built with well-known testing paradigms like Assertions, Units and Suites. It offers the ability to log test results in TradingView's built-in Pine Protocol view, as well as displaying them in a compact table directly on your chart, ensuring your scripts are both robust and...
Library "printer" Printer Library, designed to streamline the process of printing data directly onto charts while offering advanced features for enhanced functionality. For full documentation, please visit faiyaz7283.github.io
Library "TradeTrackerv2" This library can be used to track (hypothetical) trades on the chart. Enter the Open, SL, and TP prices (or TP in R to have it calculated) and then call Trade.TrackTrade(barIndex). Keep track of your trades in an array and then simply call TradeTracker.UpdateAllTrades(close) to update all trades based on the current close price. How...