MATHR3E RETRACEMENTS█ OVERVIEW
MATHR3E Retracements automatically draws upward and downward price projection levels based on Fibonacci ratios and a retracement methodology.
█ CONCEPTS
Disclaimer
MATHR3E RETRACEMENTS indicator is intended for advanced traders and may fit your profile, whether you are a day trader or a long-term investor.
It was originally developed by a renowned market analyst and documented in numerous books. Among them is the author Jason Perl.
It is recommended to have read the trading techniques mentioned in the books covering this indicator beforehand.
How to use:
Two kinds of retracement are available:
Regular retracement:
Once a price thrust is identified and a recent exhaustion is formed, Regular retracements can be applied.
The indicator will automatically draw price projection levels based on these Fibonacci ratios: 38.2%, 61.8% and so on.
These levels then help to identify areas of support and resistance in response to the initial price thrust.
Antipodal retracement:
After an all-time record high / low is located, Price projections are applied by the indicator:
• From an ATH the figure is multiplied by both 0.618 and 0.382 to arrive at downside price projection levels.
• From an ATL the figure is multiplied by both 1.382 and 1.618 to arrive at upside price projection levels.
█ FEATURES & BENEFITS
Versatile
The indicator is designed to work with other indicators by the same author, including the identification of exhaustion points.
It will then make it easier to identify scaled profit taking levels that are based on Fibonacci levels.
This indicator can be applied to any market or time frame.
Retracement methodology
It differs slightly from the original in the process of identifying the reference low/high points referred as Magnet Price.
While the original determines when the market last traded above the reference low/high, this indicator instead relies on a process of selecting the last confirmed Magnet.
The qualification combines a reference price with the last requirement for wave A, i.e. an eight-bar-high (customizable) reference price, from the Waves indicator by the same author.
Since the process of selecting magnet points is different, this leads to retracement lines that remain closer to the price as trends unfold.
Similar to LINES indicator, this indicator automatically analyzes the price action around these levels to Confirm/Invalid breakouts and deliver signals for trend following.
Qualifiers
Qualifiers/Disqualifiers will then be used to assess whether a trend reversal is coming or whether the previous trend is likely to resume.
Fully Customizable
Especially when selecting magnet levels.
Customizable Fibonacci levels for Regular and Antipodal retracements
Alerts
Alerts format can be adapted to be received on Discord servers.
Set up your alerts and get notified on:
• Confirmed Break signal
• Invalidated signal
תמיכה והתנגדות
ATR PivotsThe "ATR Pivots" script is a technical analysis tool designed to help traders identify key levels of support and resistance on a chart. The indicator uses various metrics such as the Average True Range (ATR), Daily True Range ( DTR ), Daily True Range Percentage (DTR%), Average Daily Range (ADR), Previous Day High ( PDH ), and Previous Day Low ( PDL ) to provide a comprehensive picture of the volatility and movement of a security. The script also includes an EMA cloud and 200 EMA for trend identification and a 1-minute ATR scalping strategy for traders to make informed trading decisions.
ATR Detail:-
The ATR is a measure of the volatility of a security over a given period of time. It is calculated by taking the average of the true range (the difference between the high and low of a security) over a set number of periods. The user can input the number of periods (ATR length) to be used for the ATR calculation. The script also allows the user to choose whether to use the current close or not for the calculation. The script calculates various levels of support and resistance based on the relationship between the security's range ( high-low ) and the ATR. The levels are calculated by multiplying the ATR by different Fibonacci ratios (0.236, 0.382, 0.5, 0.618, 0.786, 1.000) and then adding or subtracting the result from the previous close. The script plots these levels on the chart, with the -100 level being the most significant level. The user also has an option to choose whether to plot all Fibonacci levels or not.
DTR and DTR% Detail:-
The Daily True Range Percentage (DTR%) is a metric that measures the daily volatility of a security as a percentage of its previous close. It is calculated by dividing the Daily True Range ( DTR ) by the previous close. DTR is the range between the current period's high and low and gives a measure of the volatility of the security on a daily basis. DTR% can be used as an indicator of the percentage of movement of the security on a daily basis. In this script, DTR% is used in combination with other metrics such as the Average True Range (ATR) and Fibonacci ratios to calculate key levels of support and resistance for the security. The idea behind using DTR% is that it can help traders to better understand the daily volatility of the security and make more informed trading decisions.
For example, if a security has a DTR% of 2%, it suggests that the security has a relatively low level of volatility and is less likely to experience significant price movements on a daily basis. On the other hand, if a security has a DTR% of 10%, it suggests that the security has a relatively high level of volatility and is more likely to experience significant price movements on a daily basis.
ADR:-
The script then calculates the ADR (Average Daily Range) which is the average of the daily range of the security, using the formula (Period High - Period Low) / ATR Length. This gives a measure of the average volatility of the security on a daily basis, which can be useful for determining potential levels of support and resistance .
PDH /PDL:-
The script also calculates PDH (Previous Day High) and PDL (Previous Day Low) which are the High and low of the previous day of the security. This gives a measure of the previous day's volatility and movement, which can be useful for determining potential levels of support and resistance .
EMA Cloud and 200 EMA Detail:-
The EMA cloud is a technical analysis tool that helps traders identify the trend of the market by comparing two different exponential moving averages (EMAs) of different lengths. The cloud is created by plotting the fast EMA and the slow EMA on the chart and filling the space between them. The user can input the length of the fast and slow EMA , and the script will calculate and plot these EMAs on the chart. The space between the two EMAs is then filled with a color that represents the trend, with green indicating a bullish trend and red indicating a bearish trend . Additionally, the script also plots a 200 EMA , which is a commonly used long-term trend indicator. When the fast EMA is above the slow EMA and the 200 EMA , it is considered a bullish signal, indicating an uptrend. When the fast EMA is below the slow EMA and the 200 EMA , it is considered a bearish signal, indicating a downtrend. The EMA cloud and 200 EMA can be used together to help traders identify the overall trend of the market and make more informed trading decisions.
1 Minute ATR Scalping Strategy:-
The script also includes a 1-minute ATR scalping strategy that can be used by traders looking for quick profits in the market. The strategy involves using the ATR levels calculated by the script as well as the EMA cloud and 200 EMA to identify potential buy and sell opportunities. For example, if the 1-minute ATR is above 11 in NIFTY and the EMA cloud is bullish , the strategy suggests buying the security. Similarly, if the 1-minute ATR is above 30 in BANKNIFTY and the EMA cloud is bullish , the strategy suggests buying the security.
Inside Candle:-
The Inside Candle is a price action pattern that occurs when the current candle's high and low are entirely within the range of the previous candle's high and low. This pattern indicates indecision or consolidation in the market and can be a potential sign of a trend reversal. When used in the 15-minute chart, traders can look for Inside Candle patterns that occur at key levels of support or resistance. If the Inside Candle pattern occurs at a key level and the price subsequently breaks out of the range of the Inside Candle, it can be a signal to enter a trade in the direction of the breakout. Traders can also use the Inside Candle pattern to trade in a tight range, or to reduce their exposure to a current trend.
Risk Management:-
As with any trading strategy, it is important to practice proper risk management when using the ATR Pivots script and the 1-minute ATR scalping strategy. This may include setting stop-loss orders, using appropriate position sizing, and diversifying your portfolio. It is also important to note that past performance is not indicative of future results and that the script and strategy provided are for educational purposes only.
In conclusion, the "ATR Pivots" script is a powerful tool that can help traders identify key levels of support and resistance , as well as trend direction. The additional metrics such as DTR , DTR%, ADR, PDH , and PDL provide a more comprehensive picture of the volatility and movement of the security, making it easier for traders to make better trading decisions. The inclusion of the EMA cloud and 200 EMA for trend identification, and the 1-minute ATR scalping strategy for quick profits can further enhance a trader's decision-making process. However, it is important to practice proper risk management and understand that past performance is not indicative of future results.
Special thanks to satymahajan for the idea of clubbing Average True Range with Fibonacci levels.
Bounce Price Detector ~ By mohx_404꧁༺ 𝓑𝓸𝓾𝓷𝓬𝓮 𝓟𝓻𝓲𝓬𝓮 𝓓𝓮𝓽𝓮𝓬𝓽𝓸𝓻 𝓘𝓷𝓭𝓲𝓬𝓪𝓽𝓸𝓻 ༻꧂
* Hi everybody here's the ★彡 𝓑𝓸𝓾𝓷𝓬𝓮 𝓟𝓻𝓲𝓬𝓮 𝓓𝓮𝓽𝓮𝓬𝓽𝓸𝓻 𝓘𝓷𝓭𝓲𝓬𝓪𝓽𝓸𝓻 彡★ indicator and how to use it :
彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡
First : Depending on Pivot (HH,LL), the two possible price Correction appears on chart if the price under the Correction levels it would be a Resistance levels and to entry there candle must close above the levels, you can use Replay Mod to get the previous price Correction levels
And Here's Some Example : The price make a new HH,LL and new levels appears on chart but the price didn't confirm a bounce signale and close above the first level
So in next candle the price brake the levels and drop down :
Then a new HH,LL and new levels appears on chart and the price back to the lower levels as a Resistance Levels but when it's close above the levels and test it again it become a Support levels and price bounce again
Here's another example when price go above the levels , test it and bounce again
About The levels : depending on Fibonacci golden rate
░▒▓█ 𝐍𝐨𝐭𝐞 : You could change the pivots the value 10 for low time frame and
scalping for higher time frame you could increase the pivots value or keep it as you want █▓▒░
SMM - MTF S/D Zones & TrendwatcherHello Traders,
Introducing the SMM - MTF S/D Zones & Trendwatcher, a powerful tool designed to make your trading easier and eliminate guesswork. Our goal is to save you time by automatically marking up the chart with key points of interest.
Our newest tool combines multiple time frames (MTF) to provide a comprehensive view of supply and demand zones, and includes a trendwatcher that tracks the trend of the input timeframes.
The indicator is based on calculations of supply and demand zones, providing valuable insights for traders looking to make informed decisions about buying and selling. With its MTF functionality, the SMM - MTF S/D Zones & Trendwatcher is a valuable tool for any trader looking to stay on top of the market.
Features Version 1.1
-----------
-- MTF S/D Zones
Our indicator includes three adjustable supply and demand zones, which can be set to a desired higher timeframe.
Each zone includes options for:
- Extending the boxes.
- Show the 50% mitigation line.
- Let a zone disappear, change color, or do nothing.
- Option to plot/show the zones on the chart.
-- Trendwatcher
A convenient table that provides a quick overview of the trends of the set supply and demand.
You can configure the Trendwatcher the following ways:
- Option enable/disable the S/D trends to show in the table.
- Trendwatcher location on the chart.
- Trendwatcher size.
VWAP Boulevard [vnhilton](OVERVIEW)
The idea of this indicator comes from traders identifying supply to mainly look for shorts. Scenarios would be gap ups or pump & dumps where huge volume is transacted, & bag-holders are present. Some traders would draw resistance lines, I myself used to draw supply zones using the volume profile on that day, & others used the day VWAP on those days. VWAP Boulevard (I believe the name comes from the trader named team3dstocks) draws day VWAP lines from the highest volume days for a given period (excluding the current day).
(FEATURES)
- Draws horizontal & vertical lines from up to 250 highest volume days out of up to 3568 days, with the ability to hide either of these lines, their thicknesses, styles
- Extend/cut horizontal lines, or extend them all the way to the right
- Show the day VWAP, volume & age for these days in labels, with the ability to show what information you want to see only
- Separate customizable color forms for the lines & labels - ordinary (1 color); volume (2 color gradient from lowest to highest volume of the highest volume days); age (2 color gradient from youngest to oldest volume of the highest volume days)
- Edit offset & size of labels, & hide them
- Hide vertical lines
From left to right: Age color; ordinary color; volume color
250 highest volume days in the past year. Very messy so it's very likely you won't be using this but the ability to draw lines from 250 highest volume days is there if needed
(DRAWDOWNS)
- This indicator will only on the daily timeframe (error message will show up if unaware of this, & can be toggled off). Unfortunately, this would mean you would have to draw the lines manually yourself if you wish to use them on intraday timeframes.
- You may also encounter the 'Pine cannot determine the referencing length of a series. Try using max_bars_back' error. This occurs when the lookback period is very high & the indicator attempts to recalculate I believe. If this happens then reload the indicator.
The logic I used to obtain the highest volume days were to put all of the volume days in a given period in 1 array, then to sort them from highest to lowest, & also store their sorted indices in an separate array as well, so that drawings for each volume day could be done from the 2 arrays.
//Volume for last N periods
var int pastVol = array.new_int(lookbackPeriodFixed)
for i = 0 to lookbackPeriodFixed - 1
array.set(pastVol, i, int(volume ))
sortedIndices = array.sort_indices(pastVol, order.descending) //All Indices of sorted volume from highest to lowest
sortedIndices2 = array.slice(sortedIndices, 0, highestVolDays) //Indices of sorted volume from highest to lowest
array.sort(pastVol, order.descending) //All Volume sorted from highest to lowest
pastVol2 = array.slice(pastVol, 0, highestVolDays) //Volume sorted from highest to lowest
//Drawings
for i = 0 to highestVolDays - 1
index := array.get(sortedIndices, i)
vol := array.get(pastVol, i)
Since these array sizes were determined from the lookback period, it would mean that the request.security() function used to obtain daily values on intraday timeframes wouldn't work for a lookback period >20 (20 * 2 values I believe, which are the day VWAP & the day volume) as TradingView has put a maximum amount of calls of 40 in 1 script. Therefore, for intraday plots to work I would have to change the logic for getting the day VWAP & day volume for the highest days, as the request.security() function doesn't work on for loops, & this would also mean that the user would only be able to draw lines from up to 20 highest volume days instead of 250. I couldn't go forward with this as I wasn't able to find the logic to pick the highest volume days & their day VWAPs & times (indexes) without using a for loop. If anyone has any solutions (including for the 'Pine cannot determine the referencing length of a series. Try using max_bars_back' error) then please let me know. I've also left commented-out code for dealing with intraday drawings for future use.
Moving Average ZonesImagine bollinger bands, but instead with multiple customizable moving averages.
MAZ contains moving averages that act as support and resistance. This can lead to potential use for stop loss and take profit decision-making along with potential signs of reversals.
Features
Areas of Confluence
Display Options
Data Window
Default Settings (with Data Window)
Areas of Confluence
In the photo above, every touch inside a zone increases the brightness of the zone, strengthening the confluence of the zone.
Zones will disappear after a while if no touches have occurred in between a zone within the specified lookback period.
MATHR3E FLOW DASHBOARD█ OVERVIEW
MATHR3E Flow Dashboard is a market timing tool which aims to anticipate trend reversals and highlight potential low risk entries.
█ CONCEPTS
Disclaimer:
MATHR3E Flow Dashboard indicator is intended for advanced traders and may fit your profile, whether you are a day trader or a long-term investor.
It was originally developed by a renowned market analyst and documented in numerous books. Among them is the author Jason Perl.
It is recommended to have read the trading techniques mentioned in the books covering this indicator beforehand.
How to use:
Fibonacci Flow is a very complex tool, the purpose is not to detail it here but rather to introduce it briefly.
For a complete understanding, it is strongly recommended to read the books mentioned in the disclaimer section.
This indicator has two main components:
1 — The Prelude, which relies on momentum to define price ranges.
From a Price Reversal there must be nine consecutive closes;
each one less/greater than the corresponding close four bars earlier.
Preludes are numbered from 1 to 9. A complete Prelude occurs on bar 9.
It can be: Sharped / Flawed / Ignored / Extended
Cross over parameter can also evaluate the slowdown in a price trend's intensity and qualify the inception of Flow
2 — The Flow, which comes into play once the Prelude is complete.
They are trend based, and look for low-risk opportunities to fade established directional moves.
Flows are counts numbered from 1 to 13. There are 3 of them:
• SEQ: compares the current close with the low/high two bars earlier
• AGG: compares the current low/high with the low/high two bars earlier
• CMB: complex set of comparison with 2 available methods (not detailed here)
To handle the large amount of data to be displayed, they have been distributed over two indicators.
This indicator therefore works in pair with its companion: MATHR3E Flow Extension.
The distribution of the display is as follows:
Current indicator:
• Prelude points
• Markers for Extension preludes (E)
• Prelude Risk lines
• Flow Risk lines
• Prelude Trend Support and resistance
• Dashboard for supervision of ongoing counts
Companion indicator:
• Flow points
• Markers for Flows cancelation (X)
• Exhaustions points for:
• SEQ: up to 13 (Identify trend fading)
• AGG: up to 13 (For higher trading frequency)
• CMB: up to 13 (Identify prospective turning points following an abrupt price movement)
█ FEATURES & BENEFITS
Fibonacci Sequence
The number 13 is part of the Fibonacci sequence which is nature’s numbering system.
Exhaustion points
Potential exhaustion points emerge whenever the individual flows reach Fibonacci number 13.
These points may help traders to identify low-risk buy or sell opportunities.
Risk Lines
Once the trader has selected an entry point, the displayed risk lines should encourage the trader to remain disciplined and apply proper money management.
Position sizing remains the responsibility of the trader.
Available risk lines:
• buy/sell Preludes
• buy/sell Flows
Nested Flows
The indicator can track up to three nested Flows.
Renewing
During the path to reach point number 13, it is very common to trigger other Prelude in the same direction as the previously initiated trend.
MATHR3E Flow will address these potential market renewal with multiples options:
• Prelude range qualifiers
• Renewal Multiplier
Dashboard:
The dashboard makes it easier to monitor multiple buy and sell signals at the same time:
• Prelude: (P from 1 to 9) / Compares the current close with the corresponding close four bars earlier
• SEQ: (S from 1 to 13) / Compares the current close with the low/high two bars earlier
• AGG: (A from 1 to 13) / Compares the current low/high with the low/high two bars earlier
• CMB: (C from 1 to 13) / Requires four conditions to be satisfied simultaneously
Dashboard also provides the possibility to monitor up to 3 levels of flows
Alerts
The indicator also provides programmable alerts whose format can be adapted to be received on Discord servers
Configure your alerts and get notified on:
• Trend changes
• BUY or SELL P9
• BUY or SELL S13
• BUY or SELL A13
• BUY or SELL C13
MATHR3E FLOW█ OVERVIEW
MATHR3E Flow is a market timing tool which aims to anticipate trend reversals and highlight potential low risk entries.
█ CONCEPTS
Disclaimer:
MATHR3E Flow indicator is intended for advanced traders and may fit your profile, whether you are a day trader or a long-term investor.
It was originally developed by a renowned market analyst and documented in numerous books. Among them is the author Jason Perl.
It is recommended to have read the trading techniques mentioned in the books covering this indicator beforehand.
How to use:
Fibonacci Flow is a very complex tool, the purpose is not to detail it here but rather to introduce it briefly.
For a complete understanding, it is strongly recommended to read the books mentioned in the disclaimer section.
This indicator has two main components:
1 — The Prelude, which relies on momentum to define price ranges.
From a Price Reversal there must be nine consecutive closes;
each one less/greater than the corresponding close four bars earlier.
Preludes are numbered from 1 to 9. A complete Prelude occurs on bar 9.
It can be: Sharped / Flawed / Ignored / Extended
Cross over parameter can also evaluate the slowdown in a price trend's intensity and qualify the inception of Flow
2 — The Flow, which comes into play once the Prelude is complete.
They are trend based, and look for low-risk opportunities to fade established directional moves.
Flows are counts numbered from 1 to 13. There are 3 of them:
• SEQ: compares the current close with the low/high two bars earlier
• AGG: compares the current low/high with the low/high two bars earlier
• CMB: complex set of comparison with 2 available methods (not detailed here)
To handle the large amount of data to be displayed, they have been distributed over two indicators.
This indicator therefore works in pair with its companion: MATHR3E Flow Extension Dashboard.
The distribution of the display is as follows:
Current indicator:
• Flow points
• Markers for Flows cancelation (X)
• Exhaustions points for:
• SEQ: up to 13 (Identify trend fading)
• AGG: up to 13 (For higher trading frequency)
• CMB: up to 13 (Identify prospective turning points following an abrupt price movement)
Companion indicator:
• Prelude points
• Markers for Extension preludes (E)
• Prelude Risk lines
• Flow Risk lines
• Prelude Trend Support and resistance
• Dashboard for supervision of ongoing counts
█ FEATURES & BENEFITS
Fibonacci Sequence
The number 13 is part of the Fibonacci sequence which is nature’s numbering system.
Exhaustion points
Potential exhaustion points emerge whenever the individual flows reach Fibonacci number 13.
These points may help traders to identify low-risk buy or sell opportunities.
Risk Lines
Once the trader has selected an entry point, the displayed risk lines should encourage the trader to remain disciplined and apply proper money management.
Position sizing remains the responsibility of the trader.
Available risk lines:
• buy/sell Preludes
• buy/sell Flows
Nested Flows
The indicator can track up to three nested Flows.
Renewing
During the path to reach point number 13, it is very common to trigger other Prelude in the same direction as the previously initiated trend.
MATHR3E Flow will address these potential market renewal with multiples options:
• Prelude range qualifiers
• Renewal Multiplier
Alerts
Its Companion indicator also provides programmable alerts whose format can be adapted to be received on Discord servers
Configure your alerts and get notified on:
• Trend changes
• BUY or SELL P9
• BUY or SELL S13
• BUY or SELL A13
• BUY or SELL C13
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.
Dynamic Fibonacci RetracementA simple fibonacci retracement tool that dynamically updates itself based on current price and previous retracement values.
Features the essential aspects of the built-in tool and more.
Auto Trendline
Auto Reversal
Auto Level Adjustment
Labels indicating retracement value
Customizable lookback range
The top and bottom levels will auto-adjust according to where price currently is, which will also affect fibonacci levels as it progresses.
Dynamic Linear Regression Oscillator | AdulariDescription:
This dynamic linear regression oscillator visualizes the general price trend of specific ranges in the chart based on the linear regression calculation, it automatically determines these ranges with pivot detection. The central line of the indicator is the baseline of the linear regression itself. This is a good tool to use to determine when a price is unusually far away from its baseline. The lines above or below it are overbought and oversold zones. These zones are based on the high or low of the range, in combination with the set multipliers.
The overbought and oversold lines indicate support and resistance; when the prices stay outside these levels for a significant period of time, a reversal can be expected soon. When the oscillator's value crosses above the signal or smoothed line the trend may become bullish. When it crosses below, the trend may become bearish.
This indicator is quite special, as it first determines price ranges using pivot detection. It then uses the middle of the range to determine how far the current price is from the baseline. This value is then rescaled compared to a set amount of bars back, putting it into relevant proportions with the current price action.
How do I use it?
Never use this indicator as standalone trading signal, it should be used as confluence.
When the value crosses above the signal this indicates the current bearish trend is getting weak and may reverse upwards.
When the value crosses below the signal this indicates the current bullish trend is getting weak and may reverse downwards.
When the value is above the middle line this shows the bullish trend is strong.
When the value is below the middle line this shows the bearish trend is strong.
When the value crosses above the upper line this indicates the trend may reverse downwards.
When the value crosses below the lower line this indicates the trend may reverse upwards.
Features:
Oscillator value indicating how far the price has currently deviated from the middle of the range. Proportioned to data from a set amount of bars ago.
Signal value to indicate whether or not the price is abnormally far from the middle of the range.
Horizontal lines such as oversold, overbought and middle lines, indicating possible reversal zones.
Automatic range detection using pivots.
Built-in rescaling functionality to ensure values are proportionate with the latest data.
How does it work? (simplified)
1 — Calculate the middle of the range.
2 — Define whether the current price is above the middle of the range or below.
3 — If above the middle of the range, calculate the difference of the current high and the middle line. If below, calculate the difference of the current low and the middle line.
4 — Smooth the value using a set moving average type.
5 — Rescale the value to proportionate it with the latest data.
Trading ChannelTrading Channel aims to be a canvas on which to develop any strategy that the user feels comfortable with.
The greatest utility of the script lies in the fact that it plots a channel over the price action, as a support and resistance pivot, within which the price action develops.
It is a script of maximum simplicity in concept and development, but at the same time presents robust support to the price action and a quick visual aid complementary to any indicators that the user works with, feels comfortable with, and uses as a basis for their strategies.
The script includes the following features (most of them disabled by default, available for potential use without the need to add additional indicators):
Fast SMA
Medium SMA
Slow SMA (disabled)
Fast EMA (disabled)
Medium EMA (disabled)
Slow EMA (disabled)
Pivot
Pivot SMA
P Multiplier
Set of resistance and support pivots according to the studies of John L. Person (R3, R2, R1, S1, S2, S3 and midpoints) (disabled by default)
Channel for the current time period in use
Channels for extended time periods (disabled by default)
Various trend, momentum, and overbought/oversold indicating labels (note that the calculations for their representation are based on SMA's even though EMA's are visualized).
SMA's/EMA's
Both are available as both are used as basic indicators for different types of strategies. The default selection of SMA's in this case is based on the fact that the script development is largely based on the studies shared by John L. Person in the area of pivots and by Bill Williams in the area of fractals. Note also that for that same reason the various trend, momentum, and overbought/oversold indicating labels are calculated based on them.
Set of resistance and support pivots
They are included as a consultation tool especially for the higher time periods. They can be used to mark the most interesting supports/resistances and not lose sight of them while operating in lower time periods. Marking monthly, weekly, and daily pivots can be very useful. Additionally, marking S1 and R2 for bullish trends, S1 and R1 for ranges, and S2 and R1 for bearish trends can provide an even more precise framework to work on.
P Multiplier
It is set by default at 4, and is the basis for being able to consider during the use of a specific time frame, the price action with respect to higher time frames. It is the multiplier used for the generation of channels for extended time periods.
Channel for the current time period in use
It is a channel formed by the maximum and minimum closing of the last 21 periods. This value is modifiable and its adjustment depends on the asset under study. 24/7 markets show good results with this adjustment (in the case of BTC really good).
This channel represents a pivot in the form of a yellow middle line, with its support and resistance extremes on the upper green and lower red lines. The same green and red lines, referenced this time to the maximum, are added and serve as possible stop-loss marks.
Channels for extended time periods
Enabling the maximum and minimum channels for extended periods can provide a better idea of the price situation (it is recommended to disable the channel in use and enable the upper one for consultation, it provides a better vision).
Identifying labels:
Following a summary explanation for possible long entries, the same but opposite should be considered for possible short entries:
Small green arrow under candle: indicates possible upward trend (pivot above pivot SMA)
Large green arrow under candle: indicates upward trend (pivot above pivot SMA and above fast SMA)
Green triangle over candle: indicates channel breakout, possible upward momentum (represented as a fractal as its concept is the same)
Green/red arrows at the bottom of the chart: intended to confirm the validity of a signal (should doubt green indications with red lower arrow and vice versa)
Green/red dots at the bottom of the chart: red represents areas of strong resistance and green signals of strong support (with red dots, proceed with caution despite green signals, and vice versa)
Comments
It is emphasized that the basic and most useful functionality of this script is to provide a reliable base on which to develop any strategy, as a framework for working.
If the identifying labels are used, it should be taken into account that the earliest will always be the most reliable and valuable, but their confirmation will always depend on the user's strategy.
Its use in conjunction with the "Pivot Position for Trading Channel" indicator can serve as a base for the development of different strategies, by providing indication of the relative position of the price within the channel.
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.
------------------------
Trading Channel pretende ser un lienzo sobre el que desarrollar cualquiera que sea la estrategia con la que el usuario se sienta más cómodo.
La mayor utilidad del script radica en que se traza sobre la acción del precio un canal, a modo de pivotes de soporte y resistencia, dentro del cual se desarrolla la acción del precio.
Se trata de un script de máxima sencillez en concepto y desarrollo, pero que a la vez presenta un soporte robusto a la acción del precio y una ayuda rápida visual complementaria a cualquieras que sean los indicadores con los que el usuario trabaje, se sienta más cómodo y utilice como base de sus estrategias.
El script incluye las siguientes funcionalidades (la mayoría desactivadas por defecto, disponibles para su potencial uso sin necesidad de añadir indicadores adicionales):
- SMA rápida
- SMA media
- SMA lenta (desactivada)
- EMA rápida (desactivada)
- EMA media (desactivada)
- EMA lenta (desactivada)
- Pivote
- SMA de pivote
- Multiplicador de P
- Conjunto de pivotes resistencia y soporte de acuerdo a los estudios de John L. Person (R3, R2, R1, S1, S2, S3 y puntos medios) (desactivados por defecto)
- Canal para el periodo temporal en uso
- Canales para periodos temporales extendidos (desactivados por defecto)
- Diversas etiquetas indicativas de cambios de tendencia, de impulso y de sobrecompra y sobreventa (nótese que los cálculos para su representación están basados en SMA's aunque se visualicen EMA's).
SMA's/EMA's
Ambas disponibles pues tanto unas como otras son utilizadas como indicadores básicos para diferentes tipos de estrategias. La selección de SMA's por defecto en este caso se basa en que las bases para desarrollo del script son en gran medida los estudios compartidos por John L. Person en el área de pivotes y de Bill Williams en el área de los fractales. Nótese también que por esa misma razón las diversas etiquetas indicativas de cambios de tendencia, impulso y sobrecompra/sobreventa se calculan en base a ellas.
Conjunto de pivotes resistencia y soporte
Se incluyen como herramienta de consulta sobre todo para los periodos temporales más altos. Pueden utilizarse para marcar los soportes/resistencias de más interés y no perderlos de vista mientras se opera en periodos de tiempo más bajos. De acuerdo a los estudios de John L. Person, marcarse los pivotes mensuales, semanales y diarios puede resultar de mucha utilidad. Adicionalmente, marcar S1 y R2 para tendencias alcistas, S1 y R1 para rangos, y S2 y R1 para tendencias bajistas puede proporcionar un marco aún más preciso sobre el que trabajar.
Multiplicador de p
Está fijado por defecto en 4, y es la base para poder considerar durante el uso de una franja temporal concreta, la acción del precio respecto a franjas temporales superiores. Es el multiplicador utilizado para la generación de los canales para periodos temporales extendidos.
Canal para el periodo temporal en uso
Se trata de un canal conformado por los cierres máximos y mínimos de los últimos 21 periodos. Este valor es modificable y su ajuste depende del activo en estudio. Mercados 24/7 muestran buenos resultados con este ajuste (en el caso de BTC realmente buenos).
Este canal representa en cierta manera un pivote en forma de línea intermedia amarilla, con sus extremos de soporte y resistencia en las líneas verdes superior y roja inferior. Se añaden las mismas líneas verdes y rojas, referenciadas esta vez a los máximos, que sirven como posibles marcas de stop-loss.
Canales para periodos temporales extendidos
Habilitar los máximos y mínimos de canales de periodos extendidos puede proporcionar una mejor idea de la situación del precio (se recomienda deshabilitar el canal en uso y habilitar el superior para consulta, proporciona una mejor visión).
Etiquetas identificativas:
A continuación explicación resumida para posibles entradas en largo, lo mismo pero de modo opuesto debería considerarse para posibles entradas en corto:
Flecha verde pequeña bajo vela: indica inicio de tendencia en alza (pivote por encima de SMA de pivote y ambos por encima de SMA rápida)
Flecha verde grande bajo vela: indica tendencia en alza (pivote por encima de SMA de pivote y ambos por encima de SMA rápida y media)
Triángulo verde sobre vela: indica rotura de canal, posible impulso al alza (representado a modo de fractal pues su concepto es el mismo)
Flechas verdes/rojas a pie de gráfico: pretenden confirmar la validez de una señal (debería dudarse de las indicaciones verdes con flecha inferior roja y viceversa)
Puntos verdes/rojos a pie de gráfico: los rojos representan áreas de fuerte resistencia y los verdes de fuerte soporte (con puntos rojos, proceder con cautela pese a señales verdes, y viceversa)
Comentarios
Se insiste en que la funcionalidad básica y de mayor utilidad de este script es proporcionar una base confiable sobre la que desarrollar cualquier estrategia, a modo de marco de trabajo.
Si se hace uso de las etiquetas identificativas, debe tenerse en cuenta que las más prematuras siempre serán las más confiables y valiosas, pero que su confirmación siempre dependerá de la estrategia por parte del usuario.
Su uso en conjunción al indicador "Pivot Position for Trading Channel" puede servir de base para el desarrollo de diferentes estrategias, al proporcionar indicación de la posición relativa del precio dentro del canal.
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.
TARVIS Labs - Support & Resistances IndicatorOVERVIEW
This indicator helps automatically determine support and resistances on any chart across any time frame. You can therefore use this indicator for different purposes, to determine HTF S/R zones, LTF breakouts by combining various lookback periods. I'll try and provide examples below for both.
INPUTS
Let's review the inputs to start
"lookback ticks" - the number of historical ticks that you want to take into account to figure out supports and resistance levels for that period. For example, do you want to figure out the support and resistances for that past 250 chart ticks, 500, 750 etc.
"number of supports & resistances wanted" - This will output more or less resistances based on requested input. The supports and resistances are ordered by strongest to weakest, so 1 is the strongest support/resistance on the chart which is the blue line, 2 is the next strongest, 3 the next, etc.
"resistance color" - Simply the color for resistances you want to use on the chart
"support color" - Simply the color for supports you want to use on the chart
"automatically figure out increment" - if this is set to true the algorithm will automatically try and figure out the price range & price range increment sizes for the lookback period provided to determine zones of supports/resistance. When you can I would suggest putting in the increment yourself. Ill provide an example below as well
increment - the size of the support/resistance zones you want to use. Ideally this would be as small as possible to be most helpful.
Ex 1.
Let's say you want to use this indicator on ETH on the last 750 ticks of data and on that 750 ticks of data the price ranges from $1,200 to $1,400. You can choose to uncheck "automatically figure out increment" and keep increment at 1. It will then figure out the S/R zones based on $1 ticks of data.
Ex 2.
Let's say you want to use this indicator on BTC 1d chart on the last 750 ticks of data but you dont really want to figure out the price range for the past 750 days of data, well you can just check "automatically figure out increment" and leave the "increment" input as is and it will automatically figure out the increment sizes for you and the S/Rs for that automatically generated range.
BEST USING THE INDICATOR
When you are trying to figure out supports and resistances I would start with HTF first. You can use the 1d chart for this which typically works well. Each touch point or "level" provided by the blue line is considered a significant support or resistance. If there are many different levels provided by the blue line around a general area that would be considered a zone of support or resistance. The longer the blue line stayed in a historical level the stronger that level of support or resistance is. Using the blue line, you can extend the blue levels using the line tool on TradingView across the entire chart. You should now have your HTF supports and resistances outlined. You can see in the DOGE chart provided, the long standing blue lines of support (which created a zone) were discovered way before it was ever touched by DOGE and was the bottom for DOGE's movement in the bear market.
Once you have your HTF supports/resistances outlined you can move to LTF, and you can use the indicator on the 15m chart (where I think it works really well). You can figure out if the chart is breaking out if it clears all LTF resistances, and where it may hit its next major resistance from the outlined HTF resistances you already created. On the flip side, if the price has lost all major supports it may be a good opportunity to short.
If the price of the chart has gone way above the blue line on LTF but the blue line hasn't moved up around the current price, theres a good chance the price will come back down as it wasn't a strong enough push. You can use this as a way to wait to enter on moves up.
There is a lot of ways to use this indicator, and I implore you to mess around with it to get acclimated to how it functions to serve you in the best way possible.
NOTE - this indicator is computationally heavy, therefore if its not loading for you please reduce the number of lookback ticks or consider increasing the increment size in order for it to load.
ICT Killzones [LuxAlgo]This script highlights ICT Killzones on the chart along with Fibonacci retracements constructed from each Killzone's price range, allowing traders to find more optimal entries.
Settings
Killzone Retracements
Show Retracements: Determines whether Fibonacci retracements are displayed on the chart.
Extend: Determines if the retracements are extended outside the Killzone.
Reverse: Switches the maximum and minimum levels for the calculation of the retracements.
Other settings allow disabling as well as changing the retracement value and color.
Usage
Killzones are introduced by forex trader ICT and represent different time intervals that aims at offering optimal trade entries. Killzones include:
New York Killzone (7:9 ET)
London Open Killzone (2:5 ET)
London Close Killzone (10:12 ET)
Asian Killzone (20:00 ET)
Note that using timeframes superior to 1h can highlight incorrect intervals
Fibonacci retracements on an active Killzone are subject to changes, if no Killzones are active then the associated Fibonacci retracements will stay at their current level.
Disabling specific Killzones while having extended retracements will allow them to extend further. In the image above the New York and Asian Killzones are disabled.
True Trend Average BandsThis is the indicator I am most proud of. After reading Glenn Neely's book "Mastering Eliott Waves" / "Neowave" and chatting with @timwest who got acknowledged by Neely, we came up with the idea of an moving average which does calculate the real average price since a trend started. Addionally I adapted a method from Neely Neowave and Tim Wests TimeAtMode to not force a timeframe on a chart but instead let the charts data decide which timeframe to use, to then calculate the real average price since the trend started.
It took me a while to get this right and coded, so take a moment and dive deeper and you might learn something new.
We assume that the price is in multiple trends on multiple timeframes, this is caused by short term traders, long term traders and investors who trade on different timeframes. To find out in which timeframe the important trends are, we have to look out for significant lows and highs. Then we change the timeframe in the chart to a value so that we have 10 to 20 bars since the significant low/high. While new bars are printed, and we reach more than 20 bars, we have to switch to a higher timeframe so we have 10 to 20 bars again. In the chart you see two significant trends: a downtrend on the 3 week timeframe and an uptrend from the 2 month timeframe. Based on the logic I have described, these are the two important timeframes to watch right now for the spx (there is another uptrend in the yearly chart, which is not shown here).
Now that we understand how to find the important timeframes, let's look what the magic in this script is that tells us the real average price since a trend started.
I developed a new type of moving average, which includes only the prices since a trend started. The difference to the regular sma is that it will not include prices which happened before the significant low or high happened. For example, if a top happened in a market 10 days ago, the regular sma20 would be calculated by 10 bars which happened before the top and 10 bars which happened after the top. If we want to know the average price of the last 10 bars we manually have to change the ma20 to the ma10 which is annoying manual work, additionally even if we use the ma10 in this case, and we look at yesterday's bar the ma10 will include 9 bars from after the top and one bar before the top, so the ma10 would only show the real average price for the current bar which is not what we want.
To come up with a solution to this problem, the True Trend Average searches for the lowest/highest bar in a given period (20 bars). Then starts to calculate the average value since the low/high. For example: if the price reaches a new 20 day high and then trades below it, the day of the high will be the sma1, the day after it's the sma2, ... up to the maximum look back length.
This way, we always know what the average price would have been if someone sold/bought a little bit every bar of his investment since the high/low.
Why is this even important? Let's assume we missed selling the top or buying the low, and think it would have been at least better to buy/sell a little bit since the new trend started. Once the price reaches the true trend average again, we can buy/sell, and it would be as good as selling/buying a little bit every day. We find prices to buy the dip and sell the bounce, which are as good as scaling in/out.
There is a lot more we can learn from these price levels but I think it is better to let you figure out yourself what you can learn from the information given by this indicator. Think about how market participants who accumulate or distribute feel when prices are above or below certain levels.
Now that we understand this new type of moving average, let's look into the lines we see in the chart:
The upper red band line shows the true trend average high price since the last significant top within 20 bars.
The lower red band line shows the true trend average hl2 price since the last significant top within 20 bars.
The lower green band line shows the true trend average low price since the last significant low within 20 bars.
The upper green band line shows the true trend average hl2 price since the last significant low within 20 bars.
The centerline is the average between the upper red band and the lower green band.
The teal lines show 1 standard deviation from the outer bands.
Before today only a few people had access to this indicator, now that it is public and open source, I am curious if you will find it useful and what you will do with it. Please share your findings.
/edit: The chart only shows the 3week timeframe so here are the other two trends from the 2month and 1year timeframe
Quickfingers Luc base scanner - version 2This is my second implementation of a Pine Script Quickfingers Luc (QFL) base scanner that I have published on Trading View. QFL base scanners seek to provide buy signals according to the QFL trading strategy. To profitably trade using this script you should be familiar with the QFL trading strategy, scaling in and out of positions, and money risk management.
Background
All the QFL base identification Pine Scripts that I have inspected to date use a simple candlestick pattern of two lower lows followed by two higher lows to identify a base. Some scripts may combine this with a volume indicator as well. In practice, I found the results of this approach to be somewhat unreliable. The candlestick pattern may identify some significant bases, may identify minor bases (that should not be traded), but at the same time miss other significant bases entirely!
My first QFL base scanner sought to use Pine Script’s built in ta.lowest and ta.highest functions to identify bases and peaks. This approach depended on the time period selected to find the lowest lows and highest highs. This approach can be problematic because significant bases may be formed outside the nominated time period, leading to the identification of minor bases within the time period. I have left the first version of my QFL base scanning script in the Trading View indicators because it uses a different approach to this script that other people may still find useful.
My second version of the QFL base scanner does not use the Pine Script ta.lowest and ta.highest functions, and therefore does not rely on nominating a time period to look back through data.
User inputs
This script steps through the price data to find the following patterns that are used to confirm bases and peaks.
Base – bounce of x% above previous base confirms that base
Peak – fall of y% below previous peak confirms that peak
Buy signal – fall of z% below the base signals a buy signal.
x%, y% and z% are user configurable through the script settings. Small percentages will provide more, but riskier, buy signals; larger percentages will provide fewer, but safer, buy signals.
The script identifies QFL bases and buy signals and marks them on the price chart. These are able to be turned on and off in the script settings. The settings also allow the user to turn on plots for peaks, lowest lows and highest highs. These are not useful for applying the QFL trading strategy, but are calculations used in finding bases and can be useful for the user to understand what the script is doing in the background.
Troubleshooting
If looking at the past script results, you may think that the script is perfectly timing entry points at the bottom of market dips. This is NOT the case. The script is actually showing buy signals when the price falls z% below the PREVIOUS base. The current base is only retrospectively marked some periods later once the reversal is confirmed – a solid line marks a confirmed base in real time; a dotted line retrospectively repaints the line to the actual base. New bases are not tradeable using this script, but a percentage fall from the previous base is – this is the QFL trading strategy.
Pine Script may flag that this script has a repainting issue. Pine Script defines repainting as, “script behavior causing historical vs realtime calculations or plots to behave differently.” In the case of this script, bases are confirmed once the price has bounced x% off the low. The script then repaints a dotted line from the base that has been identified in real time (with a solid line) back to the point in the price data where the base actually occurs. The dotted line only aids in visual identification of the base, and does not impact on the real time identification of bases. A similar repainting issue occurs for identifying peaks. I have identified the lines in the script that cause this repainting. These lines can be commented out without affecting the buy signals generated by the script, but you will also lose the visual pinpointing of historical bases and peaks.
The user may find price charts where they think that the script has not correctly identified a base or peak. Usually, careful measurement will reveal that the price chart has not confirmed a base or peak by moving x% or y% from the previous base or peak respectively.
And before you ask, yes, Trading View alerts work with this script.
Enjoy.
Volume-Weighted Price Levels (VWPL)Introduction:
In this script, we will be creating an indicator that plots horizontal lines on the chart for each unique price in a given range, and colors them based on the volume of that price.
Explanation:
First, we define the input "Length" as an integer. This will determine the number of bars back from the current bar to include in the range.
We then create two arrays: "price" and "vol." The "price" array will store all the unique prices in the given range, and the "vol" array will store the corresponding volumes for those prices.
Using a for loop, we iterate through the range of bars and check if the current close price is already included in the "price" array. If it is not, we add it to the array and also add the corresponding volume to the "vol" array. If it is already included, we find the index of that price in the "price" array and add the current volume to the volume stored at that index in the "vol" array.
After the for loop, we find the maximum volume in the "vol" array and use that to find the corresponding price in the "price" array. This will be the price at which we draw the horizontal line.
We then create an array of lines called "lines" and, using another for loop, we iterate through the "price" array and add a line to the "lines" array for each price. The color of each line is determined by the volume of that price, using a color gradient from blue (lowest volume) to red (highest volume).
Finally, we use an if statement to check if the current bar is the last bar in the chart, and if it is, we use another for loop to iterate through the "lines" array and delete all the lines. This is to prevent the lines from being carried over to the next bar and potentially being plotted multiple times.
Conclusion:
This script can be useful for visualizing the price levels with the highest volume in a given range, as well as seeing how volume is distributed among different price levels. It can be helpful for identifying areas of significant buying or selling pressure.
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.
APIBridge support and resistance strategy for NSE OptionsStrategy Premise:
The strategy works on the Support and Resistance . The user specifies the trigger price and the strategy will open trades as soon as the market closes after crossing the trigger price. The stoploss and target is compulsory and the trades will close if either the target or stoploss is hit or Intraday end session is reached in case of MIS (Intraday settings) or expiry is reached .
If the positional settings (NRML) has been chosen then the trades will close when either stoploss or target hits or expiry is reached
==========Consecutive trades==========
The strategy takes a long entry on call long put short setting and a short position on put long and call short settings so call long and put short entries can be taken one after another without the need of closing the one of them. Similarly put long and call short can be taken one after another.
But put long and call short can not be taken one after another with both the trades open because on tradingview closes the previous long or short when we take short or long respectively. Similarly call long and put short can not be taken one after another with both the trades open
Create Alert
Simply copy the text written in Alert Message field on the top of input section and replace everything in the message box of the alert with this text
Strategy Parameters
1. Alert Message : Copy the string in the input field and replace with the text in the message box of the alert to get the automated trades
2. Use Backtesting : Check this box to use the backtesting parameters . The backtesting parameters will only show trades between the specified intervals
3. Starting Date and Time : The strategy will only place trades after this time according to logic
4. Ending Date and Time : The strategy willonly place trades before this time according to logic
5. Segment Type : Choose the segment type . MIS is Intraday and NRML is normal cash and carry/Positional
6. Start Session : This is the session in which the strategy will take entry according to logic every day . This parameter works only with MIS and not NRML
7. Ending Session : This is the session which will square off all the open trades . This parameter works only with MIS and not NRML
8. Long : Check this box for Long/Buy Positions
9. Long Price : This is the trigger price , the strategy will Long/Buy when the price closes after crossing this line.
10. Call or Put on Long : Choose whether you want to Long/Buy Call or Put
11. Stoploss and Target type for Long : Choose from the given types
12. Long Target : specify the target
13. Stoploss Value for Long : Specify the stoploss value
14. Use TSL : Check this to use trailing stoploss
15. ATR settings : Set the atr settings to use atr based stoploss
16. Short : Check this to Short/Sell
17. Short Price : This is the trigger price , the strategy will Long/Buy when the price closes after crossing this line.
18. Call or Put on Short: Choose whether you want to Long/Buy Call or Put
19. Stoploss and Target type for Short: Choose from the given types
20. Short Target : specify the target
21. Stoploss Value for Short: Specify the stoploss value
22. Use TSL : Check this to use trailing stoploss
23. ATR settings : Set the atr settings to use atr based stoploss
24. Instrument Type : Choose the option type
25. Expiry Settings : Configure the expiry date . the strategy will not take entry after expiry
26. Symbol : Specify Symbol name if want to trade in symbol other than current chart symbol
27. Strike Type/Money Type : select the money type
28. Strike Difference : Enter the difference between the two consecutive strikes of the choosen asset
29. Strike Distance from ATM : Enter the distance of strike from ATM which you want to buy in any strike type/money type . If zero has been choosen in case of OTM/ ITM then the strike dif will used as default
30. Quantity : Specify the number of lots you want to trade
31. Strategy Tag : Specify the strategy tag you wan to use with APIBRIDGE . If left blank it will trade in the strategy tag fed in the APIBRIDGE
Support and Resistancewhat is "Support and Resistance"?
it is a support and resistance indicator.
what it does?
it draw support and resistance zones on the chart.
how it does it?
It determines the zones where the price leaves with a big candle after going horizontal for a while as support or resistance zones according to the price movement direction. while doing this, it compares the size of the candles and the elapsed time.
how to use it?
Red zones represent resistance and green zones represent support. You can buy in the support zone or sell in the resistance zone. my advice is to make your own interpretation by taking into account the price movement with different indicators. they are considered useful if there is a closure beyond the zones. otherwise, they continue to be shifted to the right.
notice: As new zones are created, old ones may disappear. so it might be wise to draw boxes using drawing tools where the old zones are.
Support and resistance are very important concepts for technical analysis. so I am thinking of updating and improving this indicator many times in the long run. but I couldn't wait long to post it.
examples:
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~
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.
Moving Average Support and ResistanceThis indicator takes a moving average, creates an envelope, and analyzes how frequently the moving average and its deviations act as areas of support or resistance. Using this information, you can determine how strong the moving average is as a support or resistance. For example, if the 200 SMA with a 5% range and 1% buffer has an S/R ratio of 1:1.5, then the 200 SMA is acting as resistance more frequently than support. This indicator uses the "buffer" as an envelope extension. The best way to think of this buffer is to envision areas where false breakouts and stop runs may occur. Use this indicator to experiment with different moving averages, ranges, and buffers to find the best combination for your trading style.