Library "VolumeSpreadAnalysis" A library for Volume Spread Analysis (VSA). spread(_barIndex) Calculates the spread of a bar. Parameters: _barIndex (int) : (int) The index of the bar. Returns: (float) The spread of the bar. volume(_barIndex) Retrieves the volume of a bar. Parameters: _barIndex (int) : (int) The index of the...
Library "biased_price_target" Collection of functions that can be used for the calculation of biased price targets like stop loss and take profit from a reference price using several methods that are already provided by the "distance_ratio" library plus the 'HHLL'. Methods supported are percentagewise (PERC), atr-based (ATR), fixed profit (PROF), tick-based...
Library "CurrentlyPositionIndicator" Currently position indicator run(_index, _price, _stoploss, _high, _low, _side, _is_entered, _colors, _position_left, _box_width) Currently positions indicator Parameters: _index (int) : entry index _price (float) : entry price _stoploss (float) : stoploss price _high (float) : range high _low...
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive PriceDiff() : Price Difference Parameters: : : price_1, price_2 Returns: : PriceDiff TimeDiff() : Time Difference Parameters: : : time_1, time_2 Returns: : TimeDiff ReturnIndexOf3Arrays() : Return Index Of 3 Arrays Parameters: : :...
█ 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...