RexDog Hour Close LinesThe RexDog Hour Close Lines plots the last 4 previous hour (60 minute) closes. Extremely helpful indicator for traders who trade on lower timeframes below the 60.
The plotted lines are also offset to represent that hours close location on the chart-- but keep the below in mind.
The offset is set for a default resolution of 5 minutes. In that chart timeframe, the offset is correct as to the close location. Changing the timeframe to 3m for instance the offset is not accurate to that particular bar. I am sure there is a simple way to do this but maybe I'm just not smart enough to figure it out. Either way, the offset in any timeframe is easy to distinguish the oldest hour close to the newest.
This indicator has the following options:
You can enable or disable any previous 4 hour close line
You can change all line sizes
You can change all line colors. I do apologize if it's inconvenient that I've defaulted the lines to different colors.
I've limited the visibility to only periods below 60 minutes-- but and maybe there is a better way to do this (if so please share). The limit is based on the most common periods below 60: 1, 2, 3, 5, 10, 12, 15, and 30.
Will most likely release the 240 and 30-minute version of this I have on a few charts.
Support and Resistance
Beam Bands + Fibonacci LevelsThis indicator calculates the Fibonacci retracement levels based on beam bands. As you can see the price very often reacts to these levels.
Gann Square of 9(For Bursa Malaysia only)
This indicator will display nearest support and resistance from Gann Square of 9 Box.
Red line (Strongest)
Resistance
Support
Blue line (Moderate)
Act as support and resistance
Only workable for price lower than RM18.
Main MAs and EMAs multi-timeframe for supportObjective is to map out different multi-timeframe support/resistance , all at once. Includes weekly, daily and 4H EMAs and MAs, as per the follow (allowing customization)
WEEKLY (in pink/purple variations):
- 13 EMA
- 21 EMA
- 34 EMA
- 50 M.A
DAILY (in green variations):
- 21 EMA
- 50 EMA
- 120 M.A.
- 200 M.A.
4H (in yellow/golden colors):
- 400 EMA
- 500 EMA
- 675 EMA
- 715 EMA
- 920 EMA
- 1150 EMA
Notes:
- Quite useful to all types of assets; crypto, commodities , stocks, etc...
- Ideally not to be visible all the time, as it can "pollute" the charts. But very helpful in moments of great volatility
WattageSimple plot script for ranges from prior day closed based on Brian Watts talks.
Should work on any timeframe. For example, if 5m the ranges will still be for the prior day.
Edit based on daily ranges of whatever symbol. Change the ranges as you see fit.
It is interesting if you turn on prior day close for verification and current day high/low in the chart settings.
Meant as open source for you to do what you please.
Thank you Brian Watt.
NSDT Support/Resistance ZonesA simple script that allows you to plot 8 different zones of support and resistance. Enter the high and low of a support/resistance zone, and the script will fill the range for easier viewing. Open source and all settings can be customized.
array coloursWith great gratitude to Tradingview and Pinecoders I give you a simple highest/lowest indicator, inspired by the recent added function:
‘color.rgb (red, green, blue, transp)’
The colour is derived from rsi values
The main goal was to show the use of:
- array.new_color()
- color.rgb()
- color.from_gradient()
Cheers!
'Golden ratio' Cubes - 'GoRaC'The difference between 2 points is plotted here using 'Golden ratio' cubes
(working differently than my 'Golden ratio spiral - 'GoRaS')
The 2 points can be 'high/low' or 'max(open/close)/min(open/close)',
with the possibility of higher resolution, the following examples are with 1 week resolution
By extending the lines you can spot support/resistance area's
You can reverse:
or 'mirror':
The 'bars back' can be set to get a previous period
Important:
In the example of a week resolution on a daily chart:
if you set '0', and it is Friday, the week isn't finished yet!
Everything still can change (= repaint)
1 bar back (in this case 7 daily bars back since the res = week!):
2 bars back:
3 bars back:
Here using 'high/low' and lines extended to the left:
or 'max(open/close)/min(open/close)' and lines extended to the left:
Cheers!
Dynamic Support And Resistance [CC]The Dynamic Support And Resistance Indicator was created by Mike Siroky (Stocks and Commodities pgs 14-18) and this is a handy indicator that will show you useful support and resistance levels no matter how the stock is doing right now. I have color coded the middle line to show buy and sell signals so buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators you want me to publish!
Gann Circle Intraday LevelsThis indicator is an intraday version of Gann Circle Swing Levels indicator. It further divides the Gann Circle into the Eighths in order to generate intraday Levels.
Introduction
This indicator is based on W. D. Gann's Square of 9 Chart and can be interpreted as the Gann Circle / Gann Wheel / 360 Degree Circle Chart or Square of the Circle Chart for intraday usage.
Spiral arrangement of numbers on the Square of 9 chart creates a very unique square root relationship amongst the numbers on the chart. If you take any number on the Square of 9 chart, take the square root of the number, then add 2 to the root and re-square it, resulting in one full 360 degree cycle (i.e. a 360 degree Circle) out from the center of the chart.
For example,
the square root of 121 = 11,
11 + 2 = 13,
and the square of 13 = 169
The number 169 is one full 360 degree cycle out (with reference to 121) from the center of the Square of 9 chart. If we further divide the circle in eight equal parts of 45 degree each, following intermediate resistance levels (ascending) would be generated:
127 (45 degree)
133 (90 degree)
139 (135 degree)
145 (180 degree)
151 (225 degree)
157 (270 degree)
163 (315 degree)
Similarly, if you take any number on the Square of 9 chart, take the square root of the number, then subtract 2 from the root and re-square it, resulting in one full 360 degree inward rotation towards the center of the chart.
For example,
the square root of 565 = 23.77,
23.77 - 2 = 21.77,
and the square of 21.77 = 473.93 (approximately equal to 474, which is directly below 565 on the Square of 9 chart)
The number 474 is one full 360 degree inward rotation (with reference to 565) towards the center of the chart. If we further divide the circle in eight equal parts of 45 degree each, following intermediate support levels (descending) would be generated:
553 (45 degree)
541 (90 degree)
529 (135 degree)
518 (180 degree)
507 (225 degree)
496 (270 degree)
485 (315 degree)
How to Use this Indicator ?
This indicator is designed to generate Gann Circle Intraday Levels based on HIGH and LOW of the opening bar for the day. You may use the bar interval (1 minute, 3 minutes, 5 minutes, 15 minutes etc.) which is suitable for the underlying instrument. Support and resistance lines for the day would be generated only after confirmation of the opening bar of the day.
Input :
Number of Gann Levels (Number of Gann Levels to be projected)
Color codes for the Support and Resistance Levels
Output :
Gann Support or Resistance Levels:
HIGH and LOW of the Opening bar for the day (dashed BLUE lines)
Support levels calculated with reference to the HIGH of the opening bar
Resistance levels calculated with reference to the LOW of the opening bar
'Golden ratio' spiral - 'GoRaS'This script is based on 'Golden Ratio'
It starts from the last pivot high/low, forming a rectangular spiral.
Mainly experimental but I think it could be used as 'support/resistance' and trend interpretation
The (pivot) length can be adjusted ('Leftbars'):
Start of the spiral can be changed ('Start loop'):
End of the spiral can be changed as well ('End loop'):
It can be made more compact, or wider ('Ratio'):
'Extend lines' can be helpful finding S/R area's:
('extend left')
Cheers!
RM StratThis is my attempt to code up the rules of "The Strat." I've seen other scripts that do parts of what my script does, but this script combines all of them into one script and allows the user control over how they interact with each other.
What's in this indicator?
Show the Strat Candle Numbers (1 - inside bar, 2 - continuation bar, 3 - outside bar) on the chart.
Show a widget off to the right of the chart for multi-timeframe analysis. This widget tells you whether the D/W/M/Q candles are currently green or red as well as the Candle type (White Circle - (1) Inside Bar, Up Green Arrow - (2U) Continuation Bar, Down Red Arrow - (2D) Continuation Bar, Green/Red Square - (3) Outside Bar)
Integrates the long and short rules into the chart. These can also be turned off if you don't want to see them. Note: this is a simplified version of these rules - if you look at the cheat sheets floating around the internet, you'll notice that all trade initiations occur on a break of the high (for longs) or low (for shorts) of the previous candle as long as that previous candle was not a 2. So that's my only rule for going long or short. I think it matches well with the cheat sheets but is way simpler to code and to think of how it works. The other benefit is it shows you failed trades that the cheat sheet won't catch - where a 2 becomes a 3 in the other direction and stops you out. You'll see that now with this script.
Ability to filter out the long/short rules based on the timeframe continuity of the higher timeframe candles. This is user-configurable so that you can experiment with timeframe continuity and see how strict you want to be with this on your trades.
Show the high/low of the Day, Week, and Month on your chart as horizontal lines that you can use as a reference. This could be used for planning profit targets or seeing how likely a reversal might indicate moving into timeframe continuity.
Max GainThis indicator is meant to be used for coming up with price targets based on past performances of rallies/selloffs.
It shows how much a trade could have made over a 30-day period (or other length of time) in terms of percentage gain.
It also show how much could have been lost in terms of percentage loss
The green plot shows percentage gain from current high to the low of the previous 30 days.
The red plot shows adjusted percentage loss from current low to the high of the previous 30 days.
The 30 can be adjusted and the chart can be used on any time interval.
Note on max loss adjustment:
Max loss percentage is adjusted to be higher to account for the fact that a percentage loss corresponds to a percentage
gain of a greater amount. For instance, a loss of 25% can only be recovered with a percentage gain of 33%.
A 25% loss looking at the chart from left to right would be a 33% gain looking at the same price
action from right to left. In order to compare apples to apples visually and performance wise, max loss percent needs to be adjusted.
The actual max loss percent is calculated and plottable but is not plotted by default because it is less useful and adds clutter.
There is not a great difference between actual max loss and adjusted max loss under everyday market conditions, but
major selloffs (SPY 2020), short squeezes (GME 2021), or other unusually directional moves will display percentage losses
that, in absolute terms, should be considered to be fairly incorrect. The adjusted percentages are good indicators of
relative performance when comparing the magnitudes to the magnitudes of the max gain percentages and
are more visually meaningful than the actual max loss percentages in every situation, so they are plotted despite having incorrect values.
Note on bear markets:
This indicator was designed for bull markets but should it be used in bear markets the indicators that are and aren't
plotted should be swapped using the plot check boxes in the settings dialogue if there is interest in using the loss percentages
for actual loss amount calculations while maintaining visual/performance adjustment
As can been seen in the example chart a gain of 16.3% to 17.1% appears to be a resistance level. This level was recently broken through and the next resistance is 24.5%.
The target is a 24.5% gain from the anticipated 30-day low at the time when the price can be expected to reach a 25.4% gain at the gain rate observed in recent rallies.
Previous rallies are shown for reference with their 30-day periods and corresponding gain percentages which are plotted below.
A selloff is shown in red for reference as well. It was drawn backward to trick the tool into thinking it was a gain, so as to demonstrate logic behind the adjustment.
In reality, this was closer to a 9.5% loss, not 10.55%.
I am still experimenting with this indicator to see how to best use it. Ultimately, it helps me do what I was already doing with the percentage gain tools
but now I can do those analyses in a more systematic manner and with charting. Please feel free to ask questions.
Extrema DetectorDetermines local maximums and minimums points in the chart.
Parameters:
lookback : number of candlesticks to look.
extrema_finder_sensivity : If lower, more extreme points will be found (may over-find).
Brief algorithm description:
Computes a Simple Moving Average (length= extrema_finder_sensivity ), and searches for its local extremes.
Given some SMA extreme, it looks the previous extrema_finder_sensivity candlesticks to find the highest (or lowest value).
Notes:
Is a lagged indicator: determining if the current candlestick have reach a maximum can be delayed to, at most extrema_finder_sensivity -further candlesticks.
Projected Support And Resistance [CC]Projected Support And Resistance is a custom indicator of mine loosely based on the work done by Ketan Asher (Stocks and Commodities Bonus Issue 2021 pgs 12-14) and generally speaking this does a pretty good job of telling you what the future behavior of the stock will be. As the lines widen apart, there will be either upward or downward momentum. Buy when the line turns green and sell when it turns red.
Let me know what other indicators you would like to see me publish!
Key Levels by RifeMy take on Key Levels script that plots:
- Daily Open
- Weekly Open
- Monthly Open
- Day of Week Range (i.e. Monday Range)
- Initial Balance
Open levels are not visible on higher time frames, such as Daily Open is not visible on Weekly Open nor Monthly Open.
Initial Balance is not visible on the following timeframes: 2H, 4H, 6H, 8H, 1D, 1W and 1M. All other time frames will show it.
Raff Regression Channel by DGTRᴀꜰꜰ Rᴇɢʀᴇꜱꜱɪᴏɴ Cʜᴀɴɴᴇʟ (RRC)
This study aims to automate Raff Regression Channel drawing either based on ZigZag Indicator or optionally User Preference
The Raff Regression Channel , developed by Gilbert Raff, is based on a linear regression, which is the least-squares line-of-best-fit for a price series, with evenly spaced trend lines above and below . The width of the channel is set by determining the high or low that is the furthest from the linear regression.
Because the channel distance is based off the largest pullback or highest peak within a trend, for effectively drawing and using a Raff Regression Channel it is recommend/required that a Raff Regression Channel is applied to “mature” trends. Knowing this requirement, for better automated drawing results this study benefits from the Zig Zag Indicator, where the Zig Zag indicator is used to help identify price trends and changes in price trends. Option to manually adjust lengths for drawing a Raff Regression Channel is also made available.
Using a Raff Regression Channel
Once The Raff Regression Channel is drawn, covering an existing trend, Exᴛᴇɴꜱɪᴏɴ Lɪɴᴇꜱ are drawn to identify ᴛʜᴇ ꜱᴜᴘᴘᴏʀᴛ﹐ʀᴇꜱɪꜱᴛᴀɴᴄᴇ ᴏʀ ʀᴇᴠᴇʀꜱᴀʟ ᴘᴏɪɴᴛꜱ
The trend is up as long as prices rise within this channel. An uptrend may be reversing (not always, but likely) when price breaks below the channel extension . The trend is down as long as prices decline within the channel. Similarly, a downtrend may be reversing (not always, but likely) when price breaks above the channel extension . Moves outside the channel extensions can be indication of a reversal or can denote overbought or oversold conditions
For further details please refer to education post Raff Regression Channel
█ FEATURES
- AUTO or MANUALLY adjusted Raff Regression Channel and Channel Extentions drawing
- ALERTs, for Linear Regression Line, Raff Regression Upper and Lower Channel Extentions
- LSMA , Least Squares Moving Average, in other words Linear Regression Curve
█ SETTINGS
Setting Loopback and Number of Bars are the most important part for The Raff Regression Channel, where ;
- Lookback, defines where the Raff Regression Channel is starting, it is recommended to set to a trend begining
- Number of Bars, defines how many bars to be assumed for calculation, or simply stated the end of the Raff Regression Channel drawing (not extentions but the main channel, extentions by default will be drawn till the last bar)
Setting of Loopback and Number of Bars is performed eigher automatically based on Zig Zag indicator or users may prefer to set them manually. If selected automatically then
- Deviation and Depth values of Zig Zag indicator are used for calculations (enabling visually plotting of ZigZag Lines will help to identify better visually the points), where ;
Deviation, is a multiplier that affects how much the price should deviate from the previous pivot in order for the bar to become a new pivot.
Depth, affects the minimum number of bars that will be taken into account when building
Short-term traders may wish to apply the channel to small waves of a trend so they can reduce the value of the Deviation and Depth
█ OTHER CHANNEL CONSEPTS
Linear Regression Channels, , what linear regression channels are? and linear regression channel/curve/slope study
Fibonacci Channels, how to apply fibonacci channels and automated fibonacci channels study
Andrews’ Pitchfork, how to apply pitchfork and automated pitchfork study
Special Thanks to @Kiss66000 for his kind suggestion, je vous remercie beaucoup @Kiss66000
Disclaimer :
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Gov Bonds Real Rates 10/05Y, FED RATEs, CPIGov Bonds Real Rates 10/05Y, FED RATEs, CPI。美国经济数据10年债和5年债实际收益率,美国目标利率和实际利率,CPI消费者物价指数
INDIGO - SwingTraderThis is a script that uses a couple of other indicators to find good swing trade entry's and exit's. You can choose which signals the script uses to calculate the position of the signals.
It uses the following:
- Stoch RSI
- MACD
- POC
- INDIGO Cloud
Also added are volume candles, acceleration of momentum indicators (triangle) and MACD candles. This way you can see more info to decide if the entry is valid.
I have used a couple of public scripts and tried to give credit to the original creators. If there is any script that hasn't been credited, please contact me.
Feedback is very much appreciated, positive and negative. Also If you have any question, feel free to ask me. I'll try to answer asap.
Enjoy the script :)
S/RThis script is inspired (published with approval) by "All Lines" ,
Many thanks and gratitude to the original creator!
The difference is that here, you can choose how many Support/Resistance lines you want to see. (0-15, perhaps more in the future)
The script will always show the closest S/R levels, if for example the 'M.P level'
becomes closest to the price while before '1h.ema20' was closer, the line/label will automatically change to the 'M.P level'.
For me, this was a nice practise for my 'array' skills :)
Cheers!
Session Breaks by KrisWatersThis indicator draw vertical lines on session break dates. There are 1H, 4H, D, W, M, 3M, 12M options. You can change line colors and style as you wish.
If you are using this indicator please drop me comment and like also.