📕 LIBRARY OHLC 🔷 Introduction This library is a custom library designed to work with real-time bars. It allows to easily calculate OHLC values for any source. Personally, I use this library to accurately display the highest and lowest values on visual indicators such as my progress bars. 🔷 How to Use ◼ 1. Import the OHLC library into your TradingView...
█ OVERVIEW This library was intended to Get price of given time.input █ CREDITS Credits to TradingView for CAGR Custom Range. █ FUNCTIONS ohlc_time() : Get OHLC price of given time.input Parameters: : : Time (t) must be using time.input Returns: : OHLC hlc_time() : Get HLC price of given time.input Parameters: : : Time (t) must...
A Magical little helper friend for Candle Math. When composing scripts, it is often necessary to manipulate the math around the OHLC. At times, you want a scalar (absolute) value others you want a vector (+/-). Sometimes you want the open - close and sometimes you want just the positive number of the body size. You might want it in ticks or you might want it in...