Adam H Grimes - Keltner Channels with Day's High & LowThe indicator shows the day's high and low along with the Keltner Channels.
Keltner Channel Period - 20
Keltner Channel Multiple - 2.25
K-macd
SMU Binary Decimal CandlesThis script creates a Decimal and Binary representation of the price using ROC. The idea is to simplify the price action into a distance from Zero to upside and downside.
You can see clearly trend develops in the ROC in the decimal view, kind of like MACD but based on raw price action change. I'm' a big fan of raw price action, so my scripts are super simple.
You can also use this script in a binary mode close higher = 1 and lower is -1. I use the binary mode to remove the psychological pressure of watching the stock going against me. I turn off the actual price and only focus on number of reds vs blue. On a Quantum physics level, when I short, I observe /wish for more reds like last night 1% sell-off
The main message form all my scripts is think outside the box, experiment with something crazy that doesn't make sense at first and make it to make sense. I always start with an idea that pops into my head, script with Pine script super simple and then watch it for hours to see what is trying to tell me. I have many work in progress that still doesn't make sense but looks really weird and wonderful. When I figure out what is trying to tell me I publish it
Average Range Convergence DivergenceHi there,
It's a script that plot the ATR (Average True Range) and ADR (Average Day Range) together and do an histogram of it. The histogram is the difference from ATR to ADR, I believe that it shows the average GAP in the asset. So I can easily found the offset to use when defining my stop.
PT
Esse script desenha o ATR (no profit True Range) e o ADR (media da diferença entre máximas e minimas) junto da diferença entre essas médias em formato de histograma. O gap médio de um ativo é mostrado no histograma.
MACD divergence with line drawing by RexioAnother appoach to finding divergences at MACD. This time I think it is much smoother so I could check for divergences between two "peaks" at MACD.
I added my SL line which is last peak +- 1xATR. And the second line is peak between two points of divergence and most of the time it acts like an SR line.
If the higher timeframe trend backs up our divergence (for example: higher trend UP - divergence for L position) I can try to jump in after crossing EMA10.
This indicator is only sugestion for me. I always check price action, trend, SR line before I take any action.
Every people who will test this indicator need to know basics about divergences as THISE ARE NOT BUY/SELL SIGNALS.
If you want to help me and support my coding please contact me via private msg.
CM_MacD_Ult_MTF_Custom_MeglestusBased of off ChrisMoody his version of this
With some customization from my side to make it more reliable on BTC, Crypto.
I have made it a long time ago so I am not too sure on what it all uses, just look through the code :P
MACD_RSI strategyUse three indicator to entry a position
EMA (20), MACD (12, 26, 20), RSI (14)
apply ema20 on rsi as signal line
Entry long when
price above EMA20, MACD above signal line and RSI above signal line
Entry short when
price below EMA20, MACD below signal line and RSI below signal line
Study only, use it under your own risk.
Point and Figure (PnF) MACDThis is live and non-repainting Point and Figure Chart MACD tool. The script has it’s own P&F engine and not using integrated function of Trading View.
Point and Figure method is over 150 years old. It consist of columns that represent filtered price movements. Time is not a factor on P&F chart but as you can see with this script P&F chart created on time chart.
P&F chart provide several advantages, some of them are filtering insignificant price movements and noise, focusing on important price movements and making support/resistance levels much easier to identify.
P&F MACD is calculated and shown by using its own P&F engine.
If you are new to Point & Figure Chart then you better get some information about it before using this tool. There are very good web sites and books. Please PM me if you need help about resources.
Options in the Script
Box size is one of the most important part of Point and Figure Charting. Chart price movement sensitivity is determined by the Point and Figure scale. Large box sizes see little movement across a specific price region, small box sizes see greater price movement on P&F chart. There are four different box scaling with this tool: Traditional, Percentage, Dynamic (ATR), or User-Defined
4 different methods for Box size can be used in this tool.
User Defined: The box size is set by user. A larger box size will result in more filtered price movements and fewer reversals. A smaller box size will result in less filtered price movements and more reversals.
ATR: Box size is dynamically calculated by using ATR, default period is 20.
Percentage: uses box sizes that are a fixed percentage of the stock's price. If percentage is 1 and stock’s price is $100 then box size will be $1
Traditional: uses a predefined table of price ranges to determine what the box size should be.
Price Range Box Size
Under 0.25 0.0625
0.25 to 1.00 0.125
1.00 to 5.00 0.25
5.00 to 20.00 0.50
20.00 to 100 1.0
100 to 200 2.0
200 to 500 4.0
500 to 1000 5.0
1000 to 25000 50.0
25000 and up 500.0
Default value is “ATR”, you may use one of these scaling method that suits your trading strategy.
If ATR or Percentage is chosen then there is rounding algorithm according to mintick value of the security. For example if mintick value is 0.001 and box size (ATR/Percentage) is 0.00124 then box size becomes 0.001.
And also while using dynamic box size (ATR or Percentage), box size changes only when closing price changed.
Reversal : It is the number of boxes required to change from a column of Xs to a column of Os or from a column of Os to a column of Xs. Default value is 3 (most used). For example if you choose reversal = 2 then you get the chart similar to Renko chart.
Source: Closing price or High-Low prices can be chosen as data source for P&F charting.
P&F MACD Part
Fast Length: Fast Length for P&F MACD , default value is 12
Slow Length: Fast Length for P&F MACD , default value is 26
Signal Smoothing: Signal Length, default value is 9
Source: Moving averages on P&F charts are based on the average price of each column. Bar chart moving averages are based on each close price. Average price means “(ClosePrice + OpenPrice) / 2”. You can choose Close Price or Average Price as source. Default is Average Price.
There are 2 Alerts:
If PNF MACD line crossover the signal line
If PNF MACD line crossunder the signal line
While adding alert “Once Per Bar Close” option should be chosen.
MacD (Future Known or Unknown) StrategyThis indicator/strategy is to be used as a way to baseline the top potential any strategy could have with other strategies and indicators.
What I have created literally shows the BEST moves possible you could have made in my opinion for SHORTING or LONGING using only the MacD values of the 4 hour while on the 30 minute chart.
To use this, try checking out XBTUSD on the 30 minute chart . It will work under different time frames but works best on the 30 minute chart in my opinion. It WILL NOT WORK Above 2 hours time frame.
DO NOT TRADE WITH THIS indicator . I can't emphasize this enough. These results only work because of the lookahead_on parameter. A lot of scam indicators and strategies use this to trick people on tradingView into buying their scripts.
This code is OPEN SOURCE and as such there is nothing to hide and no scam!
I like to use this as a comparison tool for how good I 'could' have traded and at what points those were. By knowing where the perfect trading positions are, you can create real indicators and scripts that try to find patterns in those positions.
This also shows that IF you could know the direction the MacD was going what amazing results you could get ^_~.
This is meant purely for entertainment purposes and for comparing against your own scripts.
I've included the options in the settings to allow ONLY LONG or ONLY SHORTS. By default it attempts both buy attempts. You can also change your starting ($) amount and commission percentage that is taken per trade as well.
Also included in the options is the ability to set the back testing time frame to see how it performs during just certain time periods.
Finally a color explanation
Red - MacD 4 hour going down
Green - MacD 4 hour going up
Purple - MacD 4 hour going down (from an up position)
Yellow - MacD 4 hour going up (from a down position)
Notice the program will always buy right before it turns into a yellow color since it knows the future.
In the options you can turn off 'use the future' to see the horrible results if you trade the moment you know which direction the MacD 4 hour is actually going. I will revise this script in the future with attempts to work without knowing the future as play options to get better results.
If you have any questions or comments, please do not hesitate to ask!
New RenaissancePrelim version of MACD long entry and exit with custom time frame selector.
To do:
Add Stoch and Stoch RSI criteria.
Commodity Channel Index MACD I've not seen any reprensentation of this type based on CCI chanel....
This indicator is an hybrid between CCI and MACD.
The CCI MACD line is calculated using a moving average between 2 CCI period a (FastCCI - SlowCCI) aplied on the (Fast + Slow) periods
The CCI signal line is a moving average of (CCI MACD line, on the signal line smoothing length.
The histogram is only the difference between the CCI MACD and CCI Signal line
//--------CODER--------//
R.V
unRekt - KISS MacdieMacdie is the MACD 'Moving Average Convergence Divergence' indicator and is part of the 'keeping it simple' series that have a similar color scheme. MACD is based on the difference between two moving averages calculated for different periods, typically 12 and 26. The MACD can show trend and strength of an asset while also showing Divergences.
VMACDIntended to be used in exactly the same way as the built-in MACD, but uses volume-weighted moving averages instead. This gives it a tiny edge for spotting high volume breakouts.
Minkowski Distance Factor Adaptive Period MACDHi, this script comes from the idea that Ricardo Santos' Minkovski Distance Function is transferred to the period as a factor.
Minkowski distance is used as a percentage factor with the help of Relative Strength Index function.
Minkowski Distance Function Script :
And thus an adaptive MACD was created.
This script can give much better results in more optimized larger periods.
I leave the decision to determine the periods and weights.
I used the weights of 9,12,26 and periods created with multiplied by factor.
Regards.
[fikira] MACD & RSI+Stoch + DivergencesThis is a new version of my "Divergences"
Compared to my "Divergences (Pivots)", this is calculated totally different
There are 3 options:
- MACD
- RSI
- Stoch RSI
Since this script is very heavy in calculation it is limited in time (= inspired from a script of "Che_Trader")
Also it uses "max_bars_back" (=1000)
For MACD and Stoch RSI there is a "custom Divergences Period", which compares more then 7 Pivot Points,
the higher the number, the less reliable, it is not necessary to use this, but it is there,
also you can change the "leftbars" and "rightbars", again, it is not necessary to change, but you can...
Linewidth and style of the Divergences lines can be changed
Thank you!
MACD 4H StrategyThis strategy is a basic example of using MACD AND the instrument must be found an appropriate timeframe (4H recommended) before being tested with.
ANN BTC MTF Golden Cross Period MACDHi, this is the MACD version of the ANN BTC Multi Timeframe Script.
The MACD Periods were approximated to the Golden Cross values.
MACD Lengths :
Signal Length = 25
Fast Length = 50
Slow Length = 200
Regards.
Blockchain Fundamentals - MCCD - Miner Capitulation Conv/Div🔗Blockchain Fundamentals - MCCD - Miner Capitulation & Convergence Divergence
(a.k.a. Hash Ribbons)
Intro
Miner Capitulation has been talked about alot recently in the news and on twitter. I wanted to join the in fun and add my own spin on things.
Description
This shows the 30 (yellow) and 60 (orange) day moving average of the hash rate of bitcoin. I added an option to show the convergence/divergence of the two moving averages in a visual manner similar to the MACD.
I also added the ability to select both the length and type of MA used in the calculation of the capitulation so you can experiment.
Other additions include bar coloration by trade state, and background highlighting of capitulation periods.
Editable Capitulation/Recovery plots will show clearly when the crosses happen.
The way to replicate my display is to add the indicator twice below the chart and combine in the same pane. First indicator displays the averages by default. The second one you enable convergence/divergence display option and uncheck the rest.
Last I add the indicator one more time and dragged it on chart. Do not combine the scales into one, of else it will ruin the scale (you want them separate scales). Its just showing you possibilities, use whatever works for you!
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 73rd script on Tradingview!
💬Check my Signature for other information
Bollinger Bands on MacdOnly longs when Macd line is above Bollinger Band and shorts when Macd line is above Bollinger Band, this will avoid many problems.
thumbs up!!!
Mirror TSI-MACD by Trader JayI was playing around with the TSI-MACD and surprisingly it works quite well as a mirror.
There are 2 ways this can be used
1. Enter long when Blue line crosses up the Red
2. Exit long when Green line crosses the blue
or
1. Enter long when Blue line crosses up the Red
2. Exit long when Blue line crosses back down below the Red
McGinley Dynamic Convergence/Divergence [ChuckBanger]This is a MACD version with MaGinley Dynamic indicator invented by John R. McGinley. MaGinley Dynamic can be used as a moving average and is a highly reliable indicator. Here i use it instead of EMA witch normally is used to calculate MACD.
For more information of MaGinley Dynamic
www.investopedia.com
Hancock - WAEThis is a version of the LazyBear Waddah Attar Explosion indicator that incorporates the LazyBear Squeeze Momentum Indicator. Full credit goes to LazyBear for this and i've added links to his indicators used for a further explanation.
This histogram is a plot of the difference between the current and previous MACD multiplier by the sensitivity value. Green indicates an up trend and red indicates a down trend.
The white line is the lower BB subtracted from the upper BB and signals should be taken when the histogram is greater than this line.
The blue line is taken from the Squeeze Indicator and is the Keltner Channel. If the white line is less than the blue line it can be considered a squeeze and the background color of the indicator is coloured to indicate when not in a squeeze.
Happy trading folks!
Hancock
MACD Multi-MA StrategyThis script applies the average of each major MA (SMA, RMA, EMA, WVMA, WMA) to the MACD formula.
The logic is simple. When all 5 MA's are in agreement in direction, then then script will notify users of change.
I posted this as a strategy to help show how logic does in back test. If you use my simple yet effective solution to find take profit locations, you can blow this back testing out of the water!!!
To set alerts simply turn script into study
//@version=2
study(title="MACD Multi-MA Study", overlay=false)
src = close
len1 = input(8, "FAST LOOKBACK")
len2 = input(144, "SLOW LOOKBACK")
/////////////////////////////////////////////
length = len2-len1
ma = vwma(src, length)
plot(ma, title="VWMA", color=lime)
length1 = len2-len1
ma1 = rma(src, length1)
plot(ma1, title="RMA", color=purple)
length2 = len2-len1
ma2 = sma(src, length2)
plot(ma2, title="SMA", color=red)
length3 = len2-len1
ma3 = wma(src, length3)
plot(ma3, title="WMA", color=orange)
length4 = len2-len1
ma4 = ema(src, length4)
plot(ma4, title="EMA", color=yellow)
long = ma > ma and ma1 > ma1 and ma2 > ma2 and ma3 > ma3 and ma4 > ma4
short = ma < ma and ma1 < ma1 and ma2 < ma2 and ma3 < ma3 and ma4 < ma4
alertcondition(long == true, title='MACD LONG SIGNAL', message='MACD LONG!')
alertcondition(short == true, title='MACD SHORT SIGNAL', message='MACD SHORT!')