Library "Touched" Breakout(zone, lookback) Tells if the zone has been broken on the current bar. Parameters: zone (Zone) : The definitiin of the zone. lookback (int) : How many bars to look back. Returns: a Touch object that tells if the zone has been broken up or down. FalseBreakout(zone, lookback) Tells if the zone has a false breakout...
Library ”StrategyDashboard” Hey, everybody! I haven’t done anything here for a long time, I need to get better ^^. In my strategies, so far private, but not about that, I constantly use dashboards, which clearly show how my strategy is working out. Of course, you can also find a number of these parameters in the standard strategy window, but I prefer to display...
Strategy Statistics This library will add a table with statistics from your strategy. With this library, you won't have to switch to your strategy tester tab to view your results and positions. Usage: You can choose whether to set the table by input fields by adding the below code to your strategy or replace the parameters with the ones you would like to use...
Library "Table" This library provides an easy way to convert arrays and matrixes of data into tables. There are a few different implementations of each function so you can get more or less control over the appearance of the tables. The basic rule of thumb is that all matrix rows must have the same number of columns, and if you are providing multiple...
This library introduces the `PolylinePlus` type, which is an enhanced version of the built-in PineScript `polyline`. It enables two features that are absent from the built-in type: 1. Developers can now efficiently add or remove points from the polyline. In contrast, the built-in `polyline` type is immutable, requiring developers to create a new instance of the...
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:...
Library "printer" Printer Library, designed to streamline the process of printing data directly onto charts while offering advanced features for enhanced functionality. For full documentation, please visit faiyaz7283.github.io
This lightweight library provides a utility method that analyzes any provided background color and automatically chooses the optimal black or white foreground color to ensure maximum visual contrast and readability. 🟠 Algorithm The library utilizes the HSP Color Model to calculate the brightness of the background color. The formula for this calculation is as...
Library "Trade" A Trade Tracking Library Monitor conditions with less code by using Arrays. When your conditions are met in chronologically, a signal is returned and the scanning starts again. Create trades automatically with Stop Loss, Take Profit and Entry. The trades will automatically track based on the market movement and update when the targets are...
Library "imlib" Description The library allows you to display images in your scripts utilising the objects. You can change the image size and screen aspect ratio (the ratio of width to height which you can change if the image is too wide / tall). The library has "example()" function which you can use to see how it works. It also has a handy "logo()" function...
Library "gFancyMA" printLbl(y, x, c, m, b, s) Parameters: y (float) x (int) c (color) m (string) b (bool) s (string)
Library "debug" Show Array or Matrix Elements In Table Use anytime you want to see the elements in an array or a matrix displayed. Effective debugger, particularly for strategies and complex logic structures. Look in code to find instructions. Reach out if you need assistance. Functionality includes: Viewing the contents of an array or matrix on screen....
Library "GalacticS2021" printLbl(y, x, c, m, b) Parameters: y (float) x (int) c (color) m (string) b (bool)
Library "Global_Public_Holidays_23_24" NYSE_closed() LSE_closed() JPX_closed() ASX_closed() FX_closed()
Library "lib_plot_objects" library wrapping basic builtin object constructors, to be able to do calculations with points/lines/boxes/triangles/polygons via libraries and on securities. inspired by Trendoscope's ( and ) with added update mechanism to not have to recreate objects on every iteration for continously drawn items, automated xloc selection for...
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 ...