Library "Pivots" This Library focuses in functions related to pivot highs and lows and some of their applications (i.e. divergences, zigzag, harmonics, support and resistance...) pivots(srcH, srcL, length) Delivers series of pivot highs, lows and zigzag. Parameters: srcH : Source series to look for pivot highs. Stricter applications might source from...
Library "Cayoshi_Library" fungtion show win loss and Netprofit Show Library สำหรับเรียกใช้ 1.Win_Loss_Show() การแสดง แพ้ ชนะ 2.NetProfit_Show() การแสดงผล Backtest 3.Count_Bar_Back_Test() กำหนดระยะเวลา หรือ แท่งบาร์ในการ Backtest
Library "HA_Candles" Heikin Ashi Candles HA_Close() Heikin Ashi Modified Close Returns: Heikin Ashi Modified Close HA_Open() Heikin Ashi Modified Open Returns: Heikin Ashi Modified Open HA_High() Heikin Ashi Modified High Returns: Heikin Ashi Modified High HA_Low() Heikin Ashi Modified Low Returns: Heikin Ashi Modified Low HA_Delta(Heikin)...
Library "easytable" Create tables easily, with minimal code ▦ FEATURES ▦ █ Create tables █ JSON To Table █ Change Colors █ Array to Rows/Columns █ Pre-Styles █ Change Text Size █ Delete Rows/Columns █ Blink Cells indentify_table_id() Identifies all tables ID number in each cell(0,0). ...
█ OVERVIEW Library "e2hray" A drawing library that contains the hray() function, which draws a horizontal ray/s with an initial point determined by a specified condition. It plots a ray until it reached the price. The function let you control the visibility of historical levels and setup the alerts. █ HORIZONTAL RAY FUNCTION hray(condition, level, color,...
Library "LoggerLib" This is a logging library for Pinescript. It is aimed to help developers testing and debugging scripts with a simple to use logger function. Pinescript lacks a native logging implementation. This library would be helpful to mitigate this insufficiency. This library uses table to print outputs into its view. It is simple, customizable and...
Library "ObjectStack" init() push() push() push() push() push() nextIndex() nextIndex() nextIndex() nextIndex() nextIndex() delete() delete() delete() delete() delete() cleanOldest() cleanOldest() cleanOldest() cleanOldest() cleanOldest()
Library "CRCHud" Library of functions which will contain functions that allow reusable HUD (Heads up Display) components to used from within other scripts add_cell_change() - Adds a new cell to designated table which displays the data source value, the line color, data title, and automatically calculated %percent change stats based on lookback value...
Library "BE_CustomFx_Library" A handful collection of regular functions, Custom Tools & Utility Functions could be used in regular Scripts. hope these functions can be understood by a non programmer like me too. G_TextValOfNumber(ValueToConvert, RequiredDecimalPlaces, BeginingChar, EndChar) Function to return the String Value of Number with decimal precision...
Library "UnicodeReplacementFunction" Unicode Characters Replacement function for strings. replaceFont(_str, _fontType) Unicode Character Replace Function Parameters: _str : String input _fontType : Font Type Selector Returns: Replaced Char String with any custom font type choosed
Library "LabelHelper" Utility for managing active labels on the chart. add(level, txt, labelColor, textColor) For displaying a lable at the last bar. Parameters: level : The value to display the label at. txt : The text to show on the label. labelColor : The color of the label. textColor : The text color of the label. Returns: The...
Library "DrawIndicatorOnTheChart" this library is used to show an indicator (such RSI, CCI, MOM etc) on the main chart with indicator's horizontal lines in a window. Location of the window is calculated dynamically by last price movemements drawIndicator(indicatorName, indicator, indicatorcolor, period, indimax_, indimin_, levels, precision, xlocation) draws...
Library "amibroker" This library consists of functions from amibroker that doesn't exist on tradingview pinescript. The example of these are the ExRem and Flip. In the example below, I used ExRem to remove the excessive buy and sell signals. Meanwhile, I used the Flip to highlight the bg color when there is an open position. exrem(series1, series2) Removes...
Library "Labels" Functions to create labels, from simple to complex. labelSimple() Creates a label each time a condition is true. All label parameters can be customised. _condition The condition which must evaluate true for the label to be printed. _x The x location. _y The y location. _text The text to print on the label. _color The...
Library "Bursa_Sector" : List of stocks classified by sector in Bursa Malaysia (As of Oct 2021) getSector() This function will get the sector of current stock that listed in Bursa Malaysia
Library "CreateAndShowZigzag" Functions in this library creates/updates zigzag array and shows the zigzag getZigzag(zigzag, prd, max_array_size) calculates zigzag using period Parameters: zigzag : is the float array for the zigzag (should be defined like "var zigzag = array.new_float(0)"). each zigzag points contains 2 element: 1. price level of the zz...
Library "LineGetPriceOnLogScale" This library provides a way to calculate the y-coordinate of a line on a specified bar when the chart scale is Log. The built-in `line.get_price()` function only works with linear scale and gives incorrect results when the chart is in Log scale. The library only works with `bar_index` values and `xloc.bar_index`-based lines,...
Library "SignificantFigures" sigFig(float _float, int _figures) @description Takes a floating-point number - one that can, but doesn't have to, include a decimal point - and converts it to a floating-point number with only a certain number of digits left. For example, say you want to display a variable from your script to the user and it comes out to...