Best Scripts of the Month — 2020.04

We present you with our selection from the open-source indicators published this month on TradingView. These scripts are the ones that caught our attention while analyzing the two thousand or so scripts published each month in TradingView's Public Library, the greatest repository of indicators in the world. If we missed any, please let us know. Most of these scripts were selected on the basis of their potential to be useful in trading; others will be more useful to Pine coders.

This superb body of work constitutes unmistakable proof of the liveliness, ingenuity, and relentless creativity of the generous traders/programmers who not only give their time to write amazing scripts, but share their code with the world. Kudos to these very special humans.

Enjoy!



(JS) Squeeze Pro Overlays
J-Streak presents an overlay Squeeze indicator with lots of options.
(JS) Squeeze Pro Overlays

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Trend Following MAs 3D
LonesomeTheBlue publishes a 3D visualization of delta MAs.
Trend Following MAs 3D

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Auto Adjust To Ideal Pearson's R Oscillator
x11joe combines a long and short-term Pearson's R oscillator.
Auto Adjust To Ideal Pearson's R Oscillator

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Fancy Triple Moving Averages [BigBitsIO]
BigBitsIO creates a rare MA script bringing something original to the Library. His MAs can be calculated from different chart types, among other goodies such as forecasting.
Fancy Triple Moving Averages [BigBitsIO]

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


LUBE
We rarely include strategies in our list because authors rarely show realistic results, but the logic used in this script by Jomy was compelling and original enough for us this time.
LUBE

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Williams Fractal Trailing Stops
SimpleCryptoLife revisits Williams Fractals, using them to derive stops in a generously commented script.
Williams Fractal Trailing Stops

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


COVID Statistics Tracker & Model Projections by Cryptorhythms
theheirophant's script has to be the most complete COVID tracker we've seen so far, and it's open source.
COVID Statistics Tracker & Model Projections by Cryptorhythms

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Enhanced Time Segmented Volume
eylwithsteph publishes this, and two other takes on a well-presented volume and price balance indicator.
Enhanced Time Segmented Volume

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Fearzone Panel
kruskakli presents an indicator of Swedish origin that attempts to identify areas where trader fear has taken over.
Fearzone Panel

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Dynamic Money Flow
RezzaHmt publishes an adapted version of the Chaikin Money Flow Index with improvements he explains well and make sense to us.
Dynamic Money Flow

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


inwCoin Martingale Strategy ( for Bitcoin )
This is an educational strategy by Real_inwCoin showing how dangerous the Martingale position-sizing strategy is.
inwCoin Martingale Strategy ( for Bitcoin )

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


SPY Expected Move by VIX
LazySprinter presents a tool projecting possible moves of SPY-correlated markets using VIX.
SPY Expected Move by VIX

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Gap Filling Strategy
alexgrover presents a gap-based strategy with his usual rigor. It's refreshing to see an author who understands backtesting and the inherent incompleteness of single test runs presented on a single symbol/timeframe pair with a given set of parameters. Accordingly, Alex goes through the results of a few different test runs with the objective of, rather than finding the one with the splashiest results, understanding the characteristics of his strategy. We wish more strategies were presented this way by authors.
Gap Filling Strategy

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Yield Curve Percent Inverted
nj_guy72 publishes an indicator analyzing inverted T-Bond yield spreads. They normally indicate a relative lack of confidence in the short-term vs the long-term outlook, which in turn can predate recessions.
Yield Curve Percent Inverted

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


[e2]Absolute Retracement
Clear code and impeccable visuals are e2e4mfck's trademark. This publication is no exception. It includes many options to calculate and display SR levels.
[e2] Absolute Retracement

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Pivot Point Supertrend
LonesomeTheBlue's original take on SuperTrend. It's using weighted past pivots to determine starting levels and calculations aimed at keeping traders in trends longer, so more generous than the usual SuperTrend. It also has a slew of options to help traders, including SR levels.
Pivot Point Supertrend

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Bar Balance [LucF]
LucF mines up/down/neutral intrabars and calculates their balance to show the strength of price movements.
Bar Balance [LucF]

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═




█ CODER UTILITIES


Nth-Occurrence Custom barssince() Function by Cryptorhythms [CR]
Aha moments are what make progress possible. theheirophant brings Pine coders one of those moments with this function that allows you to get the number of bars since the nth occurrence of an event.
Nth-Occurrence Custom barssince() Function by Cryptorhythms [CR]

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Filter Information Box - PineCoders FAQ
alexgrover gives coders a tool to evaluate signal-processing filters.
Filter Information Box - PineCoders FAQ

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Function Highest/Lowest by PeterO
Peter_O publishes functions allowing coders to get the highest/lowest values since a condition occurred.
Function Highest/Lowest by PeterO

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


FUNCTION: Specify lengths in time (or bars)
yatrader2 gives coders a function to derive periods from time lengths.
FUNCTION: Specify lengths in time (or bars)

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Heikin-Ashi Source Function
allanster has a history of pumping out great little snippets you will see reused all over the place. We'll bet on the usual outcome for this one.
Heikin-Ashi Source Function

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Z-Histogram
alexgrover presents a Z-Score histogram that is not only useful, but is also an exercise in conciseness, in typical alexgrover fashion.
Z-Histogram

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


[RESEARCH] Symbol Info Helper
This helper code by everget shows the breadth of information now available on symbols in Pine, but also demonstrates an efficient and elegant way of handling label code to display an information panel. We somehow missed this in March.
[RESEARCH] Symbol Info Helper

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═


Pseudo-Random Number Generators via Pine Script
midtownsk8rguy gives us three pseudo-random number generators.
Pseudo-Random Number Generators via Pine Script

═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
BESTTechnical Indicatorsmonthpinecoders

Tools and ideas for all Pine coders: pinecoders.com
Our Pine FAQ & Code: pinecoders.com/faq_and_code/
Pine news broadcasts: t.me/PineCodersSquawkBox or twitter.com/PineCoders
Also on:

Related publications

Disclaimer