Here's a simple Directional Volume Oscillator that is based on feedback I received on latest K_betterVolume study posted herehttps://nexusfi.com/?view
the idea is to separate the Directional Volume in a simpler oscillator-type plot (+100%/-100%) for better tracking of net volume as it moves between buying and selling modes.
see the screencap for how this is sometimes easier to follow than the full BetterVolume study, especially when you're watching the ET market hours (will usually have very little volume than normal hours).. BetterVolume still provides much more insight and label values. the core calc is the same.
i'll post some remarks on different settings and study/usage observations on same thread here https://nexusfi.com/, and also be happy to receive feedback.
Update 20 Oct 2013: a variation of this study that tracks only the net avg volume ratio has been posted here https://nexusfi.com/?view
thx, K
Posted some examples on how to use in reading charts and action https://nexusfi.com/
Here's an interesting view of volume that I've been watching for a while. Added to the K_BetterVolume indicator I posted here a while back.
Instead of watching the classic volume bar by bar plot, I started watching the average buy vs sell for a period, which I found much more insightful. A stronger/more sustained price move is usually associated with a net volume avg forming in the same direction, also moves with no strong volume supporting them will possibly be short-lived- this simple way to view volume is especially useful when there's no easy way to track volume at bid/ask level, or if you don't want to go that deep...
Changes in this version:
A simple way to track Buy vs Sell volume for a given length of bars, "Directional Volume, or Volume Pressure or VXNet", which is the net of ratio of buy vs sell avg volume (WMA) to the overall volume average. inspired by a similar concept in one of Elder's study
added a volume buzz label calculation (the closest I could get to a VolBuzz calc in ToS, impossible to do in custom WatchLists or scans). By Changing the chart aggregation, I can check the VolBuzz (basically current bar's volume vs longer average volume of same time interval)
VXNet can be displayed on top of the "classic" volume plot, or separately .. changing plot settings enables to view it as a histogram, or just a simple green/red cloud.. see screencap for examples of how this study can be set
VXNet is zero-lag smoothed, however keep smoothing as small as possible (3 to 5) not to lose traction to actual volume trend change
informative labels, can be turned on or off - Dynamic coloring
Changes in V3 - May, 2013
--------------
Changed the Algo that calculates Sell / Buy volume to the same one developed by Barry Taylor at EminiWatch for TradeStation, and mentioned in our VSA for thinkorswim thread here https://nexusfi.com/
this algo does test well and provides a better signal (sometimes up to 3 bar improvment) than taking the whole volume bar as a buy or sell volume based on the close vs open technique in prior version..
The Dynamics coloring of the info labels still there, provides visual clue for major volume spikes that deserve attention
code is commented.. TOS Study setup "baloon mini-guide" also included.
Got my hands on ToS again, and we're back in business.. - here's a come-back gift...
This is my own ToS port of SVAPO (Short-Term Volume and Price Oscillator), a trading system introduced by Sylvain Vervoort that combines both volume and price trends to identify tradable setups - full details on the concept, and trade rules that he suggests are herehttps://stocata.org/ta_en/proprietary.html
took the concept and re-wrote it for ToS, using my own preferred techniques for smoothing and averaging - to achieve less lag and make the final plot more "friendly and usable" - while maintaining the overall original concept. (let me know if interested in exact details of the differences). also changed the resulting oscillator to a restricted range -100/+100 - no longer need to use the StdDev upper/lower lines..
the code is commented - the full details of how the original SVAPO can be used for signal generation are on web site above.
I also added the option to view the resulting plot in a Stepped mode or with an Inverse Fisher Transform - we still get almost no lag as we don't use unnecessary smoothing here. you can see how the signal (in this case crossing the zero line) is in line with the K_TraderRibbon on top, sometimes ahead of it.
suggestions for use:
use K_SVAPO along with a long-term trend indicator. if you set K_SVAPO correctly, it will provide unambigious signals on ideal entry points when the price retraces before continuing the trend.
you can also use 2 K_SVAPO, one longer and one shorter to provide a similar combo. in that case, i suggest you change one of them to the "Stepper" for easier viewing
as usual, appreciate if you keep in the forum. all feedback & comments welcome, as i'm still testing this anyways,
Updated with V2a, corrected only the channel type names (for technical correctness).. Donchian Channel is the Highest/Lowest for a period, which produces a boxy-looking channel.. that's my favourite (google Donchain system). i don't know a technical term for the channel when you take an EMA of highest/lowest which produces a curvy-type channel, so i refer to it as DonchianEMA. the rest is the same .. no calculation changes...
Here's a "Swiss Army Knife" study for fellow ToS'ers .. big thank you to my good forum friend, HGuru, for helping me complete this ...
this is a many-in-1 study, that provides a choice of price channel of many that are commonly used (Keltner, Highest/Lowest, Elder, Keltner, Bollinger..etc), and provide 2 types of signals, based on momentum of 2 EMA lengths of price (Length & Fast_Length):
1 - the primary Momentum signal is based on the main length you set in the study, and is reflected in the color of the price channel itself (green = Up = go Long, red = Down = go short, yellow = retrace or "in-transition")
(pls remember this is momentum and not trend .. though the study has the word "Trender" in the name)
2 - the secondary signal is based on momentum of the fast length EMA. and is only Up or Down. (i would usually take Up position in a green channel or down position in Red channels, so maintain direction with the primary momentum)
there are many other settings we built-into the study to play with and customize for improved visualization. better visual = better decision.. you see in the screenclip how many "personalities" we can get with different options. from settings you can do anything from hiding all elements and leaving only the secondary signals, to fully using it as your trading system, if your system is built around ATR or BB, with the added benefit of the momentum signal. you can combine with other studies you have (i'd suggest a trend following study) for a compact system that won't require lower plots (beside volume if you need it).
the calculation/CPU load this study requires isn't that much, even though it looks packed.
Settings to change length, Fast, Channel Type, the factor for the channel (for BB this would be the StDev, for Keltner the ATR factor, for Shifted EMA's the percentage...etc) - Hide the channel shading, hide/show the lines (the EMA's, the mid-channel, channel bands..etc)
there's an aggressiveness factor built in that we can set - basically this is like saying, "if the Fast Trend is decreasing and becomes less than 10%, this is as good as a negative momentum, and i want to trigger a signal to go short". Leave at 0 until you test this in your own setup and get comfortable with it.
the code is commented, and i'd ask to please keep this study only within BMT as it took a lot of work.
This study was inspired by the 9/30 method setup... hope others will find it useful. it's amazing how few lines of code can produce something as effective and nice looking (they don't have to be ugly, you know... )
The K_Trader_Ribbon is a trend following setup based on 2 crossing-MA's concept.
we use WMA and an EMA of shorter length of that WMA.
the "ribbons" shade the area between the EMA, the WMA, and the midline of the Hi/lo Channel of the WMA.
the price/WMA will be on either sides of that channel depending on up/down trend ..
visualizing it this way hides a lot of unnecessary noise..
we can also better visualize the "buy" area (light shading) and the "exit loss" areas (inside the darker shades or if price penetrates the TrendLine)
added a buy/sell signal (up/down arrow) based on the crossing of the WMA with it's EMA (it provides the earliest signal) beside the color clue (red/Green) for an established trend up or down.
couple of nice visual enhancements to expereiment with(hi-contrast clouds and hide/show all lines) - see screenshots
try different length settings.. i liked 4/3 and 6/3 on a 5min chart..
Adjust length settings based on underlying & time aggregation until you see the price bars penetrating the ribbon to the other side of current trend *just before reversal*, and staying within the ribbon during retraces.. this will be the best settings in most cases..
updated .ts file to reflect correct version # and add a quick change log.. no code changes. thanks to Hguru for the feedback...
Another update from previously posted KR_Trender_v4 for ToS. Inspired by some research around the 9/30 method, i needed something to show me the fast price move on the short-term compared to the prevailing longer-term trend to better identify entry points. initially i used Slow/Fast Stoch & Stoch Momentum but wasn't convinced. I went ahead and added a Fast_Momentum to KR_Trender.
for me, this is a 3 in 1. The concpet behind the calc of Fast_Mom and Trender lines is close to MACD (but more elaborate as we look at 3 EMA's not 2 - and Trender is bounded -100 to 100, where MACD isn't). then we have a representation of fast momentum (save the space of my SMI), and we have the "full trend flag" indicator when the price AND all the 3 EMA's align in a full trend formation.
on the top screen, i show the actual 3xEMA setup i used to originally develop the concept of KR_Trender, the shading is based on a BB, but has nothing to do with Trender, but it changes color based on the Trend state (Full up, Full Down, or in-Transition).
- Fast_Mom is calculated as score of the fast EMA vs it's own Hi/Low Channel. this is the same concept used by Stoch & Stoch Momentum, but then it's scaled to same scale as the main trend line - enabling mathematically comparing the 2 as rate of change of price taken from 2 diferent views.
- a crossing between Fast_Mom and Trender means the rate of price change on the short term has started to exceed, slow, or change direction from the longer-term rate of change. A crossing of zero means the shorter-term trend is reversing. if that's strong enough of a move, the longer trend will follow.
- once you get to use it, you will see the 2 lines sort of pull each other. retraces and pullbacks that provide good position entry points are much clearer as identified by the Fast_Mom line (that was my main issue)
- i kept PPS (Person's) indicator on top chart - Fast_Mom compares very well against PPS signals. many times beats it to indicate a change up or down. so that made me happy.
Other improvements:
- can show/hide Fast_Momentum plot
- can change length of Long_term Trend period. if equal to or below the main length, it will be ignored.
- Adjusted smoothing calc to only use EMA smoothing, as HMA causes an issue with chart labels in ToS
- Fast_Price_weight now 0 by default to allow focus on long-term trend and Fast_Momentum.
- Fast EMA is always taken as half of the main length
suggested Length/Long_Trend settings: 10/20 or 8/16 for intraday and 20/40 or 20/50 for longer term. Should not use Length lower than 4.
i used KR_Trender on a 5min chart as well as on daily/week . initial results are positive and tested well in live trading.
feel free to use, comment and feedback, and please keep only within BMT.
here's a quick one.. inspired by range charts, but simplified and still painted on regular time charts..
i needed something to help me spot common S/R levels and also watch price moves between levels of either % of price or in blocks of a certain dollar value (0.2, 0.5, 1.0 ... etc)
default is to show moves in increment of 0.5% of all-time (based on chart) mid-price, but can be changed to better suit the time aggregation and the underlying price range we're looking at (for shorter timeframe, you may want to look at $.25 levels, for a stock like AAPL you want to look at a $5.0 increments and so on)
The percentage level value is always approximated to the nearest multiple of $0.1 to make it meaningful.
if there's a setting in Override Range Unit, then that's the one the study will use as a unit for the incermental levels.
you can show/hide the levels calc details labels on top using the study settings.
found it interesting and it helps hide a lot of noise from price - also comes closer to my own view of Darvas so thought to share for the Range Chart & breakout trading fans..
Cheers,
RedK
if you use a Momentum study to identify swings, or start/end of a price move, you may like this one.
in KR_SMI, i try to improve the visulaization and signal of ToS's Stochastic Momentum Index
1. i didn't like that it uses double EMA, so i changed that into a single-time EMA.
2. K Period, d Period .. confusing.. in reality SMI tries to identify the recent movement compared to a longer-term price shift. so i changed that into Look_Back_Period and Length
3. Signal is generated thru a crossing with a slower/smoothed EMA of SMI line. in reality, we can see the change of SMI line trend using colors and get an earlier signal for swings or price move shifting direction (Green = momentum up, red = momentum down, Yellow = possible swing detected)
4. crossing the zero line means a lot (momentum reversing). this is ignored in original indicator. so we added a zero line. Overbought/oversold are at +/-50% by default - but you can change that
screenshot shows how this compares vs the classic SMI in ToS
Best used together with a trend following indicator for a confirmed entry/exit signals.
just realized all the indicators i posted are optimized for dark chart background color. they will look ugly on light-color charts. sorry for that.
beware of a bug in ToS, when you use Inertia or Hull smoothing with AddChartLabel, and you try to enter a lower smoothing value in study settings, the indicator calc behaves erratically. if that happens, remove/re-add the study to your chart. i just found out about that and will report it.
as usual, please do not share outside BMT.
All feedback welcome,
RedK
Here is my big update of previously posted KR_Trender_v3 for ToS (aka, the Rainbow_Trender). My goal is to put together a trend detection indicator (based on multi-EMAs - the most basic and enduring concept), that makes it simpler to visualize good trends to ride, and more reliable to take positions, "add to position" in case of possible continuation, and exit if trend is found to be slowing down.
pls feel free to try with different instruments, timeframes, and provide feedback. (good & bad all welcome)...
So what represnts an ideal trend, when is a "Full Trend Alignment" detected?
this is based on the calculation of an average "score" of price relative to 3 EMA's of different lengths, and of these EMA's each to the next longer one. to explain in chart terms: a full up trend is detected when the price (P, i use HLC3 by default) moves and stays above EMA10, AND the EMA10 crosses above EMA20 AND EMA20 crosses above EMA40. otherway around for an established down trend. now I don't have to plot all these EMAs on my price charts . i can also add more weight to score of price action relative to fast EMA for reduced lag of signal
Note: the EMAs are hardcoded in the study. i set only one in the study settings, and then it takes half length of it as the faster EMA, and double length as the slower length .. i thought of making all 3 lengths adjustable from study settings, but preferred to keep this part simple. for bigger timeframe trend, i can set to 100, knowing it will take 50, 100 and 200 EMAs into the calc
Key changes for v4:
Simplify visulaization: removed vertical lines (found them nice but confusing), replaced with Chart Labels.
Better position decision making:
Added visual clue when a full trend alignment is detected (small green/red squares)
Chart Labels reflecting:
Trend Status Up, Down, or Retracing (Trend is slowing down or possibly reversing)
Strength of price move: Weak, Medium, and Strong
Position Recommendatoin: Long, Short, Break (this is where things get interesting. The position recommendation is made more strict. KR_Trender will only give a go "Long" or "Short" if a full trend alignment is detected (the Green/Red small squares) AND the move is sustained or getting stronger (in either directions up or down). otherwise, the recommendation is a "Break !" which means i should close the position, or add to it if other PA analysis tells me there's a chance of trend continuation.
Other changes:
exposed settings for desired Trend Level. i would keep it between 30 & 40, but you can try different values. also we still have an optional weight for score of fast price action relative to the 3 EMA's
Please do not share outside of BMT.. feel free to send me any feedback if you find this helpful in capturing trends (or not, or if you think i should simplify or add something i missed)
January 15th, 2013 12:12 AM jpstyles2002 Looks great and am excited to get it set up in my TOS charts...Just one problem for me though...not usre how to import t
his into my TOS charts as an indicaotr, can you give me some guidence as to how to import this indicator? My thank in ad
December 29th, 2016 01:08 PM WattMan Thanks for this looks promising as I use the default Stoch strategy within ToS in my current approach that I am trying t
o sharpen. Your indicator does add value. As I was trying to get a strategy version implemented, I wanted to know your t
houghts on how you would define entry/exit points on this indicator? You mentioned you use this on 5min charts, I typica
lly use 2h charts - while my strategy along with the default Stoch looks promising, your indicator is eluding me... Feel
free to PM me if you want to take this offline...
September 9th, 2012 03:05 AM Herbert Thank you for a well don Work
September 3rd, 2012 01:02 PM kareem40 thanks for all your work. Well done.
September 2nd, 2012 01:55 AM Cloudy Good going RedK, thanks!
September 1st, 2012 06:48 PM Hguru KR,
This looks very interesting. I just downloaded it and the heading says V5 but inthe study it says V4 is this correct. I
trade futures Crude/CL and Dow/YM have you tested it yet on futures and also is there a better time period that this stu
dy tends to look and work consistently better at. I tend to look at the tick charts and 1, 5 and 15 minute charts so jus
t wondering what to expect and what type of settings to have and also how do i get the top study as well.
December 6th, 2013 09:32 PM 1973Hog Thanks, RedK. Just wanted to let you know that I loaded this up to ToS and am experimenting with which Time Frames and S
ettings to use for short term Intra Day trading -- trading the intra day trends that last from 10-30 minutes.
Here is a chart of how I used your system to trade TNA today (12-06-2013). It works very well on a 5 min chart with 4,2
as the setting. It identified the Up trend in the pre market, the chop zone in the first part of the trading day, and th
en the Up trend from 1045 to 1155.
Thanks again.
October 16th, 2013 09:41 PM LukhyG Thanks for This great help
September 29th, 2012 12:33 AM ticker I would be grateful to anyone who can translate into Ninja?
September 15th, 2012 10:06 PM kareem40 Good work again. Nice to see more TOS indicators.
September 13th, 2012 04:47 PM Cloudy Nice, the colors help see the continuation trades. Thanks RedK