ค้นหาในสคริปต์สำหรับ "vwap"
VWAP-ATR-SSLThis is an experimental idea to transform the original script created by @Fleite28 in a kind of SSL with volatility bands.
@Fleite28 has made all script and he have all credits, I just give him this idea.
I'm using this indicator to confirm:
1-potential bull trend (when you have 2x green lines with support)
2-potential bear trend (2x lines red - resistance)
3-consolidations (inside green support and red resistance).
Try to use this with a Market Profile Volume and some trend lines.
VWAP ATR ReversalThis script finds tops and bottoms using ATR and MVWAP. It works by signaling when price is far away from MVWAP and ATR therefore it is likely to reverse.
(D7R) T-WAP SpiderT-WAP spider is a simple script to gather most important T-WAP levels often used by algos and intraday traders to track mean reversion and high probability Support & Resistances.
The lines will chance color depending on price placement above or bellow.
Traders can use this to gauge over or under extension from the mean and identify RR opportunities within intraday with these levels mapped out.
There is an option to also turn on Volume (V-WAP)
Scalping Strategy with SL and TP activation settingsThis strategy can be used on pretty much every timeframe that gives you a satisfying performance and will give you entries with a high probability of a winning trade.
Recommended are lower timeframes, because after all this is a scalping strategy and with that your chart wont be cluttered.
How to use this script?
Currently you can setup your positions SL and TP, because the markets vary in volatility it could improve the performance of the strategy.
You will simply get your signals and can decide to act upon them.
Stop loss: Simply your stop loss order which will trigger when price moves a given % away from your entry.
TP-Activation: When price reaches your % target it will trigger a stop limit order. So if price turns against your position after reaching your target it will close your position in profit and if it runs in your favoured direction it will trigger at a later stage.
Trailing-Offset-%: After reaching your % target it will trigger the TP order with an offset. So if you set your trailing offset to 0.1%, your TP order will be set behind 0.1 %. This can be used to test if the strategy would perform as well
if you leave more room for trades to play out.
Will this script make me profitable?
No strategy is a silver bullet and it depends mostly on you.
Trading is not easy and most people fail, because their risk management skills arent solid or they cant control their emotions.
This script will give you statistically often good entries, so even if you hit a losing streak your SL will protect you from losing more than necessary until you get a winning streak.
Patience and consistency is key to be profitable in the long run.
Does the script repaint?
Although you will get a notification when setting an alarm that the indicator may repaint, no security function is used and the signals will stay on the chart, because the signal is calculated based on the last candle close and will trigger with the next candle.
I am still looking into why that notification pops up.
You are free to try the indicator for a limited time to be sure.
My experience with the strategy
The overall statistical advantage is great. The strategy can be used simply as it is, but becomes better if you already have some experience with trading. Sometimes it will give you a good entry, reaches your target and the price still goes in your preferred direction. So your trading returns and experience could be improved with confluence, but it is totally fine as it is and if used right will help you get going.
Disclaimer: This is no financial advice. This is a tool and I am not responsible for your actions.
If you are interested in the indicator feel free to dm me on TradingView.
VWAP Relative Strength Index [CC]This is a custom indicator of mine that uses the volume weighted average price instead of the close price as the source for calculations of the relative strength index. Buy when the indicator line is green and sell when it is red.
This was a custom request so let me know if there are any other scripts you would like to see me do or if you want something custom done!
AVWAPVWAP is based on volume and price and represents the average a security has traded at.
The script in for Dynamic Trader L3 members only.
MVWAP Trend — SharkCIAThis method uses MVWAP to identify longer term trends. Suitable for 30m to 3d timeframes, recommended for 4h or 1d.
VWAP Strategy_SCSimple Strategy for Crypto. Since it is very profitable, i decided to share the version with fixed parameters.
Best used on BTC on 1 hr timeframe. Use it at your own discretion.
VWAP/CloseHey!
This time I'm going to introduce you to an indicator which catches volume spikes and its respect price change, to give an idea of the following price action.
The logic is pretty simple:
Value > 1 : High Volume that changed a lot the price, next price action will follow that trend.
Value < 1 : Low volume that changed a lot the price, trend is weak.
Value = 1 : Volume and price change is balanced, trend would continue based on the previous values.
If you have any doubt just comment!
φ
Financial Frontline:Integrated Market Analysis Toolkit[drshah93]Title: Financial Frontline: Bollinger BandWidth with Moving Average + Fractal & Alligator + Ichimoku Cloud + Anchored VWAP
This script is developed to integrate multiple robust technical analysis tools into a single, comprehensive indicator. Designed for traders seeking an all-in-one solution, this script combines Fractal and Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth with Moving Average, providing a holistic view of the market.
Unlocking Market Dynamics: How It Works Together
This multi-tool indicator is more than just a mashup; it is a strategically crafted integration that maximizes the strengths of each component to deliver a versatile and insightful trading tool.
1. Fractal and Alligator:
o Concept:
The Fractal & Alligator combination serves as a powerful mechanism for identifying trend reversals and continuations.
Fractals pinpoint potential turning points in the market, while the Alligator lines, consisting of smoothed moving averages, provide a clear indication of trend direction and strength.
By plotting visual markers for completed top and bottom fractals, this component helps traders to easily identify critical potential turning points of market reversal.
The Bill Williams' Alligator’s three moving averages (jaw, teeth, and lips) further enhance this analysis by indicating the prevailing trend and its momentum, making it easier to discern when to enter or exit trades.
o Details: Customizable jaw, teeth, and lips represent the market's direction. Top and bottom fractals help identify potential support and resistance levels.
o Usage: Enable the Alligator to visualize the market's trend direction and use fractals to spot potential entry and exit points.
2. Ichimoku Cloud:
o Concept:
The Ichimoku Cloud component adds another layer of market insight by providing a comprehensive view of support and resistance levels, trend direction, and momentum.
The cloud (Kumo) itself indicates key support and resistance zones, while the Tenkan-sen and Kijun-sen lines offer shorter-term trend and momentum insights.
The Chikou Span, or lagging line, provides a perspective on current price action relative to past prices.
This multi-faceted approach helps traders to identify high-probability trading opportunities and to understand the broader market context, allowing for more informed trading decisions.
o Details: Includes conversion line (Tenkan-sen), base line (Kijun-sen), leading spans (Senkou Span A & B), and lagging span (Chikou Span). Customizable lengths and colors for each element.
o Usage: Use the cloud's color and position relative to price to determine bullish or bearish trends and identify potential trading signals.
3. Anchored VWAP:
o Concept:
Anchored VWAPs (Volume Weighted Average Price) are dynamically anchored to significant price points such as swing highs and lows.
This component helps traders to understand the average price paid over a specific period and to identify critical price levels that may act as support or resistance.
By anchoring the VWAP to significant points, this indicator provides a more precise view of where key market participants are positioned, aiding in the identification of potential reversal points and confirming trend direction.
Anchored VWAP (Volume Weighted Average Price) provides the average price of an asset, weighted by volume, from a specific anchor point.
o Details: Multiple Anchored VWAP lines from significant highs and lows. Customizable lengths and colors for each VWAP.
o Usage: Analyze the price's relationship to VWAP lines to assess market strength and potential reversal points.
4. Bollinger BandWidth with Moving Average:
o Concept:
This component combines the volatility insights of Bollinger BandWidth with the trend-following properties of moving averages.
The Bollinger BandWidth measures the distance between the upper and lower Bollinger Bands, offering a visual representation of market volatility.
Bollinger Bands measure market volatility, while BandWidth indicates the degree of volatility.
When combined with a moving average, it helps to identify periods of market contraction and expansion.
Crossovers between the Bollinger BandWidth and the moving average provide timely alerts for potential entry and exit points, enabling traders to react quickly to changing market conditions.
o Details: Bollinger Bands with customizable lengths, source, and standard deviation. BandWidth calculation and moving average with options for SMA, EMA, SMMA, WMA.
o Usage: Identify periods of high and low volatility using BandWidth and adjust trading strategies accordingly. Use the moving average to smooth out volatility signals.
Customization Options for Tailored Analysis
One of the standout features of this multi-tool indicator is its high level of customization. Traders can toggle each indicator on or off according to their preferences and adjust input parameters such as lengths, colors, and offsets. This flexibility allows traders to tailor the tool to their specific trading style and market conditions, ensuring that they can extract maximum value from the analysis provided.
The Synergy of Combined Indicators: Enhancing Technical Analysis
The real power of this script lies in how these four indicators work together to provide a comprehensive analysis of the market. When combined, they cover various aspects of technical analysis:
• Trend Detection: The Alligator and Ichimoku Cloud work together to confirm trend direction and strength, while the Anchored VWAP highlights critical price levels.
• Reversal Points: Fractals and Ichimoku's Tenkan-sen/Kijun-sen crossovers help identify potential market reversals.
• Volatility and Momentum: The Bollinger BandWidth with Moving Average provides insights into market volatility, which complements the momentum signals from the Ichimoku Cloud.
• Support and Resistance: Fractals and Anchored VWAP pinpoint key levels. They provide clear support and resistance levels, enhancing the trader's ability to make informed decisions.
Advantages to Technical Analysis
• Holistic View: Combines trend, momentum, volatility, and price levels into a single script.
• Enhanced Decision-Making: Multiple confirmation signals increase the reliability of trading signals.
• Flexibility: Customizable settings allow traders to tailor the indicator to their specific needs.
• Efficiency: Reduces the need to switch between multiple charts and indicators, streamlining the analysis process.
How to Use:
1. Access the indicator settings to customize each component according to your trading strategy.
2. Toggle visibility for Fractal and Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth components.
3. Adjust lengths, colors, and calculation methods to match your charting style and preferences.
4. Combine insights from trend analysis, support/resistance levels, and volatility measures for informed trading decisions.
Elevate your trading analysis with this all-in-one tool, merging multiple indicators into a powerful script that offers a comprehensive view of the market.
In Conclusion: An Indispensable Tool for Traders
This multi-tool indicator is designed to cater to the needs of traders who seek a comprehensive and versatile analytical framework. By integrating Fractal & Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth with Moving Average, it provides a holistic view of market conditions, enhancing the trader's ability to identify key trends, support/resistance levels, and potential trading signals. This script is not just a combination of indicators but a thoughtfully crafted tool that delivers actionable insights and helps traders to stay ahead in the financial markets.
Author: drshah93
Waindrops [Makit0]█ OVERALL
Plot waindrops (custom volume profiles) on user defined periods, for each period you get high and low, it slices each period in half to get independent vwap, volume profile and the volume traded per price at each half.
It works on intraday charts only, up to 720m (12H). It can plot balanced or unbalanced waindrops, and volume profiles up to 24H sessions.
As example you can setup unbalanced periods to get independent volume profiles for the overnight and cash sessions on the futures market, or 24H periods to get the full session volume profile of EURUSD
The purpose of this indicator is twofold:
1 — from a Chartist point of view, to have an indicator which displays the volume in a more readable way
2 — from a Pine Coder point of view, to have an example of use for two very powerful tools on Pine Script:
• the recently updated drawing limit to 500 (from 50)
• the recently ability to use drawings arrays (lines and labels)
If you are new to Pine Script and you are learning how to code, I hope you read all the code and comments on this indicator, all is designed for you,
the variables and functions names, the sometimes too big explanations, the overall structure of the code, all is intended as an example on how to code
in Pine Script a specific indicator from a very good specification in form of white paper
If you wanna learn Pine Script form scratch just start HERE
In case you have any kind of problem with Pine Script please use some of the awesome resources at our disposal: USRMAN , REFMAN , AWESOMENESS , MAGIC
█ FEATURES
Waindrops are a different way of seeing the volume and price plotted in a chart, its a volume profile indicator where you can see the volume of each price level
plotted as a vertical histogram for each half of a custom period. By default the period is 60 so it plots an independent volume profile each 30m
You can think of each waindrop as an user defined candlestick or bar with four key values:
• high of the period
• low of the period
• left vwap (volume weighted average price of the first half period)
• right vwap (volume weighted average price of the second half period)
The waindrop can have 3 different colors (configurable by the user):
• GREEN: when the right vwap is higher than the left vwap (bullish sentiment )
• RED: when the right vwap is lower than the left vwap (bearish sentiment )
• BLUE: when the right vwap is equal than the left vwap ( neutral sentiment )
KEY FEATURES
• Help menu
• Custom periods
• Central bars
• Left/Right VWAPs
• Custom central bars and vwaps: color and pixels
• Highly configurable volume histogram: execution window, ticks, pixels, color, update frequency and fine tuning the neutral meaning
• Volume labels with custom size and color
• Tracking price dot to be able to see the current price when you hide your default candlesticks or bars
█ SETTINGS
Click here or set any impar period to see the HELP INFO : show the HELP INFO, if it is activated the indicator will not plot
PERIOD SIZE (max 2880 min) : waindrop size in minutes, default 60, max 2880 to allow the first half of a 48H period as a full session volume profile
BARS : show the central and vwap bars, default true
Central bars : show the central bars, default true
VWAP bars : show the left and right vwap bars, default true
Bars pixels : width of the bars in pixels, default 2
Bars color mode : bars color behavior
• BARS : gets the color from the 'Bars color' option on the settings panel
• HISTOGRAM : gets the color from the Bearish/Bullish/Neutral Histogram color options from the settings panel
Bars color : color for the central and vwap bars, default white
HISTOGRAM show the volume histogram, default true
Execution window (x24H) : last 24H periods where the volume funcionality will be plotted, default 5
Ticks per bar (max 50) : width in ticks of each histogram bar, default 2
Updates per period : number of times the histogram will update
• ONE : update at the last bar of the period
• TWO : update at the last bar of each half period
• FOUR : slice the period in 4 quarters and updates at the last bar of each of them
• EACH BAR : updates at the close of each bar
Pixels per bar : width in pixels of each histogram bar, default 4
Neutral Treshold (ticks) : delta in ticks between left and right vwaps to identify a waindrop as neutral, default 0
Bearish Histogram color : histogram color when right vwap is lower than left vwap, default red
Bullish Histogram color : histogram color when right vwap is higher than left vwap, default green
Neutral Histogram color : histogram color when the delta between right and left vwaps is equal or lower than the Neutral treshold, default blue
VOLUME LABELS : show volume labels
Volume labels color : color for the volume labels, default white
Volume Labels size : text size for the volume labels, choose between AUTO, TINY, SMALL, NORMAL or LARGE, default TINY
TRACK PRICE : show a yellow ball tracking the last price, default true
█ LIMITS
This indicator only works on intraday charts (minutes only) up to 12H (720m), the lower chart timeframe you can use is 1m
This indicator needs price, time and volume to work, it will not work on an index (there is no volume), the execution will not be allowed
The histogram (volume profile) can be plotted on 24H sessions as limit but you can plot several 24H sessions
█ ERRORS AND PERFORMANCE
Depending on the choosed settings, the script performance will be highly affected and it will experience errors
Two of the more common errors it can throw are:
• Calculation takes too long to execute
• Loop takes too long
The indicator performance is highly related to the underlying volatility (tick wise), the script takes each candlestick or bar and for each tick in it stores the price and volume, if the ticker in your chart has thousands and thousands of ticks per bar the indicator will throw an error for sure, it can not calculate in time such amount of ticks.
What all of that means? Simply put, this will throw error on the BITCOIN pair BTCUSD (high volatility with tick size 0.01) because it has too many ticks per bar, but lucky you it will work just fine on the futures contract BTC1! (tick size 5) because it has a lot less ticks per bar
There are some options you can fine tune to boost the script performance, the more demanding option in terms of resources consumption is Updates per period , by default is maxed out so lowering this setting will improve the performance in a high way.
If you wanna know more about how to improve the script performance, read the HELP INFO accessible from the settings panel
█ HOW-TO SETUP
The basic parameters to adjust are Period size , Ticks per bar and Pixels per bar
• Period size is the main setting, defines the waindrop size, to get a better looking histogram set bigger period and smaller chart timeframe
• Ticks per bar is the tricky one, adjust it differently for each underlying (ticker) volatility wise, for some you will need a low value, for others a high one.
To get a more accurate histogram set it as lower as you can (min value is 1)
• Pixels per bar allows you to adjust the width of each histogram bar, with it you can adjust the blank space between them or allow overlaping
You must play with these three parameters until you obtain the desired histogram: smoother, sharper, etc...
These are some of the different kind of charts you can setup thru the settings:
• Balanced Waindrops (default): charts with waindrops where the two halfs are of same size.
This is the default chart, just select a period (30m, 60m, 120m, 240m, pick your poison), adjust the histogram ticks and pixels and watch
• Unbalanced Waindrops: chart with waindrops where the two halfs are of different sizes.
Do you trade futures and want to plot a waindrop with the first half for the overnight session and the second half for the cash session? you got it;
just adjust the period to 1860 for any CME ticker (like ES1! for example) adjust the histogram ticks and pixels and watch
• Full Session Volume Profile: chart with waindrops where only the first half plots.
Do you use Volume profile to analize the market? Lucky you, now you can trick this one to plot it, just try a period of 780 on SPY, 2760 on ES1!, or 2880 on EURUSD
remember to adjust the histogram ticks and pixels for each underlying
• Only Bars: charts with only central and vwap bars plotted, simply deactivate the histogram and volume labels
• Only Histogram: charts with only the histogram plotted (volume profile charts), simply deactivate the bars and volume labels
• Only Volume: charts with only the raw volume numbers plotted, simply deactivate the bars and histogram
If you wanna know more about custom full session periods for different asset classes, read the HELP INFO accessible from the settings panel
EXAMPLES
Full Session Volume Profile on MES 5m chart:
Full Session Unbalanced Waindrop on MNQ 2m chart (left side Overnight session, right side Cash Session):
The following examples will have the exact same charts but on four different tickers representing a futures contract, a forex pair, an etf and a stock.
We are doing this to be able to see the different parameters we need for plotting the same kind of chart on different assets
The chart composition is as follows:
• Left side: Volume Labels chart (period 10)
• Upper Right side: Waindrops (period 60)
• Lower Right side: Full Session Volume Profile
The first example will specify the main parameters, the rest of the charts will have only the differences
MES :
• Left: Period size: 10, Bars: uncheck, Histogram: uncheck, Execution window: 1, Ticks per bar: 2, Updates per period: EACH BAR,
Pixels per bar: 4, Volume labels: check, Track price: check
• Upper Right: Period size: 60, Bars: check, Bars color mode: HISTOGRAM, Histogram: check, Execution window: 2, Ticks per bar: 2,
Updates per period: EACH BAR, Pixels per bar: 4, Volume labels: uncheck, Track price: check
• Lower Right: Period size: 2760, Bars: uncheck, Histogram: check, Execution window: 1, Ticks per bar: 1, Updates per period: EACH BAR,
Pixels per bar: 2, Volume labels: uncheck, Track price: check
EURUSD :
• Upper Right: Ticks per bar: 10
• Lower Right: Period size: 2880, Ticks per bar: 1, Pixels per bar: 1
SPY :
• Left: Ticks per bar: 3
• Upper Right: Ticks per bar: 5, Pixels per bar: 3
• Lower Right: Period size: 780, Ticks per bar: 2, Pixels per bar: 2
AAPL :
• Left: Ticks per bar: 2
• Upper Right: Ticks per bar: 6, Pixels per bar: 3
• Lower Right: Period size: 780, Ticks per bar: 1, Pixels per bar: 2
█ THANKS TO
PineCoders for all they do, all the tools and help they provide and their involvement in making a better community
scarf for the idea of coding a waindrops like indicator, I did not know something like that existed at all
All the Pine Coders, Pine Pros and Pine Wizards, people who share their work and knowledge for the sake of it and helping others, I'm very grateful indeed
I'm learning at each step of the way from you all, thanks for this awesome community;
Opensource and shared knowledge: this is the way! (said with canned voice from inside my helmet :D)
█ NOTE
This description was formatted following THIS guidelines
═════════════════════════════════════════════════════════════════════════
I sincerely hope you enjoy reading and using this work as much as I enjoyed developing it :D
GOOD LUCK AND HAPPY TRADING!