Library "Drawing" User Defined types and methods for basic drawing structure. Consolidated from the earlier libraries - DrawingTypes and DrawingMethods method get_price(this, bar) get line price based on bar Namespace types: Line Parameters: this (Line) : (series Line) Line object. bar (int) : (series/int) bar at which line price need to be...
It calculates and plots zigzag lines based on volatility and price movements. It has various inputs for customization, allowing you to adjust parameters like source data, length, deviation, line styling, and labeling options. The indicator identifies pivot points in the price movement, drawing lines between these pivots based on the deviation from certain price...
Library "lib_plot_composite_objects" library building on top of lib_plot_objects for composite objects such as Triangles and Polygons. heavily using chart.points method tostring(this, date_format) Namespace types: Triangle Parameters: this (Triangle) date_format (simple string) method tostring(this, date_format) Namespace types:...
The Psychological Support/Resistance indicator aims to provide the user with hypothetical support and resistance zones that are likely to provoke a strong reaction in price, either in both directions, providing good bouncing zones or significant movements once those levels are breached. 🔶 CALCULATION The script takes into consideration the total number of...
Library "lib_drawing_composites" methods to draw and manage composite obejects. Based on Trendoscope's added Triangle and Polygon composite objects, fixed tostring method output to be actual json method tostring(this, format_date, format, tz, pretty) Converts lib_drawing_types/LineProperties object to a json string representation Namespace types:...
Library "lib_drawing_composite_types" User Defined Types for basic drawing structure. Other types and methods will be built on these. (added type Triangle and Polygon to ) TriangleProperties TriangleProperties object Fields: border_color (series color) : Box border color. Default is color.blue fill_color (series color) : Fill color ...
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...