Login Page - Create Account

Support Board


Date/Time: Tue, 24 Apr 2018 08:17:15 +0000



[User Discussion] - Offering To The Community: Volume Bars Stacked By Tick

Support Request:
[2015-07-10 05:02:08]
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:

Volume Bars Stacked By Tick. 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 shows a traditional volume bar split by buy and sell volumes as opposed to being a traditional entire buy or sell volume bar.

As of this programming, Sierra Chart doesn't have a stacked bar output feature. This is simulated using a trick from gnuplot by partly overwriting an existing bar. "Total Volume" should be the same color as "Sell Volume" (typically red). A red bar drawn on top of a red bar will look like the larger red bar. "Buy Volume" is then drawn on top again to show the usually green bar. Because of this, changing the bar colors may lead to unexpected consequences. For this reason, separate "Buy Color" and "Sell Color" entries have been made on the "Settings And Inputs" page. Change these two colors to your preferred settings and the rest of the bar colors will be automatically set. "Volume MA" still has its color on the "Subgraphs" page.

Observations. Institutions are known to manipulate bar open and close values to make the bar look like it was totally an up or down day. In reality, they may be buying or selling with or against the bar behind the scene. Having an accurate intraday volume count helps expose those patterns.

The three data bars are left independent in case someone wants to change them to line graphs to experiment.

A volume average line is included and can be disabled if desired. Normal values are 9 and 21 periods. SMA 9 is known to be a good activity indicator. When volume is above the line, a new movement is taking place. When volume then drops below the line, the movement is ending.

-----
Minor update 2016-10-15. No major function changes.
Regular compiles moved to "Brett Johnson's Standard Tool Kit" DLL.
https://www.sierrachart.com/SupportBoard.php?ThreadID=18945
Date Time Of Last Edit: 2016-10-15 07:07:45
attachmentVolumeBarsStackedByTick.cpp - Attached On 2016-10-15 07:07:30 UTC - Size: 9.08 KB - 47 views
attachmentVolumeBarsStackedByTick.dll - Attached On 2016-10-15 07:07:36 UTC - Size: 78 KB - 38 views
[2016-10-15 07:08:00]
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.
[2016-10-15 07:40:43]
NumbersBars - Posts: 141
Is it possible for you to create just one of two threads for all your contributions? instead of flooding the support board with individual indicator.

Just a suggestion.
[2016-10-15 08:27:06]
bjohnson777 (Brett Johnson) - Posts: 221
A single thread would be a useless mess. I've named all the threads clearly. If you don't want to read them, then just scroll past. I also did this in the dead of night on a weekend so most won't even care.

I tend to agree that I'd prefer to post elsewhere, but there isn't. SC really needs a separate place for source code. The MT model is much better if SC can implement it without becomming MT.

The M$VC++ change over requires some warnings. Considering how long it takes to do all this, I don't plan on repeating this anytime soon. I've got too many other things demanding my time.

Cheers

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

Login


Login Page - Create Account