On Balance Volume Heikin-Ashi Transformed
The OBV Heikin Ashi indicator is a modified version of the On-Balance Volume indicator that incorporates the Heikin Ashi transformation. This technical tool aims to provide traders with a smoother representation of volume dynamics and price trends.
The OBV Heikin Ashi indicator combines the principles of OBV and Heikin Ashi to offer insights into the volume and price behavior of an asset. Understanding OBV and Heikin Ashi individually will provide a foundation for comprehending the uniqueness and utility of this indicator.
On-Balance Volume:
OBV is a volume-based indicator that measures the cumulative buying and selling pressure in the market. It considers the relationship between volume and price movements to determine the overall strength and direction of a trend. Rising OBV values suggest bullish buying pressure, while falling values indicate bearish selling pressure.
Heikin Ashi:
Heikin Ashi is a Japanese candlestick charting technique that aims to filter out noise and provide a smoother representation of price trends. It calculates each candlestick based on the average of the previous candle's open, close, high, and low prices. Heikin Ashi candles can reveal the underlying trend more clearly by reducing market noise.
Methodology:
The 𝘖𝘉𝘝 𝘏-𝘈 indicator applies the Heikin Ashi transformation to the OBV values. Each OBV value is replaced with a Heikin Ashi equivalent, which is calculated based on the average of the previous Heikin Ashi candle's open and close prices. This transformation smooths out the OBV values and helps identify the overall trend with reduced noise. Additionaly, 2 optional EMAs are included for convergence-divergence analysis.
By applying the Heikin Ashi transformation to OBV, the indicator aims to enhance the readability of volume and trend information, providing traders with a clearer understanding of market dynamics.
Utility:
The 𝘖𝘉𝘝 𝘏-𝘈 indicator can be a valuable tool for traders and investors in analyzing volume and price trends. It offers a smoother representation of OBV values, allowing for easier identification of trend reversals, bullish or bearish market conditions, and potential trading opportunities. Traders can utilize the indicator to confirm price trends, validate support and resistance levels, and enhance their overall trading strategies.
It is worth noting that the effectiveness of the indicator may vary depending on the specific market and trading strategy. It is recommended to combine its analysis with other technical indicators and perform thorough backtesting before making trading decisions.
Key Features:
2 Adjustable EMAs
Normalized Oscillator Mode
Example Charts:
See Also:
Z-Score Heikin-Ashi Transformed
Obvtrend
:: Magic Osc The "Magic Oscillators" indicator is based on 4 points:
1. RSI with MA filter
2. A logarithmic MA of the price
3. A “squeeze” of the price (points on the “0” line and the light blue background)
4. The up and down signals, which indicate the trend direction, based on the price vs EMA 50 relationship.
Extra - A "long term" filter with input signal - again MA.
All values are possible to adjust to needs/setup.
The indicator is only to help in quicker and more effective technical analysis and not as entry/exit trading signals.
The indicator can be used and the code modified depending on the interests of each trader.
Good trades...
+ ATR Support and ResistanceThis, a very different script from most of mine, is my attempt at making a useful, and not messy, support and resistance indicator. If you've never looked into trader xkavalis, and his scripts and discord, I would highly recommend it. He talks about "pay attention candles" a lot. It got me thinking about what those are. Best as I can tell all he means by that phrase is large, impulsive candles. Sometimes these lead to break outs of ranges, or they may signal tops, bottoms, or near-tops and bottoms. The only way I could make sense of this in a mathematical way was by using the average true range. Basically, any candle's true range outside of the ATR is considered a "pay attention candle," by my definition.
This script originally began as just a candle coloring exercise with some optional shapes plotted above/below certain candles, but I quickly realized I wanted to draw lines or zones from these candles, so eventually, after many hours spent figuring out and learning 'line.new' and 'box.new' I got things sorted.
Essentially, my line of thinking is that on impulsive candles down, the origin of the impulse is more important than the close (not always of course, as there are no unbreakable rules in what markets can do), and with impulsive candles up, the same theory applies.
So, for upward impulsive candles I've marked out the zone from the open to the low as a support (until broken, in which case it may become resistance). For downward impulsive candles the zone encompasses the open to the high. I've given the option to plot a line from the close for all of these. It's turned off by default as it's just less stuff on the chart, but you may like it.
The line length is customizable in a menu. It does funny things on low timeframes on forex and stock charts (long lines that result in chart compression), but for some reason very rarely on crypto charts. If someone who is smart (not me) and has much experience with pinescript could perhaps help me out with a fix for this, that would be great. I suspect it has something to do with my "bar_index_duration" that I defined using the time function, but I'm not sure how or why.
Line length on time frames of one hour and up it is typically fine.
Use the ATR multiple to change the sensitivity of the indicator. This is basically the determination of when a candle is beyond the ATR. A multiple of two is two times the ATR. With lower volatile pairs you can maybe make this lower. On lower time frames or with more volatile pairs (illiquid alts in particular) a higher multiple might serve better. I find the default 1.75 is mostly acceptable.
As I started this I also thought adding some sort of volume information to the candles might be useful as well, so I added a simple candle coloring feature referencing the OBV and a 21 period EMA. Candles are colored based on the OBV's relation to its moving average.
I added some plot shapes and candle coloring utilizing the RSI as well. Options to turn on or off shapes plotted for overbought and oversold across the top of the chart. The most interesting feature that I implemented here is a support/resistance zone around the centerline of the RSI. If the RSI is between 49 and 51 then you can have optional candle coloring, shapes plotted above the candles, and s/r zones drawn on the chart. In trending markets the centerline of the RSI will frequetly act as support or resistance, so by being alerted of this condition on the chart you can use that with actual levels marked off in order to help make a judgement on a trade. I think it's a nice addition, and an oft overlooked aspect of the usefulness of the RSI.
I've also included a calculation, with candle coloring and/or plot shapes, for something like a stop run on high volume. The calculation for that is in its section below, and should be pretty self explanatory.
Lastly, typing this as I'm posting it, this indicator could also be useful for helping to find placement for trailing a stop. Just a thought!
Kifier's MFI/STOCH Hidden Divergence/Trend BeaterMFI/STOCH Hidden Divergence/Trend Beater
General Idea:
My premise around this strategy was to make a general strategy for crypto that would help out with finding entry positions for when you’re bullish on a crypto and want to hold on for a while, and at the same time avoiding massive drops. Essentially a way to mix long term/ swing trading; I somewhat achieved my goal however it still requires a lot of logic tuning of the trend averages.
I’m a huge proponent of volume indicators and coupled with average closing price, I think this gives a really good idea of what is happening with the market. It gives an idea on the market and retail investor sentiment. This generally gives you logical entry positions (Although I don’t know how amazing that will work with all cryptos, there’s a fine line between a good strategy and one that just rides bubble market conditions, some would argue that’s still a success and others not)
How it works:
There are many components to the strategy that try to do different things:
First of all there are two types of entries, a MFI hidden divergence with a STOCH check, essentially it will only fire when a divergence is detected while STOCH is above 50%, however this might be changed in the future as due to the volatile nature of cryptos, the STOCH is not too effective. The second entry is a simple MFI/STOCH trend, if STOCH is above 50% and the trend is detected to be in a trending long, once a MFI crossover over the 50% line is detected an entry is placed, this is designed to get out profit where the divergence would otherwise be less accurate during strongly trending conditions.
-MFI is a great indicator, as a volume weighted momentum indicator I find it the most accurate of all, the STOCH however is a great indicator to get a general picture of simple market conditions and can filter out the emotional noise of retail investors.
-VWMA and an SMA (The bottom oscillator) gives an idea of the trend tacking into account of the volume, this serves as a more short term filter of the trend for filters.
-OBV checks are done between the OBV and an EMA of the OBV, to get the idea of a volume weighted long trend, which is important for crypto as there are massive rallies to go up due to retail greed, it’s great to jump onto it at the beginning, and get off before the stack of cards fall apart.
-ATR is used to detect when the market is relatively just ranging or moving sideways, which is where the hidden divergence entries are done, during predictable and profitable market conditions.
- Stop loss is based on the closest support of the entry, this is a nice medium of room to breath but also an actual stop loss.
Future plans and improvements:
Currently there’s a lot I want to improve, mostly the divergence detection and the overall sharpe ratio could be much better, but the current value of 0.5 gives me hope that the strategy is onto something. I also want to change TP from a percentage stop to something more dynamic but that might be too optimistic. The current plan is to paper trade test this either by manual or by a python bot, to see how it performs with some user input as well.
On Balance Volume AdjustedOn Balance Volume Adjusted is similar to classic OBV but I consider the 'success of the volume'.
So, we don't add or substract the entire volume, but the percentage or proportional part of the volume that has brought price action.