VR1 DEMA - Liquidity IdentifierThis custom Pine Script indicator, titled "VR1 DEMA - Liquidity Identifier", is designed to help traders identify periods of significant resistance to price movement, often indicating high liquidity areas where the market may encounter difficulty moving in one direction. The indicator analyzes the relationship between volume and price range, combined with bar volume conditions, to provide enhanced signals of potential liquidity buildup.
Key Features:
Customizable EMA Lengths:
Users can define the lengths of both the fast and slow Exponential Moving Averages (EMAs), with default values of 5 for the fast EMA and 13 for the slow EMA. These EMAs are calculated from the ratio of volume to price range, smoothing the data to detect trends in liquidity.
Dynamic Fast EMA Color:
The fast EMA changes color based on its relationship to the slow EMA:
Red when the fast EMA is above the slow EMA, signaling stronger resistance or greater liquidity.
White when the fast EMA is below the slow EMA, indicating potentially weaker resistance.
Liquidity Signal with Multiplier Condition:
The background of the chart changes to white when the volume-to-price ratio exceeds 1.5 times the fast EMA. This highlights potential areas of liquidity buildup where price movement may encounter stronger resistance. The 1.5 multiplier is adjustable, allowing for sensitivity customization.
Volume Condition for Enhanced Signals:
A new condition is added that requires the actual bar volume to exceed 1.2 times the 5-period EMA of average bar volume. This ensures that the background color only changes when there is not only increased liquidity but also significantly higher trading volume. The 1.2 multiplier is user-adjustable for further refinement.
Combined Liquidity and Volume Filtering:
Both conditions (volume-to-price ratio and actual volume) must be met for the background color to change. This double-filtering helps traders spot moments of unusual market activity more accurately.
Optional Volume/Price Range Visualization:
An optional plot of the volume-to-price ratio is included, providing a visual representation of how volume interacts with price movement in real-time. This can be enabled or disabled based on user preference.
User-Friendly Customization:
The script includes inputs for adjusting the fast and slow EMA lengths, as well as the multipliers for the volume-to-price ratio and actual volume conditions. These customizable parameters allow traders to tailor the indicator to their specific market strategies.
Use Case:
This indicator is particularly useful for identifying periods of high liquidity and resistance in the market, where price movement may stall or reverse. By combining volume-to-price ratio analysis with actual volume conditions, the indicator provides more reliable signals for detecting potential breakouts, reversals, or consolidation periods. The color-coded fast EMA and background shading make it easy to spot key moments of increased market activity and liquidity.
Wskaźnik Swobody Ruchu (EOM)
Liquidity SpotterIndicator Setup:
The script sets up a TradingView indicator titled "Liquidity Spotter" with a short title "PWWTC LS". It's designed to overlay on the price chart (overlay=true).
Input Variables:
The script defines input variables that allow users to customize the behavior of the indicator:
atr_length: Length of the Average True Range (ATR) used in calculations.
volume_multiplier: Multiplier used to compare the volume of the current bar with the average volume.
range_multiplier: Multiplier used to calculate the range condition.
highlight_color: Color used to highlight bars when conditions are met.
Calculations:
The script calculates the ATR and average volume using the ta.atr and ta.sma functions provided by TradingView's Pine Script.
It sets the avg_range to the value of the ATR, essentially making it the same as atr_value.
Conditions:
The script checks several conditions based on the calculated values:
range_condition: Compares the range (high - low) of the current bar with the average range multiplied by the range multiplier.
volume_condition: Compares the volume of the current bar with the average volume multiplied by the volume multiplier.
range_volume_condition: Compares the ratio of range to volume with the ratio of average range to average volume.
Plotting:
Based on the conditions being met or not, the script sets the color of the price bars. If all conditions are met, the color of the bars will be set to highlight_color, otherwise, it will remain unchanged (na).
Overall, this script visually highlights price bars on the chart where specific conditions related to range, volume, and their ratio are met, potentially indicating trading opportunities.
Moving Average of Volume for Up and Down ClosesThis indicator is intended to provide market bias information at a glance. Depending on the number of periods selected it can help identify changes in buying and selling sentiment or overall market bias. The two lines indicate increases and decreases in volumes for the selected number of periods. I recommend using this indicator with a minimum of clear support and resistance lines and a standard volume indicator. It does provided useful information as a stand-alone indicator. I don't use any indicators except volume, so this was meant to be my own personal volume analysis tool, however I feel that it can be very useful for other traders who may not have a deep understanding of volume analysis.
Open Interest Exponential Ease of MovementModified Ease of Movement :
* Open Interests used on Futures instead of Volume (Includes Bitcoin)
* Exponential Moving Average used instead of Simple Moving Average
* Division Number cancelled. (Division Number gives wrong signals inside strong trends.)
NOTE : This code is open source under the MIT License. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
Stay tuned. Best regards !
Ease of Movement WatcherHere’s a handy Ease of Movement(EMV) Indicator. I tried to include detailed comments so that anyone that’s learning pine can follow along.
The Ease of Movement Indicator is a volume based oscillator that is designed to measure the ease (or movability) of price movement for a security. The EMV is a centered oscillator, meaning that values can fluctuate above and below zero.
To understand how to use and interpret the EMV Indicator, its crucial to first understand its two main calculations :
Distance Moved = ((high + low) / 2) - ((high + low ) / 2)
-This is the difference between the current period’s midpoint and the previous period’s
midpoint.
Box Ratio = (volume / 100,000) / (high - low)
-When calculating the Box Ratio, it is common to divide the volume by 100,000 for a clearer visualization of the data. However, users can choose
to modify this value with the ‘volumeDiv’ input.
The Ease of Movement Value is then pretty simple to calculate:
EMV = (Distance Moved / Box Ratio)
The indicator then plots a SMA of the previous 24 EMV Values.
Looking at the formula, we know that combining low volume with a large {high, low} range will result in a relatively small box ratio value. Thus, we know that the EMV value for that period will be higher since EMV is found by dividing the Distance Moved by the Box Ratio.
Here’s a simple guide to interpreting the EMV:
- If (EMV > 0)
then price is increasing with relative ease.
-If (EMV < 0)
then price is decreasing with relative ease.
- If high-low range is large and volume is low
then ease of movement is high.
-If high-low range is small and volume is high
then ease of movement is low.
The Chart:
-The histogram represents the Simple Moving Average of EMV Values. The default length is 24, but users can adjust this value at the inputs menu(I've
found 24 works best).
-The teal and pink dotted lines represent the standard deviation of the SMA of EMV values multiplied by 2.5.
-The histogram turns dark green when the EMV SMA is greater than the top teal dotted standard deviations line.
-The histogram turns maroon when the EMV SMA falls below the bottom pink standard deviation line.
How To Use:
Enter a long position when the most recent EMV SMA value was below the lower pink stand. dev. line and the current EMV SMA value rises above that
same pink line. That means the previous bar was maroon and the current bar is not.
If the user enables the option to show entry points, a green dot will be plotted when it is time to enter a long position.
Exit the long position when the most recent EMV SMA value was above the upper green standard deviation line and the current EMV SMA value falls
below that same line. If this is true, then the previous bar will be dark green, and the current will be light green.
If the ‘showExits’ option is enabled, then a red dot will be plotted when it is time to exit the long position.
Input Options:
- 'volumeDiv' : Integer. Used in the calculation of Box Ratio.
- 'lenSMA' : Integer. The length of the Simple Moving Average of Ease of Movement Values.
- 'showStDev' : Bool. If true, dotted green and red lines will be shown at values equal to 2.5 * standard deviation of emvSMA and -2.5 * standard deviation of
emvSMA.
- 'showEntries' and 'showExits' : Bool. If true, a green circle will be plotted at long entry points and a red circle will be plotted at long exit points.
- 'changeBgColor': Bool. If true, the background color will change to green when it is time to enter a long position and red when it is time to exit.
Alerts:
- When it is time to enter a long position, an alert with the message "EMV Tracker - Enter Long" is sent.
- When it is time to exit a long position, an alert with the message "EMV Tracker - Exit Long" is sent.
NOTE:
- I usually use this indicator to confirm signals from other indicators rather than relying on it solely.
- Most accurate signals are generated on 30 minutes with the default input values I've set in the script.
Shoot me a message if you have any ideas for modifications or questions.
~ Happy Trading ~
Ease of Movement with Colors v1A slightly enhanced Ease of Movement indicator:
Draws a line at 0
Colors the line based on ratio of current to the highest for the last 150 bars (changeable)
Ease of Movement (EOM) This indicator gauges the magnitude of price and volume movement.
The indicator returns both positive and negative values where a
positive value means the market has moved up from yesterday's value
and a negative value means the market has moved down. A large positive
or large negative value indicates a large move in price and/or lighter
volume. A small positive or small negative value indicates a small move
in price and/or heavier volume.
A positive or negative numeric value. A positive value means the market
has moved up from yesterday's value, whereas, a negative value means the
market has moved down.