The sole purpose of this script is to demonstrate what's possible to make with Pinescript, namely to display images (2D Fractals in this case). The script consists of two functions: one that generates the values of a fractal and one that displays them (utilising table) with each cell being used as a "pixel". We can control the "resolution" of image, as well as...
Library "CommonTypesDrawing" Provides a common library source for common types of used graphical drawing structures. Includes: `Triangle, Quad, Polygon` Triangle Representation of a triangle using lines and linefill. Fields: ab : Edge of point a to b. bc : Edge of point b to c. ca : Edge of point c to a. fill : Fill of the...
Library "Vector2DrawLine" Extends line type with methods for Vector2 and Segment2. new(origin, target, xloc, extend, color, style, width) Draws a line using Segment type to hold its coordinate properties.. Parameters: origin : Vector2 . Origin vector of the line. target : Vector2 . Target vector of the line. xloc : string extend :...
Description: This script shows an example use of new Pinescript's feature called User Defined Types, which can be seen as analogue of from C++ or from Python. It is not an indicator for technical analysis, and serves only as an example of how to use the new feature mentioned above. In the script I define 4 custom types and a custom initialisation function for...
This indicator will plot trend lines based on recent pivot highs and lows. The pivot sensitivity level may be customised under the indicator settings. The pivot highs and lows are identified by 'H' and 'L' markers. Through the indicator, a purple dotted line connects the last two pivot highs and another purple dotted line connects the last two pivot lows....
Drawing OB for SMC trading technique. Control the parameters to: - Only draw supply - Only draw demand. - Draw minor structure...
█ 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,...
Example primarily focuses on: • creating a simple function to get a time offset value • using the offset to set drawing locations in the future • how to properly set up and manipulate line positions Extras ( end of script ): • inclusion of vertical lines for visualising start and end points using the time offsets • inclusion of label to read out the current...
Hey everyone It's been a while :) but still on holidays and working on the website. I'll resume the scripts sharing shortly once I'll get back home For today, I wanted to share a very useful script that is going to make you a top of money 100% guaranteed and you'll even have a Lamborghini delivered at your place by tomorrow... (imagine some followers would...