Login Page - Create Account

Support Board


Date/Time: Thu, 19 Apr 2018 11:18:06 +0000



[User Discussion] - Offering To The Community: Adaptive Volume Ratio Moving Average By Tick With Filters

Support Request:
[2015-07-26 15:47:40]
bjohnson777 (Brett Johnson) - Posts: 221
I've been programming some indicators from my base tool kit and am offering them to the community. I request they be added into the main SC distro once checked over.

From the "Display Study Documentation" button:

Adaptive Volume Ratio Moving Average By Tick With Filters. To properly use this indicator, Sierra Chart must be set up in tick by tick mode with intraday bars. If all "Input Data" options show a straight line at 0.0, then tick by tick data is not available or not enabled. Note that some volume data is only available when the market is open.

This indicator turns the Up/Down Volume Ratio into an Adaptive Moving Average. It is generally faster than Adaptive IIO and Adaptive OBV RSI. It is pretty much guaranteed that you will have to tune the "AVRatio Scale Factor Change" number because of movement variances between different securities. The Scale Factor number will speed up or slow down the AMA line. To tune for fast mode, start the AMA line slightly slower and speed it up until it just follows the price line. This will show short term price movements that are weak and over shoots. To tune for slow mode, start the AMA line slightly fast and slow it down until most of the price movements are above or below the AMA line. The Up/Down Volume Ratio Limiter will slow down the AMA line on low volume and help identify weak and false moves. For a more complete picture, it is recommended to use this indicator with Up/Down Volume Ratio or Difference, OBV By Tick using the MA Ribbon option, OBV By Tick MACD, and OBV By Tick RSI to help see the volume moves to identify the trend.

The AMA engine uses the traditional Up/Down Volume Ratio but adds a limiter to reduce the value on low volume. This helps reduce the large ranges on low volume that can blow out the scale. With the limiter in place, this is not a ratio with a 100% scale. It is very similar to Up/Down Volume Difference but much slower to calculate because of searching for the Highes Value average. The Highest Value average takes the selected number of highest values for a time period and averages them to a high value line. Anything above the line is ignored. Anything below the line gets the output ratio scaled proportionally by the limiter. Despite the higher number of calculations per bar, this helps identify which of the big peaks/dips are real or not. This indicator solves the problem of the ratio line jumping on each new bar with little data. This also makes it easier to use with automated trading systems.

This indicator version has a second smoothing option. The ratio data is very choppy and extremely noisy. The second moving average can be of any type and will help clean up the line. Smoothing with a larger number isn't as effective as double smoothing with a number half that size.

This indicator version has a Volume Filter option to handle cases when a volume spike smashes the indicator making it hard to read. Large institutions sometimes do this to hide their activity afterward. The "Straight" option passes volume data through without any filtering. The "Log" option runs each volume bar through the log function making a type of "log scale". The "Square Root" option runs each volume bar through the square root function making a type of "square root scale". The "MA Clip" option will clip volume above a chosen moving average.

-----
Minor update 2018-01-31. No major function changes.
Regular compiles moved to "Brett Johnson's Standard Tool Kit" DLL.
https://www.sierrachart.com/SupportBoard.php?ThreadID=18945
Quick compile instructions:
https://www.sierrachart.com/SupportBoard.php?PostID=114621#P114621
Date Time Of Last Edit: 2018-01-31 07:02:00
attachmentAdaptiveVolumeRatio_MAByTick.cpp - Attached On 2018-01-31 07:01:46 UTC - Size: 16.08 KB - 17 views
attachmentAdaptiveVolumeRatio_MAByTick.dll - Attached On 2018-01-31 07:01:52 UTC - Size: 819.5 KB - 12 views
[2016-10-15 06:36:32]
bjohnson777 (Brett Johnson) - Posts: 221
Today's DLL was compiled with the M$VC++ change over.
You may need to update your SC version.
Keep your previous DLL version until you've tested the new compile.
Most changes were made to shut up useless M$VC++ warnings when compiling.
There are a few compile warnings left about "argument" that can be ignored.
No real functionality changes have been made.
[2018-01-31 07:02:22]
bjohnson777 (Brett Johnson) - Posts: 221
Updated the "by tick" versions to cleanly compile with version 1689.

To post a message in this thread, you need to login with your Sierra Chart account:

Login


Login Page - Create Account