powerful moving average crossoverThis script is a simplified version of John Ehlers's adaption of Dr. Kalman's optimum estimator as applied to price action (More can be found on this here: www.dimensionetrading.com). Here I have adapted two of these optimum estimators to work together to provide crossover signals. The user can choose the input of this filter in the 'input source'. The 'Ratio of Uncertainties' controls how adaptive the moving averages are, increasing this number will increase adaptivity and vice versa for decreasing. The 'Kalman Gain' allows the user to choose how much error to let into the calculation. The smaller this number is the quicker the moving average will approach price action.
In practice this indicator is much smoother than most other moving averages and has significantly less whiplash while still getting very early entries. If anyone wants to adapt this script for their own uses please feel free. Message me what you make with it, I am very curious what this can do when in the right hands!
Happy trading!
Mcbw
ATR based Pivots mcbwHey everyone this is an exciting new script I have prepared for you.
I was reading an old forex bulletin article some time ago when I came across this: solar.murty.net (or you can download the full bulletin with lots of other good articles here: www.forexfactory.com).
You can already buy this for metatrader (www.mql5.com) so I figured to make it for free for tradingview.
This bulletin suggested that you can reasonably predict daily volatility by adding or subtracting multiples of the daily ATR to the daily opening. Using this you can choose multiples to use as price targets and alternatively as stop losses. For example, if you already have a sense of market direction you can buy at market open place a stop loss at - 1 daily ATR and a profit target at + 3 ATRs for a risk to reward ratio of 3. If you are looking for smaller/quicker moves with a ratio of 3 you can have a stop loss at -0.25 ATR and a take profit at +0.75 ATR.
Alternatively this article also suggests to use this method to catch volatility breakouts. If price is higher than the + 1 ATR area then you can safely assume it will be going to the +2 ATR area so you can put a buy stop at + 1 ATR with a profit target at + 2 ATR with a stop loss at +0.5 ATR to catch a volatility breakout with a risk to reward ratio of 2!
Even further there are methods that you can use with ATRs of multiple window sizes, for example by opening two copies of this indicator and measuring recent volatility with a 1 week window and long term volatility within a 1 month window. If the short term volatility is crossing the long term volatility then there is a high probability chance that even more price movement will occur.
However I have found that this method is good for more than daily volatility , it can also be used to measure weekly volatility , and monthly volatility and use these multiples as good long term price targets.
To select if you want daily, weekly, or monthly values of the ATR of volatility you're using go to the settings and click on the options in the "Opening period". The default window of the ATR here is 14 periods, but you can change this if you want to in "ATR period". Most importantly you are able to select which multiples of the ATR you would like to use in the settings in "ATR multiple 1" which is the green line, "ATR multiple 2" which is the blue line, and "ATR multiple 3" which is the purple line. You can select any values you want to put in these, the choice of 0.25, 0.5, and 1 is not special, some people use fibonacci numbers here or simply 0.33, 0.66, and 0.99.
Repainting issue: This script uses the daily value of the Average True Range (ATR), which measures the volatility that is happening today. If price becomes more volatile then the value of the ATR can increase throughout the day, but it can never decrease. What this means is that the ATR based pivots are able to expand away from the opening price, which should not affect the trades that you take based on these areas. If you base your take profit on one of these ATR multiples and the daily volatility increase this means that your take profit area will be closer to your entry than the ATR multiple. Meaning that your trades will be more conservative.
While this all may sound very technical it is super intuitive, throw this on your chart and play around with it :)
Happy trading!
Optimized Random Average (Linear) mcbw_This is a moving average with a customizable random kernel. You can shape your kernel by selecting your parameters in the settings window. This is not something that is immediately ready to mess with by just applying it on the chart, it is very useful for people who are researching indicators and developing new tools. To see the shape of your kernel you can plug it into google or wolfram. This indicator and the related ones are rather technical in nature, so feel free to comment any questions you may have and to see if anyone has asked your question.
Read more here:
Happy studying and enjoy your life!
2019 will be absolutely insane!
Generalized Average Generic Gaussian Envelope mcbw_This is a moving average with a customizable gaussian kernel. You can shape your kernel by selecting your parameters in the settings window. This is not something that is immediately ready to mess with by just applying it on the chart, it is very useful for people who are researching indicators and developing new tools. To see the shape of your kernel you can plug it into google or wolfram. This indicator and the related ones are rather technical in nature, so feel free to comment any questions you may have and to see if anyone has asked your question.
Read more here:
Happy studying and enjoy your life!
2019 will be absolutely insane!
Generalized Average Polynomial Envelope mcbw_This is a moving average with a customizable polynomial kernel. You can shape your kernel by selecting your parameters in the settings window. This is not something that is immediately ready to mess with by just applying it on the chart, it is very useful for people who are researching indicators and developing new tools. To see the shape of your kernel you can plug it into google or wolfram. This indicator and the related ones are rather technical in nature, so feel free to comment any questions you may have and to see if anyone has asked your question.
Read more here:
Happy studying and enjoy your life!
2019 will be absolutely insane!
Gap finder (gold minds)This tool highlights where gaps happens and outlines in the chart where the gap zones are. If there is a gap up there is a green line, a gap down it is red. The gap zone is highlighted in blue. You can choose the size of your gap with the input menu to the desired size. Feel free to ask comment below. Made for the Gold Minds group
mcbw_RSI_candlesAn RSI can have any input, but most commonly used is the closing price. I thought it would be interesting to see if feeding the open high low and close information into the RSI to make RSI candles, if there are candlestick formations that can be recognized or possible patters in wicks.
To make it smoother there also is the option to turn the RSI candles into Heiken Ashi form, just check the box labeled HA. The result is an RSI that is easier on the eyes.
Happy trading!
Remember to not take everything too seriously
Bitcoin momentum correlation This is a pretty simple indicator, it measures the momentum of bitcoin as compared to usd,eur,eth,dash, and ltc, which you can see in all of the blue lines. If the red line is above zero then it means the overall value of btc is going up, opposite for down. The Ema_window controls how smooth the signal is. If you shorten the Ema_window parameter and open this on higher timeframe btc charts then the zero crossing gives pretty solid signals, despite being pretty choppy. A good way to interpret this is that if all the blue lines are moving in the same direction at once without disagreement, then the value of bitcoin has good momentum.
Mildly more technically:
Momentum is measured in the first derivative of an EMA for each ticker. To normalize the different values against each other they are all divided by their local maximums, which can be chosen in the parameter window, but shouldn't make a huge difference. All the checked values are then summed, as shown in the red line. To include a value into the red line simply keep it checked. Take a look at the script, it's kind of easy on the eyes.
It's pretty handy to look at, but doesn't seem too worthwhile to pursue much further. If someone wants much more out of the script then feel free to message me.
Remember rules #1 & #2
Don't lose money.
Happy trading
Fibonacci ClustersI was reading about Fibonacci Clusters on investopedia (www.investopedia.com) and couldn't find a script for it on tradingveiw. Apparently some people use it successfully but I found it a little chaotic. This script will mark the retracements in a window's length, and you can set this for six windows. This script isn't very pretty because it doesn't seem obviously useful and pinescript has far too many deficiencies to fully flesh this idea out. I was able to make more sense out of larger windowing times (500-4000 periods), than shorter ones (25-333). Try it out, see what it shows you. Happy trading
Multiple Ichimoku CloudsFor anyone that uses the Ichimoku Cloud there is a consistent need to flip between timeframes to get information about this at all levels. However, that trouble is now over. In this script there are 4 Ichimoku Clouds that operate in 4 different time frames. To change the timeframe simply change the multiplication factor to the desired levels. How this script works is that it takes your current timeframe as an input then it applies multiplication factors to it to achieve larger timescales. In the example here we are looking at the XBTJPY pair on the 1 hour. Our first cloud is 1x scaling, meaning that it is the 1 hour cloud. The second and third are 2x and 4x respectively meaning that we are looking at the 2 hour cloud and the 4 hour cloud. Lastly the largest cloud is the 24x cloud, aka the daily cloud. Now you only really need one look at the clouds for all the essential information.
As always feel free to message me about anything regarding this script.
Be happy :)