Library "ObjectHelpers" Line | Box | Label | Linefill -- Maker, Setter, Getter Library TODO: add table functionality set(object) set all params for `line`, `box`, `label`, `linefill` objects with 1 function *** ## Overloaded *** ``` method set(line Line, int x1=na, float y1=na, int x2=na, float y2=na,string xloc=na,string extend=na,color color=na,string...
Fairly straightforward script that allows you to plot the current price and % either above the last candle and/or to the right of it. There's also 2 price "follow" lines that you can turn off and on, much like the bid/ask line that's built in to TV. You can also choose to enable a specific % above/below current price to give you an idea on where price would be...
This educational script contains different examples regarding lines , linefill , labels & boxes First part shows the use of array.new() without first retrieving line.new() which then are put in a linefill.new() At every start of the week a linefill.new() is added with the top line being previous Weekly high , and the bottom line being previous ...
This indicator consist of tow RSI length that user can customize it. like length, overbought, oversold. like length, overbought, oversold. also it has one moving average where the user can select from different types of moving averages, price sources, lookback periods and resolutions
█ OVERVIEW Delete array object according to array size such as label, line, linefill, box and table. █ CREDITS HeWhoMustNotBeNamed
█ OVERVIEW This helper intend to simplify which color pair better with black or white color, may help some pine coders. █ INSPIRATION This color choice was inspired during plot especially user enable dark color theme. Color displayed at table and label are based on Indicator name label and Indicator last value label displayed at Scales. █ FEATURES ...
Library "ObjectStack" init() push() push() push() push() push() nextIndex() nextIndex() nextIndex() nextIndex() nextIndex() delete() delete() delete() delete() delete() cleanOldest() cleanOldest() cleanOldest() cleanOldest() cleanOldest()
This indicator is sample code that you can customize. It selectively displays a label based on how severe a warning should be. Simply add it to your chart, then open the code to make a copy for your own use. Normally I would make this a library, but because libraries can't retain state (yet) and pine script doesn't allow classes (yet), I thought this would be...
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...
INDIGO Cloud System © This script shows the monthly dip and peak zones and the daily highs & lows. The green zone is the dip zone. It's the place to enter a long position if you think there is or will be a reversal. The red zone is the peak zone. It's the place to enter a short position if you think there is or will be a reversal. The script uses the INDIGO...
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 "SignalProcessingClusteringKMeans" K-Means Clustering Method. nearest(point_x, point_y, centers_x, centers_y) finds the nearest center to a point and returns its distance and center index. Parameters: point_x : float, x coordinate of point. point_y : float, y coordinate of point. centers_x : float array, x coordinates of cluster centers. ...
This script shows an example of how to manage objects (lines/labels/boxes) and prevent the need of garbage collecting and missing objects. You only have to push your object into the right array. *_FIXED (left-lock) or *_FORWARD (right-lock) We hope you enjoy it! 🎉 CRYPTOLINX - jango_blockchained 😊👍 Disclaimer: Trading success is all about following your...
Pinescript - Common Label & Line Array Functions Library by RagingRocketBull 2021 Version 1.0 This script provides a library of common array functions for arrays of label and line objects with live testing of all functions. Using this library you can easily create, update, delete, join label/line object arrays, and get/set properties of individual label/line...
Hi BIG PLAYERS Each of us makes mistakes and exceptions confirm the rule. However, if you disregard the rules of trading, you lose your money - without any ifs and buts! I have therefore created a reminder label for myself, which trading approaches I always want to stick to. These rules serve me as a guideline when I should trade. Through the permanent...
This indicator looks simple but it was bit tricky to code and to make it work on all time frames . I have used array in this to showcase the use of array, array give you more flexibly. It works on all time frame 1m 2m 3m 5m 10m 15m 30m 60m 120m. When the time frame is greater than the or equal to "D" it will show the current bar volume only. Total volume is...
Script to display Supertrend trend state of 8 different securities in a panel. Timeframe & Tickers which are to be displayed can be configured from settings. Part of code is from the ADX DI Monitoring Panel script by u/wugamlo with his permission. Thanks to him for that and do please check out his work also.
An example of using str.replace_all() function to extract a crypto ticker without its pair. It can be useful if you didn't know syminfo.basecurrency existed. I didn't know syminfo.basecurrency exists. Lol