name
stringlengths
1
64
url
stringlengths
44
135
author
stringlengths
3
30
author_url
stringlengths
34
61
likes_count
int64
0
33.2k
kind
stringclasses
3 values
pine_version
int64
1
5
license
stringclasses
3 values
source
stringlengths
177
279k
Vector2FunctionClip
https://www.tradingview.com/script/fPlUufEw-Vector2FunctionClip/
RicardoSantos
https://www.tradingview.com/u/RicardoSantos/
18
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © RicardoSantos //@version=5 // @description Sutherland-Hodgman polygon clipping algorithm. // reference: // . // https://rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping // . library('Vector2Fun...
WarCalendar
https://www.tradingview.com/script/CRY4Kj2W-WarCalendar/
trevor1617
https://www.tradingview.com/u/trevor1617/
2
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © jdehorty //@version=5 // @description This library is a data provider for important Dates and Times from the Economic Calendar. library(title='WarCalendar') // @function Returns the list of dates support...
Open, Open +/- EMA ATR Lines with Labels
https://www.tradingview.com/script/R3gEMmZY-Open-Open-EMA-ATR-Lines-with-Labels/
AOSSA_Traders
https://www.tradingview.com/u/AOSSA_Traders/
16
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © AOSSA_Traders //@version=5 indicator("Open, Open +/- EMA ATR Lines with Labels", shorttitle="O, O+/-EMA ATR Lines", overlay=true) timeframeInput = input.string(defval="D", title="Timeframe", options=["1"...
Linear_Regression_Slope
https://www.tradingview.com/script/cmVYMX6Y-Linear-Regression-Slope/
Quantkr
https://www.tradingview.com/u/Quantkr/
2
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © MBYLAB //@version=5 // @description : this show slope based on linear regression // @param : "a" must input Source, [close, open, high, low]// // @param : "b" the length about period. library("Linear_R...
% Above 50 DMA
https://www.tradingview.com/script/JM8DNAE8-Above-50-DMA/
crutchie
https://www.tradingview.com/u/crutchie/
35
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © crutchie //@version=5 indicator("% Above 50 DMA") //Inputs exchange = input.string("NYSE", options = ["NYSE", "Nasdaq"]) perc = exchange == "NYSE" ? request.security("MMFI", timeframe.period, close) : r...
Volume peak based zones
https://www.tradingview.com/script/JOnTLW3V/
Demech
https://www.tradingview.com/u/Demech/
53
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Demech //@version=5 indicator("Volume peak based Zones", overlay=true) // Parameter length = input.int(20, "Moving average for volume") threshold = input.float(3, "Z-Score Threshold") boxlen = input(20, ...
Wave Generator Library (WGL)
https://www.tradingview.com/script/Sq8W8Jhr-Wave-Generator-Library-WGL/
peacefulLizard50262
https://www.tradingview.com/u/peacefulLizard50262/
9
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © peacefulLizard50262 //@version=5 // @description Wave Generator Library library("WaveGenerator") n = bar_index //@function max //@param source is the input to take the maximum. //@returns foat export ma...
DrawingTypes
https://www.tradingview.com/script/63c8VXSa-DrawingTypes/
Trendoscope
https://www.tradingview.com/u/Trendoscope/
34
library
5
CC-BY-NC-SA-4.0
// This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/ // © Trendoscope Pty Ltd // ░▒ // ▒▒▒ ▒▒ // ...
ZigzagTypes
https://www.tradingview.com/script/uZKDIy4N-ZigzagTypes/
Trendoscope
https://www.tradingview.com/u/Trendoscope/
31
library
5
CC-BY-NC-SA-4.0
// This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/ // © Trendoscope Pty Ltd // ░▒ // ▒▒▒ ▒▒ // ...
DrawingMethods
https://www.tradingview.com/script/eNM7BFaR-DrawingMethods/
Trendoscope
https://www.tradingview.com/u/Trendoscope/
29
library
5
CC-BY-NC-SA-4.0
// This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/ // © Trendoscope Pty Ltd // ░▒ // ▒▒▒ ▒▒ // ...
Unispaces
https://www.tradingview.com/script/O5wc79U2-Unispaces/
FFriZz
https://www.tradingview.com/u/FFriZz/
8
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © FFriZz //@version=5 // @description Easier than looking up unicode spaces library("Unispaces",overlay=true) // @function **UNISPACES** // **Params** // - `sequence - (int) required | 0 = normal " "`...
PitchforkTypes
https://www.tradingview.com/script/ine0QCxF-PitchforkTypes/
Trendoscope
https://www.tradingview.com/u/Trendoscope/
28
library
5
CC-BY-NC-SA-4.0
// This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/ // © Trendoscope Pty Ltd // ░▒ // ▒▒▒ ▒▒ // ...
ZigzagMethods
https://www.tradingview.com/script/kO5FUZVr-ZigzagMethods/
Trendoscope
https://www.tradingview.com/u/Trendoscope/
40
library
5
CC-BY-NC-SA-4.0
// This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/ // © Trendoscope Pty Ltd // ░▒ // ▒▒▒ ▒▒ // ...
Vector2
https://www.tradingview.com/script/uicOdAI3-Vector2/
RicardoSantos
https://www.tradingview.com/u/RicardoSantos/
16
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © RicardoSantos //@version=5 // @description Representation of two dimensional vectors or points. // This structure is used to represent positions in two dimensional space or vectors, // for example i...
SMA Signals
https://www.tradingview.com/script/1dHY2C8p/
ExpertCryptoo1
https://www.tradingview.com/u/ExpertCryptoo1/
7
study
5
MPL-2.0
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © ExpertCryptoo1 //@version=5 indicator("SMA Signals",overlay = true) sma1_input = input(20,"SMA 1") sma2_input = input(100,"SMA 2") sma1= ta.sma(close,sma1_input) sma2= ta.sma(close,sma2_input) long ...
keyed value types with pseudo-dict - Methods
https://www.tradingview.com/script/0Cpmg2cD-keyed-value-types-with-pseudo-dict-Methods/
kaigouthro
https://www.tradingview.com/u/kaigouthro/
14
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © kaigouthro //@version=5 //@description a set of primitive single-type key/value items, and pseudo-dictionaries // The dictionaries are single arrays of items, each item has a key and value. // The library...
Utilities
https://www.tradingview.com/script/IrBUGZaU-Utilities/
boitoki
https://www.tradingview.com/u/boitoki/
13
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © boitoki //@version=5 // @description TODO: add library description here library("Utilities") import boitoki/Heikinashi/6 as heikinashi // @function Convert price to pips. // @param _v Price // @returns...
SH_Library
https://www.tradingview.com/script/3frYi8g7-SH-Library/
sherwoodherben2
https://www.tradingview.com/u/sherwoodherben2/
9
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © sherwoodherben2 //@version=5 // original credit to: // © jdehorty // @description This library is a data provider for important Dates and Times from the Economic Calendar. // Updates and additions by S...
SessionInBoxesPro
https://www.tradingview.com/script/MEseTHmV-SessionInBoxesPro/
theATR
https://www.tradingview.com/u/theATR/
3
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © theATR //@version=5 library("SessionInBoxesPro") /////////////// // Functions /////////////// export get_time_by_bar(int bar_count) => timeframe.multiplier * bar_count * 60 * 1000 export get_positions_f...
Antares
https://www.tradingview.com/script/7ZiMySqD-Antares/
px2raj
https://www.tradingview.com/u/px2raj/
3
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © px2raj //@version=5 // @description this library contains some utility functions that I use in my open source scripts including moving average helpers, candlstick helpers, money management, formatters, c...
Candle Color Ratio
https://www.tradingview.com/script/UPJWyFDS-Candle-Color-Ratio/
LeafAlgo
https://www.tradingview.com/u/LeafAlgo/
36
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © LeafAlgo //@version=5 indicator("Candle Color Ratio", overlay=false) //Scoring Syntax float greenScore1 = 0 float greenScore2 = 0 float greenScore3 = 0 float greenScore4 = 0 float greenScore5 = 0 float g...
Debugging_console
https://www.tradingview.com/script/kuxI1i8G-Debugging-console/
plutustraining
https://www.tradingview.com/u/plutustraining/
0
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © plutustraining //@version=5 library(title = "Debugging_console", overlay = false) var string[] console = array.new_string(25, na) export print(string[] console , string input) => array.push(consol...
BasicVisibleChart
https://www.tradingview.com/script/jCW9QKj0-BasicVisibleChart/
twingall
https://www.tradingview.com/u/twingall/
18
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ //@version=5 //Thanks to code from @PineCoders Visible Chart library (PineCoders/VisibleChart/4), which is a much more comprehensive library than this, but does not include the some functions which i find use...
HSupertrend
https://www.tradingview.com/script/LvAtHaha-HSupertrend/
Trendoscope
https://www.tradingview.com/u/Trendoscope/
133
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © HeWhoMustNotBeNamed // ░▒ // ▒▒▒ ▒▒ // ▒▒▒▒▒ ▒▒ // ▒▒...
Pattern
https://www.tradingview.com/script/5QPBNT1x-Pattern/
reees
https://www.tradingview.com/u/reees/
131
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © reees //@version=5 // @description Pattern object definitions and functions. Easily draw and keep track of patterns, legs, and points. // // Supported pattern types: // Type Leg validation # legs // ...
String Extra Functions
https://www.tradingview.com/script/nsehLSIe-String-Extra-Functions/
kaigouthro
https://www.tradingview.com/u/kaigouthro/
5
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © kaigouthro //@version=5 // @description Additional String shortcuts library("string_extras") // @function last char of a string // @param _string String to process // @returns last char of a...
Heikinashi
https://www.tradingview.com/script/Mn2i2gV4-Heikinashi/
boitoki
https://www.tradingview.com/u/boitoki/
42
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © boitoki //@version=5 // @description This library calculates "Heikinashi". library("Heikinashi", overlay=true) export f_heikinashi_close (string _type, float _o, float _h, float _l, float _c) => swi...
Replica of TradingView's Backtesting Engine with Arrays
https://www.tradingview.com/script/y4wMeSpt-Replica-of-TradingView-s-Backtesting-Engine-with-Arrays/
OztheWoz
https://www.tradingview.com/u/OztheWoz/
39
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © OztheWoz //@version=5 library("OzzyBacktestEngine") // quality of life user function that help when working with array data usage _indexArray(_array, _index) => array.size(_array) > _index ? ...
Developing CPR & Camarilla L3
https://www.tradingview.com/script/24aWCg5D-Developing-CPR-Camarilla-L3/
F_Ozyuksel
https://www.tradingview.com/u/F_Ozyuksel/
6
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ //@version=5 indicator("Developing CPR & Camarilla L3", shorttitle="DCPRC3", overlay=true) computeDevCM3(isNewPeriod) => var float h = na var float l = na c = close h := isNewPeriod...
Motion
https://www.tradingview.com/script/hk4bWDkH-Motion/
cryptolinx
https://www.tradingview.com/u/cryptolinx/
16
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © cryptolinx - jango_blockchained - open-source 💙 // https://www.tradingview.com/x/DiuimTu4/ // ———— Primary Functions { // // ▸ transition() // ▸ iteration() // } // ———— Simplified Functions { // // ▸ ...
Library_Smoothers
https://www.tradingview.com/script/LUv54YeK-Library-Smoothers/
Koalems
https://www.tradingview.com/u/Koalems/
5
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Koalems // @version=5 // @description A library of smoothing algorithms. // // HOW TO USE: SAMPLE CODE: // // Group8240 = 'MA 1: Settings' // ma1Corrected = input.bool(false, 'Co...
[KVA]Keltner Channel Percentage
https://www.tradingview.com/script/n8bpUymU-KVA-Keltner-Channel-Percentage/
Kamvia
https://www.tradingview.com/u/Kamvia/
5
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Kamvia //@version=5 indicator("[KVA]Keltner Channel Percentage", shorttitle="KC%", overlay=false) // User-defined input for the length and the source of the Keltner Channel length = input(20, title="Leng...
[PUZ] MACD MTB System MTF
https://www.tradingview.com/script/AlzGGtK1/
PuzzlesAnalytik
https://www.tradingview.com/u/PuzzlesAnalytik/
6
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © PuzzlesAnalytik //@version=5 indicator("[PUZ] MACD MTB System MTF", overlay = false) timeframe = input.timeframe("", "Timeframe Value", group = "Timeframe") long_threshold_L1 = input...
PlurexSignalStrategy
https://www.tradingview.com/script/2niooM0e-PlurexSignalStrategy/
plurex
https://www.tradingview.com/u/plurex/
13
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © plurex //@version=5 // @description Provides functions that wrap the built in TradingView strategy functions so you can seemlessly integrate with Plurex Signal automation. // NOTE: Be sure to: // - set ...
BinaryInsertionSort
https://www.tradingview.com/script/ZudhdK9O-BinaryInsertionSort/
Trendoscope
https://www.tradingview.com/u/Trendoscope/
23
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © HeWhoMustNotBeNamed // __ __ __ __ __ __ __ __ __ __ __ _______ __ __ ...
ZigZag
https://www.tradingview.com/script/bzIRuGXC-ZigZag/
TradingView
https://www.tradingview.com/u/TradingView/
301
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © TradingView //@version=5 library("ZigZag", overlay = true) // ZigZag Library // v7, 2023.10.26 // This code was written using the recommendations from the Pine Script™ User Manual's Style Guide: // ht...
WelcomeUDT
https://www.tradingview.com/script/xKa2uR6d-WelcomeUDT/
RozaniGhani-RG
https://www.tradingview.com/u/RozaniGhani-RG/
9
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © RozaniGhani-RG //@version=5 // @description Library for Welcome UDT library('WelcomeUDT') //#region ———————————————————— Library functions // @type Initialize type values // @field ba...
json
https://www.tradingview.com/script/q1UyKVar-json/
kaigouthro
https://www.tradingview.com/u/kaigouthro/
23
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © kaigouthro //@version=5 //============================================ // @description Json dictionary functions, create, format, and write. library("json") // new (name , kind ) -> object // d...
Color
https://www.tradingview.com/script/h81hHWm5-Color/
Electrified
https://www.tradingview.com/u/Electrified/
3
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Electrified (electrifiedtrading) // @version=5 // @description Utility for working with colors. library('Color', true) ////////////////////////////////////////////////// // @function Determines if two co...
TableBuilder
https://www.tradingview.com/script/D8RKHenM-TableBuilder/
Electrified
https://www.tradingview.com/u/Electrified/
26
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Electrified (electrifiedtrading) // @version=5 // @description Utility for creating tables. library('TableBuilder', true) import Electrified/Color/8 //// Color Utility /////////////////////////////// get...
FrizBug
https://www.tradingview.com/script/wqHOinCt-FrizBug/
FFriZz
https://www.tradingview.com/u/FFriZz/
30
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © FFriZz //@version=5 // .--. .--. // _ ` \ / ` _ ...
TechnicalRating
https://www.tradingview.com/script/jDWyb5PG-TechnicalRating/
TradingView
https://www.tradingview.com/u/TradingView/
231
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © TradingView //@version=5 library("TechnicalRating") // TechnicalRating Library // v1, 2022.12.30 // This code was written using the recommendations from the Pine Script™ User Manual's Style Guide: // ...
Obj_XABCD_Harmonic
https://www.tradingview.com/script/bu99tQZF-Obj-XABCD-Harmonic/
reees
https://www.tradingview.com/u/reees/
248
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © reees //@version=5 // @description Harmonic XABCD Pattern object and associated methods. Easily validate, draw, and get information about harmonic patterns. See example code at the end of the script for...
ISODateTime
https://www.tradingview.com/script/UruWuNYe-ISODateTime/
thomastthai
https://www.tradingview.com/u/thomastthai/
0
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © thomastthai // @version=5 // @description Library functions to work with ISO 8601 date and time string. It's especially helpful on a daily timeframe when working with timestamp() for a time that occur...
fraction
https://www.tradingview.com/script/bhYERiBH-fraction/
kaigouthro
https://www.tradingview.com/u/kaigouthro/
3
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ //@version=5 // © kaigouthro import kaigouthro/calc/5 //@description Fraction Creation and Basic Operations, To/From Decimal(float), Comparison ( < / == / >), Add / Sub / Mult / Div, Invert polarity +/-, and...
TurntLibrary
https://www.tradingview.com/script/39SP8HxB-TurntLibrary/
EsIstTurnt
https://www.tradingview.com/u/EsIstTurnt/
10
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © EsIstTurnt //@version=5 // @description Collection of functions created for simplification/easy referencing. Includes variations of moving averages, length value oscillators, and a few other simple funct...
TrapCar
https://www.tradingview.com/script/sMStzTWK-TrapCar/
poppip
https://www.tradingview.com/u/poppip/
30
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Maestro37 //@version=5 indicator("Trap Car" , overlay = true , precision = 3 , max_labels_count = 500) smoothK = input.int(3, 'K', minval=1) smoothD = input.int(3, 'D', minval=1) lengthRSI = input.int(1...
Slope_TK
https://www.tradingview.com/script/yNDmge51-Slope-TK/
mentalRock19315
https://www.tradingview.com/u/mentalRock19315/
7
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © mentalRock19315 //@version=5 // @description This library calculate the slope of a serie between two points library("Slope_TK") // @function Return the slope between the actual bar and the older bar in ...
CAPM Model with Returns Table
https://www.tradingview.com/script/h6mg2CwM-CAPM-Model-with-Returns-Table/
Mishari_Alr
https://www.tradingview.com/u/Mishari_Alr/
4
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Mishari_Algos //@version=5 indicator("CAPM Model with Returns Table", shorttitle = "CAPM MODEL", overlay=false, precision = 3) // User inputs benchmarkSymbol = input.symbol ("CRYPTOCAP:TOTAL") riskFreeRa...
MarketStructure
https://www.tradingview.com/script/0c17A7v9-MarketStructure/
SimpleCryptoLife
https://www.tradingview.com/u/SimpleCryptoLife/
93
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © SimpleCryptoLife //@version=5 // @description This library contains functions for identifying Lows and Highs in a rule-based way, and deriving useful information from them. library("MarketStructure", ov...
Moving Average of Volume for Up and Down Closes
https://www.tradingview.com/script/vbCQ6dwt-Moving-Average-of-Volume-for-Up-and-Down-Closes/
mfgfund
https://www.tradingview.com/u/mfgfund/
22
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © mfgfund //@version=5 indicator("Moving Average of Volume for Up and Down Closes", overlay = false) // Input for moving average length length = input.int(7, title = "MA Length") // Calculate the moving a...
Encoder Decoder
https://www.tradingview.com/script/CTaTaW9e-Encoder-Decoder/
f4r33x
https://www.tradingview.com/u/f4r33x/
3
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © f4r33x //@version=5 // @description Example how to encode some values into float number library("Encoder\Decoder", overlay = true) import f4r33x/fast_utils/1 as fu // @function Encode parameter // @retu...
font
https://www.tradingview.com/script/vmuJYczR-font/
kaigouthro
https://www.tradingview.com/u/kaigouthro/
15
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © kaiouthro // credits: @wlhm and @Duyck // Thanks to Pine Script Community who made this library function exist on Pine script. //@version=5 // @description Unicode Characters Replacement function for str...
Highlight Momentum Candles + 3MAs
https://www.tradingview.com/script/Hxvmyzrv-Highlight-Momentum-Candles-3MAs/
TechnicallyMark
https://www.tradingview.com/u/TechnicallyMark/
5
study
4
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © TechnicallyMark //@version=4 study(title="Highlight Momentum Candles", overlay=true) bullPercentChange = input(defval = 3, title="% Change", group = "Bull Momentum") bullWickTopPercent = input(def...
High Alert
https://www.tradingview.com/script/cyHGnT4d-High-Alert/
abhiiiish27
https://www.tradingview.com/u/abhiiiish27/
5
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © abhiiiish27 //@version=5 indicator("High Alert", overlay=true) // Get the opening price of the current day currentDayOpen = request.security(syminfo.tickerid, "D", open) // Get the high price of the prev...
Market Sessions
https://www.tradingview.com/script/ihMXpnyN-Market-Sessions/
GreatestUsername
https://www.tradingview.com/u/GreatestUsername/
4
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © GreatestUsername //@version=5 indicator("Market Sessions", overlay=true, max_lines_count = 500) marketOpenHour = input.int(13) marketOpenMinutes = input.int(00) marketCloseHour = input.int(22) marketClos...
Week designation
https://www.tradingview.com/script/xz1EQKvB/
Matboom
https://www.tradingview.com/u/Matboom/
4
study
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Matboom //@version=5 indicator("Week designation", overlay = true) color_day = input.color(color.new(color.black,50)) color_week = input.color(color.new(color.black,30)) color_month = input.color(color.n...
norminv
https://www.tradingview.com/script/tyDsKVfp-norminv/
loxx
https://www.tradingview.com/u/loxx/
6
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © loxx //@version=5 // @description An inverse normal distribution is a way to work backwards // from a known probability to find an x-value. It is an informal term and // doesn't refer to a particular...
AkselitoLibrary
https://www.tradingview.com/script/rx9SBsPK-AkselitoLibrary/
akselanil
https://www.tradingview.com/u/akselanil/
8
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © akselanil //@version=5 // @description TODO: add library description here library("AkselitoLibrary") // @function TODO: add function description here // @param x TODO: add parameter x description here /...
combin
https://www.tradingview.com/script/gKZlsr7P-combin/
loxx
https://www.tradingview.com/u/loxx/
5
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © loxx //@version=5 // @description The combin function is a the combination function // as it calculates the number of possible combinations for two given numbers. // This function takes two arguments: ...
ctnd
https://www.tradingview.com/script/9wSBJOVV-ctnd/
loxx
https://www.tradingview.com/u/loxx/
2
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © loxx //@version=5 //@description double precision algorithm to compute the cumulative trivariate normal distribution // found in A.Genz, Numerical computation of rectangular bivariate and trivariate norm...
Strategy PnL Library
https://www.tradingview.com/script/TDx6il5e-Strategy-PnL-Library/
serkany88
https://www.tradingview.com/u/serkany88/
23
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © serkany88 //@version=5 // @description TODO: This is a library that helps you learn current pnl of position and use it to create your own dynamic take profit or stop loss rules based on current level of ...
EconomicCalendar
https://www.tradingview.com/script/FAShzjTK-EconomicCalendar/
jdehorty
https://www.tradingview.com/u/jdehorty/
144
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © jdehorty //@version=5 // @description This library is a data provider for important Dates and Times from the Economic Calendar. library(title='EconomicCalendar') // @function Returns the list of dates su...
normsinv
https://www.tradingview.com/script/yWZIyqXu-normsinv/
loxx
https://www.tradingview.com/u/loxx/
11
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © loxx //@version=5 // @description Returns the inverse of the standard normal cumulative distribution. // The distribution has a mean of zero and a standard deviation of one; i.e., // normsinv ...
cndev
https://www.tradingview.com/script/qHvp8irj-cndev/
loxx
https://www.tradingview.com/u/loxx/
11
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © loxx //@version=5 // @description This function returns the inverse of cumulative normal distribution function // Reference: // The Full Monte, by Boris Moro, Union Bank of Switzerland . RISK 1995(2) l...
inChart - Lib
https://www.tradingview.com/script/6VJNfowl-inChart-Lib/
tv94067
https://www.tradingview.com/u/tv94067/
4
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © tv94067 //@version=5 // determine if price value is between chart high + x% and low - x% on the visible chart. library("inChart", true) // @function Condition to determine if a given bar is visib...
ta
https://www.tradingview.com/script/UZQxuS7X-ta/
LucF
https://www.tradingview.com/u/LucF/
36
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © LucF //@version=5 // @description This library is a Pine Script™ programmer’s tool containing calcs for my oscillators and some helper functions. library("ta") // ta // v3, 2023.04.06 13:46 — LucF // T...
fastlog2
https://www.tradingview.com/script/FDyt1hGn-fastlog2/
loxx
https://www.tradingview.com/u/loxx/
12
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © loxx //@version=5 // @description Returns the approximation of Log2 with the maximal error of: 0.000061011436 // Reference: // https://www.anycodings.com/1questions/2553538/efficient-implementation-of-na...
na_skip_highest
https://www.tradingview.com/script/jjCpBZhX-na-skip-highest/
tartigradia
https://www.tradingview.com/u/tartigradia/
7
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © tartigradia //@version=5 // @description Finds the highest historic value over len bars but skip na valued bars (eg, off days). In other words, this will ensure we find the highest or lowest value over l...
KernelFunctions
https://www.tradingview.com/script/e0Ek9x99-KernelFunctions/
jdehorty
https://www.tradingview.com/u/jdehorty/
286
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © jdehorty // @version=5 // @description This library provides non-repainting kernel functions for Nadaraya-Watson estimator implementations. This allows for easy substition/comparison of different kernel f...
PlurexSignal
https://www.tradingview.com/script/nOspQMBE-PlurexSignal/
plurex
https://www.tradingview.com/u/plurex/
12
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © plurex //@version=5 // @description Provides functions that wrap the built in TradingView strategy functions so you can seemlessly integrate with Plurex Signal automation. // NOTE: Be sure to set y...
Trig
https://www.tradingview.com/script/jD9XwGxd-Trig/
reees
https://www.tradingview.com/u/reees/
24
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © reees //@version=5 // @description Trigonometric functions library("Trig", overlay=true) import reees/Algebra/3 as alg //------------------------------------------------------------------------...
ahpuhelper
https://www.tradingview.com/script/PIlJVLfj-ahpuhelper/
Trendoscope
https://www.tradingview.com/u/Trendoscope/
21
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © HeWhoMustNotBeNamed // ░▒ // ▒▒▒ ▒▒ // ▒▒▒▒▒ ▒▒ // ...
PineHelper
https://www.tradingview.com/script/PF8Z93jp/
dokang
https://www.tradingview.com/u/dokang/
18
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © dokang //@version=5 // @description This library provides various functions to reduce your time. library("PineHelper", overlay = true) // @function get a recent opentrade entry bar_in...
obvFilter
https://www.tradingview.com/script/ZTrzbxlX-obvFilter/
jordanfray
https://www.tradingview.com/u/jordanfray/
14
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © jordanfray //@version=5 // @description TODO: Everything you need to add an OBV filter to a trading strategy // ADD THIS TO THE INDICATOR ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ▾ ...
MovingAverages
https://www.tradingview.com/script/ThOJEnKE-MovingAverages/
wuttikraim
https://www.tradingview.com/u/wuttikraim/
11
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // @version=5 library('MovingAverages', true) isLenInvalid(simple int len, simple string name = 'len') => if na(len) runtime.error("The '"+name+"' param cannot be NA.") true e...
TradersCustomLibrary
https://www.tradingview.com/script/0HCpeHTK-TradersCustomLibrary/
TradersCustom
https://www.tradingview.com/u/TradersCustom/
0
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © nj27548 //@version=5 // @description TODO: add library description here library("TradersCustomLibrary", overlay=true) export SelectOptimalTimeframeTrendlineSettings(string symbol) => if...
SupportResitanceAndTrend
https://www.tradingview.com/script/Pny09NhT-SupportResitanceAndTrend/
wuttikraim
https://www.tradingview.com/u/wuttikraim/
39
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // @version=5 // @description Contains utilities for finding key levels of support, resistance and direction of trend. library('SupportResitanceAndTrend',true) import wuttikraim/MovingAverages/1 as MA im...
FrostyBot
https://www.tradingview.com/script/wSc2YMV8-FrostyBot/
kaigouthro
https://www.tradingview.com/u/kaigouthro/
15
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ //@version=5 o__=' © kaigouthro ' // @description rostyBot-js JSON Alert Builder for Binance Futures and FTX orders // https://github.com/CryptoMF/frostybot...
Fibonacci
https://www.tradingview.com/script/QfwEZHhJ-Fibonacci/
reees
https://www.tradingview.com/u/reees/
115
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © reees //@version=5 // @description General Fibonacci functions. Get fib numbers, ratios, etc. library("Fibonacci",overlay=true) import reees/Utilities/2 as u //---------------------------------...
TR_Base_Lib
https://www.tradingview.com/script/j8S0S0Lv/
Tommy_Rich
https://www.tradingview.com/u/Tommy_Rich/
0
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Tommy_Rich //@version=5 // @description TODO: add library description here library(title ="TR_Base_Lib",overlay =true) ////// // //// global function group //// *******...
PEAKTROUGHLIB268
https://www.tradingview.com/script/u4Gukstr-PEAKTROUGHLIB268/
agungkuswanto
https://www.tradingview.com/u/agungkuswanto/
2
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © agungkuswanto //@version=5 library(title = "PEAKTROUGHLIB268", overlay=true) h4daysago = high[4] h3daysago = high[3] h2daysago = high[2] h1daysago = high[1] thePeakCond = h4daysago <= h3d...
AllTimeHighLow
https://www.tradingview.com/script/xZj2wmdS-AllTimeHighLow/
mehmegunes
https://www.tradingview.com/u/mehmegunes/
1
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © mehmegunes //@version=5 // @description Provides functions calculating the all-time high/low of values. library("AllTimeHighLow", true) // @function Calculates the all-time high of a series. //...
myAutoviewAlerts
https://www.tradingview.com/script/vYZ5U3Zw-myAutoviewAlerts/
incryptowetrust100k
https://www.tradingview.com/u/incryptowetrust100k/
7
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © incryptowetrust100k //@version=5 // @description My Alerts Functions - To use with autoview // @returns - These functions returns a string to use in alerts to send commands to autoview. You can open ...
L_Beta
https://www.tradingview.com/script/rOwfkhJU-L-Beta/
fourkhansolo
https://www.tradingview.com/u/fourkhansolo/
5
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © fourkhansolo //@version=5 // @description TODO: add library description here library("L_Beta")//, overlay=true) // **************************************** Importing Modules *******************...
Library: Array
https://www.tradingview.com/script/B4sp6K4x-Library-Array/
tuele99
https://www.tradingview.com/u/tuele99/
4
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © tuele99 //@version=5 // @description Additional functions for array. library(title="xarray", overlay=true) // n_args = 1 // @function Remove duplicates in arrays. // @param array_in (int[]/flo...
Demand Index
https://www.tradingview.com/script/phVPMpjQ-Demand-Index/
melihtuna
https://www.tradingview.com/u/melihtuna/
20
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © melihtuna //@version=5 library("DemandIndex") export di(int period = 10, int priceRange = 2, int smooth = 10) => p = (close - open) / open di = 0.0 va = 0.0 bp = 1.0 sp =...
Chaikin Money Flow - Library
https://www.tradingview.com/script/Jidt0Ejm-Chaikin-Money-Flow-Library/
melihtuna
https://www.tradingview.com/u/melihtuna/
15
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © melihtuna //@version=5 library("ChaikinMoneyFlow") export cmf(int length = 20, bool showma = true, int smalen = 5) => clv = high == low ? 0 : (close - low - (high - close)) / (high - low) ...
Tosch Stacked EMAs (Fibonacci)
https://www.tradingview.com/script/PPYLiduS-Tosch-Stacked-EMAs-Fibonacci/
AirshipPirate
https://www.tradingview.com/u/AirshipPirate/
4
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © AirshipPirate //@version=5 library("Tosch_Stacked_EMAs", overlay=true) //---------------------------- ma(length) => ta.ema(close,length) float ema05 = ma(5) float ema08 = ma(8) float ema13 =...
Tosch Market Sessions (US/GB/JP)
https://www.tradingview.com/script/o1HH2wHB-Tosch-Market-Sessions-US-GB-JP/
AirshipPirate
https://www.tradingview.com/u/AirshipPirate/
12
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © AirshipPirate //@version=5 // @description Returns if the NYSE, London SE, Tokyo SE are open library("Tosch_Market_Sessions", overlay=true) // @function Returns if the NYSE (US), London SE (GB),...
KlintLibrary
https://www.tradingview.com/script/brjV2vtb-KlintLibrary/
programmerder
https://www.tradingview.com/u/programmerder/
0
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © programmerder //@version=5 library("KlintLibrary", true) export GetDecimals() => ta.highest(20)
Utilities
https://www.tradingview.com/script/QuH9GE4Z-Utilities/
reees
https://www.tradingview.com/u/reees/
19
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © reees //@version=5 // @description General utilities library("Utilities", overlay = true) // //*********** Private ************ // print_array(a, position = position.bottom_center, show_ind...
lower_tf
https://www.tradingview.com/script/UxiDkNg0-lower-tf/
PineCoders
https://www.tradingview.com/u/PineCoders/
68
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © PineCoders //@version=5 library("lower_tf") // LTF Library // v4, 2023.03.25 // This code was written using the recommendations from the Pine Script™ User Manual's Style Guide: // https://www.tradingv...
Console
https://www.tradingview.com/script/AoHb5KPb-Console/
KLiC67
https://www.tradingview.com/u/KLiC67/
0
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © KLiC67 //@version=5 library("Console",overlay=true) // @function initialise: creates the message array // @param no parameters // @returns message array: this is assigned to the "console" id...
Algebra
https://www.tradingview.com/script/xPDChIFF-Algebra/
reees
https://www.tradingview.com/u/reees/
23
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © reees //@version=5 // Algebraic functions library("Algebra",overlay=true) //---------------------------------------------------------------------------- // Private //--------------------------...
ccIndidatorTime
https://www.tradingview.com/script/oBsdrmxw/
ccTradingCourse
https://www.tradingview.com/u/ccTradingCourse/
0
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © ccTradingCourse //@version=5 library("ccIndidatorTime") export isDateRange( int _fromYear=2020, int _fromMonth=01, int _fromDay=01, int _fromHour=0, int _fromSecond=0, int _endYear=2024,...
ccIndidatorDrawing
https://www.tradingview.com/script/SOLghKzD/
ccTradingCourse
https://www.tradingview.com/u/ccTradingCourse/
0
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © ccTradingCourse //@version=5 library("ccIndidatorDrawing") export showWarningTable() => table warnings = table.new(position.bottom_center, rows=3, columns=1, frame_width=1, frame_color=c...
TA
https://www.tradingview.com/script/5z2MSoiw-TA/
reees
https://www.tradingview.com/u/reees/
44
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © reees //@version=5 // @description General technical analysis functions library("TA",overlay=true) import reees/Algebra/3 as alg import reees/Trig/2 as trig import reees/Fibonacci/4 as fib impo...
MYX_LEAP_DB
https://www.tradingview.com/script/8iLqeIzE-MYX-LEAP-DB/
RozaniGhani-RG
https://www.tradingview.com/u/RozaniGhani-RG/
1
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © RozaniGhani-RG //@version=5 // @description TODO: Library for Malaysia LEAP Market library('MYX_LEAP_DB') // ————————————————————————————————————————————————————————————————————————————— db { /...
DegreeALine
https://www.tradingview.com/script/5Q10DJfV-DegreeALine/
atazed
https://www.tradingview.com/u/atazed/
13
library
5
MPL-2.0
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © atazed //@version=5 // @description TODO: add library description here library("DegreeALine",overlay=true) // @function TODO: add function description here // @param x1 First X coordinate of a ...