Gap ZonesSharing a simple gap zone identifier, simply detects gap up/down areas and plots them for visual reference. Calculation uses new candle open compared to previous candle close and draws the zone, a mid point is plotted also as far too often it's significance is proven effective.
Works on any timeframe and market though I recommend utilizing timeframes such as weekly or daily for viewing at lower timeframes such as 5, 15 or 30 minutes.
Often price is observed reaching towards zone high/mid/low before rejection/bouncing. These gap zones can give quantitative basis for trade management.
Future features may include alerts based on price crossing up/down gap low, mid and highs. Feel free to message with any other suggestions.
Zona di offerta
Support Resistance Channels/Zones Multi Time FrameHello All,
For long time I have been getting a lot of requests for Support/Resistance Multi Time Frame script. Here ' Support Resistance Channels/Zones Multi Time Frame ' is in your service.
This script works if the Higher Time Frame you set is higher than the chart time frame. so the time frame in the options should be higher than the chart time frame.
The script checks total bars and highest/lowest in visible part of the chart and shows all S/R zones that fits according the highest/lowest in visible part. you can see screenshots below if it didn't make sense or if you didn't understand
Let see the options:
Higher Time Frame : the time frame that will be used to get Support/Resistance zones, should be higher than chart time frame
Pivot Period : is the number to find the Pivot Points on Higher time frame, these pivot points are used while calculating the S/R zones
Loopback Period : is the number of total bars on higher time frame which is used while finding pivot points
Maximum Channel Width % : is the percent for maximum width for each channel
Minimum Strength : each zone should contain at least a 1 or more pivot points, you set it here. (Open/High/Low/Close also are considered while calculating the strength)
Maximum Number of S/R : the number of maximum Support/Resistance zones. there can be less S/Rs than this number if it can not find enough S/Rs
Show S/R that fits the Chart : because of we use higher time frame, you should enable this option then the script shows only S/Rs that fits the current chart. if you disable this option, all S/R zones are shown and it may shrink the chart. also you may not see any S/R zone if you don't choose the higher time frame wisely ;)
Show S/R channels in a table : if you enable this option (by default it's enabled) then lower/upper bands of all S/R zones shown in a table ( even if it doesn't fit the chart ). you can change its location. zones are sorted according to their strengths. first one is the strongest.
and the other options is about colors and transparency.
Screenshots before and after zoom-out:
after zoom-out number of visible bars and highest/lowest change and it shows more S/R zones that fits the current chart!
if you see Support Resistance zone like below then you should decrease ' Maximum Channel Width ' or you should set higher time frame better:
You can change colors and transparency:
You can change Table location:
Alerts added :)
P.S. I haven't tested it so much, if you see any issue please drop a comment or send me message
Enjoy!
Mark LevelsMark Levels is marking liquidity pools by drawing lines on their pivots and labelling them so that you can instantly detect them on your realtime chart
It supports:
- marking previous and current day lows and highs
- marking previous and current week lows and highs
- marking previous and current month lows and highs
- marking equal lows and highs
technically it re-builds them on the last bar or as soon as new realtime bar is updated. it looks with 1k bars back to find higher timeframe ranges and find lows and highs there
Adjustments:
- changing the line style of the group
- changing the lines color and the labels on the groups
- currently pools are split on 2 groups Period Liquidity and Equal Pivots Liquidity.
ZigZag with Retracement LevelsThis is a modification to "ZigZag with Fibonacci Levels" by LonesomeTheBlue.
By default, the script finds the ZigZag, draws Fibonacci lines and labels accordinly. ZigZag period can be set.
The modification to the original script provides the following features:
1) Option for user to customize retracement levels, if they don't want to use Fibonacci levels. This allows for different strategy adoptions.
2) Option to show Fibonacci or custom retracement levels based on the latest pivot (including the current bar)
For example:
Enjoy and happy trading~!!
Refracted EMARefracted EMA is a price based indicator with bands that is built on moving average.
The price range between the bands directly depends on relationship of Average True Range to Moving Average. This gives us very valuable variable constant that changes with the market moves.
So the bands expand and contract due to changes in volatility of the market, which makes this tool very flexible exposing psychological levels.
Customizable Pivot Support/Resistance Zones [MyTradingCoder]This script uses the standard pivot-high/pivot-low built-in methods to identify pivot points on the chart as a base calculation for the zones. Rather than displaying basic lines, it displays a zone from the original pivot point to the closest part of the available body on the same candle. The script comes in handy by utilizing Pinescripts available input.source() function to allow for an external indicators output value to be used within the indicator. Make sure to read all of the TOOLTIPS in the indicator settings menu to get a full understanding of what each setting does, and how it can affect the results that end up on the chart.
By enabling the custom filter in the indicator settings, you will notice you have the ability to filter out zones using an external indicator such as an RSI. Maybe you only want zones to be calculated/drawn when the RSI is overbought or oversold, or maybe you only want the zones to calculate/draw if the Supertrend is green or red. The list of possible filters that you can implement is too many to count. Feel free to play around with the indicator however you like, and configure something that you find to be the most useful for your trading.
On top of everything listed above, the indicator has pre-programmed built-in alertconditions so that you can potentially automate trading, or get a notification to your cell phone when a zone is being touched/broken.
Carrey's Structure Supply and DemandThis script uses basic Rally Base Rally, Rally Base Drop, Drop Base Drop, and Drop Base Rally concepts to draw supply and demand zones. While the script is designed to account for multiple (up to 5) candles in the "base" phase, the box it will draw will only be the high and low of the last candle before the final Rally/Drop candle.
Next Gen Auto S/RThis indicator will automatically plot support and resistance levels and will also allow you to overlay multi time frame support and resistance on any time frame that you are currently conducting analysis on. In addition you can also set alerts when a support and resistance level is tested, fine tune how many levels you would like to view on your charts, option to input how many candlesticks minimum you would like between support and resistance levels. You can also select breakout mode which will turn old support into resistance by a colour change and turn old resistance into support. NEW you can now use extended levels and change your zones into lines.
Order Flow Imbalance Finder By TurkThis indicator is created to find the imbalances when a market exchange receives too many of one kind of order—buy, sell, limit—and not enough of the order's counterpoint and price shoots up or down and it left with unfilled orders. If you know how to trade the imbalances, this indicator can help you by find imbalances automatically.
Supply and Demand - Order Block - Energy CandlesSupply and Demand - Order Block - Energy Candles
Description
An experimental script, designed as a visual aid, to highlight the last up or down candle before a fractal break. We can assume these candles where the point of origin that generated enough strength to break recent structure. By using them as reference points, traders are expected to follow their own set of rules and mark higher probability supply and demand zones in the area.
How to use:
Expect a potential retest in these areas, and if they fail, a potential retest in the opposite direction. The greater the number of times a zone is tested, the more likely it is to break. A fresh zone that has not yet been tested will have a higher probability of a bounce.
Fractal period and candle break type can be personalised in settings. Can be used on all timeframes (higher the better).
Indicator in use:
Extras:
An option to flip candle colours if current price is above or below them has been added.
Phantom - My Session RangeThis is a modification of a script by RobMinty, "FXN - Asian Session Range" The script provides functionality to track specific trading sessions based on user preference rather than just the market sessions open and close. The idea is to help you hold yourself accountable to your specific trading times as well as backtest various marketing timings suitable to your schedule.
This script utilizes RobMinty's pine code to visualize your market session. We have adjusted the script to project the end of the session before the candles print - as well as adding/subtracting the horizontal and/or vertical lines around the current session box. This should help you understand how much time you have left in your session with a quick visual representation. While we have made some additions and adjustments to RobMinty's script- The inputs and functions of the combined script have not changed significantly from the originals. Like the originals, the code has been made open-source. If this script is reused or modified, please provide credit to RobMinty. If you plan to use this specific code with the ability to remove lines from the box and project session end forward, please credit both of us.
RSI Supply / Demand ZonesLines plotted for the Low and High of the region of price that was Overbought or Oversold
(Low of the candle that became overbought and highest high in the Overbought period)
(High of the candle that became oversold and highest high in the Oversold period)
I like to use the dotted lines as pivot points for the reversal of the trend, and also pay attention to small tops and bottoms (normal lines) that form in strong trends, as they usually make for brief periods of acummulation/distribution before the continuation of the strong trend.
Demand & Supply Zones [eyes20xx]Demand & Supply Zones
This indicator helps to identify large moves driven by institutions.
What qualifies as a zone?
If the price moves (open to close) by more than a certain % in one candle or in a bullish / bearish run of candles, the zone is marked as a Demand or Supply zone .
0.8% is good for Crypto and Forex might be better with 0.4%. Play around with the % to match your requirements.
Active zones
A zone remains active until it is hit by the price. When it becomes inactive, the zone background becomes transparent.
Zone lines
Lines are displayed if the zone is active and within a certain % of the close. 3% is a good setting for Crypto.
A maximum of two lines are displayed for each zone type.
Volume-based Support & Resistance ZonesThe new and improved Support & Resistance Zones indicator is here. This indicator is based on high volume at fractal lows or fractal highs with the zones based on the size of the wick for that timeframe’s candle.
This helps traders visualize which price levels are of the most significance for either reversals or continuation of the trend when zones are broken and then re-tested.
Original script is thanks to synapticex and additional modifications is thanks to Lij_MC. Credit to both of them for most of the logic behind this script.
Since then I have made many changes to this script as noted below:
Changed default S/R lines from plots to lines, and gave option to user to change between solid line, dashed line, or dotted line for both S/R lines.
Added additional time frame and gave more TF options for TF1 other than current TF. Now you will have 4 time frames to plot S/R zones from.
Gave user option to easily change line thickness for all S/R lines.
Made it easier to change colors of S/R lines and zones by consolidating the options under settings (rather than under style).
Added extensions to active SR Zones to extend all the way right.
Added option to extend or not extend the previous S/R zones up to next S/R zone.
Added optional time frame labels to active S/R zones, with left and right options as well as option to adjust how far to the right label is set.
Fixed issue where the higher time frame S/R zone was not properly starting from the high/low of fractal. Now any higher time frame S/R will begin exactly at the High/Low points. Note that this may not work perfectly on stocks and if a fractal high/low is too many bars in the past, it will revert to a default max bars back to avoid script errors.
Added to script a function that will prevent S/R zones from lower time frames displaying while on a higher time frame. This helps clean up the chart quite a bit.
Created arrays for each time frame's boxes and lines so that the number of S/R zones can be controlled for each time frame and limit memory consumption.
New alert options added and customized alert messages.
- The way this indicator works is it looks for fractal highs or fractal lows with volume that pierces above the volume's Moving Average. This moving average value can be modified in the settings for each time frame.
- The fractal highs will be confirmed with 3 successive higher highs followed by 2 successive lower highs and vice versa for the fractal lows.
- The zone is created from the fractal high/low and the close of the candle for whatever time frame you selected. The bigger the zone, the more significant that zone is.
- You can disable any zone, change the zones to show lines only, and modify all the colors, transparencies, and thickness of lines for all the zones.
- To create alerts, you first want to enable the types of alerts you want for each time frame in the indicator's settings. Then after you apply changes, right click on one of the zones on the chart, and click "Add Alert on Vol S/R Zones". You do not need to add a title as the correct alert messages are already built-in.
- More changes will be coming in the future!
I hope you find this indicator useful, if so please give it a thumbs up!
If you have any suggestions or features you would like to see, just let me know in the comment section. Thanks and enjoy!
SSR - Stablecoin Supply Ratio - Bitcoin - CryptocurrencyThe Stablecoin Supply Ratio (SSR) is the ratio between Bitcoin supply and the supply of stablecoins, denominated in BTC.
When the SSR is low, the current stablecoin supply has more "buying power" to purchase BTC. It serves as a proxy for the supply/demand mechanics between BTC and USD.
Divina - Support and ResistanceGiven the positive feedback received on the first Dynamic Support/Resistance script, I've decided to rewrite it on Pine Script v5 and publish it with open source code.
The main Divina area (box) is derived from change in price and volume, while the other support and resistance levels are based on the golden ratio (Divina proportione) or Fibonacci numbers.
The box will start to paint if the previous closed bar satisfy a condition and it will be never be repainted in the future. Anyway the box and the levels will be extended until a new signal is detected.
The Divina Support and Resistance will help you to find good price zones on wich the market might take trading decision. It is not a strategy by per se, it should be used with other good trading techniques.
3rd WaveHello All,
In Elliott Wave Theory, 3rd wave is not the shortest one in the waves 1/3/5 and it's usually longest one. so if we can catch it then we may get good opportunities to trade. This script finds 3rd wave experimentally. it can be also the 3rd waves in the waves 1, 3, 5, A and C. the 3rd wave should have greater volume than other waves, the script can check its volume and compare with the volumes of the waves 1 and 2 optionally.
Pine Team released Pine version 5! This script was developed in v5 and it uses Library feature of Pine v5 for the zigzag functions. This script is also an example for the Pine developers who learn Pine v5 and Libraries.
Options:
Zigzag Period: is the length that is used to calculate highest/lowest and the zigzag waves
Min/Max Retracements: is the retracement rates to check the wave 2 according to wave 1. for example; if min/max values are 0.500-0.618 then wave 2 must be minimum 0.500 of wave 1 and maximum 0.618 of wave 1.
Check Volume Support: is an option to compare the volumes of1. 2. and . waves. if you enable this option then the script checks their volume and 3rd wave volume must be greater then 1 and 2
there are 4 options for the targets. you can enable/disable and change their levels. targets are calculated using length of wave 1.
Options to show breakout zone, zigzag, wave 1 and 2.
and some options for the colors.
The Library that is used in this script:
P.S. This is an experimental work and can be improved. So do not hesitate to drop your comments under the script ;)
Enjoy!
Price ActionFirst, you have to know price action, RTM price action Handbook could help you
this indicator shows you base and momentum candles
base candles could be zones of trade that show you fighting of bulls and bears, and momentum candles could show the power of those zones.
Base candles are white in the chart, and you can place your order at the good zone.
Rally candles and drop candles are momentum candles, and bold rally and bold drop show that it is more powerful than its before candle.
Zigzag compression is one way that shows the compression in trend.
it looks like the Wedges pattern at classic technical that shows pending orders are closed, so the target zone could be powerful to reverse the trend.
Black background of candle means that candle doesn't reach its before candle and so it is poor candle, I named it domination.
It is better to do not trade at poor candles.
At the end, I find Price action the best way to trade, and it makes you free of other indicator, even volume indicator.
This indicator is good for those who use price action strategy to trade and those who want to learn the price action.
It could be so helpful and reliable way to find the zones, and place buy or sell order and the target, specially for scalping.
Volume Profile / Fixed RangeHello All,
This script calculates and shows Volume Profile for the fixed range . Recently we have box.new() feature in Pine Language and it's used in this script as an example. Thanks to Pine Team and Tradingview!..
Sell/Buy volumes are calculated approximately!.
Options:
"Number of Bars" : Number of the bars that volume profile will be calculated/shown
"Row Size" : Number of the Rows
"Value Area Volume % " : the percent for Value Area
and there are other options for coloring and POC line style
Enjoy!
Cup FinderHello All,
This script finds the Cups and you can use it while analysing the symbols. it creates circle and channel for the potential Cups and checks the number of bars included by the channel, if included bars is equal or greater than the value you set then it shows the cup.
The Options:
"Number for Bars to search" : Maximum length of a Cup
"Channel Width of the Cup" : Tate by the channel width of highest/lowest levels in last 300 bars, by default it's 5%
"Check for Breakout" : if there is Cup then it checks Close or High/Low is used a source for breaokuts, usuful while cheking historical bars
"Contained Bar Rate %" : after channel is created the script checks number of bars included by the channel of the Cup, you can set rate of included bars by this option
"S how Channels of Cups ": if you enable this option then you can see the channels around the Cups and set it as you wish
and there are some other options for labeling/removing old Cups and for coloring
Here you can see how channel looks like:
Cup with different colors:
P.S. This is an experimental work and sorry for no explanation in the script.
in the future if I have time I will try to write a script for Cup&Handle
This script is also an example to calculate and draw circles :)
Enjoy!
Breakout FinderHelo All,
I got many requests for a Breakout script and here it's. This script searches the breakouts/breakdowns and draw square if there is one.
The options:
"Period" is used to find Pivot Points
"Max Breakout Length" is the maximum length to search breakouts
"Threshold Rate %" is channel width of the breakout area. calculated using highest/lowest of last 300 bars.
"Minimum Number of Tests" is the minimum number of tests that the Price tried to break the S/R level
and some options for coloring and linestyle
Lets see some examples:
in this example "Minimum Number of Tests" is 2 so the Price must have tested to break resistance area 2 times and then it breaks it as seen in the screenshot:
in following example Threshold rate is %10, so the channel width is very big:
as you can see in followinf screenshot you can choose different colors and line styles:
Alerts added ;)
Enjoy!
RMIRMI is a combination of RSI and MFI oscillators which considers money flow and strength of supply or demand together.
It estimates that the money of which side is being ran out.
So the power of trends can be predictable approximately.
Where the green columns appear, it means demand is very high and it can fall because buyers may withdraw and sell their assets.
And when red columns appear, it means supply is very high and sellers or new buyers may enter into new deals which may increase the price of a asset.
I would be glad if I hear your feedbacks.
LTB Zigzag CirclesHello All,
Today I am here with a new idea and script, " LTB Zigzag Circles ". The idea is to create Circles using last 2 zigzag waves and to catch the breakouts earlier than horizontal lines. if a circle is broken then the script shows entry for Long/Short positions. and if broken circle reappears again then the position is closed. You can change Zigzag period as you wish and see the different results.
Here you can see how the script calculates and draws the Circles:
Below you can see how the script draws part of the circle on each bar:
Optionally the script can show levels:
P.S. I haven't tested it as a strategy, Result and Performance may change by Zigzag period, you need to find best Zigzag period according to your strategy. By the way, my Zigzag Circles idea can be improved, if you have any recommendation let me know please ;)
Enjoy!