Library "libHTF" libHTF: use HTF values without request.security() This library enables to use HTF candles without request.security(). Basic data structure Using to access values in the same manner as series variable. The last member of HTF array is always latest current TF's data. If new bar in HTF(same as last bar closes), new member is pushed to HTF...
Library "HighTimeframeSampling" Library for sampling high timeframe (HTF) data. Returns an array of historical values, an arbitrary historical value, or the highest/lowest value in a range, spending a single security() call. An optional pass-through for the chart timeframe is included. Other than that case, the data is fixed and does not alter over the course...
Library "HighTimeframeTiming" @description Library for sampling high timeframe (HTF) historical data at an arbitrary number of HTF bars back, using a single security() call. The data is fixed and does not alter over the course of the HTF bar. It also behaves consistently on historical and elapsed realtime bars. ‼ LIMITATIONS: This library function depends on...
Library "Pivots" TODO: add library description here pivots(_type, _open, _high, _low, _clsoe) Calculates the pivot point and returns its value. Parameters: _type : Specifies the type of pivot point. _open : The open price _high : The high price _low : The low price _clsoe : The close price Returns: Returns the value of the...
Quite recently TradingView added the possibility to create and use Libraries in PineScript. With this feature PineScript became higher quality of coding language overnight. Libraries enable splitting your code into multiple files, providing easier access to code reusability. I was working on a script which included 3000 lines of code, which was recompiling 1:30...