Best Editors' Picks of 2023We present our awards for the best Editors' Picks of 2023! This marks our second year of recognizing outstanding open-source Community scripts. From the 84 picks in 2023, our PineCoders have cast their votes, highlighting three exceptional indicator scripts and one outstanding library. Each author of these noteworthy entries will receive 100,000 TradingView coins.
The awardees:
• Intrabar Analyzer by KioseffTrading
• Machine Learning: Lorentzian Classification by jdehorty
• Harmonic Patterns Based Trend Follower by Trendoscope
• SimilarityMeasures by RicardoSantos
Congratulations to the winners, and a heartfelt thank you to all Pine Script™ coders who contribute their open-source publications to our Community scripts . We eagerly anticipate another year of remarkable scripts in 2024!
What are Editors' Picks ?
The Editors' Picks showcase the best open-source script publications selected by our PineCoders team. Many of these scripts are original and only available on TradingView. These picks are not recommendations to buy or sell anything, nor to use a specific indicator. Our aim is to highlight the most interesting recent publications to encourage learning and sharing in our community.
Any open-source Community scripts can be picked if they're original, provide good potential value to traders, include helpful descriptions, and comply with the House Rules.
Pinecoders
3 Must-haves for Top TradersStats published by exchanges clearly show that 80% of traders lose money. So the inquiry is not “how to get into the top 20%?” Who wants to settle for mere profitability? The inquiry becomes “how do I get into the upper 3% of traders?” - The “fly around in private jets” and “build whole schools in Africa” traders?
The answer is simple. Stop being human. It’s our human emotions that trip us up every time. We close winning trades too early (take the money and run) and hang onto losing trades too long (pray for a miracle).
Top traders (the ones with private jets) have one thing in common. They all know how to code. And they automate their trading to take the human element out of it. So here’s your quick list of must-haves skills and tools to invest in. Your best investments to get you into the upper 3%. The journey from staring at your computer doing live Technical Analysis to sitting on the beach while your bot trades for you.
Get Tradingview Premium. If you’re serious about making money, you need the ability to back-test. The deep-backtester that comes with a premium level account is going to give you the accurate results you need. Trading code that hasn’t been properly back-tested and optimized is a game of russian roulette. The money you make from trading well tested strategies will pay for this investment ten-fold. Which brings me to my third and final point, optimization.
Master Pine Script. Shout-out here to Matt Slabosz who developed Pine Script Mastery - an excellent overview course for beginners. Matt is not only a solid trader and exceptional coder, his true brilliance is being able to explain complex coding concepts in simple terms. Given that the last time I’d coded was punching fortran cards in University, taking his course was a pleasant surprise in how easy and addictive learning to code Pine Script can be.
Optimize your strategy. There are solid strategies published on tradingview that look unprofitable at first glance. That’s simply a matter of knowing the correct settings for the derivative and market conditions you’re trading. So you have two choices.
Sit at your computer all night and run scenarios on the deep back-tester, or
Buy an optimization tool that will run scenarios while you sleep.
Being way past the age where I’m willing to give up my sleep, the answer, for me, is a no-brainer. TradingTools.software is my top pick for optimizing your TradingView strategy. It allows you to pinpoint the weak areas of your strategy down to the window of where the biggest losses are occuring. This information is pure gold to creating strategies to filter against market conditions where your automated strategy would otherwise fail.
Learning the skills and buying the tools you need is critical to mastering any profession. Trading is no different.
Making Your First Indicator: Introduction to Pine Script Welcome back, traders! In today's video, we'll explore the powerful features of the Pine Script™ Editor, where we'll be working on our scripts. This editor offers a range of advantages that make our coding experience more efficient and enjoyable.
The Pine Script™ Editor is specially designed for writing Pine scripts, and it brings several benefits to the table. First, it highlights your code according to Pine Script™ syntax, making it easier to read and identify any errors. Additionally, it provides syntax reminders for built-in and library functions when you hover over them, helping you navigate the language effectively.
Furthermore, the Pine Script™ Editor offers quick access to the Pine Script™ v5 Reference Manual. Just Ctrl+Click (Cmd+Click on Mac) on a Pine Script™ keyword, and a handy popup with relevant information will appear. This allows you to explore the documentation without leaving the editor.
To speed up your coding process, the editor provides an auto-complete feature. Just press Ctrl+Space (Cmd+Space on Mac), and it will suggest code completions based on what you're typing, saving you time and reducing errors. These features combined make coding in Pine Script™ a breeze!
While not as feature-rich as some top editors out there, the Pine Script™ Editor still offers essential functionalities such as search and replace, multi-cursor support, and versioning. It's a reliable tool for writing and managing your Pine scripts effectively.
Now, let's dive into the practical aspect of using the Pine Script™ Editor. To open it, click on the "Pine Script™ Editor" tab at the bottom of your TradingView chart. This will bring up the editor's pane, ready for you to start coding.
For our demonstration, we'll create our first working Pine script, an implementation of the MACD indicator. Let's walk through the steps together:
Click on the "Open" dropdown menu at the top right of the editor.
Select "New blank indicator" to start from scratch.
Replace the existing code in the editor with the example script you see pasted here on my screen.
Click "Save" and give your script a name. It will be saved in your TradingView cloud account.
Finally, click "Add to Chart" in the editor's menu bar to see the MACD indicator in a separate pane below your chart.
Great job! Your first very own Pine script is running on your chart, and the MACD indicator is now displayed on your screen. Keep an eye on those blue and orange lines representing the MACD and signal values, respectively.
Now, let's level up our script by using built-in Pine Script™ functions. The second version of our script will showcase the ta.macd() function, specifically designed for calculating the MACD indicator.
To create the second version of our script, follow these steps:
Open the "New blank indicator" option from the "Open" dropdown menu.
Replace the existing code in the editor with the example script you see pasted here on my screen.
Save the script with a different name.
Click "Add to Chart" to see the updated "MACD #2" indicator in a separate pane.
Well done! In this version, we introduced inputs to allow us to change the lengths of the moving averages. By using the ta.macd() built-in function, we simplified the code and made it more readable.
With the second version of our script, we have improved our code and made it more flexible. Now, we can easily adjust the lengths of the moving averages, tailoring the indicator to our needs.
That's a wrap for this video, traders! We've explored the Pine Script™ Editor, created our first two versions of the MACD indicator, and learned valuable coding techniques. Stay tuned for the next episode, where we'll continue enhancing our indicators and strategies with Pine Script™. If you have any questions or ideas for future episodes, feel free to reach out to me. Until next time!
Best Editors' Picks of 2022This year, we introduce the awards for the Best Editors' Picks of the year. Among the 84 selections of 2022, our PineCoders voted these four script publications as the most outstanding. Each of the authors of these four scripts will receive 50,000 TradingView coins.
These are all open-source, freely available scripts, which their authors have generously chosen to publish publicly so that all Tradingviewers may use and learn from them. We are immensely grateful to these authors and all others Pine Script™ programmers contributing to our ever-growing Community Scripts .
The four winners are:
Volume Profile Volume Delta OI Delta
Double Tap
R:R Trading System Framework
Next Pivot Projection
We look forward to seeing more amazing scripts in 2023!
What are Editors' Picks ?
The Editors' Picks showcase the best open-source script publications selected by our PineCoders team. Many of these scripts are original and only available on TradingView. These picks are not recommendations to buy or sell anything, nor to use a specific indicator. Our aim is to highlight the most interesting recent publications to encourage learning and sharing in our community.
Any open-source script publication in the Community Scripts can be picked if it is original, provides good potential value to traders, includes a helpful description, and complies with the House Rules.
Coding StyleWhen a coder creates something new, mostly that is with his/her own style. This makes them artists in a way I believe :)
While it is nice to develop a specific style, writing things on a certain way can be very important to understand better what is written.
This example shows a style, while it is possibly nice to see, is very hard to decipher...
Here is the same code, written in a different way, making it easier to read.
indicator("ConeCode-Linefill,educational", max_lines_count=500, overlay=true)
color1 = input.color(color.new(color.blue , 35), 'color 1')
color2 = input.color(color.new(color.lime , 35), 'color 2')
color3 = input.color(color.new(color.red , 35), 'color 3')
iFill = input.bool (true,'fill')
s1 = ta.sma (close, 1000)
s2 = ta.sma (close, 200)
l1 = plot (s1 , 'l1')
l2 = plot (s2 , 'l2')
topVal = s1 > s2 ? math.min(s1, s2) : math.max(s1, s2)
botVal = s1 > s2 ? math.max(s1, s2) : math.min(s1, s2)
topCl = iFill ? s1 > s2 ? color3 : color1 : na
botCl = iFill ? s1 > s2 ? color1 : color2 : na
fill(l1, l2, topVal, botVal, topCl, botCl)
█ More information:
Coding style: Pine Script™ v5 User Manual/Writing scripts/Style guide
Script description: How PineCoders Write and Format Script Descriptions
$FB Top/BottomUsing KioseffTrading's Tops/Bottoms indicator and it looks like it is setting up nicely with a 78.57% correct ratio. The data tables there show the % correct, which backs the data tested & provided. Due to bad earnings back in Feb. we saw a huge sell off and a bouncing range of 169-237 with an average of 217.
How We Write and Format Script DescriptionsThis idea shows the published result of the example script description used in our How PineCoders Write and Format Script Descriptions page available on our website, where you can see the marked up text used to format the description. Some of the techniques we use are described right here, in this description, but more information is available from the website.
═════════════════════════════════════════════════════════════════════════
█ OVERVIEW
We begin our descriptions with an "Overview" section, keeping in mind that these first sentences will appear in the widget of the published script. The widget is the small thumbnail representing your script in the Scripts stream or in your user profile's "Scripts" tab. When users click on your script's widget , they open your script's page .
█ CONCEPTS
Besides plain paragraphs of body text like this one, sections can contain:
Numbered lists
We placed an empty line before this sub-section and used bold type for its header. Numbered lists work well for instructions divided into steps, or for lists introduced by specifying a finite number of elements. This numbered list contains three items:
1 — We use a number + space + Em dash + space to prefix items. As we do for bulleted lists, we manually break long elements into individual lines shorter than a script page's width so we can indent the item correctly. Otherwise it would appear like this one, which is inelegant and makes the list more difficult to read.
2 — This is a properly broken element. We try to break items after a sentence or a comma. If that's not possible, we break sentences where pauses will affect legibility the least.
You will often need to preview an element's text to determine which lines require manual breaks, as the editing window may have any width.
We prefix lines following the first one with two Em spaces in order for them to align correctly, as is done with this line, the previous and the following ones.
This makes the next items easier to read. Try to make the last line of multiple line elements the shortest.
3 — This element is easier to read because the previous lines are indented.
Bulleted lists
Bulleted lists work the same way as numbered lists, except that:
• They are prefixed with Em space + bullet + space.
• When an item requires its lines to be broken manually, we indent the lines after the first one with two Em spaces.
Second line introducing an indented bulleted list:
• First line of second bulleted list which is prefixed with three Em spaces. This first item is too long and will require manual line breaking.
We prefix this second line with four Em spaces.
• Second item.
• Last item of our bulleted list.
Sub-sections containing one or more paragraphs
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
█ OTHER SECTIONS
These are some common other types of sections we use, as needed. Keep section titles short:
• FEATURES: to describe the detailed features of the script, usually arranged in the same order as users will find them in the script's inputs.
• HOW TO USE
• LIMITATIONS: where we mention any shortcomings of our script, such as that it plots using offsets into the past, or doesn't work on certain types of charts,
or is less reliable in certain market conditions, for example.
• RAMBLINGS: where we discuss points of view or hypotheses.
• NOTES
• THANKS: where we credit authors who have provided either code or inspiration for our work. We will often mention authors by using a hyperlink to their scripts page,
as when we thank the Maestro, RicardoSantos .
═════════════════════════════════════════════════════════════════════════
A clear separation between major parts of your description can be indicated by several empty lines above and below a line made of the double-line character, U+2550 (═), which renders without gaps in the Trebuchet font TradingView uses.
What Is Good Code?Programmers are artisans—not scientists. Our code must work, yet good code is not only tested and functional; it is a pleasure to read. Good code is that which others can learn from and enjoy the most. It is beautiful. It oozes the care that went into each line, leaving only those with unassailable purpose. Good code is whole; lines cannot be removed without compromising one of any good program's essential qualities: functionality, readability, elegance.
Good code is as often ingenious as it appears to be obvious. Its elegance masks the programmer's labor, like a ballerina twirling on stage. Good code frequently makes comments unnecessary, yet they conveniently appear in complex passages to assist the reader. Good code reflects a programmer's agility in cycling between the macro and micro views of his code; better programmers are both astronomers and particle physicists. They are also artists.
Good code is equally usable by other coders and by users of the program. It is always the work of an optimist because it represents an investment for the future, a proud bet the coder's effort is worth it because his code will last. If it does, it will shine as good code does when it must be revisited by its author or someone else.
Like wine, good code sits in silence during its making. Aging code allows us to shape missing elements and recognize superfluous bits. Code reveals the intimate nature of its maker. It brings to light an author's thought processes and how he expresses them. Only good humans can write good code, people who care for their work, and for those who will use its result.
This is the code we used to create this chart:
//@version=4
//@author=LucF, for PineCoders
study("Good Code", "", true, scale = scale.none, max_labels_count = 500)
int i_charsPerLine = input(300, step = 50)
int i_lines = input(160, step = 50, maxval = 499)
var string letters = array.from("G", "o", "o", "d", "C", "o", "d", "e")
var int lettersQty = array.size(letters)
// Create i_lines strings of i_charsPerLine randomly selected characters from our array.
if barstate.islast
// Cover the chart with random pattern of characters.
for _i = 1 to i_lines
string _textLine = ""
for _j = 1 to i_charsPerLine
_textLine += array.get(letters, int(random(0, lettersQty - 1)))
label.new(bar_index , _i, _textLine, style = label.style_none, size = size.normal)
// Overprint the larger text in the middle a few times to gain density.
label.new(bar_index , i_lines / 2, "Good Code", style = label.style_none, size = size.huge, textcolor = color.blue)
label.new(bar_index , i_lines / 2, "Good Code", style = label.style_none, size = size.huge, textcolor = color.black)
label.new(bar_index , i_lines / 2, "Good Code", style = label.style_none, size = size.huge, textcolor = color.black)
Best Scripts of the Month — 2020.06We 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!
Time Range Statistics
alexgrover continues to mine time series for all they are worth. This script shows traders some key statistics for a symbol.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
BTC difficulty adjustments
BTC_JackSparrow uses Quandl data to show periodic BTC difficulty adjustments.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Bayesian BBSMA Oscillator
tista builds a model calculating the probability of an eventual up/down movement.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Binomial Option Pricing Model
We see more and more scripts dedicated to options trading. SegaRKO presents a method that works on more types of options than the Black-Scholes Model.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Funamental and financials
sjakk mines a stock's fundamentals using the new `financial()` function and presents them in a usable format.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
VAMA Volume Adjusted Moving Average Function
A volume-adjusted moving average calculated using a technique by Richard Arm, brought to us by allanster .
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Hull Candles
Indicator designers are just beginning to scratch the surface of price representation on charts. BigBitsIO takes us further on that path with this well-designed take on candles using a very appropriate Hull MA to build and color them.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Support Resistance MTF
LonesomeTheBlue provides S/R levels from a user-selected timeframe without using `security()` and displays them in a useful way.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
SwingArm ATR Trend Indicator
vsnfnd provides a trend-following trading system based on ATR.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Trend Quality
kruskakli 's script uses MA states and their relative positions to derive an interesting take on the current state of the trend.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Stochastic Weights - Basic
BigBitsIO introduces a Stoch indicator allowing the signal to be composed of weighed variations of the Stoch signal.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Donchian HL Width - Cycle Information
RicardoSantos calculates the relationship between high/low and Donchian channels as a percentage, and uses that information to detect cycles.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
TF Segmented Linear Regression
alexgrover allows traders to see periodic linear regressions calculated from a user-selected timeframe.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
█ CODER UTILITIES
Periodic Ellipses
alexgrover comes up with the first Pine code we see that draws ellipses.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Best Scripts of the Month — 2020.05This month, something great happened. We selected one script to be featured in this monthly list and, as usual, mentioned it in the script's comment section. The next day we received a report on the script from a watchful TV member, and the script's comment section soon lit up with questions as to why the script had been selected. Problem was that, unbeknownst to us, it was too closely inspired by a script from one of the platform's respected coders. It didn't take long for us to realize our error, and so we retracted.
What went on in that script's comment section made us proud to be part of this community, and it proves without a shadow of a doubt that we are not alone, that you are with us in this endeavor to help the best rise to the top, which also involves calling out what's inappropriate when needed. It also proves that if we err, as we occasionally inevitably will, you will be there to keep a watchful eye on our slips. It is an honor for us to participate in this with you all, and we are lucky to have you because you speak up when it's needed. Together, we can do a better job than any of us could alone. From the bottom of our hearts, thank to you all—and especially to those who disagreed openly with our decision on that script.
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!
Stochastic Heat Map
How information is presented can be as important as the information itself. You've probably never seen Stoch like Violent shows it here.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Vortex MTF
melihtuna publishes an addition to the trend-identifier family with his MTF version of the Vortex indicator.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Fancy Bollinger Bands
It's a rare thing when an Nth Bollinger Bands script adds something interesting to the classic indicator. BigBitsIO does it by providing different options to select different bar types and timeframes to source their calc, and a forecasting feature.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
RedK_Supply/Demand Volume Viewer v1
RedKTrader publishes a volume indicator where he uses the bar's structure to determine supply/demand volume.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Separated Moving Average - evo
Selective moving averages can reveal new aspects of price action. That is exactly what EvoCrypto does here by calculating different averages for up and down bars.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Function - Logistic Equation
The one and only Pine Maestro, RicardoSantos , gives us another one of his inventions, which models the changes in the relationship between price action and a measure of volatility.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Correlation Cycle, CorrelationAngle, Market State - John Ehlers
Scripts with lots of options allowing them to be used in different ways empower traders. midtownsk8rguy presents us with a correlation script that gives the word "study" true meaning.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
US Fed Balance Sheet
NeoButane provides easy access to some of the US Fed assets available from Quandl.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Mawreez' RSI Divergence Detector
Contrary to the typical RSI divergence indicator, Mawreez quantifies the magnitude of the divergences. We also appreciated the down-to-earth and cautionary tone of his presentation.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Reminder Message (with color picker) - ApopheniaPays
There are many ways a Pine programmer can be useful to traders. ApopheniaPays finds a new one here.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Revolution Volatility Bands With Range Contraction Signal VII
MitozLakin publishes a volatility indicator which identifies contractions, so points from which price can be expected to move.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Correlation with P-Value & Confidence Interval
balipour brings correlation measurement to another level, adding an option on the calculation itself, but also putting a p-value and bands into play.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Simplistic Automatic Growth Models
RicardoSantos calls his calculations "simplistic" ) While they aren't simplistic to us, we find them really interesting.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
ATR Based Trendlines - JD
If one coder can be associated to trendlines on TradingView, it's this creative man. In this script, Duyck draws trend lines using ATR.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
█ CODER UTILITIES
ALMA Function - Arnaud Legoux Moving Average
kurtsmock adds to the Pine coder toolbox by providing an ALMA function accepting a "series float" as its period.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Statistical Histogram with configurable bins and Data Window
Hook up any source to this script and a.tesla2018 a.tesla2018 will show you a histogram of its distribution.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
security free MTF example - JD
Duyck shows how to gather HTF OHLC values without using `security()`. The technique used has the advantage of providing `high` and `low` values instantly, as they develop through the HTF's dilation of chart bars, so your script will be getting values faster than with `security()`, with the compromise that their values will update during the HTF bar, both on historical and the realtime chart bars. Far from invalidating the technique used, this method suits many HTF calcs perfectly. It's just a matter for script designers to decide if using repainting data corresponds to the requirements of their calculations. Note that unlike `security()` calls that cheat by using future data using `lookahead=barmerge.lookahead_on` and no offset of 1 on the series, Duyck's code will never use future data.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Best Scripts of the Month — 2020.04We 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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Trend Following MAs 3D
LonesomeTheBlue publishes a 3D visualization of delta MAs.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Auto Adjust To Ideal Pearson's R Oscillator
x11joe combines a long and short-term Pearson's R oscillator.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Fancy Triple Moving Averages
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Williams Fractal Trailing Stops
SimpleCryptoLife revisits Williams Fractals, using them to derive stops in a generously commented script.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Enhanced Time Segmented Volume
eylwithsteph publishes this, and two other takes on a well-presented volume and price balance indicator.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Fearzone Panel
kruskakli presents an indicator of Swedish origin that attempts to identify areas where trader fear has taken over.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Dynamic Money Flow
RezzaHmt publishes an adapted version of the Chaikin Money Flow Index with improvements he explains well and make sense to us.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
inwCoin Martingale Strategy ( for Bitcoin )
This is an educational strategy by Real_inwCoin showing how dangerous the Martingale position-sizing strategy is.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
SPY Expected Move by VIX
LazySprinter presents a tool projecting possible moves of SPY-correlated markets using 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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Bar Balance
LucF mines up/down/neutral intrabars and calculates their balance to show the strength of price movements.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
█ CODER UTILITIES
Nth-Occurrence Custom barssince() Function by Cryptorhythms
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Filter Information Box - PineCoders FAQ
alexgrover gives coders a tool to evaluate signal-processing filters.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Function Highest/Lowest by PeterO
Peter_O publishes functions allowing coders to get the highest/lowest values since a condition occurred.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
FUNCTION: Specify lengths in time (or bars)
yatrader2 gives coders a function to derive periods from time lengths.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Z-Histogram
alexgrover presents a Z-Score histogram that is not only useful, but is also an exercise in conciseness, in typical alexgrover fashion.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
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.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Pseudo-Random Number Generators via Pine Script
midtownsk8rguy gives us three pseudo-random number generators.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Best Scripts of the Month — 2020.03We 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!
RedK_Directional Index / K xDMI
RedKTrader revisits DMI/ADX, both from a visual and structural perspective. He offers interesting variations in its calculations. Have a look.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
VQZL Z-Score
eylwithsteph gives us a Z-Score standardized Volatility Quality Zero Line which should provide more normalized ranges across instruments.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Uhl MA Crossover System
alexgrover presents a crossover between two distinct, but related, adaptive moving averages derived from an Andreas Uhl concept: the Corrected Moving Average (CMA).
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Vicious Mortgage Rates V1.0
TheViciousVB aggregates QUANDL mortgage rates from Wells Fargo.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Majors Volume Sum
RicardoSantos treats us to some number manipulation wizardry to provide a readable display of ForEx majors volume divided in 3 different periods. The indicator also comes with an oscillator.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Volume Profile
makit0 gives us a Volume profiling tool crafted with much attention to details. Plots 6 key values and can do sessions. This one slipped by us in February. Sorry Makit0.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Delta Volume Candles
LucF brings an overlay version of his Delta Volume Columns indicator to the Library. It uses intrabar inspection to fetch finer resolution buy/sell volume information and displays it using candles.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
CME Equity Futures Price Limits
NeoButane comes out with an indicator adapted to these times. It shows the limits for breaker prices by deducting them from the previous session.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Modified OBV w/ Divergence Detection by Cryptorhythms
theheirophant presents Apirine's version of OBV to which he adds divergence detection.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Trend Following Moving Averages
LonesomeTheBlue provides a heatmap interpretation of an MA ribbon to be used in a pane rather than in overlay mode.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Automatic Trendlines
When BacktestRookies comes out with something new, it's a good bet that it will be worth looking at. This time it's a trend lines indicator.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Bar Pattern Statistics Tool
The creativity of Pine's Maestro, RicardoSantos , graces the Public Library with an almost alien steadfastness. From his March publications, we found this bar pattern-mining utility the most interesting.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Backward Number of Bars
melihtuna comes up with an ingenious way of allowing code to execute in the last n bars only.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Script Moderation — Q & AWhy do we moderate script publications?
Our purpose is to maximize the value of Community Scripts for the benefit of TradingView users.
We have been curating our 100,000-strong Community Scripts since 2020. Each year, 50,000 new publications are submitted. Most of those are moderated because they do not comply with House Rules. It is paramount to preserve and nurture the usefulness of this huge repository used daily by millions of users speaking all languages. Both newcomers and seasoned traders should be able to rely on the indicators and strategies in our Community Scripts . Hence we need community rules to define appropriate criteria for script publications, and protect our users from scam and spam accounts that do not share our community values, misuse open-source scripts, or use script publications to self-promote or mislead other users.
Considerable efforts are deployed to make sure Community Scripts continue to play their critical role in the TradingView landscape. The continued value users find in our community depends on it. Well-documented, original and quality scripts benefit both authors, whose work gets more visibility, and users who get better tools. Script moderation makes sense because it improves the TradingView experience for anybody who values learning and sharing in our community. Nobody is exempt from script moderation; even Pine Wizards and PineCoders have had their scripts moderated when they do not comply with rules.
Note that we moderate publications — not people and, most of the time, not scripts. Most of the rules concern how scripts should be published and code reused, not the scripts themselves. While authors must check a box confirming they have read our rules before they publish, many authors do not read them and have little chance of getting their publication past moderation.
Having your script publication moderated is no reason to be personally offended; it's your publication that was moderated — not you. We understand that having your script publication moderated is not fun, but take it as a wake-up call rather than an insult. It's usually fairly simple to make a compliant publication and re-publish, once you are aware of rules. If you have questions about your moderation, simply reply to the message you receive upon moderation. We'll gladly help if we can, and you will get answers faster than if you go through TV support because you will be dealing with moderators directly, where support will most probably redirect you in any case.
Why do some authors have problems with moderation?
• They think that a paid account entitles them to the right to publish and dispenses them of following the rules. Publishing scripts is not a right; it is a privilege granted to authors who respect our community’s rules.
• They can no longer sell their unrealistic or copied scripts on TradingView.
• They refuse to take the time to prepare helpful publications for traders.
• They can no longer make a career on TV by poaching original open-source code to build a reputation.
These authors luckily make up an infinitesimal proportion of all authors, but some try to make much noise by demonizing script moderation anywhere they can. Except for the intentionally misleading authors, it should be straightforward for the authors of moderated scripts to comply with rules, as thousands of other authors routinely do.
We contact all moderated authors and share daily with countless authors from the international TV community. Our experience is that the overwhelming majority of authors think it is quite natural that we have rules, as any strong community must. They not only respect but encourage our work, even when we moderate their publications. As long as most authors continue to support our work, we’ll happily take flack from the few who don’t.
Moderator Bias
Some authors complain that script moderation is biased. They are right! We are not robots — and that’s a good thing for both authors and traders. The nuances (or biases, if you prefer) we use when enforcing Script Publishing rules, however, actually have more to do with the context of each script’s analysis than with who is doing the moderation. Script moderators spend lots of time discussing the best ways to handle the many different situations we encounter. When faced with problematic cases, we resolve them together and record our conclusions so we can handle future similar cases in the same manner.
We are a team that acts in unison, using a well-defined code of conduct. This code of conduct’s strength stems from the many exceptions it allows. For example, we do not analyze open-source, protected, and invite-only scripts using the same criteria. Even when analyzing open-source scripts, we use different criteria when they are published by authors who also sell access to invite-only scripts. We do not handle first publications the same way we do the 100th publication of an author. We do not handle the 8th violation of rules the same way we handle the first. We are more lenient with non-English speakers who write descriptions. These distinctions we make are clear biases, but they are voluntary and, we believe, necessary to achieve the best overall degree of fairness in the enforcement of rules. We believe that when dealing with creative work, adroitly used educated biases produce better outcomes than robotic and blind objectivity ever will.
Origins of the Script Publishing Rules
Users wrote most of House Rules; our Script Publishing rules and Vendor Requirements are no exception. TradingView founders approved the rules, of course, but they are community-driven. We are always open to new ideas and suggestions from community members. As our environment evolves, so should our rules. The same applies to how we enforce them. Many of the exceptions and refinements used in rule enforcement were also implemented after suggestions from authors.
Script publishing help and docs
• To find out how to publish scripts and for a discussion of all your options, see the Pine User Manual page on Script Publishing .
• Be sure you read and understand the TradingView Script Publishing House Rules , which you agree to abide by when you create an account and publish a script on the platform.
• These are Tips for Authors , which provide more information to help you ensure your publications respect our rules.
• Script Vendors are subject to more obligations because they sell access to their invite-only scripts. They should have a good understanding of our Vendor Requirements .
• This is a blog post on script moderation , and the same content in the Help Center .
• alexgrover has a very good publication on Making A Good Indicator Description .
Tips
• To prepare a publication and validate that it will turn out the way you expect, use a private script as a draft. Contrary to public scripts, you can edit their title and description, so they can be used to test things. Once your private publication is perfect, then you can just copy its tagged description in a new public script’s description. That’s how we work to prepare our publications.
• Once you publish a script to the Public Library you will not be able to delete it or change its description or title, nor make it private, nor change its publication mode (open-source, protected, invite-only). Plan accordingly.
• We only moderate public scripts, i.e., scripts published in the Public Library. If you do not wish to share your scripts with the community, simply use your private copy from your personal repo through the Pine Editor, or publish your script privately. Know, however, that if you publish private scripts, you may NOT share their url in any public content on TV.
• Before you publish a script, make sure you can’t find published scripts doing the same thing. Also, use your script for a while. Put it through its paces and understand its behavior. This will give you time to streamline the code and settings before you publish it, and help you provide more useful information in your script’s description.
• As Pine coders, we constitute a tiny percentage of TradingView users, yet we have an enormous impact on the community’s trading activities. We thus have a responsibility to provide the traders with useful, original, and robust tools.
• As much as we try, moderators cannot see everything. If you come across script publications that violate our rules, please report them using the "Report This Script" flag. You will not be able to send a message with your report, but we will see it and will ask for more information if we cannot determine why you reported the script. Your collaboration in this is an important facet of moderation, and we appreciate it very much.
Who are these PineCoders guys?
This publication explains who we are.
Use comments here if you have questions or comments on script moderation. If you have a private inquiry, send a message to the PineCoders account.
Best Scripts of the Month — 2020.02We 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.
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!
Bias And Sentiment Strength (BASS) Indicator by mattzab
mattzab superimposes a few different signals to get a composite view of sentiment.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Volume Scale by Price (VSP)
inno14 gives us his take on volume by price using line drawings.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Price Convergence
nickbarcomb publishes a script that visually reveals the price discovery process, and if price is moving away or converging from equilibrium.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Market EKG
KingThies_ creates a measure of volatility using a close proximity evaluation of price deltas.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Zahorchak Measure
DreamsDefined gives us a an original measure of bias: The Zahorchak Measure (ZM) is designed to give you a market bias (either uptrend or downtrend) which you can use to determine a trade bias for ETF's or stocks.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Emulating binary operations and several values in one variable
MichelT publishes a multiplexing/demultiplexing method to pack more data in a signal to be used when one script needs to send information to another one through a single external input.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Mean Deviation Index
lejmer uses ATR and an EMA to derive an index combining volatility and mean deviation.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Laguerre RSI
KivancOzbilgic runs RSI through a Laguerre filter.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Relative Strength(RSMK) + Perks - Markos Katsanos
midtownsk8rguy gives us a version of Katsanos' Relative Strength, packaged with his usual tight code and impeccable visuals. It also contains his version of `ema()` accepting a float as its period.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Get a value from N years ago
MichelT comes up with another one of his ingenious pieces of code to find information from n years ago.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Divergence for many indicator v3
LonesomeTheBlue brings us a Swiss Army knife divergence detector capable of showing on the chart divergences detected on 10 different indicators.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Renko RSI
LonesomeTheBlue also published a few scripts using Renko information but running on normal charts, including this Renko RSI.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
SMU STDEV Candles
stockmarketupdate comes up with a novel way to represent volatility by building candles on stdev of OHLC.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Setup
e2e4mfck gives us a lesson in the masterly presentation of visual information with his Tom Demark Setup script. He also contributes a crazy-complex and beautifully crafted open-source script to the community.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Earnings, Splits, Dividends
MichelT shows the new syntax required to access selected financials in Pine, as opposed to using the Financials available on the chart.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
OBV Traffic Lights
lejmer calculates an OBV using Heikin Ashi prices (independently of the type of chart you are on) and presents the information in a more visually appealing way.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Reversal finder
NS91 makes an attempt to identify potential reversals, and contrary to authors of many such scripts, plots them in realtime without using a negative offset into the past.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Dekidaka-Ashi - Candles And Volume Teaming Up (Again)
alexgrover 's mind is like a volcano in constant activity. This time he combines price and volume action into a new type of candle.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
Linear Continuation
nickbarcomb shows projections into the future of 3 MAs.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═
RSI direction bias - JD
Duyck , one of TradingView's most creative authors, creates an RSI bias indicator by focusing on its behavior in the center area rather than in extremes.
═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═•═