Moving Average-TREND POWER v2.0-(AS)HELLO:
-This indicator is a waaaay simpler version of my other script - Moving Average-TREND POWER v1.1-(AS).
HOW DOES IT WORK:
-Script counts number of bars below or above selected Moving Average (u can se them by turning PLOT BARS on). Then multiplies number of bars by 0.01 and adds previous value. So in the uptrend indicator will be growing faster with every bar when price is above MA. When MA crosess price Value goes to zero so it shows when the market is ranging.
If Cross happens when number of bars is higher than Upper threshold or below Lower threshold indicator will go back to zero only if MA crosses with high in UPtrend and low in DNtrend. If cross happens inside THSs Value will be zero when MA crosses with any type of price source like for example (close,high,low,ohlc4,hl etc.....).This helps to get more crosess in side trend and less resets during a visible trend
HOW TO SET:
Just select what type of MA you want to use and Length. Then based on your preference set values of THSs'
OTHER INFORMATIONS:
-Script was created and tested on EURUSD 5M.
-For bigger trends choose slowerMAs and bigger periods and the other way around for short trends (FasterMAs/shorter periods)
-Below script code you can find not used formulas for calculating indicator value(thanks chat GPT), If you know some pinescript I encourage you to try try them or maybe bulid better ones. Script uses most basic one.
-Pls give me some feedback/ideas to improve and check out first version. Its way more complicated for no real reason but still worth to take a look'
-Also let me know if you find some logical errors in the code.
Enjoy and till we meet again.
Volatility
Moving Average - TREND POWER v1.1- (AS)0)NOTE:
This is first version of this indicator. It's way more complicated than it should be. Check out Moving Average-TREND POWER v2.1-(AS), its waaaaay less complicated and might be better.Enjoy...
1)INTRODUCTION/MAIN IDEA:
In simpliest form this script is a trend indicator that rises if Moving average if below price or falling if above and going back to zero if there is a crossover with a price. To use this indicator you will have to adjust settings of MAs and choose conditions for calculation.
While using the indicator we might have to define CROSS types or which MAs to use. List of what cross types are defined in the script and Conditiones to choose from.The list will be below.
2) COMPOSITION:
-MA1 can be defined by user in settings, possible types: SMA, EMA, RMA, HMA, TEMA, DEMA, LSMA, WMA.
-MA2 is always ALMA
3) OVERLAY:
Default is false but if you want to see MA1/2 on chart you can change code to true and then turn on overlay in settings. Most plot settings are avalible only in OV=false.
if OV=true possible plots ->MA1/2, plotshape when choosen cross type
if OV=false -> main indicator,TSHs,Cross counter
4)PRESETS :
Indicator has three modes that can be selected in settings. First two are presets and do not require selecting conditions as they set be default.
-SIMPLE - most basic
-ABSOLUTE - shows only positive values when market is trending or zero when in range
-CUSTOM - main and the most advanced form that will require setting conditions to use in calculating trend
4.1)SIMPLE – this is the most basic form of conditions that uses only First MA. If MA1 is below selected source (High/Low(High for Uptrend and Low for DNtrend or OHLC4) on every bar value rises by 0.02. if it above Low or OHLC4 it falls by 0.02 with every bar. If there is a cross of MA with price value is zero. This preset uses CROSS_1_ULT(list of all cross types below)
4.2) ABSOLUTE – does not show direction of the trend unlike others and uses both MA1 and MA2. Uses CROSS type 123_ULT
4.3) CUSTOM – here we define conditions manually. This mode is defined in parts (5-8 of description)
5)SETTINGS:
SOURCE/OVERLAY(line1) – select source of calculation form MA1/MA2, select for overlay true (look point 3)
TRESHOLDS(line2). – set upper and lower THS, turn TSHs on/off
MA1(line3) – Length/type of MA/Offset(only if MA type is LSM)
MA2(line4) – length/offset/sigma -(remember to set ma in the way that in Uptrend MA2MA1 in DNtrend)
Use faster MA types for short term trends and slower types / bigger periods for longer term trends, defval MA1/2 settings
are pretty much random so using them is not recomended.
CROSSshape(line5) – choose which cross type you want to plot on chart(only in OV=true) or what type you want to use in counting via for loops,
CROSScount(line6) – set lookback for type of cross choosen above
BOOLs in lines 5 and 6 - plotshape if OV=true/plot CROSScount histogram (if OV=false)
Lines 7 and 8 – PRESET we want to use /SRC for calculation of indicator/are conditions described below/which MAs to use/Condition for
reducing value t 0 - (if PRESET is ABSOLUTE or SIMPLE only SRC should be set(Line 8 does not matter if not CUSTOM))
5)SOURCE for CONDS:
Here you can choose between H/L and OHLC. If H/L value grow when MAlow. If OHLC MAOHLC. H/L is set by default and recommended. This can be selected for all presets not only CUSTOM
6)CROSS types LIST:
“1 means MA1, 2 is MA2 and 3 I cross of MA1/MA2. L stands for low and H for high so for example 2H means cross of MA2 and high”
NAME -DEFINITION Number of possible crosses
1L - cross of MA1 and low 1
1H - cross of MA1 and high 1
1HL - cross of MA1 and low or MA1 and high 2 -1L/1H
2L - cross of MA2 and low 1
2H - cross of MA2 and high 1
2HL - cross of MA2 and low or MA1 and high 2 -2L/2H
12L - cross of MA1 and low or MA2 and low 2 -1L/2L
12H - cross of MA1 and high or MA2 and high 2 -1H/2H
12HL - MA1/2 and high/low 4 -1H/1L/2H/2L
3 -cross of MA1 and MA2 1
123HL -crosses from 12HL or 3 5 -12HL/3
1_ULT - cross of MA1 with any of price sources(close,low,high,ohlc4 etc…)
2_ULT - cross of MA2 with any of price sources(close,low,high,ohlc4 etc…)
123_ULT – all crosses possible of MA1/2 (all of the above so a lot)
7)CRS CONDS:
“conditions to reduce value back to zero”
>/< - 0 if indicator shows Uptrend and there’s a cross with high of selected MA or 0 if in DNtrend and cross with low. Better for UP/DN trend detection
ALL – 0 if cross of MA with high or low no matter the trend, better for detecting consolidation
ULT – if any cross of selected MA, most crosses so goes to 0 most often
8)MA selection and CONDS:
-MA1: only MA1 is used,if MA1 below price value grows and the other way around
MA1price =-0.02
-MA2 – only MA2 is used, same conditions as MA1 but using MA2
MA2price =-0.02
-BOTH – MA1 and MA2 used, grows when MA1 if below, grows faster if MA1 and MA2 are below and fastest when MA1 and MA2 are below and MA2price=-0.02
-MA1 and MA2 >price=-0.03
-MA1 and MA2 ?price and MA2>MA1=-0.04
9)CONDITIONS SELECTION SUMMARRY:
So when CUSTOM we choose :
1)SOURCE – H/L or OHLC
2)MAs – MA1/MA2/BOTH
3)CRS CONDS (>/<,ALL,ULT)
So for example...
if we take MA1 and ALL value will go to zero if 1HL
if MA1 and >/< - 0 if 1L or 1H (depending if value is positive or negative).(1L or 1H)
If ALL and BOTH zero when 12HL
If BOTH and ULT value goes back to zero if Theres any cross of MA1/MA2 with price or cross of MA1 and MA2.(123_ULT)
If >/< and BOTH – 0 if 12L in DNtrend or 12H if UPtrend
10) OTHERS
-script was created on EURUSD 5M and wasn't tested on different markets
-default values of MA1/MA2 aren't optimalized so do not
-There might be a logical error in the script so let me know if you find it (most probably in 'BOTH')
-thanks to @AlifeToMake for help
-if you have any ideas to improve let me know
-there are also tooltips to help
ATR DeltaThe ATR Delta indicator is based on the concept of Average True Range (ATR), which reflects the average price range over a specified period. By calculating the difference between current and previous ATR values, the ATR Delta provides valuable insights into volatility shifts in the market. This information can help traders identify periods of heightened or diminished price movement, enabling them to adjust their strategies accordingly.
The ATR Delta indicator consists of two main calculations:
-- ATR Calculation : The Average True Range (ATR) is calculated using the specified length parameter. It measures the average price range (including gaps) during that period. A larger ATR value indicates higher volatility, while a smaller value indicates lower volatility.
-- ATR Delta Calculation : The ATR Delta is calculated by subtracting the ATR value of the previous bar from the current ATR value. This calculation captures the change in volatility between the two periods, providing a measure of how volatility has evolved.
Positive ATR Delta values indicate an increase in volatility compared to the previous period. It suggests that price movements have expanded, potentially indicating a more active market. On the other hand, negative ATR Delta values indicate a decrease in volatility compared to the previous period. It suggests that price movements have contracted, potentially signaling a calmer or range-bound market.
The ATR Delta indicator uses coloration to visually represent the relationship between the ATR Delta, zero, and a signal line:
-- Green color is assigned when the ATR Delta is positive, above the signal line, and increasing. This coloration suggests a scenario of higher volatility, as the market is experiencing upward momentum in price swings.
-- Red color is assigned when the ATR Delta is negative, below the signal line, and decreasing. This coloration suggests a scenario of lower volatility, as the market is experiencing downward momentum in price swings.
-- Gray color is assigned for other cases when the ATR Delta and signal line relationship does not meet the above conditions.
These colors are reflected in the columns of the ATR Delta as well as the bar coloration.
The ATR Delta indicator includes a signal line, which acts as a reference for interpreting the ATR Delta values. The signal line is calculated as a moving average (EMA) of the ATR Delta over a specified length. It helps smooth out the ATR Delta fluctuations, providing a clearer indication of the underlying trend in volatility changes. When the ATR Delta crosses above the signal line, it may suggest a potential increase in volatility, indicating a market that is becoming more active. Conversely, when the ATR Delta crosses below the signal line, it may suggest a potential decrease in volatility, indicating a market that is becoming less active.
The coloration of the signal line in the ATR Delta indicator helps to differentiate between positive and negative values and provides further insight into market sentiment. When the signal line is positive, indicating increasing volatility, it is colored lime. This color choice reinforces the bullish sentiment and signifies potential opportunities for trend continuation or breakouts. On the other hand, when the signal line is negative, indicating decreasing volatility, it is colored fuchsia. This color choice highlights the bearish sentiment and suggests potential range-bound or consolidation periods. These colors are reflected in the background of the indicator.
The ATR Delta indicator offers several potential applications for traders:
-- Volatility Analysis : The ATR Delta is invaluable for understanding and analyzing volatility dynamics in the market. Traders can observe the changes in ATR Delta values and use them to assess the current level of price movement. This information can help determine the appropriate strategies and risk management approaches.
-- Breakout Strategies : Traders often use the ATR Delta to identify periods of increased volatility, which frequently accompany breakouts. By monitoring the ATR Delta, traders can anticipate potential price breakouts and adjust their entry and exit levels accordingly.
-- Trend Confirmation : Combining the ATR Delta with trend-following indicators allows traders to validate the strength of a trend. Higher ATR Delta values during an uptrend may indicate stronger momentum and a higher likelihood of continuation. Conversely, lower ATR Delta values during a downtrend may suggest a potential consolidation phase or trend reversal.
Limitations :
-- Lagging Indicator : The ATR Delta indicator is based on historical data and calculates the difference between current and previous ATR values. As a result, it may lag behind real-time market conditions. Traders should be aware of this delay and consider it when making trading decisions. It is advisable to combine the ATR Delta with other indicators or price action analysis for a more comprehensive assessment of market conditions.
-- Parameter Sensitivity : The ATR Delta indicator's effectiveness can be influenced by the selection of its parameters, such as the length of the ATR and signal line. Different market conditions may require adjustments to these parameters to better capture volatility changes. Traders should carefully test and optimize the indicator's parameters to align with the characteristics of the specific market or asset they are trading.
-- Market Regime Changes : The ATR Delta indicator assumes that volatility changes occur gradually. However, in rapidly changing market regimes or during news events, volatility can spike or drop abruptly, potentially rendering the indicator less effective. Traders should exercise caution and consider using additional tools or techniques to identify and adapt to such market conditions.
The ATR Delta indicator is a valuable tool for traders seeking to analyze and monitor volatility dynamics in the market. By calculating the difference between current and previous ATR values, it provides insights into changes in price movement and helps identify periods of increased or decreased volatility. Traders can leverage the ATR Delta to fine-tune their strategies, validate trend strength, and identify potential breakout opportunities. However, it is essential to recognize the limitations of the indicator, including its lagging nature and sensitivity to parameter selection. By combining the ATR Delta with other technical analysis tools and applying sound risk management practices, traders can enhance their decision-making process and potentially improve their trading outcomes.
REVE Cohorts - Range Extension Volume Expansion CohortsREVE Cohorts stands for Range Extensions Volume Expansions Cohorts.
Volume is divided in four cohorts, these are depicted in the middle band with colors and histogram spikes.
0-80 percent i.e. low volumes; these get a green color and a narrow histogram bar
80-120 percent, normal volumes, these get a blue color and a narrow histogram bar
120-200 percent, high volume, these get an orange color and a wide histogram bar
200 and more percent is extreme volume, maroon color and wide bar.
All histogram bars have the same length. They point to the exact candle where the volume occurs.
Range is divided in two cohorts, these are depicted as candles above and below the middle band.
0-120 percent: small and normal range, depicted as single size, square candles
120 percent and more, wide range depicted as double size, rectangular candles.
The range candles are placed and colored according to the Advanced Price Algorithm (published script). If the trend is up, the candles are in the uptrend area, which is above the volume band, , downtrend candles below in the downtrend area. Dark blue candles depict a price movement which confirms the uptrend, these are of course in the uptrend area. In this area are also light red candles with a blue border, these depict a faltering price movement countering the uptrend. In the downtrend area, which is below the volume band, are red candles which depict a price movement confirming the downtrend and light blue candles with a red border depicting price movement countering the downtrend. A trend in the Advanced Price Algorithm is in equal to the direction of a simple moving average with the same lookback. The indicator has the same lagging.as this SMA.
Signals are placed in the vacated spaces, e.g. during an uptrend the downtrend area is vacated.
There are six signals, which arise as follows:
1 Two blue triangles up on top of each other: high or extreme volume in combination with wide range confirming uptrend. This indicates strong and effective up pressure in uptrend
2 Two pink tringles down on top of each other: high or extreme volume in combination with wide range down confirming downtrend. This indicates strong and effective down pressure in downtrend
3 Blue square above pink down triangle down: extreme volume in combination with wide range countering uptrend. This indicates a change of heart, down trend is imminent, e.g. during a reversal pattern. Down Pressure in uptrend
4 Pink square below blue triangle up: extreme volume in combination with wide range countering downtrend. This indicates a change of heart, reversal to uptrend is imminent. Up Pressure in downtrend
5 single blue square: a. extreme volume in combination with small range confirming uptrend, b. extreme volume in combination with small range countering downtrend, c. high volume in combination with wide range countering uptrend. This indicates halting upward price movement, occurs often at tops or during distribution periods. Unresolved pressure in uptrend
6 Single pink square: a extreme volume in combination with small range confirming downtrend, b extreme volume in combination with small range countering uptrend, c high volume in combination with wide range countering downtrend. This indicated halting downward price movement. Occurs often at bottoms or during accumulation periods. Unresolved pressure in downtrend.
The signals 5 and 6 are introduced to prevent flipping of signals into their opposite when the lookback is changed. Now signals may only change from unresolved in directional or vice versa. Signals 3 and 4 were introduced to make sure that all occurrences of extreme volume will result in a signal. Occurrences of wide volume only partly lead to a signal.
Use of REVE Cohorts.
This is the indicator for volume-range analyses that I always wanted to have. Now that I managed to create it, I put it in all my charts, it is often the first part I look at, In my momentum investment system I use it primarily in the layout for following open positions. It helps me a lot to decide whether to close or hold a position. The advantage over my previous attempts to create a REVE indicator (published scripts), is that this version is concise because it reports and classifies all possible volumes and ranges, you see periods of drying out of volume, sequences of falter candles, occurrences of high morning volume, warning and confirming signals.. The assessment by script whether some volume should be considered low, normal, high or extreme gives an edge over using the standard volume bars.
Settings of REVE Cohorts
The default setting for lookback is ‘script sets lookback’ I put this in my indicators because I want them harmonized, the script sets lookback according to timeframe. The tooltip informs which lookback will be set at which timeframe, you can enable a feedback label to show the current lookback. If you switch ‘script sets lookback’ off, you can set your own preferred user lookback. The script self-adapts its settings in such a way that it will show up from the very first bar of historical chart data, it adds volume starting at the fourth bar.
You can switch off volume cohorts, only range candles will show while the middle band disappears. Signals will remain if volume is present in the data. Some Instruments have no volume data, e.g. SPX-S&P 500 Index,, then only range candles will be shown.
Colors can be adapted in the inputs. Because the script calculates matching colors with more transparency it is advised to use 100 percent opacity in these settings.
Take care, Eykpunter
VIX Monitor [Zero54]NSE:BANKNIFTY1!
This is a simple but invaluable tool for both day traders and positional traders. VIX is about market expectations of volatility
The VIX is a very good and sound measure of risk in the markets. It gives these stock traders who are in intraday trading and short term traders an idea of whether the volatility is going up or going down in the market. They can calibrate their strategy accordingly. When the volatility is likely to shoot up sharply, the intraday traders run the risk of stop losses getting triggered quickly. Hence they can either reduce their leverage or they can widen their stop losses accordingly.
Also if you notice VIX is a very good and reliable gauge of index movement. If you plot the VIX and the Nifty movement you will see a clear negative correlation in the charts itself. Markets typically tend to peak out when the VIX is bottoming out and the markets tend to bottom out when the VIX is peaking out. This is a useful input for index trades.
You can use this simple indicator to monitor VIX real time. You can use it for short time frame intraday and also multi-hour, multi-day charts. You can also plot a moving average to gauge the VIX trend.
Also is the ability to monitor, Nifty and BankNifty the same way you are able to monitor the VIX (as explained above). The overall market moves in correlation with these main Indexes. So if you are trading a specific counter, you can also keep an eye on the index to get an idea where the counter may be going next.
The source code is open, please feel to modify or re-use as you feel it’s necessary. Any changes, improvements, bugs, please let me know.
Please like/boost this indicator and also add your comments, if you find it useful.
VIX, ATR, and Volatility Indicatorhere what the indictor do !
The "VIX, ATR, and Volatility Indicator" combines the Volatility Index (VIX), Average True Range (ATR), and moving averages to provide insights into market volatility.
VIX (Volatility Index):
The VIX measures the expected volatility in the market over the next 30 days. A higher VIX value indicates increased market volatility, while a lower value suggests lower volatility.
ATR (Average True Range):
The ATR is a technical indicator that measures the average range between high and low prices over a specified period. It provides a sense of the market's volatility by considering price movements. Higher ATR values indicate greater volatility, while lower values indicate lower volatility.
Moving Averages:
The indicator calculates both an Exponential Moving Average (EMA) and Simple Moving Average (SMA) with a specific period (e.g., 50).
Moving averages smooth out price data to identify trends and potential areas of support or resistance.
Volatility Detection:
By comparing the current closing price to the EMA and SMA, the indicator determines if there is high volatility.
If the current closing price is higher than either the EMA or SMA, it indicates potential high volatility.
Visualization:
The VIX and ATR are typically plotted on the chart, providing a visual representation of market volatility and price range.
Additionally, markers or labels may be used to highlight periods of high volatility when the current price exceeds the moving averages.
what are the VIX and ATR
Volatility Index (VIX):
Monitor the VIX value from financial platforms or market data providers. A higher VIX value indicates increased market volatility, suggesting potential trading opportunities. Conversely, a lower VIX value indicates lower volatility, which may influence your trading strategy.
Average True Range (ATR):
Calculate the ATR manually or use charting platforms that provide ATR as an indicator.
Plot the ATR on your trading chart to visualize the range of price movements.
Determine suitable entry and exit points based on ATR values. For example, higher ATR values may indicate larger potential price swings, while lower ATR values may suggest a more stable market.
how it work
Fetching VIX Data:
The request.security function is used to fetch the daily VIX data from the "CBOE:VIX" symbol. It retrieves the closing price of the VIX for each day.
Calculating ATR:
The ta.atr function calculates the Average True Range (ATR) with a period of 14. ATR measures the average range between the high and low prices over the specified period, providing an indication of market volatility.
Calculating Moving Averages:
Two types of moving averages are calculated: Exponential Moving Average (EMA) and Simple Moving Average (SMA). Both moving averages are calculated using a period of 50, but you can adjust the period as needed.
The ta.ema function calculates the Exponential Moving Average, which places greater weight on recent prices.
The ta.sma function calculates the Simple Moving Average, which gives equal weight to all prices in the period.
Identifying High Volatility:
The indicator determines if there is high volatility by comparing the current closing price to both the EMA and SMA.
If the current closing price is higher than either the EMA or SMA, the isHighVolatility variable is set to true, indicating potential high volatility.
Plotting the Indicators:
The VIX and ATR are plotted using the plot function, assigning colors and line widths for visual differentiation.
The plotshape function is used to plot markers below the bars to indicate highly volatile periods. The isHighVolatility variable determines when the markers appear.
ATR Momentum [QuantVue]ATR Momentum is a dynamic technical analysis tool designed to assess the momentum of a securities price movement. It utilizes the comparison between a faster short-term Average True Range (ATR) and a slower long-term ATR to determine whether momentum is increasing or decreasing.
This indicator visually represents the momentum relationship by plotting both ATR values as lines on a chart and applying color fill between the lines based on if momentum is increasing or decreasing.
When the short-term ATR is greater than the long-term ATR, representing increasing momentum, the area between them is filled with green.
Conversely, when the short-term ATR is less than the long-term ATR line, the area between them is filled with red. This red fill indicates decreasing momentum.
Don't hesitate to reach out with any questions or concerns.
We hope you enjoy!
Cheers.
[SMT] Buy & Sell Renko Based - AlertsThis is a custom indicator that implements a trading strategy based on Renko charts, but they can be used on regular candlestick charts and on any time frame. Renko charts are known for filtering market noise and displaying price movements in a clearer way. However, it is important to note that this indicator is provided for educational and informational purposes only and is not a guarantee of profitable returns.
Features:
- The indicator uses Renko charts to generate buy and sell signals.
- Renko bricks are built based on a predefined price variation, rather than time.
- The length of the Average True Range (ATR) used to calculate Renko bricks can be customized.
- Buy signals are generated when the price crosses below the current Renko brick.
- Sell signals are generated when the price crosses above the current Renko brick.
- Entry points are marked with "Buy" and "Sell" arrows on the chart.
It is essential to emphasize that no indicator or trading strategy guarantees profitable results. The financial market is complex and subject to unpredictable changes. It is recommended to perform additional tests and analysis before using this indicator on a real trading account.
Always remember to manage your risks properly and consider other factors such as fundamental analysis and market conditions when making trading decisions. The use of this indicator is entirely the user's responsibility.
DISCLAIMER: This indicator is not financial advice and should not be interpreted as such. Always consult with a qualified financial professional before making any investment decisions.
TOP 4 STABLECOIN MARKET CAPIn the cryptocurrency market, there is a challenge: understanding the flow of stablecoins during market growth and downturns. It's difficult to grasp whether the market surge is due to a shift in funds from BTC or an influx of USD. Detecting the fluctuation in market capitalization of stablecoins helps investors gain a clearer perspective of market volatility.
Usage:
When there are fluctuations in the market capitalization, it is essential to combine observations of this indicator with other technical indicators.
Range H/L Buy and Sell SignalThe "Range H/L Buy and Sell Signal" indicator is designed to identify potential buy and sell signals based on a specified price range and market volatility. This indicator can be used in the TradingView platform to assist traders in making informed decisions.
The indicator allows customization of several parameters to adapt to different trading strategies. These parameters include the start and end times for the price range, the volatility threshold, and the desired breakout conditions.
To begin, the indicator calculates the range start and end timestamps based on the provided hours and minutes. This defines the time period within which the indicator will analyze price movements.
Next, the indicator determines the highest high (High) and lowest low (Low) within the specified price range. These levels represent the upper and lower boundaries of the range and act as potential breakout points.
Volatility is also taken into account to filter out false signals. The indicator calculates the true range and the average true range over a period of 14 bars. The true range measures the price range from the current high to low, while the average true range provides an indication of market volatility.
Based on the breakout conditions and the volatility threshold, buy and sell signals are generated. A buy signal occurs when the closing price crosses above the High and the true range is greater than the volatility threshold multiplied by the average true range. Conversely, a sell signal is triggered when the closing price crosses below the Low and the true range exceeds the volatility threshold multiplied by the average true range.
The indicator visually displays the High and Low levels as plotted lines on the chart. Additionally, it marks the buy signals with green labels labeled "BUY" below the corresponding bars and the sell signals with red labels labeled "SELL" above the bars.
It is important to note that this indicator should be used in conjunction with other technical analysis tools and indicators for comprehensive market analysis. Trading always carries risks, and it is crucial to exercise caution and conduct thorough analysis before making any trading decisions.
Divergent Trades LLC:
Disclaimer: The information provided by the Divergent Trades LLC indicator is for educational and informational purposes only. It should not be considered financial advice or a recommendation to buy, sell, or trade any financial instrument. Divergent Trades LLC is not responsible for any losses incurred as a result of using this indicator. Trading in the financial markets carries a high level of risk and may not be suitable for all investors. Before making any investment decisions, please consult with a financial advisor and do your own due diligence. Past performance is not indicative of future results. By using the Divergent Trades LLC indicator, you acknowledge that you have read and understand this disclaimer and agree to its terms and conditions.
New York, London and custom trading sessionsHi Traders
The script :
The Time sessions script plots the trading sessions of both New York and London markets (background fills), In addition to the above the script also plots a user defined trading session period (vertical lines). All plots may be toggled true or false inorder to ensure you can focus on the respective market / markets / custom session.
Market sessions are useful for technical or quantitative analysis, as the majority of trading activity and net daily volume occurs in these zones, in fact the U.S./London market overlap tends to have the greatest volume accumulation across that range of time / bars than that range at any other time within the daily session. For FX traders it may also be important to take into account for many currency pairs the average exchange rate pip movement is greatest within these zones.
The custom session, is intended to be used for traders who trade only within specific intervals within the market session or day for 24/7 traded asset classes
Additional notes :
Not as of now, I have only added three optional trading sessions. If you would like to change the sessions, copy the scripts code and change the "ctm_session" default time range value, insuring the second time value is 1 min > than the first.
As always i Hope this is a useful script, and I will be updating this script in the near future.
Pullback WarningThe Pullback Warning indicator is a simple indicator that highlights the potential for a market pullback, by measuring distances between certain key moving averages.
John Pocorobba recently shared in his general market updates, research showing that when the distance between the closing price and the 9 day exponential moving average is greater than the distance between the 9 day exponential moving average and the 20 day exponential moving average a pullback is likely.
While this condition occurs frequently, I added sensitivity options to try and filter out the noise. The sensitivity is based on the closing price’s extension from the 50 day simple moving average. Depending on your level of sensitivity, only signals that occur when price is extended either 5, 6, or 7 percent away from the 50 sma will be plotted.
Choose how to see the signal:
Highlight Background
Plot a symbol at desired location
Note this signal works best on indexes, not individual securities.
Volume Spike, Price Move >3% Spike with Vol & Gap Up IdentifierTitle: Identifying Volume Spikes, Price Movements and Gap Ups: A TradingView Script
Introduction:
In the world of trading, identifying volume spikes and price movements can provide valuable insights into market trends and potential trading opportunities. In this article, we'll explore a TradingView script that helps traders visualize volume spikes, price up moves with volume spikes, and gap-up days on their charts.
Detecting Price Up Moves:
The script starts by calculating price up moves. It compares the current day's closing price with the previous day's closing price and checks if it has increased by 3% or more. This helps traders spot significant upward price movements.
Detecting Volume Spurts:
Next, the script focuses on detecting volume spikes, which are often associated with increased market activity and potential trading opportunities. It compares the current day's volume with the highest volume of the previous nine sessions. If the current volume exceeds all the volumes of the previous nine sessions, it is considered a volume spurt.
Example:
Let's consider a hypothetical scenario where we have the following volume data for a stock:
Day 1: 100,000
Day 2: 80,000
Day 3: 120,000
Day 4: 150,000
Day 5: 200,000
Day 6: 90,000
Day 7: 110,000
Day 8: 130,000
Day 9: 140,000
Day 10: 250,000 (current day)
To determine if there is a volume spurt on Day 10, the script compares the current day's volume (250,000) with the highest volume of the previous nine sessions. In this case, the highest volume among the previous nine sessions is 200,000 (on Day 5). Since the current day's volume (250,000) exceeds the highest volume of the previous nine sessions (200,000), it is considered a volume spurt.
Identifying Gap-Up Days:
Gap-up days occur when the market opens significantly higher than the previous day's close. To identify these days, the script compares the current day's low price with the previous day's high price. If the low price is greater than the previous day's high, it is marked as a gap-up day.
Visualizing the Findings:
To provide a clear visual representation of the identified patterns, the script uses different shapes and colors. First, it plots small red dots above the candles whenever a volume spurt is detected. These dots help traders quickly identify periods of increased volume activity.
For price up moves with volume spikes, the script utilizes blue triangular shapes below the candles. This allows traders to pinpoint instances where both price and volume are showing positive signs, indicating potential bullish movements.
Additionally, the script incorporates green candles to represent gap-up days. These candles help traders recognize days when the market opens with a significant upward gap, suggesting a potential shift in market sentiment.
Conclusion:
The TradingView script discussed in this article provides traders with a visual representation of volume spikes , price up moves with volume spikes , and gap-up days . By incorporating these visual cues into their analysis, traders can gain valuable insights into market trends and potential trading opportunities.
Remember, this script should be used for educational and informational purposes only and does not serve as financial advice or recommendations. Traders are encouraged to customize and modify the script according to their specific trading strategies and risk tolerance.
Share this script with other traders on TradingView to enhance their chart analysis and trading decisions.
PS: This TradingView script is designed to work specifically on the daily timeframe (daily candles). It calculates and identifies volume spurts based on the volume data of the daily timeframe. Since it is designed for the daily timeframe, it may not produce accurate results or work as intended on other timeframes.
VolatilityThis script shows three different calculations for volatility.
All three can be used as Stop-Loss...
- Absolute Price Changes
- Maximum Price Fluctuation
- and every one should know Average True Range
The script has a dark and light theme.
And the colors can be changed and each can be deactivated.
On top of that I stumbled over the fact that when MPF crosses over APC
this could result in a significant change in price and could also be used as an entry or exit.
This is also highlighted by default. You can change its background color and you can deactivate it too.
ACP measures volatility over most recent close prices.
This is excellent for comparing volatility.
It includes both frequency and magnitude.
In other words: Sum of differences between second to last close price and last close price as absolute value for 'n' bars.
MPF measures volatility over most recent candles, which could be used as an estimate of risk.
It may also be effective as the basis for a stop-loss or take-profit,
like the ATR but it ignores the frequency of directional changes within the time interval.
In other words: The difference between the highest high and lowest low over 'n' bars.
When you don't know what the ATR is then you can look at this link .
Displacement (Two FVGs)A simple indicator that attempts to identify displacement in price by alerting you when two simultaneous Fair Value Gaps (FVGs) occur.
When two fair value gaps occur, the indicator will print a green bar (if bullish) or a red bar (if bearish). If you right click on the indicator you can turn on alerts that will pop up every time a dual FVG occurs.
Fair Value Gaps are most commonly used amongst price action traders and are defined as instances in which there are inefficiencies, or imbalances, in the market.
The concept for this indicator is very simple. Apply it to your chart and enable alerts on the instruments and timeframe you trade. When you get an alert, it could indicate larger players getting involved.
This is NOT a trading strategy. Its intention is to save time by alerting you to large imbalances in price on the instruments you trade.
Smoother Momentum Stops [Loxx]Smoother Momentum Stops (SMS) is a dynamic tool that combines the logic of momentum and moving averages to create an overlay of the market price and generate potential trade signals. The original idea for this indicator comes from the beloved and esteemed trading indicator guru Mladen Rakic.
Understanding the Framework
The SMS incorporates various aspects of technical analysis, including momentum calculation, several types of moving averages, and an intelligent stop-and-reverse system that determines when to enter and exit trades.
The indicator initiates by defining the color scheme for visualization, specifically green for bullish trends and red for bearish trends. It further utilizes the 'smmom' and 'fema' functions to calculate smoothed momentum and fast exponential moving averages, respectively. The values computed by these functions are central to the signal generation process.
Momentum Calculation
The 'smmom' function serves to calculate a smoother momentum by taking a source (such as the closing price) and a period as inputs. This function employs a complex algorithm involving exponential moving averages (EMA), wherein two EMAs are calculated with different smoothing factors, and the difference between the two results is returned as the output. This smooth momentum calculation assists in eliminating unnecessary noise from the market and delivers more reliable momentum readings.
Moving Averages Computation
One key feature of the SMS is the ability to select from five different moving average types: Exponential Moving Average (EMA), Fast Exponential Moving Average (FEMA), Linear Weighted Moving Average (LWMA), Simple Moving Average (SMA), and Smoothed Moving Average (SMMA). The 'variant' function assigns the chosen method to the '_avg' variable, which is then used in the trade signal logic.
Trade Signal Generation
SMS employs a complex yet robust mechanism for generating trade signals. A stop-and-reverse system is established, which works on the principle of momentum. If the smoothed momentum is positive, an upper stop is determined and if the momentum is negative, a lower stop is defined.
The process continues by defining long and short entry conditions. The indicator goes long when an upper stop exists, and the previous bar had a lower stop, signifying a shift in momentum. The short entry condition is the opposite: the indicator goes short when a lower stop exists, and the previous bar had an upper stop. Alerts are generated for each of these conditions, helping traders to take timely action.
Visual Representation and UI Options
In terms of visual representation, the indicator plots upper and lower stops, employing green color for upper and red for lower stops. If the option to color bars is chosen, the entire bar is colored green or red, based on whether an upper or lower stop exists. This feature allows traders to visually comprehend market conditions better. Support and reisstance levels are also provided for visual context.
Conclusion
The Smoother Momentum Stops indicator is a potent tool for traders seeking to optimize their trading strategies. It blends the fundamentals of momentum and moving averages, resulting in a robust system that provides clear, reliable, and timely trading signals. By adjusting the smoothing type and period parameters, traders can customize the indicator to fit various market conditions and asset types, thereby adding a layer of flexibility to their trading strategies.
The use of a stop-and-reverse system adds a layer of risk management by offering precise entry and exit points based on momentum shifts. These stops are not just mere levels of entries or exits, but they reflect the undercurrent of the market's momentum, thus providing a dynamic framework to make informed trading decisions.
Additionally, the SMS indicator offers visual simplicity. The color-coded bars and distinct symbols for long and short positions make it easier for traders to interpret the signals and market direction quickly. Combined with the alert system, it ensures that traders never miss an important trading opportunity.
Finally, the power of the SMS indicator lies in its adaptability and comprehensive approach. By providing a selection of moving averages and an intelligent momentum-based system, it encapsulates various aspects of market behavior. As such, it is a useful tool not just for momentum traders, but for any trader who understands the significance of moving averages and momentum in predicting market movements.
In conclusion, the Smoother Momentum Stops indicator stands as an innovative, adaptable, and powerful tool for the modern trader. Its blend of flexibility, dynamic risk management, and straightforward visualization offer a comprehensive solution for traders looking to navigate the complex world of financial markets. With a detailed understanding of its workings as presented in this essay, traders can harness its full potential to optimize their strategies, manage risk, and achieve their trading objectives.
Dodge Trend [MyTradingCoder]Introducing the "Dodge Trend" indicator, an innovative variant of the Supertrend indicator designed to help traders better avoid fakeouts and maintain positions in established trends.
Like the Supertrend, the Dodge Trend uses Average True Range (ATR) but incorporates a unique adaptive adjustment feature that differentiates it from its counterparts. While the conventional Supertrend rises with the trend and only descends when the price crosses it, the Dodge Trend is designed to 'dodge' potential fakeouts.
This 'dodging' mechanism works by allowing the Dodge Trend to fall slightly during pullbacks, reducing the risk of a premature exit due to a temporary price drop. The recovery rate after the pullback is quicker but is slightly lower than the rate at which a new Dodge Trend high would be established in an uptrend. This unique adjustment feature allows the Dodge Trend to chase price action in an exponential fashion, potentially enabling a quicker exit when the trend shifts.
Key Settings:
Length: Adjust how much price action is taken into consideration for the ATR average. Lower values yield higher responsiveness to recent price action.
Size: Determines the initial deviation of the Dodge Trend when it resets after every flip/break.
Source: Specifies the data point (close, high, open, low, hl2, etc.) used for the Dodge Trend.
Dodge Intensity: Adjusts the intensity of the pullback effect. Higher values result in more intense pullbacks. Range is limited between 0 and 99, with 95 as the recommended default.
Bullish Color Setting: Sets the color for the uptrend Dodge Trend.
Bearish Color Setting: Sets the color for the downtrend Dodge Trend.
Dodge Trend is a powerful tool for traders looking to ride trends and avoid unnecessary exits due to short-term price fluctuations. While it offers a unique feature that may potentially improve trading outcomes, it should be used in conjunction with other indicators and analysis methods for a comprehensive trading strategy. As with all tools, it does not guarantee profitable trades but aims to give traders more actionable and precise information to base their decisions on.
Experience trend-following in a more adaptive and efficient manner with the Dodge Trend indicator, a tool designed to help you 'dodge' false exits and stay in line with the overall trend.
ASG Delta %This utility script provides a convenient way to calculate the percentage gain or drop of a token's price within a user-defined date range. It eliminates the need for manual measurement on individual charts, saving time and effort.
The script is particularly valuable when integrated into a daily token scanning routine for watchlists. By comparing the significant gains or drops among different tokens, traders can identify potential trading opportunities.
Simply select the desired date range, and the script will identify the highest and lowest price points achieved during that period. It then shows a visual representation in the form of a bullish or bearish box, displaying the percentage change (delta %). If the current price falls within the box's upper and lower bounds, additional percentage information can be shown in either the 'normal' or 'reverse' mode.
For instance, if a token experiences a -52.35% drop, enabling the 'Reverse' setting will reveal a potential 109.86% gain (from the low), or a 76.02% gain (from current price) or a potential drop of -16.5% (from current price) etc.. Having these basic statistics available, without having to manually chart them, especially during prolonged bear or bull markets, enables traders to make informed decisions and position themselves for more profitable trades.
I hope you find this script valuable. Your comments and recommendations are welcome as they will help improve the script's functionality further.
Focused Average True RangeThe Focused Average True Range (FATR) is a modified version of the classic Average True Range (ATR) indicator. It is designed to provide traders with more accurate data on volatility, minimizing the impact of sharp spikes in volatility.
The main distinction between the Focused ATR and the standard ATR lies in the utilization of percentiles. Instead of calculating the average price change as the regular ATR does, the Focused ATR selects a value in the middle of the range of price changes. This makes it less sensitive to sharp changes in volatility, which can be beneficial in certain trading scenarios.
Settings:
Percentile. This parameter determines which value in the series of price changes will be used. For example, if the percentile is set to 50, the indicator will use the median value of the series of price changes. This is the default value. Imagine a class of students lined up by height, and instead of calculating the average height of all students, we take the height of the students in the middle of the line. Similarly here, we take the ATR from the middle of the series. Increasing the percentile will lead to the use of a value closer to the upper bound of the range, while decreasing the percentile will lead to the use of a value closer to the lower bound.
How to Use:
The Focused ATR is especially useful for determining the sizes of stop-losses and take-profits, thanks to its ability to consider the value in the middle of the series of price changes rather than the average value. This allows traders to more accurately assess volatility and risk, which in turn can assist in optimizing trading strategies
---
Фокусированный Средний Истинный Диапазон (Focused ATR) представляет собой модифицированную версию классического индикатора ATR. Он разработан с целью предоставления трейдерам более точных данных о волатильности, минимизируя влияние резких скачков волатильности.
Основное отличие Фокусированного ATR от стандартного ATR заключается в использовании процентиля. Вместо того, чтобы рассчитывать среднее значение изменений цены, как это делает обычный ATR, Фокусированный ATR выбирает значение в середине диапазона изменений цены. Это делает его менее чувствительным к резким изменениям волатильности, что может быть полезно в некоторых торговых сценариях.
Настройки:
Процентиль. Этот параметр определяет, какое значение в ряду изменений цены будет использоваться. Например, если процентиль равен 50, то индикатор будет использовать медианное значение ряда изменений цены. Это стандартное значение. Представьте себе, что ученики класса выстроились по росту, и мы считаем не средний рост всех учеников, а берем рост учеников из середины колонны. Так и тут. Мы берем ATR из середины ряда. Увеличение процентиля приведет к использованию значения, ближе к верхней границе диапазона, в то время как уменьшение процентиля приведет к использованию значения, ближе к нижней границе.
Как использовать:
Фокусированный ATR особенно полезен для определения размеров стоп-лоссов и тейк-профитов, благодаря своей способности учитывать значение в середине ряда изменений цены, а не среднее значение. Это позволяет трейдерам более точно оценить волатильность и риск, что в свою очередь может помочь в оптимизации торговых стратегий.
.
Volatility Percentage MonitorVolatility Percentage Monitor (VPM)
What it’s meant for:
- VPM quickly shows asset volatility trend in percentage making easy to recognise how on-going price move compare to average. This is particularly useful in day-trading analysis too understand when the move possibly reaches it’s top.
- By default VPM shows a 1 period trend and Bollinger Bands on 20 periods.
How it works:
- VPM use a Simple Moving Average to reflect the exact percentage value in both daily and optional trend average measures. There’s also a switch in ‘Setting Menu’ to change the average method (Eg. You can choose RMA with a 14 period average and see a standard ATR graph on chart)
Settings:
- Additional averages can show short, mid and longterm volatility trends and can be adjusted from Setting Menu.
- An additional graph can be shown to display Standard Deviation from longterm period data: (Note: this is used to understand how reliable average data is on the given asset)
- Bollinger Bands can be turned on/off by the Setting Menu and adjusted in period and standard deviation (Suggestion: you can check standard deviation with longterm period average parameter and display trend)
- Average Method switch allow to change the calculation method for all averages with the most common methods
- The indicator is designed to be used with daily, weekly or monthly timeframe, but will work on any timeframe anyway.
- Works on any asset
Alerts:
- Preconfigured alerts can be activated to be notify on mid and top volatility daily reach
Parabolic SAR + EMA 200 + MACD SignalsParabolic SAR + EMA 200 + MACD Signals Indicator, a powerful tool designed to help traders identify optimal entry points in the market.
This indicator combines three popular technical indicators: Parabolic SAR (Stop and Reverse), EMA200 (Exponential Moving Average 200) and MACD (Moving Average Convergence Divergence) - to provide clear and concise buy and sell signals based on market trends.
The MACD component of this indicator calculates the difference between two exponentially smoothed moving averages, providing insight into the trend strength of the market. The Parabolic SAR component helps identify potential price reversals, while the EMA200 acts as a key level of support and resistance, providing additional confirmation of the overall trend direction.
Whether you're a seasoned trader or just starting out, the MACD-Parabolic SAR-EMA200 Indicator is a must-have tool for anyone looking to improve their trading strategy and maximize profits in today's dynamic markets.
Buy conditions
The price should be above the EMA 200
Parabolic SAR should show an upward trend
MACD Delta should be positive
ُSell conditions
The price should be below the EMA 200
Parabolic SAR should show an downward trend
MACD Delta should be negative
Bollinger Bands Lab - by InFinitoVariation of the Moving Average Lab that includes Bollinger Bands functionality for any manually created Moving Average. It includes:
- Standard Deviations for any MA
- Fixed Symmetrical Deviations for any MA that remain at a constant % away from the MA
- The same Moving Average creation settings from the Moving Average Lab
"The Moving Average Lab allows to create any possible combination of up to 3 given MAs. It is meant to help you find the perfect MA that fits your style, strategy and market type.
This script allows to average, weight, double and triple multiple types and lengths of Moving Averages
Currently supported MA types are:
SMA
EMA
VWMA
WMA
SMMA (RMA)
HMA
LSMA
DEMA
TEMA
Features:
- Double or Triple any type of Moving Average using the same logic used for calculating DEMAs and TEMAs
- Average 2 or 3 different types and lengths of Moving Average
- Weight each MA manually
- Average up to 3 personalized MAs
- Average different Moving Averages with different length each "
The preview screenshot shows:
- The combination of:
- 200 LSMA - Weight: 1
- 200 HMA - Weight: 2
- 200 VWMA - Weight: 1 - Double
- The regular Bollinger Band setting, 2 standard deviations
- Two fixed symmetrical deviations at 15% and 20% away from the XMA
Range Deviations @joshuuuThis indicator is able to show ranges, the equlibrium (50%) and range deviations.
It has four pre-defined options and one custom version.
Asia (2000-0000) ny time
CBDR(1400-2000) ny time
Flout(1400-0000) ny time
ONS (OverNightSession)(0400-0800) chicago time
Custom (you can choose the times)
ICT (Inner Circle Traders) teaches, that those range deviations of asia,cbdr,flout can be used to find the daily high/low.
TCM (The Currency Merchant) teaches, that a move out of the range often is a false move to trap traders into the wrong direction.