This is probably the only script on TradingView that's clinically proven to lower your blood pressure!*** This script in conjunction with some chart settings changes can completely hide the active candle, only showing historic candles, thus, reducing risk of cardiac arrest and or panic attack. What to do: 0. Make sure you are using a candlestick chart or...
Hello! This little script tells you everything TradingView lets you access in a ticker's syminfo in Pine Script: - description - type: crypto, economic, forex, fund, futures, index, spread, stock - tickerid, such as AMEX:BLOK - prefix, such as AMEX - Ticker, such as BLOK - root: for derivatives such as futures contracts - currency, such as USD - base currency:...
█ 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 Work with the community to expand this template to be even more useful with the inclusion of useful global colour sets,...
Library "AbdulLibrary" The library consists of three sections: Technical Analysis Functions - A collection of tools commonly used by day traders Trading Setup Filters Functions - A number of filters that help day traders to screen trading signals Candlestick Pattern Detection Functions - To detect different candlestick patterns that are...
HISTORY AND CREDITS ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– Recreating the Labels functionality of ThinkorSwim. The most important labels for momentum trading. I have been using these over the years and am considering this my star indicator. I have included various methodologies from reading many trading books....
Library "Punchline_Lib" roundSmart(float) Truncates decimal points of a float value based on the amount of digits before the decimal point Parameters: float : _value any number Returns: float tostring_smart(float) converts a float to a string, intelligently cutting off decimal points Parameters: float : _value any number Returns: string
experimental: a basic method to evaluate stock dividend periodicity. known issues: * it does not adapt well to changes in periodicity, if there is a big enough change on the dividend period plan.
Library "ZenLibrary" A collection of custom tools & utility functions commonly used with my scripts. getDecimals() Calculates how many decimals are on the quote price of the current market Returns: The current decimal places on the market quote price truncate(float, float) Truncates (cuts) excess decimal places Parameters: float : _number The...
This is a simple utility which counts the number of bars and time elapsed after starting the script. This can be used in time or bars based conditions to modify script behavior. This particular script does the following: Starts timer when script is added to chart Timer is green when starting and continues to be in green if the right Auth key is used in...
Functions to handle Box-Cox Transform from sample data.
Some functions to handle Arithmetic Geometric Mean.
a function for relative weighted average using arrays
function to get sorted indices from a array using bubble sort.
Function to calculate a forecast using a linear regression approach, this is the same function used on excel and other data sheet programs. reference: - support.microsoft.com - stackoverflow.com
Function to create a array from a sample taken from a series (ex:. close, hlc3...).
An utility function to parse session inputs. Extracts hours, minutes and weekdays (if defined) and returns a tuple as the result. _parseSession(sessionString) => (hourStart, minuteStart, hourEnd, minuteEnd, weekdaysArray) Examples presented on the chart.
Basic utility script to keep track of key dates & expiries.