Trend crossierHello there!
I would like to share my script.
This is S/R levels indicator based on custom range for each step used for computing minimum/maximum of the range.
For example - we predefined step with 50 candles as one, after we have got the minimum and maximum of it - we come to the next 50 candles and do the same to it.
Finaly - we have got 20 lines for 10 steps.
After that - we set the ( SMA * mult) to have step between lines and if N of lines in range of step from eachother(if a+step > b and b+step > c ...) we call it a strong level.
It is not my idea(but my code), so I do not claim the uniqueness of this idea (the customer asked me to code it, but I also read about this method in open sources before).
The second thing - vectors of current trend direction on different timeframes.
For this task I took the same ranges, but ema () of each range. After first step it has an array with N values.
The next thing it does is take out "chain" one by one on each iteration. How does it do that? We take new AVG with neighbor values.
If we have 10 length at start - after iteration it becomes 9. So it repeats computing till length is 2.
After we have 2 points left - we can plot the line using indexes.
This way we can see the trend direction on different timeframes.
Feel free to use, change, put into another scripts. You can even never use it!
The right to publish this particular code was issued by the customer.
Have fun!
Support
NhaDuHanhFX - Congestion Zone (Complete & Incomplete)
When the market is trending, the momentum is strong, the price often moves quickly in one direction. In the higher time frame, we see that the closing price of the candlestick is often far away from the previous candlesticks.
When the market is sideways, the momentum is weak, and prices often move slowly around an area. In the higher time frame, we see that the closing price of the candlestick is usually within the range of the previous candlesticks.
The Congestion Zone is a price action indicator that marks out such a sideways market area. It has many patterns: Complete and incomplete patterns.
- Complete Congestion Zone (Default): It includes at least 3 candlesticks that the next candlestick has a closing price within the previous candlestick range. Then, if a candlestick closes outside the range of the previous candlestick, it is a sign that the market has most likely ended the sideway, moving into a trending state.
- Incomplete Congestion Zone (Settings Option): It is more complex Congestion patterns. It also marks out sideways of the market. However, during the congestion formation, the price tried to break out of the zone with a candlestick closing outside the previous candlestick , right after that the price turns back and continues to congest.
In addition to using the Congestion Zone to predict if the market is likely to have moved from sideways to trending. The Congestion Zone is also used as a Support & Resistance area. When the price goes away and returns to the Congestion Zone, it will likely reverse.
Pay attention to the price area that previously appeared a lot of congestion zone. It is more likely to reverse.
Sup/Res Levels [QuantVue]Shows basic pivot point of support and resistance levels. Will show alerts for break of sup. or res. Allows for a volume filter for sup. res. breaks as well.
"B" means break of either a Sup. or Res. level with volume greater than the threshold.
"Bull/Bear Wick" means bullish/bearish candle on break.
Left - number of bars left hand side of the pivot .
Right - number of bars right hand side of the pivot .
Volume Thres. - the threshold value (%) for the Volume.
This indicator is useful to filter our insignificant breaks of sup. or res. Can help trader determine when to sit on their hands, or enter a trade.
Alex trading stragedyOverview
This script, named "ALEX TRADING STRATEGY", is a technical trading strategy designed for new investing groups. It uses a combination of various technical indicators to identify potential buying and selling opportunities in the market. The script includes the Relative Strength Index (RSI), Simple Moving Averages (SMA), Exponential Moving Averages (EMA), and Higher High Lower Low (HHLL) strategies to create a complete trading solution.
The user can change the position from long to short in the Input Settings. The script uses bar colors to indicate the current trading position. The script also has exit strategies to help manage the open trades. The user can also set the period for the various indicators used in the strategy.
The script provides various technical indicators and entry/exit signals to make the trading decision easier for the user. It also includes pivot lines, resistance and support levels to help the user make a more informed decision.
This Pine script implements a multi-indicator trading strategy that combines several technical analysis techniques for making trading decisions. The script uses the Relative Strength Index (RSI) to determine overbought and oversold conditions in the market and plots the RSI values on the chart. The RSI values above 70 are considered overbought and plotted as red upward triangles, while the RSI values below 30 are considered oversold and plotted as green downward triangles.
The script also calculates Simple Moving Averages (SMAs) with the user-defined period and plots them along with the Exponential Moving Averages (EMAs) of 20, 50, and 100 periods. Based on the crossover of the close price and the moving averages, the script enters long or short trades. The script sets the trade exit conditions as the low or high crossing the lower or upper band, respectively.
In addition to the moving average crossover, the script uses the highest high and lowest low over a user-defined period to determine long and short entries. The script plots the long and short conditions on the chart as green upward and red downward triangles, respectively. The script allows the user to switch between long and short trades by changing the input settings.
Finally, the script changes the bar colors based on the trade direction, with green bars indicating a long trade, red bars indicating a short trade, and blue bars indicating no trade. Overall, this Pine script provides a comprehensive trading strategy that combines several technical analysis techniques to make informed trading decisions.
HOW TO USE
Input Settings: In the Input Settings section, you can change the long to short position. You can also change the period value (default is 10) used to calculate the Simple Moving Average (SMA) for the Keltner channel.
Indicators: The script uses RSI (Relative Strength Index) with 14 periods as well as multiple EMAs (Exponential Moving Averages) with periods 20, 50, and 100 to help in making trading decisions.
Entry Signals: The script uses two main entry signals: (1) Keltner Channel and (2) HHLL (High-Low). When the closing price crosses above the upper band of the Keltner channel, the script generates a long signal, and when the closing price crosses below the lower band of the Keltner channel, the script generates a short signal. The HHLL strategy generates a long signal when the current high crosses above the highest high of the last "nPeriod" bars, and generates a short signal when the current low crosses below the lowest low of the last "nPeriod" bars.
Exit Signals: The script uses two exit signals: (1) Stop Loss based on Keltner channel and (2) Profit Target based on Keltner channel. The script exits the long position when the closing price crosses below the lower band of the Keltner channel, and the script exits the short position when the closing price crosses above the upper band of the Keltner channel.
To use this script, you will need to have access to a trading platform that supports PineScript, such as TradingView, and attach the script to a chart. The script will then automatically generate entry and exit signals based on the rules described above. It's important to note that this script is just a tool and not a guarantee of profit. As with any trading strategy, it's important to thoroughly test and understand the script before using it for live trading.
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 █▓▒░
Price Barrier I1-PBIdea:
This script combines: Parabolic SAR, Stochastic RSI and MA
SAR is used to determine the price direction of an asset, as well as draw attention to when the price direction is changing.
Combine Stochastic RSI to point out the strength of the SAR signals.(Of course the setting for Stochastic RSI in this script is customized).
Then using MA to calculate and plot.
The plot line of this script at the center line and draw 2 line with offset to the center line.
Concept:
(Note that we take the close to get the closing price)
-SAR provides series of dots placed either above or below the price bars. A dot below the price is deemed to be a bullish signal.
-Stochastic RSI with its crossing of K and D line, last crossing of K and D will be recognized as crossing point. The direction of latest points will be current trend also in some case value above 80 is Over Buy and below 20 is Over Sell.
-So how could we present the domain line? (The domain line are two line with background color filled) Using the deviation from the MA as the baseline, we will draw two lines with 2 distinct points, then color them. We will call them price barrier. There are 4 plot MA, 2 for above and 2 for below.
-Strength of barrier calculation based on SAR and RSI mentioned above.
How it works:
1. The price barrier (domain line) displays above and below bar which could be resistance or support for current bar.
- Yellow means the soon/week signal.
- Green below bar means the support barrier.
- Red above bar mean the resistance barrier.
2. This indicator provides a warning signal when the color of the price barrier changes.
- Above barrier's color:
+Turn red: "Down Red"
+Turn yellow: "Down Yellow"
- Below barrier's color:
+Turn green: "Up Green"
+Turn yellow: "Up Yellow"
Suitable time frames:
4h, 1D, 1W
* Please note that this logic does not attempt to predict future prices or 100% accurate signal.
(INVITE ONLY indicator. Please direct message or visit website if you want to try it out)
Hope you guys enjoy!
Examples:
BTCUSD 4H
XAUUSD 1D
EURUSD 1D
AAPL 1D
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.
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:
Anchored VWAP BandSimple script to anchor vwap to a drag and drop spot on the chart and display it as a band instead of a line.
the AVAP Band displays:
1. The AVWAP using High as the source
2. The AVWAP using OHLC4 as the source
3. The AVWAP using Low as the source
This is just a different way of visualising VWAP from an anchored point in time (Band vs Line)
Fixed Fibonacci Support ResistanceI took the formula of the fibonacci from LonesomeTheBlue and made this script. You can take a look at his indicator here:
When you first add the indicator on the chart, click on the chart to select the first date and then the second date. It will then calculate the fibonacci support and resistance of the range you choose. You can also choose the date inside the inputs.
Be sure the first date is before the second date, otherwise it won't be able to show the fibonacci. If that happen, choose a correct date in the inputs.
Simple OHLC Custom Range Interactive█ OVERVIEW
This indicator show lines of OHLC which can be commonly used as support and resistance zones.
OHLC can be shown table with candlestick visual.
Color of candlestick depends on direction of bullish / bearish of the chosen candlestick.
█ INSPIRATION
Inspired by design, code and usage of CAGR . Basic usage of custom range / interactive, pretty much explained here . Credits to TradingView .
█ FEATURES
Table can positioned by any position and font size can be resized.
OHLC can be in full or simple name.
Lines can be extend either right, left, both or none.
█ HOW TO USE
Only 1 point is required.
Dont worry about magnet, point will attached depends on High or Low of the candle.
█ USAGE / TIPS EXAMPLES (Description explained in each image)
TwV Multi-timeframe Dynamic VRVPMulti-timeframe Dynamic Visible Range Volume Profile
The volume profile is an indicator that displays trading activity over a specified period and plots a histogram on the chart which reveals dominant and significant price levels based on volume and in essence gives a clear indication of Supply or demand at a certain price rather than volume in a certain period.
What makes this VRVP indicator different from other is that it is multi-timeframe and dynamic, meaning that it has the ability to show the POC for a higher timeframe and that it also recalculates the main POC every single time traders adjust the chart.
Most VRVP need to be adjusted to a fixed position for the Main POC, I made an improvement by giving the indicator the ability to identify the bars that are being look at in the screen, this really gives traders the possibility and agility to identify potential support and resistance areas without the need to be changing any settings on the indicator.
Furthermore, giving the ability to the indicator to be multi-timeframe allows traders not only to work with a point of control in one timeframe, but also have a dashed line plotting the Point of Control of a HIGHER timeframe, which could potentially be a strongest support or resistance. The multi-timeframe point of control is fixed only.
This VRVP is completely similar to the official Trading View paid subscription one.
Fundamentals
Point of Control (POC): The price level for the time period with the highest traded volume. The POC is represented by an amber line within the indicator.
Profile High: The highest reached price level during the specified time period
Profile Low: The lowest reached price level during the specified time period.
Value Area (VA): The range of price levels in which a specified percentage of all volume was traded during the time period. Typically, this percentage is set to 70% however it is up to the trader’s discretion.
Value Area High (VAH): The highest price level within the value area.
Value Area Low (VAL): The lowest price level within the value area.
Usage
The Resistance and Support levels can be provided by the Volume profile using a reactive method so they constantly change with price action and give a clearer picture to predict future price movements. The Reactive method relies on past price movements at certain price levels and applies a more significant understanding of price reaction at certain meaningful levels
Support levels will be areas where price will be supported on the way down.
Resistance levels will be areas that resist price on the way up.
A basic understanding of this is that Buyers will enter the market at the bottom of a profile and sellers will enter the market at the top of the profile.
Configuration
By the default the indicator has enabled plotting the charts timeframe Volume Profile.
Multi-timeframe option needs to be enabled and desired timeframe chosen from selector menu.
Bars back value for fixed calculation of the multi-timeframe point of control.
Traders can adjust default settings as follows:
Charts timeframe VRVP
Main POC color – Yellow
Positive Volume – Green
Negative Volume – Red
VRVP Width – 100 (Refers to the plotting width for better suiting on small screens)
Multi timeframe VRVP
Enable or disable calculations
Bars back - Fixed numbers of bars for calculation (Consider that max bars back limit is 5000, but it considers 5000 bars on the current charts timeframe, therefore traders need to take into consideration converting number of bars in higher timeframe to charts timeframe)
e.g.
Charts timeframe 15m – MTF desired 1H
1H = 60 min 15m = 15 min – 100 bars back equivalent to (60 min * 100) / 15 = 400
Lower than 5000 then calculations takes place, otherwise calculations will be disabled.
Multi-timeframe POC color = Light blue DASHED
Timeframe desired – 1H by default
Summary box
Enable or disable box
Box shows information regarding the exact price where Main POC and MTF POC reside
Table Size for better fitting on mobile devices
able Position for adjusting to each trader’s preference or use in combination with other indicators
DonchianFib[Akcay]How does it work?
- The indicator detects the highest and lowest price level in the last x periods every time prices advance by x periods.
- From these values, retracement (0.618, 0.786) and expansion levels (1.272, 1.618, 2, 2.618, 3.14, 3.618, 4.236) are obtained.
- Since the symmetrical counterpart of the retracement levels is used, there are two of each of the 0.618 and 0.786 lines, for a total of four.
How can it be used?
- It can be used for step buying.
- It can be used for step selling.
- Can be used to set a profit target.
- Can be used to set a stop target.
- This indicator can be used in the same way as Pivot levels can be used. You can think of this indicator like the Pivot Points Standard indicator, where you set the period more flexibly.
Which indicators can it be combined with?
- I don't think there are any limitations, but I think it is compatible with trend detection indicators, trend detection with DonchianFib, and stepped buy/sell with limit orders.
- If you want to enter a position with mismatch signals, you can wait for the DonchianFib levels to break.
- Its use is limited by your imagination :)
Where does the name come from?
- As the name suggests, Donchian Channels. I was inspired by Donchian Channels when developing the indicator. Donchian channels show the highs and lows of prices over the last x number of periods. DonchianFib does this once for every x periods and uses the fibonacci levels to create upper and intermediate levels.
Note : I don't know if such an indicator has been done before or not. If it has been done, I haven't seen it in tradingview.
Çalışma mantığı nedir ?
- Gösterge, fiyatlar her x periyot kadar ilerlediğinde son x periyot içerisindeki en yüksek ve en düşük fiyat seviyesini tespit eder.
- Bu değerler üzerinden geri çekilme (0.618, 0.786) ve genişleme seviyeleri (1.272, 1.618, 2, 2.618, 3.14, 3.618, 4.236) elde edilir.
- Geri çekilme seviyelerinin simetrik karşılığı kullanıldığından 0.618 ve 0.786 çizgilerinden her birinden iki adet olmak üzere toplamda dört adet bulunur.
Nasıl kullanılabilir ?
- Kademeli alım yapmak için kullanılabilir.
- Kademeli satım yapmak için kullanılabilir.
- Kâr hedefi belirlemek için kullanılabilir.
- Stop hedefi belirlemek için kullanılabilir.
- Pivot seviyelerinden nasıl faydalanılıyorsa bu göstergeden de aynı şekilde faydalanılabilir. Bu göstergeyi, periyodunu kendinizin daha esnek bir şekilde belirlediğiniz Pivot Noktalar Standartı göstergesi gibi düşünebilirsiniz.
Hangi göstergelerle kombine edilebilir ?
- Bunun için herhangi sınırlama yapmak doğru değil ancak trend tespit etmeye çalışan göstergelerle uyumlu olduğunu düşünüyorum. Bu göstergeler ile trend tespiti yapıp DonchianFib ile alım/satım yerleri belirlenebilir ve limit emirleri ile kademeli alım/satım yapılabilir.
- Uyuşmazlık sinyalleri ile pozisyona girilmek isteniliyorsa DonchianFib seviyelerinin kırılması beklenebilir.
- Kullanımı sizin hayal gücünüz ile sınırlıdır :)
Adı nereden geliyor ?
- Adından da anlaşılacağı üzere Donchian Kanallarından. Göstergeyi geliştirirken Donchian Kanallarından ilham aldım. Donchian kanalları fiyatların son x periyot içerisindeki en yüksek ve en düşük seviyelerini grafikte gösteriyor. DonchianFib ise bunu her x periyot için bir defa yapıp, fibonacci seviyelerini de kullanarak üst ve ara seviyeler oluşturuyor.
Not : Daha önce böyle bir göstergenin yapılıp yapılmadığını bilmiyorum. Yapıldı ise ben tradingview'da görmedim.
Multi Timeframe Support and Resistance [ABA Invest]About
Automatic level of support and resistance ( SnR ) in the chart. It helps users to decide where is the level of SnR and also optimize the level by changing the input base on their needs
Input:
Pivot - The number of bars left and right side of the pivot to choose how detailed the SnR level
Type - To draw the line on the candle wick endpoints or body
Timeframes option - you can choose to display other timeframes beside the current chart timeframe
Adaptive moving average - to help users identify breaks of the SnR level with the moving average line
Line length - length of the moving average line if you activate the adaptive moving average option
How to use:
Attach the indicator to the chart and then you will find the red and green lines. Red line work as resistance level and green line works as support level and also you can merge adjacent line levels into an area of SnR.
The Adaptive moving average (AMA) line function is to see the break of SnR level and prepare for the setup.
Buy setup: AMA line break resistance level, when the price retest the support (the previous break resistance) we can enter buy trade
Sell setup: AMA line break support level, when the price retest the resistance (the previous break support) we can enter sell trade
Note: Don’t blindly follow the AMA trend signal
Extreme Volume Support Resistance LevelsExtreme Volume Support Resistance Levels are S/R levels(zones, basically), based on extreme volume .
Settings:
Lookback -- number of bars, which algorithm will be using;
Volume Threshold Period -- period of MA (Volume MA), which smoothers volume in order to find the extremes;
Volume Threshold Multiplier -- multiplier for Volume MA, which "lift" Volume MA and thus will provide the algorithm with more accurate extreme volume ;
Number of zones to show -- number of last S/R zones, which will be shown on the chart.
RU:
Extreme Volume Support Resistance Levels — это уровни S/R (зоны, в основном), основанные на избыточном объеме.
Параметры:
Lookback -- число баров, которое алгоритм будет использовать для расчётов;
Volume Threshold Period -- период MA (Volume MA), которая сглаживает объем для нахождения экстремумов объёма;
Volume Threshold Multiplier -- множитель для Volume MA, который "поднимает" Volume MA и тем самым обеспечивает алгоритм более точными значениями экстремального объёма;
Количество зон для отображения -- количество оставшихся зон S/R, которые отображаются на графике.
RSI SR by Kred-AllinoHello Trader,
This indicator is draw Support & Resistance Level based on RSI Calculation, It will help you to find Support and Resistance very Easily.
Red Color Line - Resistance
Green Color Line - Support
RSI comes up from the OS region. So it's good time to do the calculation with.
- Find out the lowest RSI value from the RSI array
- Get the corresponding low price from the price array
- Get the corresponding bar_index from bar_index array
- Draw the demand/support line on that price
This Indicator is made for Educational Purpose only, Author will not liable for direct or indirect for any losses due to use of Indicator.
VWAP & Previous VWAP - MTF█ Volume Weighted Average Price & Previous Volume Weighted Average Price - Multi Timeframe
This script can display the daily, weekly, monthly, quarterly, yearly and rolling VWAP but also the previous ones.
█ Volume Weighted Average Price (VWAP)
The VWAP is a technical analysis tool used to measure the average price weighted by volume.
VWAP is typically used with intraday charts as a way to determine the general direction of intraday prices.
VWAP is similar to a moving average in that when price is above VWAP, prices are rising and when price is below VWAP, prices are falling.
VWAP is primarily used by technical analysts to identify market trends.
█ Rolling VWAP
The typical VWAP is designed to be used on intraday charts, as it resets at the beginning of the day.
Such VWAPs cannot be used on daily, weekly or monthly charts. Instead, this rolling VWAP uses a time period that automatically adjusts to the chart's timeframe.
You can thus use the rolling VWAP on any chart that includes volume information in its data feed.
Because the rolling VWAP uses a moving window, it does not exhibit the jumpiness of VWAP plots that reset.
For the version with standard deviation bands.
MTF VWAP & StDev Bands
4C Expected Move (Weekly Options)This indicator plots the Expected Move (EM) calculated from weekly options pricing, for a quick visual reference.
The EM is the amount that a stock is predicted to increase or decrease from its current price, based on the current level of implied volatility.
This range can be viewed as support and resistance, or once price gets outside of the range, institutional hedging actions can accelerate the move in that direction.
The EM range is based on the Weekly close of the prior week.
It can be useful to know what the weekly EM range is for a stock to understand the probabilities of the overall distance, direction and volatility for the week.
To use this indicator you must have access to a broker with options data (not available on Tradingview).
Look at the stock's option chain and find the weekly expected move. You will have to do your own research to find where this information is displayed depending on your broker.
See screenshot example on the chart. This is the Thinkorswim platform's option chain, and the Implied Volatility % and the calculated EM is circled in red. Use the +- number in parentheses, NOT the % value.
Input that number into the indicator on a weekly basis, ideally on the weekend sometime after the cash market close on Friday, and before the Market open at the beginning of the trading week.
The indicator must be manually updated each week.
It will automatically start over at the beginning of the week.
Support and Resistance Intensity ZonesSupport and resistance are often drawn using lines. This is too simple and doesn't give a clear idea of the market sentiment at these particular levels. What is strong support and resistance? What is weak support and resistance. How can either be defined by a single price point?
Using a simple, clean and configurable solution, this indicator not only shows these support and resistance levels as zones, it also gives them a colour gradient based on their intensity.
It does this by letting you choose the pivot highs and lows within a chosen range back. Then you choose one of two options to display how these multiple pivots at the same levels look. You can either group these pivots together into 'zones', where grouped pivots are all separated by a chosen price percentage, choosing how many zones to display, the most grouped pivots being the most intense colour.
Alternatively you display the pivots by 'gradient', where the closer the pivots are together in price the more intense the colour. As pivots diverge apart, the colour weakens.
Both of these options have to be seen to realise how much more there is to support and resistance than a single line.
MACD with Support and Resistance - Signals, Alerts, TP and SLMACD with Support and Resistance - Signals Alerts SL and TP by Tech Store On
The script uses MACD for entering/exiting trades and support/resistance lines to take TP1 (take profit 1). Both MACD and support/resistance lines are fully configurable to your preference, and you can back-test it via TradingView. Once TP1 is taken, you can either set the indicator to close the trade at the end of the US trading session day (4PM ET) or you can continue taking partial profits where you wish or just wait until reversal signal alert.
For example: If you will be day trading SPY and you wish to close your positions no matter what right before the market closes (3:45PM ET > 15min before closes): Make sure to checkbox “Intraday – Close Position Before Market Closes” in the strategy/indicator Settings, so that you are alerted soon before the market closes, if you wish to continue holding the position – leave this checkbox unchecked.
SL: SL is set to be slightly above/below the MACD signal candle, which is best suited for this strategy from manual backtesting.
Strategy Take Profit Approach
While the initial position open and SL hit is always based on a closed candle bar (can’t do otherwise, as otherwise you will have 10s of fake signal alerts), there are 2 ways on trading this strategy in terms of TP1 / TP1 taken > back to Entry, which is based off Alert type.
You can switch this as you like within the indicator settings, “Checked: TP1/TP1 taken > back to Entry per Price Touch | Unchecked: per Candle Close”.
Candle Close vs Price Touch: with the Default method - Candle Close for an alert for TP1 or if price comes back to Entry after TP1 is taken will only be triggered once candle bar fully closes crossing the area, while Price Touch will alert when price touches the area before candle bar closes.
For example: your trade is running well, you grab TP1 and the price reverses and hits your trade Entry area. With Price Touch – you are immediately alerted to close your trade with no loss and with TP1 profit. With Candle Close - you will receive an alert only once candle bar fully closes on top of the Entry crossing it backwards, meaning it may lower your TP1 profit or even completely reverse the trade into loss in case it will be a huge candle bar for any reason. However, it may touch the Entry area, looking like the price is reversing, but then continue per initial trade direction, sometimes becoming a trend. So, while Price Touch seem like a more conservative approach, Candle Close can give you much bigger profits if you catch a trend, but you can always change it via the Settings.
Note: TradingView back-testing engine does not have a feature to open/close orders IMMEDIATELY via Price Touch trigger, but only when the candle closes after price touches the scripted area/line/etc., so you for the most accurate results, test your strategy out via Candle Close setting. Otherwise, decide yourself. I personally like more Candle Close since I can test it out via back-testing with the most accurate results.
Note: If you will be observing the strategy LIVE, during LIVE candle bar movement – it will look weird, like it’s placing an order after order during any trigger – this seem like a TradingView bug, but is only observational, once the candle bar is closed and you refresh TradingView it will all look correct.
Back-Testing
If you wish to do some back-testing, just modify the strategy/indicator Settings:
-----1) STRATEGY: This is for back-testing/experimenting with the script inputs.
----------a. You can setup a start date (date, month, year) from which it will start opening back-test trades, select a position size and select TP1 size, the idea here is to close half (or whatever you choose) portion of the trade once you hit your TP1, then to either close at small profit or to catch a trend and close the second portion of the position long way ahead from Entry, otherwise it will alert you to close the position if price comes back to Entry, at reversal signal or at the end of US trading session if the option for it is checked. If you wish to close the whole position at TP1, just enter the same amount for TP1 to match backtest position size. Otherwise you can experiment with TP1 sizing – try it out!
-----2) Feel free to experiment with MACD settings and with S&R Left/Right bars, you may be amazed how results will differ and find some really cool combinations!
-----3) Make sure you select/de-select “Intraday – Close Position Before Market Closes” setting depending on what you are back-testing and on which conditions
-----4) Note: If you wish to do some deep back-testing (1+ years), use the “Deep Backtesting” feature within Strategy Tester on the TradingView as otherwise it may show wrong results or even fail to compute the results
Add the alerts
-----Right-click anywhere on the TradingView chart
-----Click on Add alert
-----Condition: MACD with Support and Resistance - Signals
----------o Right underneath the condition click on the drop-down menu and select “alert() function calls only”
-----Expiration time: Whatever you wish
-----Alert actions: Whatever notifications you wish
-----Alert name: DO NOT TOUCH THIS
-----Hit “Create”
-----Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
- Note: If you add the alert while the script is currently “In Position” it will not know that. So either wait when there will be no position open at all or close your position partially if the bot opens it twice bigger or so in case per script the bot will think it is already in position.
Note: Because of the slippage and the order processing time between TradingView, AutoView and the Broker (it’s usually about a second or so), it is suggested to not use a timeframe lower than 1min. The script is working really well with 15M/H1 timeframes per my back-testing, but feel free to explore via Strategy Back-testing what’s best for the instrument you wish to trade.
Gap ZonesSharing a simple gap zone identifier, simply detects gap up/down areas and plots them for visual reference. Calculation uses new candle open compared to previous candle close and draws the zone, a mid point is plotted also as far too often it's significance is proven effective.
Works on any timeframe and market though I recommend utilizing timeframes such as weekly or daily for viewing at lower timeframes such as 5, 15 or 30 minutes.
Often price is observed reaching towards zone high/mid/low before rejection/bouncing. These gap zones can give quantitative basis for trade management.
Future features may include alerts based on price crossing up/down gap low, mid and highs. Feel free to message with any other suggestions.
MTF MA Ribbon and Bands + BB, Gaussian F. and R. VWAP with StDev█ Multi Timeframe Moving Average Ribbon and Bands + Bollinger Bands, Gaussian Filter and Rolling Volume Weighted Average Price with Standard Deviation Bands
Up to 9 moving averages can be independently applied.
The length , type and timeframe of each moving average are configurable .
The lines, colors and background fill are customizable too.
This script can also display:
Moving Average Bands
Bollinger Bands
Gaussian Filter
Rolling VWAP and Standard Deviation Bands
Types of Moving Averages:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Smoothed Moving Average (SMMA)
Weighted Moving Average (WMA)
Volume Weighted Moving Average (VWMA)
Least Squares Moving Average (LSMA)
Hull Moving Average (HMA)
Arnaud Legoux Moving Average (ALMA)
█ Moving Average
Moving Averages are price based, lagging (or reactive) indicators that display the average price of a security over a set period of time.
A Moving Average is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance.
█ Bollinger Bands
Bollinger Bands consist of a band of three lines which are plotted in relation to security prices.
The line in the middle is usually a Simple Moving Average (SMA) set to a period of 20 days (the type of trend line and period can be changed by the trader, a 20 day moving average is by far the most popular).
The SMA then serves as a base for the Upper and Lower Bands which are used as a way to measure volatility by observing the relationship between the Bands and price.
█ Gaussian Filter
Gaussian filter can be used for smoothing.
It rejects high frequencies (fast movements) better than an EMA and has lower lag.
A Gaussian filter is one whose transfer response is described by the familiar Gaussian bell-shaped curve.
In the case of low-pass filters, only the upper half of the curve describes the filter.
The use of gaussian filters is a move toward achieving the dual goal of reducing lag and reducing the lag of high-frequency components relative to the lag of lower-frequency components.
█ Rolling VWAP
The typical VWAP is designed to be used on intraday charts, as it resets at the beginning of the day.
Such VWAPs cannot be used on daily, weekly or monthly charts. Instead, this rolling VWAP uses a time period that automatically adjusts to the chart's timeframe.
You can thus use the rolling VWAP on any chart that includes volume information in its data feed.
Because the rolling VWAP uses a moving window, it does not exhibit the jumpiness of VWAP plots that reset.
Made with the help from scripts of: adam24x, VishvaP, loxx and pmk07.
Trend SuggestionsThis brings together a number of variables to produce trend predictions that could be utilized as decision-making tools.
Uses the aforementioned price and volume derivatives
- A moving average and three weighted moving averages (WMA1, WMA2, WMA3)
- Super Trend Line (ST)
- Opening Range Breakout on Five Minutes, Resistance Bands Pocket pivots, support, and price volume
he Direction is determined by the High and Low Bands of WMAs and the Supertrend Line, which are used to determine the Upper and Lower Lines around the Price. When the price passes below the lower boundary of the band, a downtrend is said to have begun.
Similarly, for an uptrend, this continues until the price passes over the upper edge of the band. Teal for an uptrend and fuchsia for a downturn area shared by the band to identify the trend.
The first five minutes of the breakout lines have a tiny buffer augmentation of 11% applied to them.
Based on what has been observed, support and resistance zones have been somewhat changed from the figures that are often utilized (might work other markets as well)
The markings that may be seen are as follows:
- Blue Triangle indicates a pocket pivot with an upward bias;
- Maroon Triangle indicates a pocket pivot with a downward bias;
- Teal colored Diamonds indicate price upthrusts and potential trend confirmation locations, depending on success or failure.
- Similar backdrop color changes that look as vertical shading are also used to identify them.
- Fuchsia-colored diamonds indicate price declines and a potential trend, depending on whether it persists or fails.
- Dark green and maroon square boxes indicate potential price reversals in the support and resistance bands, respectively.
It goes without saying that this work is derived from numerous other open-source community initiatives.
Feel free to adjust anything you'd like, and we appreciate any feedback.