Liquidity Swings [LuxAlgo]The liquidity swings indicator highlights swing areas with existent trading activity. The number of times price revisited a swing area is highlighted by a zone delimiting the swing areas. Additionally, the accumulated volume within swing areas is highlighted by labels on the chart. An option to filter out swing areas with volume/counts not reaching a user-set threshold is also included.
This indicator by its very nature is not real-time and is meant for descriptive analysis alongside other components of the script. This is normal behavior for scripts detecting pivots as a part of a system and it is important you are aware the pivot labels are not designed to be traded in real-time themselves.
🔶 USAGE
The indicator can be used to highlight significant swing areas, these can be accumulation/distribution zones on lower timeframes and might play a role as future support or resistance.
Swing levels are also highlighted, when a swing level is broken it is displayed as a dashed line. A broken swing high is a bullish indication, while a broken swing low is a bearish indication.
Filtering swing areas by volume allows to only show significant swing areas with an higher degree of liquidity. These swing areas can be wider, highlighting higher volatility, or might have been visited by the price more frequently.
🔶 SETTINGS
Pivot Lookback : Lookback period used for the calculation of pivot points.
Swing Area : Determine how the swing area is calculated, "Wick Extremity" will use the range from price high to the maximum between price close/open in case of a swing high, and the range from price low to the minimum between price close/open in case of a swing low. "Full Range" will use the full candle range as swing area.
Intrabar Precision : Use intrabar data to calculate the accumulated volume within a swing area, this allows obtaining more precise results.
Filter Areas By : Determine how swing areas are filtered out, "Count" will filter out swing areas where price visited the area a number of time inferior to the user set threshold. "Volume" will filter out swing areas where the accumulated volume within the area is inferior to the user set threshold.
🔹 Style
Swing High : Show swing highs.
Swing Low : Show swing lows.
Label Size : Size of the labels on the chart.
Note that swing points are confirmed after Pivot Lookback bars, as such all elements are displayed retrospectively.
Puntos pivote y niveles
Moon Phases + Daily, Weekly, Monthly, Quarterly & Yearly Breaks█ Moon Phases
From LuxAlgo description.
Trading moon phases has become quite popular among traders, believing that there exists a relationship between moon phases and market movements.
This strategy is based on an estimate of moon phases with the possibility to use different methods to determine long/short positions based on moon phases.
Note that we assume moon phases are perfectly periodic with a cycle of 29.530588853 days (which is not realistically the case), as such there exists a difference between the detected moon phases by the strategy and the ones you would see. This difference becomes less important when using higher timeframes.
█ Daily, Weekly, Monthly, Quarterly & Yearly Breaks
This indicator marks the start of the selected periods with a vertical line that help with identifying cycles.
It allows to enable or disable independently the daily, weekly, monthly, quarterly and yearly session breaks.
This script is based on LuxAlgo and kaushi / icostan scripts.
Moon Phases Strategy
Year/Quarter/Month/Week/Day breaks
Month/week breaks
Pivot and Price DiscoveryA Population Sampled linear regression model that provides additional detail about the distribution moments (skew, kurtosis, variance and mean) as well as providing indicators that track when a pivot has enough momentum to trade on as well as expected ranges of future price action based on Std Devs.
For the momentum lines -- red indicates that there has been a reducing pivot with momentum, this continues as a grey line for continuation, and will be cancelled when an increasing pivot with momentum is encountered.
Forward looking trend triangle captures the +/- stated standard deviation from the latest bar_index over 2 periods. Movements that trace outside of this can be considered a precursor to an upcoming pivot, and by analyzing skewness and kurtosis, the probability of an upcoming pivot should be better understood.
I have really only looked at this for timescales greater than 5 minutes. Adjust the lookback length accordingly when moving to different timescales:
For example, 1 hr at 10m timescale will be a lookback length of 6 which is too low for accurate analysis, so keep the lookback length appropriate for the timescales being used.
Also realize that trade volume will skew the deviations and regression if you are including data outside of regular trading hours (futures are different, but also experience volume sensitivity -- I maylook into accounting for this in future versions.)
© TheGeeBee
Golden PocketGolden Pocket
This marks up the fibonacci retracement levels of 0.65 and 0.618 by default, these levels are often referred to as the golden pocket.
They are known by this because when price has an impulse either to the up or downside, price will end up retracing at some point. This Golden pocket often lines up with other means of confluence where it's considered a good entry price from the retrace.
Unlike standard fib retracement indicators, these boxes will extend with current price until they are hit. As well as this, there is a moving average filter which you can set to higher timeframes meaning that you can choose to only look for golden pockets which are following the higher time frame trend. You can easily monitor all of your settings by setting up just 1 alert.
Settings
You have the option to enable/disable the line which marks out the pivot points the fib is being calculated from, you can also change the colour and style of the line.
Below this you have the option to choose what colour the fib boxes are and what colour they change to once price hits it. If you want them to disappear change the colours opacity to 0%.
If you want to change the golden pocket levels you can do that by changing the 0.618 or 0.65 levels in the settings.
The pivot distance controls what part defines a pivot high or low, it must be the highest/lowest to the left/right of the pivot candle count.
MA filter will only accept golden pockets which are trending with the Moving average.
You can change all the settings of the Moving average which acts as a filter including which timeframe it is calculated on.
Alerts
Simply toggle this on int the settings and then click on the 3 dots next to the indicators name, 'add alert', leave the top boxes as they are, you can name the alert anything you like but once you confirm this, it will monitor all golden pockets on the particular asset and timeframe you are looking at. The alerts are set up to trigger as soon as price touches one of the boxes.
Use Cases
We like setting are moving average up on the daily timeframe and using the Moving average filter so we know we are only trading with the higher timeframe trend. From there we can set up alerts on any lower timeframe.
Feel free to use any part of this script in your own code, please just give us a mention so we can check out your contributions to the community as well!
Happy to take in any suggestions or ways of improving
Multi TF High/Low/Open/Close LineNOTE: I'm not sure why the screengrab isn't showing the lines. They are there, and when I share the chart from this link they are there.... idk
This is a requested spin-off version of my previous HLOC for the Daily/Weekly/Monthly that allows users to choose 3 different timeframe units (Mins, Hours, Days, etc...) from the dropdown menu and then select the lookback period in which to draw the HLOC.
I've had quite a few requests to allow users to see multiple lookbacks for the same timeframe unit, mostly weekly, and I did not wish to change that particular script for that purpose. However, I was able to take the existing script and alter it for user input.
This indicator draws a line on the TF 1, TF 2, and TF 3 bar at the High, Low, Open and Close of user input Timeframe unit and selected lookback period.
The lookback period will go back the number of candles entered. So for example if you choose a 5 Min chart with a lookback of 3, the lines will be drawn on the HLOC 3 closed 5 min candles back. Selecting 0 will show data on the current Real-Time candle.
An example of a request I have gotten was for last week, the previous week and the previous month. The settings for that would be: TF 1 - 1 week Lookback 1, TF 2 - 1 week Lookback 2, TF 3 - 1 month Lookback 1.
Each set of lines has an optional identifying label with its own color set that can be shown with or without price value, and has drop down menus for size and style of each set of labels. The TF unit value is displayed on the label, but not the lookback.
So if you are using the hourly on all 3 TF's with different lookback periods, they will all say "60" on the label.
I recommend using the line and label options to distinguish between the different lookback values.
Each set of lines has inputs for line/text color, line width and style and each line argument can be selected independently.
In the chart example I have displayed only the High and Low on three 1 hour TF's with the lookback of 4, 5 and 6 candles with the labels descending in size. With this data I can see that over the last 6 hours the price of ES is in an descending pattern and I should be on alert for a break.
Since I trade ES in RTH on a much lower timeframe, this data can alert me to a bigger picture potential trend change or continuation. I would personally use this with pivot data for timing and look for entries in areas of high volume that moved price to a new
high or low that have not been retested.
I will be looking to add a user input offset for labels in the future. I have had bad luck with it in the past working for a couple weeks and then throwing an error, but I will look into it again soon.
I also recommend going into Chart Settings/Status Line and turning off indicator arguments OR moving the script to the top of the indicator list to avoid obstructed chart view with this indicators arguments. When script allows, I will update it to hide them.
Liquidity Hunter - FattyTradesThis indicator is used to automatically identify and plot two forms of liquidity that will be targeted by market makers.
The first form of liquidity is based on multi-time fame highs and lows. It plots 1H, 4H, D, W, & M liquidity on an intraday chart to make it easier to identify. I believe hat liquidity is what drives the market and the most common form of this liquidity can be identified through higher time frame highs and lows. You can use whatever method you prefer to determine which liquidity pool will be targeted. When the liquidity is purged, it will be shown as dotted lines. This should not be used as traditional support/resistance, but rather as targets for the market.
The second form of liquidity is in the form of imbalances or fair value gaps. You can select a higher time frame to be plotted along with the current time frame you're viewing to identify imbalances that will likely be targeted intraday. We know that higher time frame fair value gaps work equally well as targets for market makers. When a higher time frame FVG is broken into, it can also act as a very powerful form of support and resistance. By default, when a fair value gap has been mitigated it will be removed from the chart, however this can be disabled.
Between these two forms of market maker liquidity targets on the chart, it will be easier to formulate a thesis intraday to determine where the market will move. It can help minimize the amount of switching between higher time frames that needs to be done, allowing you to identify targets while trading on your favorite intraday time frame for optimal risk/reward.
In the near future, I will build in alerting mechanism to alert when liquidity on higher time frames as been purged/mitigated.
CryptoverseThis Indicator dynamically generates and charts Pivot Points, Support and Resistance Lines, Trend Channels and even Rsi Divergences in every market and every time period.
While it helps you identify your entry points, stop loss and take positions, it certainly does not include trading signals and trading strategy.
Bonus: the indicator contains ema21, ema50, ema100 and ema200 to support the lines created. If you wish, you can change the EMA values in the settings.
Recommendation: RSI is included in the indicator codes in order to detect divergences dataally, but it is not displayed on the chart. I recommend adding an additional RSI indicator to keep track of past and current potential divergences.
USER MANUAL:
----------------------------------------------
General Settings:
Pivot Period: This field determines how many candles before and after a candle should be controlled in order to be able to determine the top and bottom points on the chart.
Support and Resistance Lines and Trend Channels formed on the chart are created by calculating the Pivot points formed according to the period determined here. (Default value: 6)
Pivot Source: Determines the pivot points to be created according to the value of the relevant candle.
(Default and Recommended: closing)
----------------------------------------------
Support And Resistance Settings:
Custom Bars Back: This area allows you to specify how many pivot points from the current candle to the previous candle to create support resistance lines on the Chart. The default value is the last 500 candles.
*Note: The more old candles are checked, the more support and resistance lines will appear. This may prevent you from making sound determinations on the chart.*
Current Bar Decrease: This field works integrated with Custom Bars Back. By subtracting the current candle by the specified number, it provides the formation of lines without including those candles.
Default value: It is set to 0 to include current data.
Example: If Custom Bars Back: 500 and Current Bar Decrease: 10, Support and Resistance lines are created by considering 500 candles before the last 10 candles without including the last 10 candles on the chart.
Show S/R Lines: This field allows you to show or hide the Support and Resistance lines at any time.
Auto Simplification: This field is marked by default. It allows the Simplification Steps value to be determined automatically within the code according to the time period and current volatility of the relevant parity. (It is recommended to use the default version.)
Simplification Steps: This field allows you to get more understandable lines by simplifying the Support and Resistance lines based on Pivot points. If a simplification is not done, the lines to be formed with only the pivot points will be too many and this creates a dirty and useless appearance on the chart.
Each 1 digit you enter as a step combines the lines that are close to each other at a value of 0.01% and creates a common line.
Example: If you enter the number 10 as Steps, it will form a single common line from lines close together, starting at 0.01% respectively. It will continue to increase by 0.02%, 0.03%, 0.04% in its next steps. For the number 10, it will complete its loop by combining lines within the last remaining lines that are as close as 0.1% to each other and creating new lines from their midpoints.
The deafult value is 14. (Max. simplifies lines with closeness up to 1.4%.)
Important Note: If Auto Simplification is on, the entered value has no meaning. The Indicator performs simplification operations automatically. If you want to manage these steps manually, you can turn off Auto Simplification and enter your own value.
S/R Lines Color: Allows you to specify the color of the lines.
Label Location: Allows you to determine how many candles ahead the information label formed for each line will be positioned.
Line Label Descriptions:
Line: It is the price value that the line coincides with.*
Distance: Shows the percentage distance of the line from the current price.
▲ : Shows the percentage distance from the line above it.
▼ : Shows the percentage distance from the line below it.
Strength: Indicates the total number of steps the process has taken during the simplification process. The height of the number indicates the strength of resistance and support in the close price range.
C. Width: stands for Channel Width. It shows the percentage value between the highest price and the lowest price on the past candle as many candles specified by Custom Bars Back.
S. Steps: stands for Simplification Steps. Indicates the number of simplification steps applied. A value of 150 in the image indicates that a 1.5% simplification range has been applied.
----------------------------------------------
Trend Channels Settings:
Show All Trend Lines: Allows you to show and hide trend channels.
Hide Old Trend Lines: If you enable it, it will hide channels created in the past except for Current Trend channels.
Helper Line Format: Allows the auxiliary line that converts a trendline to a channel to be drawn based on percentage or price.
Note: There may be cases where the auxiliary lines do not provide full parallelism when using large time intervals by preferring a percentage.
Up Trend Color: Indicates the color of the Up Trend channel.
Down Trend Color: Specifies the color of the Downtrend channel.
Show Up Trend Overflow, Show Down Trend Overflow:
When the price closes above or below the trend channels, it provides awareness with the help of a text on the chart. Colors can be adjusted according to preference.
----------------------------------------------
RSI Divergences Settings:
This indicator gives you information about 4 different divergences. You can customize the divergence views with the show and hide options.
Bullish Regular, Bullish Hidden, Bearish Regular and Bearish Hidden.
Green divergences from the bottom of the graph represent bullish, and red divergences above the graph represent bearish.
Important note: Seeing a mismatch label definitely indicates that there is a mismatch between prices and rsi, but a mismatch does not always indicate a change in price.
Potential Divergence:
The indicator not only shows you past divergences, but also informs you of potential divergences based on the current status of the chart.
A potential divergence may not turn into a true one if the price flow continues to increase or decrease in the same direction. But all divergences seen in the past must have been shown as potential divergences beforehand.
Rsi Length, Rsi Source: Allows you to change settings for RSI values typically embedded within the indicator.
Note: Pivot Source and RSI Source using the same type of candle data ensures that divergences are displayed correctly.
----------------------------------------------
EMA Settings:
The indicator allows you to use 4 different EMA data in addition to Support and Resistance lines, Trend Channels and RSI divergences. By default, 21, 50, 100 and 200 are used. You can change the EMA values and colors in the Settings section, or you can use the show hide options in the Style section.
Hurst Diamond Notation PivotsThis is a fairly simple indicator for diamond notation of past hi/lo pivot points, a common method in Hurst analysis. The diamonds mark the troughs/peaks of each cycle. They are offset by their lookback and thus will not 'paint' until after they happen so anticipate accordingly. Practically, traders can use the average length of past pivot periods to forecast future pivot periods in time🔮. For example, if the average/dominant number of bars in an 80-bar pivot point period/cycle is 76, then a trader might forecast that the next pivot could occur 76-ish bars after the last confirmed pivot. The numbers/labels on the y-axis display the cycle length used for pivot detection. This indicator doesn't repaint, but it has a lot of lag; Please use it for forecasting instead of entry signals. This indicator scans for new pivots in the form of a rainbow line and circle; once the hi/lo has happened and the lookback has passed then the pivot will be plotted. The rainbow color per wavelength theme seems to be authentic to Hurst (or modern Hurst software) and has been included as a default.
DR/IDR Candles [LuxAlgo]This indicator displays defining ranges (DR) and implied defining ranges (IDR) constructed from two user set sessions (RDR/ODR) as graphical candles on the chart. The script introduces additional graphical elements to the original DR/IDR concept and as such can be thought as a graphical method in addition to a technical indicator.
Additionally, this script can display various Fibonacci retracements from the constructed DR/IDR if enabled within the settings.
Settings
Regular Session: Enable/disable regular session's DR/IDR alongside setting the session time. By default, 09:30 - 10:30 am.
Overnight Session: Enable/disable overnight session's DR/IDR alongside setting the session time. By default, 03:00 - 04:00 am.
UTC Offset: UTC offset for the time zone, by default -5 (EST)
Retracements
Reverse: Inverts source range upper/lower value for constructing the retracements.
From: Source range used to construct the retracements, by default DR is used.
By default, the 0.5 retracement (average line) is displayed.
Usage
The used sessions are highlighted by a gray background. DRs are highlighted by dashed lines while IDRs are highlighted by solid ones. The maximum/minimum price between each user set session is highlighted by solid wicks.
The color of the DRs/IDRs/wicks are determined by the price position relative to the DR; if price is above the DR maximum, then a blue color is used. If price is below, then an orange color is used, and if price is within the DR range, then a gray color is used.
Additionally, the area of the DR range is used to highlight the number of time price is located within the DR, with a longer background highlighting a higher number of occurrences. This can help highlight if the DR levels were potentially useful as support/resistance.
When price is outside the IDR range, the area between the price and IDR is highlighted, in blue if price is above the IDR, and orange if it is under.
The original author of the DR/IDR concept describes 3 rules using the price position relative to the DR/IDR levels:
1.) If price on the 5-minute timeframe closes above the DR high after 10:30 AM or 04:00 AM then the DR low will likely be the low of the trading session.
2.) If price on the 5-minute timeframe closes below the DR low after 10:30 AM or 04:00 AM then the DR high will likely be the high of the trading session.
3.) If price closes above the IDR high after 10:30 AM or 04:00 AM it is an early indication that the low of the DR will be the low of the day and vice versa.
We can see that the above rules are cases of conditional probabilities.
There is no significant data supporting or regarding any statistical probability of the above rules to be true, which are more than uncertain given the stochastic nature of prices. The lack of precision of these rules is also a concern (time zone dependance, applicable markets, etc...).
Credits
Credits to trader TheMas7er who originally created the DR/IDR concept in November of 2022. This script was derived from his proposed session times & rules for trading.
Pivot High/Low ComparisonThis script will show you at a glance the following trends:
Higher Highs (Green line on top)
Lower Highs (Red line on top)
Higher Lows (Green line on bottom)
Lower Lows (Red line on bottom)
It utilizes the Pivot High and Pivot Low functions to determine if the previous pivot was higher or lower than the current pivot .
Nick_OS RangesUNDERSTANDING THE SCRIPT:
TIMEFRAME RESOLUTION:
* You have the option to choose Daily , Weekly , or Monthly
LOOKBACK WINDOW:
* This number represents how far back you want the data to pull from
- Example: "250" would represent the past 250 Days, Weeks, or Months depending on what is selected in the Timeframe Resolution
RANGE 1 nth (Gray lines):
* This number represents the range of the nth biggest day, week, or month in the Lookback Window
- Example: "30" would represent the range of the 30th biggest day in the past 250 days. (If the Lookback Window is "250")
RANGE 2 nth (Blue lines):
* This number represents the range of the nth biggest day, week, or month in the Lookback Window
- Example: "10" would represent the range of the 10th biggest day in the past 250 days. (If the Lookback Window is "250")
RANGE 3 nth (Pink lines):
* This number represents the range of the nth biggest day, week, or month in the Lookback Window
- Example: "3" would represent the range of the 3rd biggest day in the past 250 days. (If the Lookback Window is "250")
YELLOW LINES:
* The yellow lines are the average percentage move of the inputted number in the Lookback Window
SUGGESTED INPUTS:
FOR DAILY:
Lookback Window: 250
Range 1 nth: 30
Range 2 nth: 10
Range 3 nth: 3
FOR WEEKLY:
Lookback Window: 50
Range 1 nth: 10
Range 2 nth: 5
Range 3 nth: 2
FOR MONTHLY:
Lookback Window: 12
Range 1 nth: 3
Range 2 nth: 2
Range 3 nth: 1
TIMEFRAMES TO USE (If You Have TradingView Premium):
Daily: 5 minute timeframe and higher (15 minute timeframe and higher for Futures)
Weekly: 15 minute timeframe and higher
Monthly: Daily timeframe and higher (Monthly still has issues)
TIMEFRAMES TO USE (If You DO NOT Have TradingView Premium):
Daily: 15 minute timeframe and higher
Weekly: 30 minute timeframe and higher
Monthly: Daily timeframe and higher (Monthly still has issues)
IMPORTANT RELATED NOTE:
If you decide to use a higher Lookback Window, the ranges might be off and the timeframes listed above might not apply
ISSUES THAT MIGHT BE RESOLVED IN THE FUTURE
1. If it is a shortened week (No Monday or Friday), then the Weekly Ranges will show the same ranges as last week
2. Monthly ranges will change based on any timeframe used
Reversal pickerIs a tool used to determine market reversals, this tool is built of RSI and Moving Averages. Main aim of this tool is to help make market analysis easier by catching market reversal zones and alerting traders and investors about the market reversing and whether they should buy or sell.
What the tool do
- The tool catches market reversals
- The tool draw new support and resistance line for that period
- The tool alert you whether to buy or sell
How to use the tool
- Sell below resistance line and buy above support line
- The labels will guide you whether to buy or sell
- By default a red line is a resistance line and a green line is a support line
- By default a red label tells you to place a sell position and a green label tells you to place a buy position
Multiple Divergences (UDTs - objects) - Educational█ OVERVIEW
This script highlights the usage of User-defined Types (UDTs) and objects , and bullish /bearish divergences.
Pivotpoints are used to find divergences, the result of this script will be different against other public multiple divergences scripts.
FOR Pine Script™ CODERS
Besides the information found in CONCEPTS , the comments in the script will, hopefully ), guide you through my thought process.
█ CONCEPTS
The main principle of this script are bullish /bearish divergences, this with 3 different oscillators ( RSI , CCI , MFI )
If you want to know more about divergences, have a look at some Education and Research idea's .
On every bar, an object HLs is made, containing bar_index , high , low , and 2 bool variables ( isPh , isPl ).
On every bar, an object Osc is made, containing bar_index , o (oscillator value), and 2 bool variables ( isPh , isPl ).
If a pivothigh (ph ) is found, isPh will be true on that bar, false otherwise.
If a pivotlow (pl) is found, isPl will be true on that bar, false otherwise.
These objects are added to an array, with limited size.
If a ph is found, the script draws a testline from that ph to every previous ph , found in the array.
Then every high in between these 2 points are checked if they don't pierce the testline .
If the testline isn't broken, the Reg_Div_Piv() function will give 4 values, 1 check (not pierced) variable and the 4 points of the line.
The testline is deleted.
Once a positive check is found, the script will perform the same, but now with the Osc objects.
The script will ONLY compare Osc pivots which are maximum 1 bar away from the high/low pivot .
If everything is confirmed, a line is drawn, visible on the chart.
█ REMARKS
A label will be visible with a number, this is the amount of divergences found with the according oscillator .
EXAMPLE
Div with RSI and CCI -> 2
Div with MFI alone -> 1
Div with RSI and CCI and MFI -> 3
...
Divergences should only be used when confirmed, this is after bar close .
As an aid, lines that are not confirmed will be dotted , if confirmed, they will be solid .
The divergence check start when a ph/pl is found, after which oscillator pivot are checked.
Optionally the same can be done, when a oscillator pivot is found and then check the ph/pl ,
this should give more results, although it can make the script slower.
█ SETTINGS
Left - amount of bars at the left which needs to be lower/higher
Right - amount of bars at the right which needs to be lower/higher
Max values - maximum values in array of objects
3 oscillator settings with
• ON/OFF
• Length
• color bullish divergence
• color bearish divergence
Have FUN !
Trading Channel for BTCThe goal is to visualize, through basic but robust information, a channel that frames the price action, whose referenced limits and lines are indicative of potential entries and exits.
It is a simple but enormously reliable base for the development of different strategies.
The parameters for the script have been optimized for BTC. It shows good results in all time frames.
Red lines: support of closures and lows (indicative of potential points of purchase).
Green lines: resistance of closures and highs (indicative of potential points of sale).
Orange-gray line: proposed stop loss for long positions, at a ratio of 2:1.
Yellow line: midpoint of channel (as a reference for trend change detection or even possible take-profits).
White line: 8-period simple moving average (SMA).
Gray line: 21-period SMA.
Pink line: standard pivot.
Purple line: 3-period simple moving average pivot.
Blue lines (deactivated by default): standard range of support and resistance pivots (according to the studies of John L. Person).
A channel of support and resistance indicative of potential entry points is shown, both for short and long positions. The channel is based on the closures and the lowest and highest lows and highs of the last 21 periods, shifted one period.
In addition to showing the channel of support and resistance, the script also includes the display of two SMAs (simple moving averages) of 8 and 21 periods, as well as standard and 3-period simple moving average pivots, which can be used as support for entry decisions.
The script allows the user to develop more or less aggressive strategies, conditioning the entries to the price's contact, closure, or distance from the different proposed support and resistance lines, and confirming the same entries through possible SMA and/or pivot crosses, and exits in the same way.
The standard range of support and resistance lines, deactivated by default, is a consultation tool for the higher time frames (month, week, day) for the location of strong supports and resistances that may recommend or, on the contrary, discourage the execution of entries.
The strong point of the script is the visualization of a reliable channel within which the price action develops with basic and repetitive behavior: when the price touches one of the limits, it then goes to the opposite one. Based on that foundation, with the help of the indicators that are most familiar and/or reliable for the user, an infinity of strategies suitable for all types of traders can be developed.
This script is just a consultation tool with didactic goals, it should not be used as an investment recommendation and the information provided should not be relied upon as such.
----------
Se pretende visualizar por medio de información básica pero robusta, un canal que enmarca la acción del precio, cuyos límites y líneas referenciadas son indicativos de potenciales entradas y salidas.
Resulta una base simple pero enormemente confiable para el desarrollo de diferentes estrategias.
Los parámetros para el script han sido optimizados para BTC. Muestra buenos resultados en todos los marcos temporales.
Líneas rojas: soportes de cierres y mínimos (indicativas de puntos potenciales de compra).
Líneas verdes: resistencias de cierres y mínimos (indicativas de puntos potenciales de venta).
Línea gris anaranjada: propuesta de stop loss para posiciones en largo, a razón de 2:1.
Línea amarilla: punto medio de canal (como referencia para detección de cambios de tendencia o incluso posibles take-profit).
Línea blanca: SMA (promedio móvil simple) de 8 periodos.
Línea gris: SMA de 21 periodos.
Línea rosa: pivote estándar.
Línea morada: pivote de media simple de 3 periodos.
Líneas azules (desactivadas por defecto): abanico de pivotes de soportes y resistencias estándar (según los estudios de John L. Person).
Se muestra un canal de soportes y resistencias indicativas de puntos potenciales de entradas tanto en corto como en largo. El canal se basa en los cierres y los mínimos y máximos más bajos y más altos de los últimos 21 periodos, desplazados un periodo.
Además de mostrar el canal de soportes y resistencias, el script incluye también la visualización de dos SMA's (promedios móviles simples) de 8 y 21 periodos, así como pivotes estándar y de media simple de 3 periodos, que se pueden utilizar como apoyo para las decisiones de entrada.
El script permite al usuario desarrollar diferentes estrategias más o menos agresivas, condicionando las entradas al contacto, al cierre o al alejamiento del precio respecto a las diferentes líneas de soporte y resistencia propuestas, pudiendo confirmar las mismas entradas por posibles cruces de SMA's y/o pivotes, y las salidas de igual manera.
El abanico de soportes y resistencias estándar, desactivadas por defecto, son herramienta de consulta para los marcos temporales más altos (mes, semana, día) para localización de resistencias y soportes fuertes, que pudieran recomendar o, por el contrario, desaconsejar la ejecución de entradas.
El punto fuerte del script es la visualización de un canal confiable dentro del que se desarrolla la acción del precio con un comportamiento básico y repetitivo: al tocar el precio uno de los límites, se dirige después al opuesto. Sobre esa base, con la ayuda de los indicadores que resulten más conocidos y/o confiables para el usuario, se pueden desarrollar infinidad de estrategias adecuadas para todos los tipos de trader.
Este script es solo una herramienta de consulta con objetivos didácticos, no debe ser utilizado como recomendación de inversión y no se debe confiar en ella como tal.
OTE optimal trade entry (ICT); visible chart only: Dynamic-simple tool based on ICT free YouTube material of many years.
-Highlights a box showing Optimal Trade Entry (OTE): 61.8% - 78.6% retracement
-Auto shifts depending on Bull or Bear move on chart.
--If visible chart is Bullish (low then high): shows OTE box 61.8-78.6% retracement down from the high
--If visible chart is Bearish (high then low): shows OTE box 61.8-78.6% retracement up from the low
-Thanks the use of PineCoders Visible Chart Library, and some of the example code there
Saty Pivot RibbonA 3 EMA Ribbon + Conviction EMAs system that simplifies measuring and using EMAs for trend and support/resistance . If you are familiar with using a faster EMA (8 or 9) with a pivot EMA (21) you should feel right at home.
Features include:
- 3 EMA Trend Ribbon (8, 21, 34 default)
- 2 color system for showing bullish trend (green + blue)
- 2 color system for showing bearish trend (red + orange )
- Ribbon folding visual indicates EMA crossover
- Conviction Arrows based on 13/48 EMA crossover
- 13/48 Conviction EMAs
- Time Warp: Warp the Ribbon into a different timeframe than the chart.
Inspired by Ripster EMA Clouds.
Support Resistance - Dynamic v2 w/ Timeframe optionThis script is a modification from the awesome "Support Resistance - Dynamic v2" by @LonesomeTheBlue
This script is very similar to the original indicator mentioned above, but with a modification that, in my opinion, would be very useful for many traders. It enables the option to choose different timeframe to calculate the S/R levels. Very often, traders would like to use higher timeframes to define S/R levels, rather than using the same timeframe that they are trading at. For example, if trading at 5min, we often use 15min, 30min or 1hr timeframe to define our S/R levels.
For example, below shows S/R levels from three different timeframes:
Hope you find value in this indicator~ Enjoy~
Assassin's Grid
Introduction: Are you a fan of automated grid-based trading and holding onto your crypto assets like they're the last Snickers bar in the world? If so, this Pine script could be your new best friend!
Grid Trading Genius: The script uses some seriously advanced grid trading techniques to automatically place orders at different price levels, creating a mesh of positions that move with the market like a well-oiled machine. This strategy can be great for traders who are willing to sit back and let their positions grow like a fine wine over time.
Optimization Features: The script comes loaded with all sorts of features and tools to help traders optimize their grid positions, like position exits and custom alerts for creating limit and market orders. This helps keep traders in the loop and allows them to take action as needed, like a ninja in the night.
Unique Twists: One of the unique features of this script is the option to choose between normal or incremental entry steps in a 1,2,3,... ratio. By choosing incremental entries, traders can potentially improve their average price and increase their potential profits like a boss. Just keep in mind that this script doesn't have a stop loss feature, but it does include the option to sell without profit on the final entry or on all entries if desired. Additionally, the script is always open to improvement and any ideas for improving it are welcome, like a blank canvas.
Conclusion: If you love automated trading and have the patience and determination to stick to a solid strategy, this Pine script could be a great fit for you. It's suitable for traders who are comfortable with more complex trading approaches and are willing to put in the time and effort to learn and master the script's various features and techniques, like a Jedi Knight
LiquidationsFirst, thanks to the following Tradingview community members for providing open source indicators that I used to develop this indicator!
Liquidations by volume (spot/futures) - @Thomas_Davison
Pivot and liquidation lines - @lmatl
Let me know if either of you do not approve and I will remove the indicator.
This indicator uses pivot points, volume and a liquidation percentage to determine potential liquidation levels. These are not exact but can give traders an idea of potential support or resistance levels.
Pivot points: Currently the pivot points are set to look left 5 bars and right 2 bars. This will determine the high and lows in the chart.
Volume: Assuming that high volume bars are where more leverage is used, this indicator uses the average volume over a 1000 bar period to determine to determine a baseline. I have arbitrarily set 100x lines to 20% above the average volume, 50x lines 10% above, 25x lines 5% above, 10x lines 2.5% above and 5x lines 1.25% above.
Liquidation: Finally, we are making a few assumptions on how liquidations are calculated. The following table includes the percentage a position can decline before being liquidated.
Short: Long:
100x 0.51% 0.49%
50x 1.55% 1.47%
25x 3.70% 3.38%
10x 5.11% 4.67%
5x 6.705% 6.115%
Let me know if there are any questions or if anyone has any improvements!
12/26-IT strategyBase of this Strategy is crossover of 12EMA on 26EMA.
Also multiple other criteria has to meet for buy signal, Criterias mentioned below
//////////////////////////////////
There two entry option to select. Either one or both can be selected:
1. Only 12/26 Cross over
a. 12/26 crossover.
b. RSI (14) value to be between a range (RSI is inbuilt, but lower and upper range can be defined in settings)
c. MACD (12, 26) to be positive and above signal line (this is inbuilt)
2. Recent 12/26 Cross over and closing above pivot point(resistance)
a. 12/26 crossover has to be recent, CrossOverLookbackCandles value will look for crossover in # previous candles..
b. RSI (14) value to be between a range (RSI is inbuilt, but lower and upper range can be defined in settings)
c. MACD (12, 26) to be positive and above signal line (this is inbuilt)
d. closing above resistance line
//////////////////////////////////
For Exit we have three options. you can select any SL as per your need, multiple SLs can also be selected
1. Trailing Stop Loss.
Source for TSL is adjustable(open, close, high or low), also you have to mention % below your source TSL has to be placed.
Once closing is below TSL, exit will be triggered.
2. Closing below 7SMA
After 7SMA SL is enabled, 7SMA will be plotted on chart and exit signal will be triggered when closing is below 7SMA.
Choose this option for LESS risk and rewards
3. 12/26 Crossdown
Once 12EMA crossdown below 26EMA, exit will be triggered.
Choose this option for HIGH risk and rewards
//////////////////////////////////
Resistance line is plotted based on left and right candles, if 10(can be changed) is used for both left and right, indicator will look for 10 candles in left and 10 candles in right and if both left and right candle are lower then a line is plotted.
Source has to be selected (close or high)
//////////////////////////////////
Qty mentioned in Buy trigger will be based on BUYVALUE entered
//////////////////////////////////
Multiple Target option is available, if first target is matched how much percentage of qty to be sold can be defined.
If you wish to have only one Target, then exit qty in first target must be 100
Bagang Pivot Zones | Supply & Demand, Support & ResistanceBagang Pivot Zones detects imbalances from classic reversal and momentum price actions.
Imbalances create pivot zones, a.k.a Supply & Demand / Support & Resistance / Orderblock zones.
Use Cases
1. Traders using Supply & Demand theory can quickly pinpoint imbalance zones created by BUY-to-SELL and SELL-to-BUY candles.
2. Trend Following traders can systematically catch and follow a trend based on pivot zones analysis.
3. Breakout traders can easily target pivot zones’ breakout and breakdown.
4. Take the guesswork out of risk management: manage stop-loss precisely behind pivot zones.
5. Analyze contrary pivot zones to set realistic profit targets.
Objectivity
By only comparing OHLC values to identify notable price actions, Bagang Pivot Zones avoids derived calculations with subjective parameters.
Chart Issue
If the chart zooms out after adding an indicator, right-click the price scale and toggle "Scale price chart only” on.
Expected LiquiditySimple but effective script that displays Liquidity Premium/Discount areas in an adaptive way based on key Fibonacci levels.
You can increase or decrease the 'Period' value in the Settings to adjust the gap between the lines as you see fit.
By default the value is '46' which should suit most markets.
- The script contains Alerts which are triggered when a liquidity line is crossed by the price.
Good trading to all and don't forget, risk management remains the most important!
VF-ST-EMA-CPRVolatility and Fibonacci table helps to identify support and resistance for the day/week. Similarly, the CPR (Central Pivot Range) table helps to identify the support and resistance for the day/week. Additionally use SUpertrend and EMA to identify trends.
Disclaimer:
This indicator is for educational or study purposes. There is no recommendation to buy or sell any scrip here. Take your own risks and rewards and you are only
responsible for any outcome after using this indicator.