AveragesLibrary "Averages"
Contains utilities for generating averages from arrays. Useful for manipulated or cleaned data.
triangular(src, startingWeight) Calculates the triangular weighted average of a set of values where the last value has the highest weight.
Parameters:
src : The array to derive the average from.
startingWeight : The weight to begin with when calculating the average. Higher numbers will decrease the bias.
weighted(src, weights, weightDefault) Calculates the weighted average of a set of values.
Parameters:
src : The array to derive the average from.
weights : The array containing the weights for the source.
weightDefault : The default value to use when a weight is NA.
triangularWeighted(src, weights, startingWeight) Calculates the weighted average of a set of values where the last value has the highest triangular multiple.
Parameters:
src : The array to derive the average from.
weights : The array containing the weights for the source.
startingWeight : The multiple to begin with when calculating the average. Higher numbers will decrease the bias.
exponential(src) Calculates the exponential average of a set of values where the last value has the highest weight.
Parameters:
src : The array to derive the average from.
arrayFrom(src, len, omitNA) Creates an array from the provided series (oldest to newest).
Parameters:
src : The array to derive from.
len : The target length of the array.
omitNA : If true, NA values will not be added to the array and the resultant array may be shorter than the target length.
Averages
Average Change % (14-day)Simple script which calculates and shows the average change in a percentage format over a 14-day period.
Created due to the fact I couldn't find a percentage measure of average change when searching for it.
I have very little coding experience in Pine or otherwise so feel free to take and edit the script to make it a bit more user friendly.
Moving Average Ribbon [TheBearFighter]
This code was written using:
•Pine Script Coding Conventions.
This script provides a very useful tool for new community users and professionals. It puts at your disposal a Moving Average Ribbon by hand to graph and easily find the ones with the highest performance. The creation of this script was motivated because in free TradingView accounts there is a limit of 3 indicators by chart, and with this tool you can draw up to 32 MA's at the same time!
Choose one of 10 types of MA´s:
•KAMA Kaufman's moving average.
•HULL Hull moving average.
•TEMA Triple exponencial moving average.
•LSMA Least square moving average.
•DEMA Double exponencial moving average.
•ALMA Arnaud Legoux moving average.
•WMA Weighted moving average
•EMA Exponencial moving average.
•VWMA Volume Weighted moving average.
•SMA Simple moving average.
Use the tooltips to know the lengths of MA´s.
A main characteristic of the script is that the lengths are in days but when changing the lowest timeframes, the same daily resolution is maintained. This gives us extreme precision in intraday timeframes, e.g 30 minutes.
Once this is understood, we can turning the MA´s on/off, and changing the timeframe to our liking.
Available timeframes: M, W, D, 4H, 1H, 30m, 15m, 5m.
Also the MA´s are colored for easy visualization and know if they grow or decrease.
Thank´s to @midtownsk8rguy to let me know more about HEX colors.
Thank´s to @HPotter for his KAMA.
Average EnvelopeA script to calculate a support / resistance level which acts as either a bounce level or a flip level. This is rather a macro play guide than a day trade tool.
The average is calculated by taking into account monthly/weekly/daily highs and average them out.
The script also paints fib levels based on the values of the upper and the lower band.
While this was designed with a cryptocurrency market in mind (no 'close' values per-se) it holds with traditional markets as well.
Jackrabbit.modulus.AnalyzerThis is the module Analyzer for the Jackrabbit suite and modulus framework.
As the modulus framework has grown both in size and complexity, it has become ever increasingly difficult to evaluate the profitability a very complex multi-layered modules combined.
The Jackrabbit Analyzer module allows you to do just that. Connect this module to the end of your IoI chain and it will tell you the profitability of your current combination, using TradingView's strategy backtesting capabilities.
With this module connected to your IoI chain, you can literally watch in real time as the analyzer evaluates your current settings and updates each time you make a change in those settings, giving you a better and more realistic approach to what is possible with your current strategy.
While this module is not a substitute for paper trading, it significantly increases the construction and analysis of a multi-layered trading paradigm that can then be taken to a paper trader with a high level of confidence of success.
Only the signal line is displayed.
The Jackrabbit modulus framework is a plug in play paradigm built to operate through TradingView's indicator on indicatior (IoI) functionality. As such, this script receives a signal line from the previous script in the IoI chain, and evaluates the buy/sell signals appropriate to the current analysis.
This script is by invitation only. To learn more about accessing this script, please see my signature or send me a PM. Thank you.
TS - Trend Moving AveragesOverview
Simple trend indentification indicator based on a mix of SMA & WMA components.
Default settings built for the 1D chart with an optional 3rd fast MA that can be toggled.
Can be used alongside more advanced Tradespot indicators
Access
PM me, our indicators come as a wider package.
TS - Long Term Trading Algorithm - StrategyStrategy to the bespoke TS - Trading Algorithm. Highly profitable cryptocurrency trading model.
This script is long only profitable strategy- there is a script coming in the next few days for shorter timeframe long & short trading.
- Backtesting is from 2017.
- 0.05% commission
- 100% capital allocation per trade.
Access to both the backtesting strategy & indicator is paid - PM me for details.
TS - Trading Algorithm - StrategyStrategy to the bespoke TS - Trading Algorithm . Highly profitable cryptocurrency trading model.
Access to both the backtesting strategy & indicator is paid - PM me for details.
Indicator does not repaint and has no discretionary approach - you can follow blindly and take advantage of the performance.
Multiple Timeframe Five Moving AveragesThis allows you to plot up to 5 moving averages on your chart at once. You can either use the chart's current timeframe or select a custom timeframe for your 5 moving averages (for example, you can see the 200DMA on your 4h chart without having to adjust the moving average length). You can also choose amongst SMA , EMA , and HULLMA for each MA.
Multi Moving Averages @Hendo 4C (14 Types)A script containing 14 different types of Moving Averages, a total of 4 can be added per chart (allowing multiple Moving Averages under a smaller TradingView plan).
It also comes with: Adaptive coloring, settings for the source of calculations, customizable colors and lengths. Most importantly, as mentioned: 14 different types found below.
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Double Exponential Moving Average (DEMA)
Triple Exponential Moving Average (TEMA)
Running Moving Average (RMA)
Kaufman's Adaptive Moving Average (KAMA)
Hull's Moving Average (HMA)
Least Square Moving Average (LSMA)
Weighted Moving Average (WMA)
A. Legoux Moving Average (ALMA)
Volume Weighted Moving Average (VWMA)
Symetrically Weighted Moving Average (SWMA)
Smoothed Moving Average (SMMA)
Elastic Volume Weighted Moving Average (eVWMA)
The goal of creating this script was to allow people with a small TradingView subscription to have access to multiple Moving Averages. Of course it’s not unique in that use case, the thing that makes this script is unique is the fact that it comes with 14 different Moving Averages that can be selected independently. You want a RMA paired with 2 EMA’s and one HMA? Go ahead!
I’m open to add any requests that you guys might have. Feel free to ask so in the comments.
Check out my “Volatility Stop Loss Helper” too! And happy trading.
Last: I think it’s pretty clear to say that this was not “my idea” to build. But I found most of the similar scripts available pretty lacking in terms of settings and additions.
{{Settings overview}}
“Adaptive Colouring”: If enabled the Moving Average colours will be determined by their relation to price. If price is above the Moving Average it’s green, and red if price is below.
“Plot First MA”: Disable or enable the first moving average
“Moving Average Type 1”: The type of Moving Average that the first MA should be. 14 choices.
“Moving Average Length 1”: The length of the first Moving Average.
“Source of Calculation MA1”: The source that is used to calculate the Moving Average. Default is “Close”.
“Plot Second MA”: Enable if you want to use 2 Moving Averages
Settings are the same as described above. But then for the second MA.
“Plot Third MA”: Enable if you want to use 3 Moving Averages
Settings are the same as described above. But then for the third MA.
“Plot Fourth MA”: Enable if you want to use 4 Moving Averages
Settings are the same as described above. But then for the fourth MA.
It is recommended to click the little left arrow to hide your indicators in the top corner while using this indicator. Due to the length of the settings menu.
Settings can be added due to requests. Please check the update notes below:
Multiple Moving AveragesThis is an indicator with 4 moving average slots and 6 exponential moving average slots
It also has bollinger bands and a volume weighted moving average slot
Feel free to edit this and add/remove some and publish your own
Krowns 10 PACK Combo (5 EMAs, 5 SMAs) - v2Version 2 - Krowns Crypto 10 pack moving average set - written by "Kick Back Time" also known as Mr.Scrogers Neighborhood
...after receiving a lot of likes from the first version I thought I would go ahead and put out the updated version that I've been using
There's a few things I've changed to make it easier to adapt to.
This set is very similar to what Krown uses - I rarely look at the 100 SMA, but I do like the 128 SMA, so I made it default over the 100...
It's all adjustable in values, colors, line thicknesses, etc... it's all good
Tweeks/Improvements:
1) now has a shorter overlay title so it takes up less space on the chart and is less distractive
2) the 30, 50 and 128 SMA's are now default pink which stand out well and are easier to associate as SMA's
10/20 MA Cross-Over with Heikin-Ashi Signals by SchobbejakThe 10/20 MA Heikin-Ashi Strategy is the best I know. It's easy, it's elegant, it's effective.
It's particularly effective in markets that trend on the daily. You may lose some money when markets are choppy, but your loss will be more than compensated when you're aboard during the big moves at the beginning of a trend or after retraces. There's that, and you nearly eliminate the risk of losing your profit in the long run.
The results are good throughout most assets, and at their best when an asset is making new all-time highs.
It uses two simple moving averages: the 10 MA (blue), and the 20 MA (red), together with heikin-ashi candles. Now here's the great thing. This script does not change your regular candles into heikin-ashi ones, which would have been annoying; instead, it subtly prints either a blue dot or a red square around your normal candles, indicating a heikin-ashi change from red to green, or from green to red, respectively. This way, you get both regular and heikin ashi "candles" on your chart.
Here's how to use it.
Go LONG in case of ALL of the below:
1) A blue dot appeared under the last daily candle (meaning the heikin-ashi is now "green").
2) The blue MA-line is above the red MA-line.
3) Price has recently breached the blue MA-line upwards, and is now above.
COVER when one or more of the above is no longer the case. This is very important. You want to keep your profit.
Go SHORT in case of ALL of the below:
1) A red square appeared above the last daily candle (meaning the heikin-ashi is now "red").
2) The red MA-line is above the blue MA-line.
3) Price has recently breached the blue MA-line downwards, and is now below.
Again, COVER when one or more of the above is no longer the case. This is what gives you your edge.
It's that easy.
Now, why did I make the signal blue, and not green? Because blue looks much better with red than green does. It's my firm believe one does not become rich using ugly charts.
Good luck trading.
--You may tip me using bitcoin: bc1q9pc95v4kxh6rdxl737jg0j02dcxu23n5z78hq9 . Much appreciated!--
FOREX EMAsPretty simple here - this is the base EMAs I suggest most traders use in the FOREX market for swings and scalp trading. Works well on 5m, 15m, 1H, 4H, and daily trading if you design an edge to interpret the relationship these averages of price are telling you.
The 9EMA is not as valuable on the 1HR timeframe.
BTC Multi-Premiums — SharkCIAShows the price of BTC on multiple exchanges, helps to see which is leading in price and if the current price is above or below average.
For use on COINBASE:BTCUSD unless you customize it
To use on other platforms (Bitfinex, BitMEX, etc) go to options and enable "Show Coinbase" then hide whatever exchange you're currently on.
To disable exchanges, uncheck them under the Styles tab.
Mash Moving AveragesThis tweaked Moving averages script allows you to edit your Moving Averages to whatever you like, plus you have the option of choosing EMA and SMA
MIA - Most Important AveragesUn unico indicatore vi mostrerà le due medie più importanti, SMA 50 e SMA 200.
Evidenzia inoltre gli incroci fra le medie
-------
A single indicator will show you the two most important averages, SMA 50 and SMA 200
It also highlights the crossings between the averages
Trader Set - Volume MetricThe last tool in my methodology set, another one of those tools that has unique unpublished formulas, this one purely for following volume and reading smart money's hand, YES it's possible. This indicator has few Alerts built in that you can use, will update the rest of the scripts for additional alerts. You can easily set the alert to play a sound that is not disturbing in long run and check mark open ending and have easy time being alerted when some crossings are happening.
Please, don't ask for access, only my students from my classes will have access to this indicator. The English version of the website and learning material is under development and the moment they get ready I will announce it under each related script.
Librehash Reversion Ribbon V2Out of all the indicators created by this brand, this is probably the grandest of them all.
Known as the ‘ZN Reversion Ribbon V2’, for short, this indicator is designed to:
1. Create multiple buy and sell signals
2. Help users gauge the momentum of the price movement.
3. Re-color candles to give users a better understanding of price direction as well as plotting entries and exits.
4. Serve as an enhanced version of the MACD indicator.
5. Effectively gauge buy and sell pressure at any given point in time by using former price data.
There are a lot of moving parts to this indicator, so this guide will be dedicated to dissecting these moving parts, piece by piece.
#1 — Histogram
Perhaps the simplest part of the indicator to dissect at the start is the Histogram. This is also the part of the indicator that can be the most important complement to any other readings that are being made.
You read the histogram in the same manner that you would read the Histogram for the MACD.
The bars in the background are the histogram. Reading this portion of the indicator is fairly simple though.
1. As the green bars get darker, the buy pressure is increasing.
2. As the red bars get darker, the sell pressure is increasing.
3. If the current bar is larger than the last, the trend is sustained. This is the same principle that you would observe in the MACD. The core difference, however, is that this indicator is plugged in with a specific formula (beyond just the basic moving averages), that make them more responsive to price movement in a way that allows for the anticipation of signals being formed.
#2 — Ribbon
The ribbon on this indicator has about 3 different buy/sell signals embedded within it that will allow traders to anticipate an impending change in trend well before it EVER occurs.
This may be the most valuable part of the indicator itself.
Let’s start with the first facet of the ribbon.
A) — The ‘widening’ of the ribbon
When the ribbon ‘expands’, that means that the trend is ‘strengthening’ or growing. When the ribbon narrows or ‘contracts’, that means that the trend is becoming weaker and that this may serve as a warning of impending trend reversal.
In the picture above, you can see the color change of the ribbon itself as well.
You’ll notice that the ribbon transitions from a darker red to a lighter red. That’s a sign of waning sell pressure. You can apply this concept to the green portion of the ribbon too.
B)— The Line Sometimes Signals Before the Cross
This one is a bit harder to explain, but the way that the indicator is programmed is not to turn ‘green’ or ‘red’ based on the crosses, but rather on a mathematical formula.
Now, because of the way the indicator is programmed, the cross often coincides with the color change — but not always.
Below is an example:
Of course, beyond this, there are the usual buy and sell signals that come with the MACD as well.
For instance, there is —
C) The Change in Direction of the is a ‘Buy’ or ‘Sell’ Signal As Well
--------------
Changes in the Candle Colors
Perhaps the most elaborate part of this indicator is the fact that it changes the colors of the candles on the chart in live time without repainting.
In order to understand the candles, here’s a quick guide:
a) dark green with green outline = extreme buy pressure
b) lighter green with green outline = normal buy pressure
c) dark red = heavy sell pressure
d) light red = light sell pressure
e) dark green with red outline = impending reversal downward
f) purple with any outline = ambiguous / neutral
g) light green with red outline = very, very weak sell pressure
h) dark green with red outline = exhausted buy pressure
f) dark red with green outline = exhausted sell pressure
Effectiveness of Indicator
This indicator has the ability to be a ‘game changer’ in terms of its ability to dissect price action.
This next picture is another awesome example of how this indicator works.
Check it out:
Here are the multiple reasons why we could’ve anticipated the reversal in price direction before red candles started showing up:
1. The actual reversion lines themselves began to converge.
2. The Histogram is declining.
3. The bar colors move from dark green to light green.
Now, you may be looking at the above picture and thinking, ‘Well it seems that it didn’t catch the major upswing in the price later though’.
This is true, however —
The gain from this move was preposterous.
Even still, the indicator ensures that we still garner some pretty significant profits.
Conclusion
What you see here sums up this indicator for the most part. However, there are continued updates that will be put out for the indicator in the near future as well.
As always, these can be pushed directly through TradingView (which will happen soon).
Trend Trader AVR This is plots the indicator developed by Andrew Abraham
in the Trading the Trend article of TASC September 1998
It was modified, result values wass averages.