Timeframe PivotsUse this tool to plot open prices from any timeframe as a pivot level with the option to go advanced and turn on extensions (instructions below), which review the relationship between previous and current open prices to build range extensions up to six levels wide.
Please be aware extensions, nor vwap are not enabled by default! It is up to the user to determine how they wish to setup this indicator. Please read the full description for utilizing this indicator so that it's well known the complete feature set and understanding of how to enable additional plots, complete instruction is provided for all users below.
Default configuration example:
To enable extensions the user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", depending on screen resolution scrolling with mouse may need to occur in order to find the section labeled "Extensions", use the mouse or equivalent human interface device to check the checkbox to the right of the color plots and line type drop down.
Extensions enabled example:
Timeframe Selection
Timeframes available to the indicator are any timeframe the platform makes available to the user by default, or also if the TradingView user has higher tier plan to create custom timeframes - those should be available as well. To adjust timeframe the user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", depending on screen resolution scrolling with mouse may need to occur in order to find the input labeled "Timeframe", use the mouse or equivalent human interface device select the drop down and select timeframe suitable to users application.
How the extension width and extensions are calculated:
The exact process takes the new timeframe change open price calculates the difference between prior open, once that has been completed then it's divided in half to build extensions.
Code example:
Extension Width = (Open - Open ) / 2
How the extensions are calculated:
// +1 for positive extension, -1 for negative extension
(Extension Width * (Configured Multiplier * 1)) + Pivot Open Price
+1 Extension:
$5 * (1.0 * 1) + $400 = $405
-1 Extension:
$5 * (1.0 * -1) + $400 = $395
So it should be established how each projected extension, either positive or negative, is created.
Range bound market detection and notes:
One note regarding the ranges, sometimes the open prices of each period can be close in proximity to their predecessor, there's not enough range to build meaningful projections. In these situations this means the market is most likely range bound and prior range data is utilized to continue providing guidance. This addresses an issue with other pivot indicators that will instead blindly follow price and present useless pivot ranges.
It does this through detection of average half range widths, the last 14 ranges to be exact, if the current, (open - open / 2), half range width is smaller than the average, prior half range width will be used.
Code example:
// assume past half range widths are 10, 8, 9, 5, 14, 7, 7, 9, 10, 10, 4, 7, 7, 8
float v_halfRangeWidthToUseForExtensions = na
v_priorHalfRangeWidth = 10
v_avgHalfRangeWidth = 8.2 // past range widths sum = 115 / 14
v_newHalfRangeWidthToUseForExtensions = 2 // new open - open is tiny compared to avg
if v_newHalfRangeWidthToUseForExtensions < v_avgHalfRangeWidth
// replace new half range width with previous one
v_newHalfRangeWidthToUseForExtensions := v_priorHalfRangeWidth
In the code example above if the new half range width was above or equal to the rolling average, no adjustment would be made by the indicator.
VWAP
Additional feature of showing vwap, anchored to the same timeframe as the pivot, provides a trend and volume analysis within the confines of the pivots range.
The user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", scroll using mouse to the "VWAP" section and click the checkbox next to the "Source" field, past the color plots. They are not enabled by default!
The user can also add the bands for VWAP by clicking the checkbox next to the "Bands" field, past the color plots. They are not enabled by default!
VWAP calculations begin from open price of new timeframe change, then afterwards the "Source" set is utilized, the default is HLC3 which is standard for VWAP indicators.
Multiple Timeframe Analysis (MTFA)
It's simple to create a unique combination of favored timeframes for multiple timeframe analysis, consider daily, weekly and monthly combined analysis for powerful indications of market sentiment and directional bias.
Example MTFA demonstration:
Why was this created?
I created this while investigating the efficacy of open price ranges, it became apparent that these pivot ranges are some of the more price respecting pivots I've ever observed. I also grew tired of lack of price adherence to other pivot indicators widely available.
There exists a relationship between each timeframes open price in comparison to prior open price, if the market is willing to navigate to a prior lower open price from higher open price, it could be perceived as bearish and the extensions (if enabled as instructed above), could be suitable range based projections for future price movements.
Example comparison:
As can be seen, and there are many examples, where Timeframe Pivots provides more discreet levels and potential explanations for price movements.
Wyszukaj w skryptach "vwap"
DEVPRO TradingDEVPRO Trading system comprises of the following:
D - Double (EMA and VWAP)
E - EMA
V - VWAP (current and previous day ending VWAP level)
P - Standard Pivot Point
R - RSI (Multi-time frame table is added at the top and traders can add standard RSI 14 as an additional non-overlay indicator)
O - OI data (not available for options trading in TV but trader can always check in their broker terminal)
Double EMA have been color coded in red and green for bullish and bearish trends.
Candles are colored for bullish (green), sideways (grey) and bearish (red) phases.
Setup to be traded with monthly options for stocks and weekly options for indices.
Bullish Setup:
RSI greater than 50
Current candle close above VWAP and previous day closing VWAP
Current candle close above daily Pivot
For option buying (Call option OI should be falling below its moving average 20 meaning short covering)
For option selling (Put option OI should be rising above its moving average 20 meaning Put writers confidence is increasing)
Book partial qty profits at R1/R2/R3 and/or exit completely on Doji candle low break
Bearish Setup:
RSI less than 50
Current candle close below VWAP and previous day closing VWAP
Current candle close below daily Pivot
For option buying (Put option OI should be falling below its moving average 20 meaning short covering)
For option selling (Call option OI should be rising above its moving average 20 meaning Call writers confidence is increasing)
Book partial qty profits at S1/S2/S3 and/or exit completely on Doji candle high break
RSI Reborn [New Formula]A unique non-standard RSI formula with my extensions.
The indicator is displayed without delays and repaints, immediately after the close of the candle.
This formula allows me to correctly include the moving average in the calculation. The calculation allows me to display RSI with any type of MA.
By default I use EMA, with this type of MA my RSI is not visually different from a regular RSI.
I have 11 types of RSI to choose from:
'EMA'
'ALMA'
'RMF'
'TilsonT3'
'ARSI'
'RMA'
'SMA'
'VWMA'
'WMA'
'WWMA'
'ZEMA'
You also have a choice of RSI display:
As candlesticks and as a simple line.
You can adjust the colors in the Style tab.
When you select 'Candles' type, you can make the wicks transparent if they bother you.
I also added a source selection. By default, any RSI uses the Close source.
But you can choose any of 15:
VWAP, Close, Open, HL2, HLC3, OHLC4, Volume, High, Low, vwap(Close), vwap(Open), vwap(High), vwap(Low), AVG(vwap(H,L)), AVG(vwap(O,C)).
Additional extensions:
Additional RSI added.
By default, the extra RSI is twice as long as the regular RSI. Despite the value of 14. The "Multiple of Current TF" function allows calling RSI from a timeframe twice as long as the current one, if it is equal to 2. If it is equal to 3, then it will be 3 times longer than the current timeframe. And so on.
An additional moving average has been added.
You can use it as an ordinary additional line. Or leave it as Cloud by default.
A unique oversold/oversold formula in the form of small red/green dots has been added.
Bolinger Bands feature has also been added.
Multi-Indicator by johntradingwickThe Multi-Indicator includes the functionality of the following indicators:
1. Market Structure
2. Support and Resistance
3. VWAP
4. Simple Moving Average
5. Exponential Moving Average
Functionality of the Multi-Indicator:
Market Structure
As we already know, the market structure is one of the most important things in trading. If we are able to identify the trend correctly, it takes away a huge burden. For this, I have used the Zig Zag indicator to identify price trends. It plots points on the chart whenever the prices reverse by a larger percentage than a predetermined variable. The points are then connected by straight lines that will help you to identify the swing high and low.
This will help you to filter out any small price movements, making it easier to identify the trend, its direction, and its strength levels. You can change the period in consideration and the deviation by changing the deviation % and the depth.
Support and Resistance
The indicator provides the functionality to add support and resistance levels. If you want more levels just change the timeframe it looks at in the settings. It will pull the SR levels off the timeframe specified in the settings.
You can select the timeframe for support and resistance levels. The default time frame is “same as the chart”.
You can also extend lines to the right and change the width and colour of the lines. There is also an option to change the criteria to select the lines as valid support or resistance. You can extend the S/R level or use the horizontal lines to mark the level when there is a change in polarity.
VWAP
Volume Weighted Average Price (VWAP) is 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. It's similar to a moving average in that when the price is above VWAP, prices are rising and when the price is below VWAP, prices are falling. VWAP is primarily used by technical analysts to identify market trend.
Simple Moving Average
A simple Moving Average is an unweighted Moving Average. This means that each day in the data set has equal importance and is weighted equally. As each new day ends, the oldest data point is dropped and the newest one is added to the beginning.
The multi-indicator has the ability to provide 5 moving averages. This is particularly helpful if you want to use various time periods such as 20, 50, 100, and 200. Although this is just basic functionality, it comes in handy if you are using a free account.
Exponential Moving Average
An exponential moving average (EMA) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average. The multi-indicator provides 5 exponential moving averages. This is particularly helpful if you want to use various time periods such as 20, 50, 100, and 200.
SecretSauceByVipzOverview:
SecretSauceByVipz is a sophisticated trading indicator designed to help traders identify high-probability buy and sell signals by integrating multiple technical analysis tools. By combining Exponential Moving Averages (EMAs), Average True Range (ATR) buffer zones, Volume Weighted Average Price (VWAP), and Relative Strength Index (RSI) momentum confirmation, this indicator aims to reduce false signals and enhance trading decisions.
Key Features:
Exponential Moving Averages (EMAs):
200-period EMA (Long EMA): Serves as a long-term trend indicator.
8-period EMA (Fast EMA): Captures short-term price movements.
21-period EMA (Slow EMA): Reflects medium-term price trends.
EMA Crossovers: Generates initial buy/sell signals when the fast EMA crosses over or under the slow EMA.
ATR-Based Buffer Zones:
ATR Calculation: Utilizes a 14-period ATR to measure market volatility.
Buffer Zone Multiplier: User-adjustable multiplier (default 1.0) applied to the ATR to create dynamic buffer zones around the 200 EMA.
Buffer Zones: Helps filter out false signals by requiring price to move beyond these zones for certain signals.
Volume Weighted Average Price (VWAP):
VWAP Plotting: Provides an average price weighted by volume, useful for identifying fair value areas and potential support/resistance levels.
Signal Confirmation Logic:
Confirmation Candle: Requires the next candle after a crossover to close in the signal's direction for added reliability.
Early Signals: Triggers when price crosses the 200 EMA and moves beyond the buffer zone, indicating potential early trend changes.
Strong Signals: Occur when both the price crosses the fast EMA and the fast EMA crosses the slow EMA simultaneously.
RSI Momentum Confirmation:
RSI Calculation: Uses a 14-period RSI to gauge market momentum.
Momentum Filter: Confirms signals only when RSI aligns with the trend (above 50 for bullish, below 50 for bearish signals).
Visual Aids:
EMA and VWAP Plots: Overlays the EMAs and VWAP directly on the price chart for easy visualization.
Buffer Zone Lines: Plots the upper and lower buffer zones around the 200 EMA.
Signal Labels:
Buy Signals: Displayed as green "BUY" labels below the bars.
Sell Signals: Displayed as red "SELL" labels above the bars.
How to Use:
Trend Identification:
Use the 200 EMA to determine the overall market trend.
Price above the 200 EMA suggests a bullish trend; below indicates a bearish trend.
Signal Generation:
Confirmed Signals: Wait for the confirmation candle after an EMA crossover before considering entry.
Early Signals: Consider early entries when price crosses the 200 EMA and moves beyond the buffer zone.
Strong Signals: Pay attention to strong signals where both price and EMAs are crossing over, indicating robust trend momentum.
Momentum Confirmation:
Ensure the RSI aligns with the signal direction:
Buy Signals: RSI should be above 50.
Sell Signals: RSI should be below 50.
Adjusting Sensitivity:
Modify the ATR Multiplier and Buffer Multiplier to suit different market conditions and personal trading styles.
A higher multiplier may reduce signal frequency but increase reliability.
Customization Parameters:
ATR Multiplier for Distance Filter (Default: 1.5):
Adjusts the sensitivity of the distance filter based on ATR.
Buffer Multiplier for 200 EMA (Default: 1.0):
Alters the width of the buffer zones around the 200 EMA.
Benefits:
Reduces False Signals: The combination of confirmation candles and buffer zones helps filter out noise.
Enhances Trend Detection: Multiple EMA crossovers provide insights into short-term and medium-term trends.
Incorporates Volatility and Momentum: ATR and RSI ensure signals consider market volatility and momentum.
Disclaimer:
This indicator is a tool to assist in technical analysis and should not be used as the sole basis for trading decisions. Always conduct thorough analysis and consider risk management strategies before executing trades. Past performance is not indicative of future results.
Credits:
Developed by Vipink1203.
Version:
Pine Script Version 5
1 (or) 5-Minute Scalping Strategy - KGP1-Minute Scalping Strategy - KGP
Overview: This indicator is designed for short-term traders who engage in 1 (or) 5-minute scalping. It combines several technical analysis tools to provide buy and sell signals, helping traders make informed decisions quickly.
Key Features:
VWAP (Volume Weighted Average Price):
Purpose: VWAP provides the average price a security has traded at throughout the day, based on both volume and price.
Usage: Helps identify the overall trend and potential entry points. When the price is above VWAP, it indicates a bullish trend; when below, it indicates a bearish trend.
RSI (Relative Strength Index):
Purpose: RSI measures the speed and change of price movements, indicating overbought or oversold conditions.
Usage: The RSI values between 30 and 70 are used to filter trades. A value above 70 indicates overbought conditions, while below 30 indicates oversold conditions.
Custom OBV (On Balance Volume):
Purpose: OBV uses volume flow to predict changes in stock price.
Usage: Helps confirm the strength of a trend. Increasing OBV indicates accumulation (buying pressure), while decreasing OBV indicates distribution (selling pressure).
Multi-Timeframe Analysis:
Purpose: Confirms signals by analyzing RSI on a higher timeframe (5-minute chart).
Usage: Ensures that signals on the 1-minute chart align with the broader trend on the 5-minute chart, reducing false signals.
Signals:
Buy Signal:
Triggered when the price crosses above the VWAP, and the RSI is between 50 and 70 on both the 1-minute and 5-minute charts.
Visual Cue: A green “BUY” label appears below the bar.'
Sell Signal:
Triggered when the price crosses below the VWAP, and the RSI is between 30 and 50 on both the 1-minute and 5-minute charts.
Visual Cue: A red “SELL” label appears above the bar.
Alerts:
Buy Alert: Notifies you when a buy signal is detected.
Sell Alert: Notifies you when a sell signal is detected.
Additional Visuals:
VWAP Line: Plotted in blue to show the average price based on volume.
OBV Line: Plotted in purple to indicate volume flow.
RSI Line: Plotted in orange with horizontal lines at 70 (overbought) and 30 (oversold) levels.
ToxicJ3ster - Day Trading SignalsThis Pine Script™ indicator, "ToxicJ3ster - Signals for Day Trading," is designed to assist traders in identifying key trading signals for day trading. It employs a combination of Moving Averages, RSI, Volume, ATR, ADX, Bollinger Bands, and VWAP to generate buy and sell signals. The script also incorporates multiple timeframe analysis to enhance signal accuracy. It is optimized for use on the 5-minute chart.
Purpose:
This script uniquely combines various technical indicators to create a comprehensive and reliable day trading strategy. Each indicator serves a specific purpose, and their integration is designed to provide multiple layers of confirmation for trading signals, reducing false signals and increasing trading accuracy.
1. Moving Averages: These are used to identify the overall trend direction. By calculating short and long period Moving Averages, the script can detect bullish and bearish crossovers, which are key signals for entering and exiting trades.
2. RSI Filtering: The Relative Strength Index (RSI) helps filter signals by ensuring trades are only taken in favorable market conditions. It detects overbought and oversold levels and trends within the RSI to confirm market momentum.
3. Volume and ATR Conditions: Volume and ATR multipliers are used to identify significant market activity. The script checks for volume spikes and volatility to confirm the strength of trends and avoid false signals.
4. ADX Filtering: The ADX is used to confirm the strength of a trend. By filtering out weak trends, the script focuses on strong and reliable signals, enhancing the accuracy of trade entries and exits.
5. Bollinger Bands: Bollinger Bands provide additional context for the trend and help identify potential reversal points. The script uses Bollinger Bands to avoid false signals and ensure trades are taken in trending markets.
6. Higher Timeframe Analysis: This feature ensures that signals align with broader market trends by using higher timeframe Moving Averages for trend confirmation. It adds a layer of robustness to the signals generated on the 5-minute chart.
7. VWAP Integration: VWAP is used for intraday trading signals. By calculating the VWAP and generating buy and sell signals based on its crossover with the price, the script provides additional confirmation for trade entries.
8. MACD Analysis: The MACD line, signal line, and histogram are calculated to generate additional buy/sell signals. The MACD is used to detect changes in the strength, direction, momentum, and duration of a trend.
9. Alert System: Custom alerts are integrated to notify traders of potential trading opportunities based on the signals generated by the script.
How It Works:
- Trend Detection: The script calculates short and long period Moving Averages and identifies bullish and bearish crossovers to determine the trend direction.
- Signal Filtering: RSI, Volume, ATR, and ADX are used to filter and confirm signals, ensuring trades are taken in strong and favorable market conditions.
- Multiple Timeframe Analysis: The script uses higher timeframe Moving Averages to confirm trends, aligning signals with broader market movements.
- Additional Confirmations: VWAP, MACD, and Bollinger Bands provide multiple layers of confirmation for buy and sell signals, enhancing the reliability of the trading strategy.
Usage:
- Customize the input parameters to suit your trading strategy and preferences.
- Monitor the generated signals and alerts to make informed trading decisions.
- This script is made to work best on the 5-minute chart.
Disclaimer:
This indicator is not perfect and can generate false signals. It is up to the trader to determine how they would like to proceed with their trades. Always conduct thorough research and consider seeking advice from a financial professional before making trading decisions. Use this script at your own risk.
Price and Volume Stochastic Divergence [MW]Introduction
This indicator creates signals of interest for entering and exiting long and short positions on equities. It primarily uses up and down trends defined by the change in cumulative volume with some filtering provided by a short period exponential moving average (9 EMA by default).
Settings
Moving Average Period : The moving average over which the cumulative volume delta is calculated. Default: 14
Short Period EMA : The EMA used to represent price action, and is used to generate the EMA Delta line. Default: 27 (3*3*3)
Long Period EMA : The second EMA used to calculate the EMA Delta line. Default: 108 (2*2*3*3*3)
Stochastic K Value : The value used for stochastic curve smoothing. Default: 3
Dot Size : The diameter of the larger indicator. Default: 10
Dot Transparency : The transparency level of the outer ring of the primary BUY/SELL signal. Default: 50 (0 is opaque, 100 is transparent)
Band Distance from 0 to 100 : The upper and lower band distance. Default: 20
Calculations
The cumulative volume delta (CVD) is calculated using candle bodies and wicks. For a red candle, buying volume is calculated by multiplying the volume by the spread percentage of the average of the top and bottom wicks, while Selling Volume is calculated multiplying the volume by the spread percentage of the average of the top and bottom wicks - in addition to the spread percentage of the candle body.
For a green candle, buying volume is calculated by multiplying the volume by the spread percentage of the average of the top and bottom wicks - plus the spread percentage of the candle body - while Selling Volume is calculated using only the spread percentage average of the top and bottom wicks.
Once we have the CVD, we can then perform a stochastic calculation of the CVD value.
stochastic calculation = (current value - lowest value in period) / (highest value in period - lowest value in period)
We’ll do the same stochastic calculation for the short term EMA (27 EMA default) as well as for the difference between the short term and long term EMA.
When the stochastic CVD value is rising from zero and the short term EMA stochastic value equals 100, then it’s a major bullish signal. When the stochastic CVD value is falling from 100 and the short term EMA stochastic value equals 0, then it’s a major bearish signal.
Sometimes, after a bullish or bearish signal, the stochastic CVD will reverse direction triggering a new opposing signal.
How to Interpret
The CVD indicates when there is either more buying than selling or vice versa. A value over 50 for the stochastic CVD curve represents more buying taking place. A value below 50 represents more selling. One might intuitively believe that when there is more buying volume than selling volume that the price would follow suit. This is not always the case.
Most of the time buying volume will precede consistent price movement upwards, and selling volume will precede consistent price movement downwards. When this divergence occurs, the indicator generates a signal. When this divergence begins to fail, and buying or selling volume reverses, then another signal is generated indicating that the buying/selling impulse is headed back into the direction of price action.
These interactions are visually represented on the chart with the coral line that represents CVD, and the yellow line that represents the EMA, or the average price. When the coral line goes up and the yellow line stays down, that’s the BUY signal. When the coral line goes down and the yellow line stays up, that’s the sell signal. When the coral line switches direction, the chart generates another signal showing that volume is moving in a direction that supports the price.
The orange line represents the stochastic representation of the difference between the short EMA (27 by default) and the long EMA (108 by default). EMA differences is a method that can be used to define a trend. When a short term EMA is above a longer term EMA, that may represent a bullish trend. When it is below, that may represent a bearish trend. When all 3 lines are rising or falling in the same direction at the same time, it tends to indicate a movement that has the potential to continue.
Other Usage Notes and Limitations
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
This indicator can be paired with the MW Volume Impulse indicator if it is desired to see the actual buying and selling cumulative volume deltas. Also, in many cases, the BUY and SELL signals tend to correspond with Keltner Bands (ATR Bands) becoming extended. Lastly, volume weighted average price (VWAP) along with other macro events can impact price and negate signals. To view VWAP lines, you may choose to use the Multi VWAP or Multi VWAP for Gaps indicator to help ensure that the signals you see in this indicator are not being affected by VWAP lines.
Because Wicks Dont Lie" Because Wicks Don't Lie " is a specialized indicator designed to assist traders in identifying and visualizing significant candle wicks on any timeframe. Wicks, often referred to as Liquidity Targets, are areas that almost always get filled by price at some point. They can help map out the trajectory of price movement, acting as a magnet, drawing the price towards them. Recognizing these wicks can provide invaluable insights into potential trading opportunities and market sentiment.
We are looking for Candles with LONG Wick and TINY Candle Body! Only those types of Wicks have (according to my experience and backtesting) a 100% chance to get filled in the future.
Features:
Wick Visualization:
The script highlights significant bullish (blue) and bearish (red) wicks that meet specific criteria, helping you quickly spot potential trading opportunities.
VWAP Bands for Filtering Extremes:
The VWAP bands are incorporated to filter out wicks created at extreme price points. By ensuring that wicks are within a user-defined percentage of the VWAP (Volume Weighted Average Price), traders can avoid targeting extreme wicks that might take a longer time to get filled, thus enhancing the efficacy of strategies that trade towards wicks.
Alerts:
Traders can set alerts for when a significant bullish or bearish wick is detected, ensuring they never miss potential setups.
Usage:
Once applied to your chart, the script will automatically scan for significant wicks and display them with blue (bullish) and red (bearish) markers. By adjusting the script settings, users can customize the VWAP band percentage to fine-tune the filtering of extreme wicks.
Conclusion:
Wicks often contain valuable information about market sentiment, rejection of price levels, and potential future price direction. By acting as liquidity targets, they serve as indications of where the price is likely to move. "Because Wicks Don't Lie" simplifies the process of identifying these crucial candle formations and, with the inclusion of the VWAP bands, ensures that traders can prioritize the most actionable wicks while avoiding extreme outliers.
Input Fields:
Average Candle Size Multiplier:
This parameter allows users to adjust the base size of what the script considers as a significant wick. By multiplying the average size of candles over the last 4998 bars, users can fine-tune the script to detect only wicks of a certain prominence. A higher value will mean that only larger wicks (relative to recent price action) will be considered significant.
Wick Ratio (Wick Proportion Threshold):
This ratio helps determine the proportion of the wick to the entire candle for it to be considered significant. A higher ratio means that the wick must be a larger part of the total candle size to be marked as significant. It's an essential parameter to differentiate between candles with tiny wicks and those with substantial wicks which might offer trading opportunities.
Volume-Weighted Supertrend Strategy [wbburgin]This is a script that can be used as a strategy or a standalone indicator.
The Volume-Weighted Supertrend is a supertrend based on a rolling VWAP, instead of a normal price source. The strategy has two components - a supertrend based off of this VWAP (shown on the chart) and a supertrend from volume itself (not plotted on the chart directly). The supertrend from volume is an example of my "Supertrend Any Source" indicator, where a custom ATR is created from non-OHLC data; this is available as both a separate public script and also in my "wbburgin_utils" library for you to use in your own script creation.
The supertrend from volume acts as a confirmation filter for the VWAP-supertrend shown on-chart. If the volume supertrend is trending up and the VWAP-based supertrend is also trending up, a buy signal is generated. Likewise, if the volume supertrend is trending down and the VWAP-supertrend is trending down, a sell signal is generated. The colors are based off of whether both supertrends are trending up or down: green for both up, blue for only price up, orange for only price down, and red for both down.
The settings enable you to change the volume length and the ATR length separately, as well as the multiplier and the source for the price supertrend. If you load the indicator for the first time and see no entries and exits, this is because "Show Strategy Entries and Exits" is disabled in the settings. This is if you plan on using the strategy as an indicator and don't want to be bothered by the entry and exit symbols on the chart. Additionally, for those who like clean charts (like me), you can turn all the labels off in the settings, as well as the highlighting.
My default strategy settings for the strategy results shown below are as follows: 5% equity per trade, 5 degrees of pyramiding, commissions of 0.08% per trade. This strategy doesn't come with stops yet, so please be aware of that before using it to trade - I highly suggest you create your own stops based off of your R/R ratio and personal risk tolerance. Additionally, it works best on trending assets (b/c of the supertrends) with high volume. This might mean it does not work as well on lower timeframes.
VXD SupercycleVXD is a brand new indicator and still developing. to minimize stop losses and overcome sideways market conditions, Higher Timeframe are recommended
Trend lines
-using Rolling VWAP as trend line to determined if Volume related to a certain price.
-you can switch RVWAP to EMA in the setting
ATR
-trailing 12*ATR and 2.4 Mutiplier
Pivot point and Rejected Block
Pivot show last High and low of a price in past bars
Rejected Block show when that High or Low price are important level to determined if it's Hidden Divergence or Divergence
Symbols on chart show Premium and Discount Prices
X-Cross - show potential reversal trend with weak volume .
O-circle - show potential reversal trend with strong volume .
Setting
Momentum: RSI = 25 , RSI MA = 14
Trend: Rolling VWAP and ATR and Subhag
Trailing STOP: ATR 12 x 2.4
Highlight Bars color when volume is above SMA 6
SMA200 act as TP Line
Risk:Reward Calculation
if Buy your Stoploss will be previous Pivot low
if Sell your Stoploss will be previous Pivot high and will be calculated form there, then show TP in Orange color line
VXD เป็นระบบเทรดที่ผมทดลองเอาหลาย ๆ ไอเดีย ทั้งจาก Youtube facebook และกลุ่มคนต่าง ๆ มารวบรวมไว้ แล้วตกผลึกขึ้นมาเป็นระบบนี้ ใน Timeframe ใหญ่ ๆ สามารถลากได้ทั้ง Cycle กันเลย
Trend lines
-ใช้ Rolling VWAP ของแอพ Tradingview (สามารถตั้งแค่าเป็น EMA ได้)
ATR
-ใช้ค่า ATR 12 Mutiplier 2.4
Pivot point and Rejected Block
Pivot โชว์เส้น High low และมีผลกับออเดอร์ หากแท่งเทียนปิดทะลุเส้นนี้
Rejected Block วาดแนวรับ-ต้าน อัตโนมัติ ใช้ประกอบ RSI ว่ามี Divergence หรือไม่
สัญลักษณ์ต่าง ๆ
X-Cross - แท่งกลืนกิน วอลุ่มน้อย
O-circle - แท่งกลืนกิน มีวอลุ่ม
Setting
Momentum: RSI = 25 , RSI MA = 14
Trend: Rolling VWAP and ATR and Subhag
Trailing STOP: ATR 12 x 2.4
Highlight Bars color when volume is above SMA 6
SMA200 act as TP Line
Risk:Reward Calculation
หาก Buy จุด SL จะอยู่ที่ Pivot low
หาก Sell จุด SL จะอยู่ที่ Pivot high และระบบจะคำนวณจากตรงนั้น จากนั้นแสดงเป็นเส้น TP สีส้ม
This Strategy Combined the following indicators and conditioning by me
ATR , RSI , EMA , SMA
Rolling VWAP - /script/ZU2UUu9T-Rolling-VWAP/
Regression Lines - Subhag form Subhag Ghosh /script/LHHBVpQu-Subhag-Ghosh-Algo-Version-for-banknifty/
Rejection Block , Pivots , High Volume Bars and PPDD form Super OrderBlock / FVG / BoS Tools by makuchaku & eFe /script/aZACDmTC-Super-OrderBlock-FVG-BoS-Tools-by-makuchaku-eFe/
ขอให้รวยครับ.
Camarilla Fibonachi Breakout Indicator with AlertsThis Script can be used for Intraday Only.
This Script will Plot the following Lines in the Chart
1. VWAP (Colour will be ploted as per the following condition)
VWAP Line will Plotted in Green if Open Price is Greater Than Close
VWAP Line will Plotted in Red if Open Price is Less Than Close
2. VWMA (VWMA Period used 14)
3. Atr Trailing Stoploss
(ATR Period 5, ATR Multiplier 2.5 is used to plot the Lines)
4. 15 Min High Low of the day will be plotted as dotted Purple lines
5. H4 as BuyAbove Level
6. H3 as Buy Stop Loss Level
7. H5 as Buy Target 1 Level
8. H6 as Buy Target 2 Level
9. H7 as Buy Target 3 Level
10. H8 as Buy Target 4 Level
11. H9 as Buy Bonus 1 Level
12. H10 as Buy Bonus 2 Level
13. H11 as Buy Bonus 3 Level
14. H12 as Buy Bonus 4 Level
15. L4 as Sell Below Level
16. L3 as Sell Stop Loss Level
17. L5 as Sell Target 1 Level
18. L6 as Sell Target 2 Level
19. L7 as Sell Target 3 Level
20. L8 as Sell Target 4 Level
21. L9 as Sell Bonus 1 Level
22. L10 as Sell Bonus 2 Level
23. L11 as Sell Bonus 3 Level
24. L12 as Sell Bonus 4 Level
This script will generate Buy signal on he following condition
1.Close Must be Greater than H4
if Calculate Inside Camarilla is Enabled then the Script will check whether Yesterdays H4 is Less than Todays H4
2.Close Must be Greater than VWAP
3.Volume Must be Greater Than 20 Period Simple Moveing Average
4.Buy Signal will be Displayed only Once for a Day.
This script will generate Sell signal on he following condition
1.Close Must be Less than L4
if Calculate Inside Camarilla is Enabled then the Script will check whether Yesterdays L4 is Less than Todays L4
2.Close Must be Less than VWAP
3.Volume Must be Greater Than 20 Period Simple Moveing Average
4.Sell Signal will be Displayed only Once for a Day.
and the Alert Message will be Generated for Buy and Sell
EMVWAPAdded Exponential Smoothing to The Original Built-in VWAP Calculation.
Best used with original VWAP indicator to identify trend reversal.
- VWAP CrossUp EMVWAP identify bullish reversal
- VWAP CrossDown EMVWAP identify bearish reversal
All inputs are the same as the original VWAP with one addition.
Average Length: Identify the the number of historic bar to calculate the exponential moving average of VWAP
Flunki T-WAP minus MA Oscillator
Yo,
Possible the last of these for now, and mostly for the sake of completeness..
This is..
Another simple oscillator that show the difference in price between a selectable timeframe TWAP and a Moving Average of that TWAP
This is shown as a histogram.
Use numeric TWAP values for minutes (30, 60 ,720 whatever) and D, 3D, W, M for higher values
There is also a global timeframe which will set the timeframe for a global alternate timeframe (instead of current chart resolution)
On top of that is a Moving Average of the histogram value, shown as a blue / red line with an option to highlight this MA crossing zero, and an option to colour bars to this line.
The major difference between this Oscillator, and the other script (Flunki VWAP minus MA Oscillator)
(I treid to insert a link but it's invisible so it would seem, anyway.. )
is that VWAP is usually calculated daily, so there is a sharp move upon the daily close, as VWAP starts a new day. Using TWAP this does not occur, so gives smoother transitions ; also the timeframe for TWAP is selectable for additional wap fun.
Simple idea : Code open
Enjoy !
CC - Macro Consolidated Interval Display (MCID)Ever wish you didn't have to rapidly flip between 6 different tickers to get the full picture?
Yeah, me too. Do you also wish that you kind of understood how the shift / unshift function works for arrays?
Yeah, I did too. Both of those birds are taken care of with one stone!
The Macro Consolidated Interval Display uses the new Array structure and security to display data for VIX, GLD, TLT, QQQ, SPY and IWM (at a 1D interval) SIMUTANEOUSLY! Regardless of which ticker you're looking at you can get the full picture of macro futures data without flipping around to get it.
This is my first script trying to use arrays. It basically shows the following a 1d interval:
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for VIX.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for GLD.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for TLT.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for QQQ.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for SPY.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for IWM
To make it more or less busy, I've allowed you to toggle off any of the levels you wish. I've also chosen to leave this as open source, as it's nothing too experimental, and I hope that it can gain some traction as an Array example that the public can use! If you don't like the different values that are shown, use this source code example as a spring-board to put values that you do care about onto the labels.
If this code has helped you at all please drop me a like or some constructive criticism if you do not think it's worth a like.
Good luck and happy trading friends. This should be compatible with my CID as well:
If this gets traction, I will post something similar for a dynamic combination of tickers and intervals that you can set yourself.
CC - Consolidated Interval Display (CID)Ever wish you didn't have to rapidly flip between 6 different intervals to get the full picture?
Yeah, me too. Do you also wish that you kind of understood how the shift / unshift function works for arrays?
Yeah, I did too. Both of those birds are taken care of with one stone!
The Consolidated Interval Display uses the new Array structure and security to display data for 5m, 15m, 45m, 1h, 4h and 1d intervals SIMUTANEOUSLY! Regardless of which interval you're looking at you can get the full picture of numerical data without flipping around to get it.
This is my first script trying to use arrays. It basically shows the following for the given ticker:
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 5 minute level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 15 minute level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 45 minute level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 1 hour level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 4 hour level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 1 day level.
To make it more or less busy, I've allowed you to toggle off any of the levels you wish. I've also chosen to leave this as open source, as it's nothing too experimental, and I hope that it can gain some traction as an Array example that the public can use! If you don't like the different values that are shown, use this source code example as a spring-board to put values that you do care about onto the labels.
If this code has helped you at all please drop me a like or some constructive criticism if you do not think it's worth a like.
Good luck and happy trading friends.
If this gets traction, I will post something similar for a combination of SPY, VIX, GOLD, QQQ, IWM and TLT.
Demo GPT - Day Trading Scalping StrategyOverview:
This strategy is designed for day trading and scalping, utilizing a combination of technical indicators, candlestick patterns, and volume analysis to determine entry and exit points. It focuses on capturing short-term price movements while ensuring that trades are executed under specific market conditions.
Key Components:
Technical Indicators Used:
Exponential Moving Average (EMA): The strategy uses the 20-period EMA to identify the trend direction. The EMA smooths out price data, helping traders make more informed decisions about potential buy or sell signals.
Volume Weighted Average Price (VWAP): VWAP is used to measure the average price a security has traded at throughout the day, based on both volume and price. This indicator helps assess whether the current price is above or below the average trading price.
Camarilla Pivot Points: The strategy calculates four levels of Camarilla pivots (S2, S3, R2, R3) based on the highest and lowest prices over the last 14 daily candles. These levels act as potential support and resistance zones, guiding entry and exit decisions.
Candlestick Analysis:
Buy Condition: A buy signal is triggered when:
The first candle (previous candle) is green (close > open).
The second candle (current candle) is also green and opens above the first candle.
The volume of the current candle exceeds the 20-period moving average of volume, indicating strong buying interest.
Sell Condition: A sell signal is triggered when:
The first candle is red (close < open).
The second candle opens below the first red candle.
The volume of the current candle also exceeds the 20-period moving average of volume, indicating strong selling pressure.
Position Management:
The strategy enters a long position (buy) when the buy condition is met and closes the long position when the sell condition is met. This approach aims to capture upward momentum while avoiding extended exposure to downside risks.
Trading Settings:
Capital Management: The strategy uses 100% of available capital for each trade, allowing for maximum exposure to potential gains.
Commission and Slippage: The script includes settings for a commission rate of 0.1% and slippage of 3, accounting for trading costs and potential price changes during order execution.
Date Filtering: The strategy allows users to set a start date (January 1, 2018) and an end date (December 31, 2069) for trade execution, providing flexibility in backtesting and live trading.
Visualization:
The script plots the 20 EMA, VWAP, and the Camarilla pivot levels on the chart for visual reference.
Buy and sell signals are visually represented with shapes on the chart, making it easy to identify potential trade opportunities at a glance.
Volume is plotted in a separate pane to assess trading activity, and a horizontal line at zero provides a reference point.
Summary:
This Day Trading Scalping Strategy is designed to exploit short-term price movements by using a combination of EMAs, VWAP, and Camarilla pivot levels, alongside candlestick patterns and volume analysis. It is well-suited for traders looking to make quick trades based on real-time market conditions while maintaining a disciplined approach to entry and exit points. The strategy is highly visual, allowing traders to quickly assess market conditions and make informed trading decisions.
Feel free to modify or adjust any aspects of the strategy according to your specific trading goals or preferences!
Backside Bubble ScalpingFrom LIHKG
Pine from Perplexity AI
以下是Backside Bubble Scalping策略的使用說明,旨在幫助交易者理解如何在美股交易中應用這一策略。
使用說明:Backside Bubble Scalping 策略
1. 前提條件
交易時間:此策略適用於香港時間晚上9:30 PM至12:00 AM。
圖表類型:使用1分鐘圖表進行交易。
2. 策略概述
Backside Bubble Scalping策略包含兩種主要的設置:尖backside和鈍backside。這些設置通常在10:00 PM至12:00 AM之間出現。
3. 指標設定
VWAP(粉紅色):成交量加權平均價格,用於識別市場趨勢。
9 EMA(綠色):9期指數移動平均線,用於捕捉短期價格變化。
4. 識別 Backside 設置
尖backside
特徵:
當市場趨勢為純紅色下跌,並形成尖尖的V形底部。
入場條件:
當價格突破9 EMA並經過小幅盤整後,進場做多。
鈍backside
特徵:
在混合顏色的趨勢中,形成鈍鈍的V形底部。
入場條件:
在盤整期間進場做多。
5. 止損和止盈設置
止損位置:
尖backside:設置在9 EMA上方的盤整範圍底部加上0.2。
鈍backside:設置在V底部的最低點加上0.2。
止盈位置:
尖backside:當價格跌破VWAP或出現一根K線沒有跟隨時出場。
鈍backside:當一根K線的三分之二身體向下突破9 EMA時出場。
6. 操作步驟
監控市場動態:在指定的交易時間內,觀察VWAP和9 EMA的變化。
識別入場信號:根據尖backside或鈍backside的條件進行判斷,確定何時進場。
設置止損和止盈:根據上述條件設置止損和止盈位,以管理風險。
執行交易:根據信號執行交易,並持續監控市場情況以調整策略。
7. 注意事項
避免在VWAP附近進行交易,以減少失敗風險。
如果出現影線(wick bar),建議不要進行交易,因為這可能表示該設置失敗。
Charan_Trading_IndicatorCharan_Trading_Indicator Overview:
The Charan_Trading_Indicator combines several technical analysis tools, including Bollinger Bands, RSI (Relative Strength Index), VWAP (Volume-Weighted Average Price), and ATR (Average True Range), to provide buy and sell signals. The script incorporates multiple strategies, such as crack snap setups, overbought/oversold levels, and trend continuation indicators, all tailored for precise market entry and exit points.
Key Components:
RSI (Relative Strength Index):
The indicator uses RSI to detect overbought (RSI > 70) and oversold (RSI < 30) market conditions.
Alerts are triggered when prices are within the specified buy/sell range and RSI crosses these thresholds.
Bollinger Bands:
Bollinger Bands are calculated based on a configurable moving average and standard deviation.
The script identifies potential buy signals when the price dips below the lower Bollinger Band and recovers, and sell signals when the price exceeds the upper Bollinger Band and retraces.
Crack Snap Strategies:
The indicator incorporates multiple variations of the crack snap strategy:
Buy Signals: Triggered when price opens below the lower Bollinger Band and closes above it, alongside certain conditions in previous candles.
Sell Signals: Triggered when price opens above the upper Bollinger Band and closes below it, with similar candle patterns.
Variations such as 3-candle (3C) and 4-candle (4C) versions refine the crack snap setups for more robust signals.
Isolated Candle Conditions:
The indicator tracks isolated candles, where the entire candle lies above or below the Bollinger Bands, to identify potential reversal points.
Trend Continuation Signals:
Conditions based on the candle range and previous highs/lows allow the indicator to generate signals for trend continuation:
Buy signals when price breaks above the previous two highs.
Sell signals when price breaks below the previous two lows.
VWAP (Volume-Weighted Average Price):
The indicator integrates VWAP to give additional support and resistance levels, ensuring signals align with volume trends.
ATR-Based Stop Loss:
For both buy and sell conditions, the script plots stop-loss levels based on the ATR (Average True Range), giving dynamic risk management levels.
Buy/Sell Ranges:
The user can set minimum and maximum price ranges for buy and sell signals, ensuring that the indicator only generates alerts within desired price ranges.
How It Works:
Buy Signals: The script generates buy signals based on multiple conditions, including the crack snap strategy, oversold RSI levels, and trend continuation setups. When these conditions are met, green triangles appear below the price bars, and an alert is triggered.
Sell Signals: Sell signals are triggered when the opposite conditions are met (overbought RSI, crack snap sell setups, trend breaks), and red triangles appear above the price bars.
Visual Indicators: The script plots upper and lower Bollinger Bands, stop loss levels, and VWAP on the chart, providing a comprehensive view of market conditions and support/resistance levels.
This indicator is versatile, combining multiple technical tools for robust decision-making in trading. It generates alerts, plots visual markers, and integrates risk management, making it a well-rounded tool for technical analysis.
This indicator is versatile, combining multiple technical tools for robust decision-making in trading. It generates alerts, plots visual markers, and integrates risk management, making it a well-rounded tool for technical analysis.
ATR Bands (Keltner Channel), Wick and SRSI Signals [MW]Introduction
This indicator uses a novel combination of ATR Bands, candle wicks crossing the ATR upper and lower bands, and baseline, and combines them with the Stochastic SRSI oscillator to provide early BUY and SELL signals in uptrends, downtrends, and in ranging price conditions.
How it’s unique
People generally understand Bollinger Bands and Keltner Channels. Buy at the bottom band, sell at the top band. However, because the bands themselves are not static, impulsive moves can render them useless. People also generally understand wicks. Candles with large wicks can represent a change in pattern, or volatile price movement. Combining those two to determine if price is reaching a pivot point is relatively novel. When Stochastic RSI (SRSI) filtering is also added, it becomes a genuinely unique combination that can be used to determine trade entries and exits.
What’s the benefit
The benefit of the indicator is that it can help potentially identify pivots WHEN THEY HAPPEN, and with potentially minimal retracement, depending on the trader’s time window. Many indicators wait for a trend to be established, or wait for a breakout to occur, or have to wait for some form of confirmation. In the interpretation used by this indicator, bands, wicks, and SRSI cycles provide both the signal and confirmation.
It takes into account 3 elements:
Price approaching the upper or lower band or the baseline - MEANING: Price is becoming extended based on calculations that use the candle trading range.
A candle wick of a defined proportion (e.g. wick is 1/2 the size of a full candle OR candle body) crosses a band or baseline, but the body does not cross the band or baseline - MEANING: Buyers and sellers are both very active.
The Stochastic RSI reading is above 80 for SELL signals and below 20 for BUY signals - MEANING: Additional confirmation that price is becoming extended based on the current cyclic price pattern.
How to Use
SIGNALS
Buy Signals - Green(ish):
B Signal - Potential pivot up from the lower band when using the preferred multiplier
B1 Signal - Potential pivot up from the lower band when using phi * multiplier
B2 Signal - Potential pivot up from the lower band when using 1/2 * multiplier
B3 Signal - Potential pivot up from baseline
Sell Signals - Red(ish):
S Signal - Potential pivot down from the upper band when using the preferred multiplier
S1 Signal - Potential pivot down from the upper band when using
S2 Signal - Potential pivot down from the upper band when using 1/2 * multiplier
S3 Signal - Potential pivot down from the baseline
DISCUSSION
During an uptrend or downtrend, signals from the baseline can help traders identify areas where they may enter the trending move with the least amount of drawdown. In both cases, entry points can occur with baseline signals in the direction of the trend.
For example, in an uptrend (when the price is forming higher highs and higher lows, or when the baseline is rising), price tends to oscillate between the upper band and baseline. In this case, the baseline BUY signal (B3) can show an entry point.
In a downtrend (when the price is forming lower highs and lower lows, or when the baseline is falling), price tends to oscillate between the baseline and the lower band. In this case, the baseline SELL signal (S3) can show an entry point.
During consolidation, when price is ranging, price tends to oscillate between the upper and lower bands, while crossing through the baseline unperturbed. Here, entry points can occur at the upper and lower bands.
When all conditions are met at the lower band during consolidation, a BUY signal (B), can occur. This signal may also occur prior to a break out of consolidation to the upside.
When all conditions are met at the upper band during consolidation, a SELL signal (S), can occur. This signal may also occur prior to a break out of consolidation to the downside.
Additional B1, B2, and S1, and S2 signals can be displayed that use the bands based on a multiplier that is half that of the primary one, and phi (0.618) times the primary multiplier as a way to quickly check for signals occurring along different, but related, bands.
Calculations
ATR Bands, or Keltner Channels, are a technical analysis tool that are used to measure market volatility and identify overbought or oversold conditions in the trading of financial instruments, such as stocks, bonds, commodities, and currencies. ATR Bands consist of three lines plotted on a price chart:
Middle Band, Basis, or Baseline: This is typically a simple moving average (SMA) of the closing prices over a certain period. It represents the intermediate-term trend of the asset's price.
Upper Band: This is calculated by adding a certain number of ATRs to the middle band (SMA). The upper band adjusts itself with the increase in volatility.
Lower Band: This is calculated by subtracting the same number of ATRs from the middle band (SMA). Like the upper band, the lower band adjusts to changes in volatility.
The candle wick signals occur if the wick is at the specified ratio compared to either the entire candle or the candle body. The upper band, lower band, and baseline signals happen if the wick is the specified ratio of the total candle size. For the major signals for upper and lower bands, these occur when the wick extends outside of the bands while closing a candle inside of the bands. For the baseline signals, they occur if a wick crosses a baseline but closes on the other side.
Settings
CHANNEL SETTINGS
Baseline EMA Period (Default: 21): Period length of the moving average basis line.
ATR Period (Default: 21): The number of periods over which the Average True Range (ATR) is calculated.
Basis MA Type (Default: SMA): The moving average type for the basis line.
Multiplier (Default: 2.5: The deviation multiplier used to calculate the band distance from the basis line.
ADDITIONAL CHANNELS
Half of Multiplier Offset (Default: True): Toggles the display of the ATR bands that are set a distance of half of the ATR multiplier.
Quarter of Multiplier Offset (Default: false): Toggles the display of the ATR bands that are set a distance of one quarter of the ATR multiplier.
Phi (Φ) Offset (Default: false): Toggles the display of the ATR bands that are set a distance of phi (Φ) times the ATR multiplier.
WICK SETTINGS FOR CANDLE FILTERS
Wick Ratio for Bands (Default: 0.4): The ratio of wick size to total candle size for use at upper and lower bands.
Wick Ratio for Baseline (Default: 0.4): The ratio of wick size to total candle size for use at baseline.
Use Candle Body (rather than full candle size) (Default: false): Determines whether wick calculations use the candle body or the entire candle size.
VISUAL PREFERENCES - SIGNALS
Show Signals (Default: true): Allows signal labels to be shown.
Show Signals from 1/2 Band Offset (Default: false): Toggle signals originating from 1/2 offset upper and lower bands.
Show Signals from Phi (Φ) Band Offset (Default: false): Toggle signals originating from phi (Φ) offset upper and lower bands.
Show Baseline Signals (Default: false): Toggle Baseline signals.
VISUAL PREFERENCES - BANDS
Show ATR (Keltner) Bands (Default: true): Use a background color inside the Bollinger Bands.
Fill Bands (Default: true): Use a background color inside the Bollinger Bands.
STOCHASTIC SETTINGS
Use Stochastic RSI Filtering (Default: False): This will only trigger some SELL signals when the stochastic RSI is above 80, and BUY signals when below 20.
K (Default: 3): The smoothing level for the Stochastic RSI.
RSI Length (Default: 14): The period length for the RSI calculation.
Stochastic Length (Default: 8): The period length over which the stochastic calculation is performed.
Other Usage Notes and Limitations
To understand future price movement, this indicator assumes that 3 things must be known:
Evidence of a change of market structure. This can be demonstrated by increased volatility, consolidation, volume spikes (which can be tracked with the MW Volume Impulse Indicator) or, in the case of this indicator, candle wicks.
The potential cause of the change. It could be a VWAP line (which can be tracked with the Multi VWAP , and Multi VWAP from Gaps indicators), an event, an important support or resistance level, a key moving average, or many other things. This indicator assumes the ATR bands can be a cause.
The current position in the price cycle. Oscillators like the RSI, and MACD, are typical measures of price oscillation (other oscillators like the Price and Volume Stochastic Divergence indicator can also be useful). This indicator uses the Stochastic RSI oscillator to determine overbought and oversold conditions.
When evidence of the change appears, and the potential cause of the change is identified, and the price oscillation is at a favorable position for the desired trading direction, this indicator will generate a signal.
ATR Bands (or Keltner Channels) are used to determine when price might “revert to the mean”. Crossing, or being near the upper or lower band, can indicate an overbought or oversold condition, which could lead to a price reversal. By tracking the behavior of candle wicks during these events, we can see how active the battle is between buyers and sellers.
If the top of a wick is large, it may indicate that sellers are aggressively attempting to bring the price down. Conversely, if the bottom wick is large, it can indicate that buyers are actively trying to counter the price action caused by selling pressure.
When this wicking action occurs at times when price is not near the upper band, lower band, or baseline, it could indicate the presence of an important level. That could mean a nearby VWAP line, a supply or demand zone, a round price number, or a number of other factors. In any case, this wick may be the first indication of a price reversal.
Shorter baseline periods may be better for short period trading like scalping or day trading, while longer period baselines can show signals that are better suited to swing trading, or longer term investing.
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
The TradingView platform allows a maximum of 500 labels per chart. This means that if your settings allow for a lot of signals, labels for earlier ones may not appear if the total number of labels exceeds 500 for the chart.
Bollinger Band Wick and SRSI Signals [MW]Introduction
This indicator uses a novel combination of Bollinger Bands, candle wicks crossing the upper and lower Bollinger Bands and baseline, and combines them with the Stochastic SRSI oscillator to provide early BUY and SELL signals in uptrends, downtrends, and in ranging price conditions.
How it’s unique
People generally understand Bollinger Bands and Keltner Channels. Buy at the bottom band, sell at the top band. However, because the bands themselves are not static, impulsive moves can render them useless. People also generally understand wicks. Candles with large wicks can represent a change in pattern, or volatile price movement. Combining those two to determine if price is reaching a pivot point is relatively novel. When Stochastic RSI (SRSI) filtering is also added, it becomes a genuinely unique combination that can be used to determine trade entries and exits.
What’s the benefit
The benefit of the indicator is that it can help potentially identify pivots WHEN THEY HAPPEN, and with potentially minimal retracement, depending on the trader’s time window. Many indicators wait for a trend to be established, or wait for a breakout to occur, or have to wait for some form of confirmation. In the interpretation used by this indicator, bands, wicks, and SRSI cycles provide both the signal and confirmation.
It takes into account 3 elements:
Price approaching the upper or lower band or the baseline - MEANING: Price is becoming extended based on calculations that use the candle trading range.
A candle wick of a defined proportion (e.g. wick is 1/2 the size of a full candle OR candle body) crosses a band or baseline, but the body does not cross the band or baseline - MEANING: Buyers and sellers are both very active.
The Stochastic RSI reading is above 80 for SELL signals and below 20 for BUY signals - MEANING: Additional confirmation that price is becoming extended based on the current cyclic price pattern.
How to Use
SIGNALS
Buy Signals - Green(ish):
B Signal - Potential pivot up from the lower band when using the preferred multiplier
B1 Signal - Potential pivot up from baseline
Sell Signals - Red(ish):
S Signal - Potential pivot down from the upper band when using the preferred multiplier
S1 Signal - Potential pivot down from the baseline
DISCUSSION
During an uptrend or downtrend, signals from the baseline can help traders identify areas where they may enter the trending move with the least amount of drawdown. In both cases, entry points can occur with baseline signals in the direction of the trend.
For example, in an uptrend (when the price is forming higher highs and higher lows, or when the baseline is rising), price tends to oscillate between the upper band and baseline. In this case, the baseline BUY signal (B3) can show an entry point.
In a downtrend (when the price is forming lower highs and lower lows, or when the baseline is falling), price tends to oscillate between the baseline and the lower band. In this case, the baseline SELL signal (S3) can show an entry point.
During consolidation, when price is ranging, price tends to oscillate between the upper and lower bands, while crossing through the baseline unperturbed. Here, entry points can occur at the upper and lower bands.
When all conditions are met at the lower band during consolidation, a BUY signal (B), can occur. This signal may also occur prior to a break out of consolidation to the upside.
When all conditions are met at the upper band during consolidation, a SELL signal (S), can occur. This signal may also occur prior to a break out of consolidation to the downside.
Additional, B1 and S1 signals can be displayed that use the baseline as the pivot level.
Settings
SIGNALS
Show Bollinger Band Signals (Default: True): Allows signal labels to be shown.
Hide Baseline Signals (Default: False): Baseline signals are on by default. This will turn them off.
Show Wick Signals (Defau
lt: True): Displays signals when wicking occurs.
BOLLINGER BAND SETTINGS
Period length for Bollinger Band Basis (Default: 21): Length of the Bollinger Band (BB) moving average basis line.
Basis MA Type (Default: SMA): The moving average type for the BB Basis line.
Source (Default: “close”): The source of time series data.
Standard Deviation Multiplier (Default: 2.5: The deviation multiplier used to calculate the band distance from the basis line.
WICK SETTINGS FOR BOLLINGER BANDS
Wick Ratio for Bands (Default: 0.3): The ratio of wick size to total candle size for use at upper and lower bands.
Wick Ratio for Baseline (Default: 0.3): The ratio of wick size to total candle size for use at baseline.
WICK SETTINGS FOR CANDLE SIGNALS
Upper Wick Threshold (Default: 50): The percent of upper wick compared to the full candle size or candle body size.
Lower Wick Threshold (Default: 50): The percent of lower wick compared to the full candle size or candle body size.
Use Candle Body (Default: false): Toggles the use of the full candle size versus the candle body size when calculating the wick signal.
VISUAL PREFERENCES
Fill Bands (Default: true): Use a background color inside the Bollinger Bands.
Show Signals (Default: true): Toggle the Bollinger Band upper band, lower band, and baseline signals.
Show Bollinger Bands (Default: true): Show the Bollinger Bands.
STOCHASTIC SETTINGS
Use Stochastic RSI Filtering (Default: False): This will only trigger some SELL signals when the stochastic RSI is above 80, and BUY signals when below 20.
K (Default: 3): The smoothing level for the Stochastic RSI.
RSI Length (Default: 14): The period length for the RSI calculation.
Stochastic Length (Default: 8): The period length over which the stochastic calculation is performed.
Calculations
Bollinger Bands are a technical analysis tool that are used to measure market volatility and identify overbought or oversold conditions in the trading of financial instruments, such as stocks, bonds, commodities, and currencies. Bollinger Bands consist of three lines plotted on a price chart:
Middle Band, Basis, or Baseline: This is typically a simple moving average (SMA) of the closing prices over a certain period. It represents the intermediate-term trend of the asset's price.
Upper Band: This is calculated by adding a certain number of standard deviations to the middle band (SMA). The upper band adjusts itself with the increase in volatility.
Lower Band: This is calculated by subtracting the same number of standard deviations from the middle band (SMA). Like the upper band, the lower band adjusts to changes in volatility.
The candle wick signals occur if the wick is at the specified ratio compared to either the entire candle or the candle body. The upper band, lower band, and baseline signals happen if the wick is the specified ratio of the total candle size. For the major signals for upper and lower bands, these occur when the wick extends outside of the bands while closing a candle inside of the bands. For the baseline signals, they occur if a wick crosses a baseline but closes on the other side.
Other Usage Notes and Limitations
To understand future price movement, this indicator assumes that 3 things must be known:
Evidence of a change of market structure. This can be demonstrated by increased volatility, consolidation, volume spikes (which can be tracked with the MW Volume Impulse Indicator) or, in the case of this indicator, candle wicks.
The potential cause of the change. It could be a VWAP line (which can be tracked with the Multi VWAP , and Multi VWAP from Gaps indicators), an event, an important support or resistance level, a key moving average, or many other things. This indicator assumes the ATR bands can be a cause.
The current position in the price cycle. Oscillators like the RSI, and MACD, are typical measures of price oscillation (other oscillators like the Price and Volume Stochastic Divergence indicator can also be useful). This indicator uses the Stochastic RSI oscillator to determine overbought and oversold conditions.
When evidence of the change appears, and the potential cause of the change is identified, and the price oscillation is at a favorable position for the desired trading direction, this indicator will generate a signal.
ATR Bands (or Keltner Channels) are used to determine when price might “revert to the mean”. Crossing, or being near the upper or lower band, can indicate an overbought or oversold condition, which could lead to a price reversal. By tracking the behavior of candle wicks during these events, we can see how active the battle is between buyers and sellers.
If the top of a wick is large, it may indicate that sellers are aggressively attempting to bring the price down. Conversely, if the bottom wick is large, it can indicate that buyers are actively trying to counter the price action caused by selling pressure.
When this wicking action occurs at times when price is not near the upper band, lower band, or baseline, it could indicate the presence of an important level. That could mean a nearby VWAP line, a supply or demand zone, a round price number, or a number of other factors. In any case, this wick may be the first indication of a price reversal.
Shorter baseline periods may be better for short period trading like scalping or day trading, while longer period baselines can show signals that are better suited to swing trading, or longer term investing.
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
The TradingView platform allows a maximum of 500 labels per chart. This means that if your settings allow for a lot of signals, labels for earlier ones may not appear if the total number of labels exceeds 500 for the chart.
Nifty 50 5mint Strategy
The script defines a specific trading session based on user inputs. This session is specified by a time range (e.g., "1000-1510") and selected days of the week (e.g., Monday to Friday). This session definition is crucial for trading only during specific times.
Lookback and Breakout Conditions:
The script uses a lookback period and the highest high and lowest low values to determine potential breakout points. The lookback period is user-defined (default is 10 periods).
The script also uses Bollinger Bands (BB) to identify potential breakout conditions. Users can enable or disable BB crossover conditions. BB consists of an upper and lower band, with the basis.
Additionally, the script uses Dema (Double Exponential Moving Average) and VWAP (Volume Weighted Average Price) . Users can enable or disable this condition.
Buy and Sell Conditions:
Buy conditions are met when the close price exceeds the highest high within the specified lookback period, Bollinger Bands conditions are satisfied, Dema-VWAP conditions are met, and the script is within the defined trading session.
Sell conditions are met when the close price falls below the lowest low within the lookback period, Bollinger Bands conditions are satisfied, Dema-VWAP conditions are met, and the script is within the defined trading session.
When either condition is met, it triggers a "long" or "short" position entry.
Trailing Stop Loss (TSL):
Users can choose between fixed points ( SL by points ) or trailing stop (Profit Trail).
For fixed points, users specify the number of points for the stop loss. A fixed stop loss is set at a certain distance from the entry price if a position is opened.
For Profit Trail, users can enable or disable this feature. If enabled, the script uses a "trail factor" (lookback period) to determine when to adjust the stop loss.
If the price moves in the direction of the trade and reaches a certain level (determined by the trail factor), the stop loss is adjusted, trailing behind the price to lock in profits.
If the close price falls below a certain level (lowest low within the trail factor(lookback)), and a position is open, the "long" position is closed (strategy.close("long")).
If the close price exceeds a certain level (highest high within the specified trail factor(lookback)), and a position is open, the "short" position is closed (strategy.close("short")).
Positions are also closed if they are open outside of the defined trading session.
Background Color:
The script changes the background color of the chart to indicate buy (green) and sell (red) signals, making it visually clear when the strategy conditions are met.
In summary, this script implements a breakout trading strategy with various customizable conditions, including Bollinger Bands, Dema-VWAP crossovers, and session-specific rules. It also includes options for setting stop losses and trailing stop losses to manage risk and lock in profits. The "trail factor" helps adjust trailing stops dynamically based on recent price movements. Positions are closed under certain conditions to manage risk and ensure compliance with the defined trading session.
CE=Buy, CE_SL=stoploss_buy, tCsl=Trailing Stop_buy.
PE=sell, PE_SL= stoploss_sell, tpsl=Trailing Stop_sell.
Remember that trading involves inherent risks, and past performance is not indicative of future results. Exercise caution, manage risk diligently, and consider the advice of financial experts when using this script or any trading strategy.
Swing Ranges [ChartPrime]Swing Ranges is an indicator designed to provide traders with valuable insights into swing movements and real-time support and resistance (SR) levels. This tool detects price swings and plots boxes around them, allowing traders to visualize the market dynamics efficiently. The indicator's primary focus is on real-time support and resistance levels, empowering traders to make well-informed decisions in dynamic market conditions.
Key Features:
Swing Box Visualization:
Swing Ranges excels at detecting swings in the price data and visually representing them with boxes on the price chart. This enables traders to quickly identify swing ranges, essential for understanding market trends and potential reversal points. VWAP POCs are also provided giving areas of high activity in each block.
Real-Time Support and Resistance Levels:
The core feature of Swing Ranges is its real-time support and resistance levels. These levels are dynamically calculated based on the volume-weighted data for each specific range. The indicator displays the strength of support and resistance zones with percentage bars, indicating the ratio between bullish and bearish volume. This real-time information empowers traders to assess the strength and significance of each SR level, enhancing their ability to execute well-timed trades.
ATR (Average True Range) Value:
Swing Ranges also includes an ATR value label, which shows the Average True Range for the selected period. ATR aids traders in understanding market volatility, enabling them to set appropriate stop-loss and take-profit levels for their trades.
VWAP (Volume Weighted Average Price) Information:
Traders c an readily access the VWAP value through the indicator's label. VWAP provides insights into the average price at which an asset has been traded, helping traders identify potential fair value areas and market trends.
Price Difference Percentage:
Swing Ranges displays the percentage difference between the high and low of each swing. This information allows traders to gauge the magnitude of price movements and assess potential profit targets more effectively.
The indicator also has a NV value. If the NV is high e.g. 10% or more there is indecision in the market and the market is trying to remain in a given range.
Settings Inputs:
1. Length Control:
The Length setting input in Swing Ranges allows traders to adjust the sensitivity of the indicator to detect swings. Traders can customize the length based on their trading strategies and timeframes.
2. ATR Period Adjustment:
The ATR Period input allows traders to fine-tune the calculation period for the Average True Range. This feature enables traders to adapt the indicator to different market conditions and asset classes.
Swing Ranges: Real-Time Support and Resistance Indicator is a comprehensive tool that combines swing visualization with dynamic support and resistance levels. By focusing on real-time SR levels, this indicator equips traders with the essential information needed to make confident trading decisions in ever-changing market conditions.