NexusFi: Find Your Edge


Home Menu

 





Sierra Chart Cumulative Delta


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Big Mike with 25 posts (24 thanks)
    2. looks_two cory with 7 posts (8 thanks)
    3. looks_3 LukeGeniol with 5 posts (7 thanks)
    4. looks_4 crazybears with 4 posts (5 thanks)
      Best Posters
    1. looks_one sctrader with 2.3 thanks per post
    2. looks_two LukeGeniol with 1.4 thanks per post
    3. looks_3 cory with 1.1 thanks per post
    4. looks_4 Big Mike with 1 thanks per post
    1. trending_up 34,866 views
    2. thumb_up 74 thanks given
    3. group 18 followers
    1. forum 65 posts
    2. attach_file 19 attachments




 
Search this Thread

Sierra Chart Cumulative Delta

  #1 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,446 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,610

OK I am having a bit of trouble getting Cumulative Delta to plot as a candlestick in Sierra Chart. I am a novice SC user. I wanted to separate this topic out of the " What about Sierra Chart" thread so that thread isn't just a catch-all for everything.

I tried this method by @sctrader:


sctrader View Post
BigMike,

I don’t know if you figured out how to set up CD but, if not, you can do what has been suggested above or below are specific steps of one way to do it.
1) Once you have your intraday chart set up you add 2 studies. First add the BidVolume vs. AskVolume study and then click the Settings button. Under the Subgraphs tab
a) for the Draw Style select Ignore for Ask Volume, Bid Volume, and Zero Line.
b) for Difference (SG5) select Bar for Draw Style. Then under Auto-Coloring, select Based on +/- and then just above auto-coloring adjust for the two colors you want. Don’t forget to check Show under Value Label to display the number.
This will plot the delta for each bar. If you don’t want this and just want CD then just select Ignore under Draw Style for Difference(SG5)

2) Then add Cumulative Sum of Study and again click Settings. Under the Settings and Inputs tab, change SG1 to SG5 under Input Value.
Then under the Subgraphs tab you will see only Sum(SG1) and do the same changes as for Difference in 2b.

It was the simplest/easiest but it produced a bar chart but it is based on a +/- zero line. I wanted a candlestick chart with up and down bars. I tried changing the Subgraph Draw Style from Bar to Color Bar Candle, and that just produces an empty/blank panel.

I was going to try @cory's method:


cory View Post
a sample of a chart book of building 1m delta bar out of 1 sec delta bar

remember to put dll in /data folder

things to look for
- overlay study adds data source to its name to prevent the confusion in case you use multiple overlay studies.
- I point to chart #11 but you may have to change it to a diff number in case it doesn't do it automatically.

But the DLL is missing and no link provided to it.

Then @LukeGeniol mentioned this method:
Sierra Chart - Help Details - Cumulative AskVolume and BidVolume Difference Bars ([AUTOLINK]Cumulative Delta[/AUTOLINK])


Quoting 
There are two charts required for the final study. There is a chart with a very short timeframe per bar, 1 second, and then another chart with a timeframe that the bars are displayed on.

On the 1 second chart, there is the BidVolume versus AskVolume study. This allows us to have access to the BidVolume and AskVolume over a very short timeframe per bar for the next the studies used. It is not recommended to set this chart to 1 Tick because that generally is less CPU efficient.

On the 1 second chart, there is the study Cumulative Sum of Study that performs a summation of the AskVolume from the beginning of the trading day. This summation is reset at the start of each trading day. To disable this reset functionality open the Study Settings window for the Cumulative Sum of Study and set the Reset at Session Start Time (Reset at Start of Trading Day) Input to No.

On the 1 second chart, there is a second study Cumulative Sum of Study that performs a summation of the BidVolume from the beginning of the trading day. This summation is reset at the start of each trading day. To disable this reset functionality open the Study Settings window for the Cumulative Sum of Study and set the Reset at Session Start Time (Reset at Start of Trading Day) Input to No.

On the 1 second chart, there is the study Difference-Study Subgraph which simply calculates the difference between the cumulative AskVolume in the cumulative BidVolume by referencing two prior studies.

The next step is to create longer duration bars of the 1 second cumulative difference. On the 5 minute chart we use the study Study Overlay-OHLC which references the Difference-Study Subgraph study from the 1 second chart and creates Candlestick bars. That is it.

Using the Chartbook

To use this chartbook select File >> Open Chartbook and select the chartbook named: Cumulative_AskVolume_BidVolume_Difference_Bars.cht. If you do not see a chartbook with this exact name, then please install the latest prerelease of Sierra Chart. This chartbook also will be overwritten every time you upgrade Sierra Chart. Therefore, if you want to save changes to it, then use Save As on the File menu and give it a different name.

You will see two charts open. One chart will have a very short timeframe per bar (1 second by default). And the other chart will have a longer timeframe per bar (such as 5 minutes per bar). The symbol of the charts in the chartbook will likely be old or not matching to the symbols used by the data or trading service you are using, and will need to be updated. To update them go to one of the charts and select Chart >> Chart Settings. Enter the current/correct symbol in the Symbol box. Press OK. The other chart will automatically update to the same symbol as well because there is a link (Chart Linking) established between them.

If you have set the Cumulative Sum of Study studies to not reset at the start of the trading day, then you will want to go to the chart with the very short timeframe bars and set the Days to Load setting in Chart >> Chart Settings to the number of days that you want the Difference Bars based on.

If you wish to use these charts in one of your existing chartbooks, then you will need to duplicate both charts into another chartbook. To do this use Chart >> Duplicate Chart to Chartbook on each of the charts.
After you duplicate the charts to another chartbook, you will need to go to the longer timeframe per bar chart which contains the Study Overlay-OHLC study and set the Chart Number input for that study to reference the shorter timeframe per bar chart. You need to look at what the chart number (#) is of the shorter timeframe per bar chart and select that one from the list.

Missing Data: If you are missing any data in the chart for the day or missing bid volume and ask volume, then the Last value for the last bar in the chart may not be accurate. You may want to refresh the data following the instructions in help topic 7.1.

But this is the most complex, and I thought someone mentioned there was a way to have cumulative delta bars (candles) without having to do two charts (one driving another). A simpler way.

Still trying to figure this out.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,446 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,610


So I made progress using the last method (it looks harder than it really is). But this method is resetting the CD on each session it would seem (see attachment) whereas @sctrader's method was not reset on each session. I am a novice at CD, but I know @FulcrumTrader doesn't reset his daily.

I checked both charts (primary 6 range + 1 second CD) and they both have 00:00:00 to 23:59:59 session times, I couldn't figure out where/why it is resetting the values for the study on a new session.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Attached Thumbnails
Click image for larger version

Name:	1-23-2011 11-13-55 PM.png
Views:	923
Size:	112.5 KB
ID:	29065  
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #4 (permalink)
 
LukeGeniol's Avatar
 LukeGeniol 
Italy (IT) Italy
 
Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker: Rithmic
Trading: CL, Brent, GC, TF
Frequency: Daily
Duration: Minutes
Posts: 1,499 since Apr 2010
Thanks Given: 408
Thanks Received: 985

@Big Mike, here you go: right click on 1 sec chart--> Studies:


Take your Pips, go out and Live.
Luke.
Reply With Quote
Thanked by:
  #5 (permalink)
 sctrader 
Las Vegas, NV
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Optimus/Rithmic
Trading: es
Posts: 36 since Aug 2010
Thanks Given: 19
Thanks Received: 61


Big Mike View Post
So I made progress using the last method (it looks harder than it really is). But this method is resetting the CD on each session it would seem (see attachment) whereas @ sctrader's method was not reset on each session. I am a novice at CD, but I know @ FulcrumTrader doesn't reset his daily.

I checked both charts (primary 6 range + 1 second CD) and they both have 00:00:00 to 23:59:59 session times, I couldn't figure out where/why it is resetting the values for the study on a new session.

Mike


You have to go the 2 Cumulative Sum of Studies in the 1 second chart and, under the Settings and Inputs tab, change the input value of Reset at Start of Trading Day from the default yes to no. Don't forget to do it for both.

Reply With Quote
Thanked by:
  #6 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

looks like you get first tier SC service over here.

Reply With Quote
Thanked by:
  #7 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,446 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,610

Awesome, thanks guys.

I am still having a small issue. There is still some gap in the CD data, see panel 2. I tried changing the source chart from 1 second to 1 tick, it made no difference. These gaps are infrequent, but present. And it screws up the moving average because when there is a gap the value of '0' is used on the moving average, which then subsequently also screws up the panel scale.

Why am I seeing these gaps in CD data?

I've added the MA because I was just trying to duplicate @FulcrumTrader's chart and that is what exposed the issue.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Attached Thumbnails
Click image for larger version

Name:	1-24-2011 1-41-27 AM.png
Views:	597
Size:	18.5 KB
ID:	29070  
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #8 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

from SC support looks like if you have no data with that time stamp they just leave it blank.

Reply With Quote
Thanked by:
  #9 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

you can create s/r zone by click on [erhl] extend high light button, then click on anywhere you see a zone they will last forever

Reply With Quote
Thanked by:
  #10 (permalink)
 
LukeGeniol's Avatar
 LukeGeniol 
Italy (IT) Italy
 
Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker: Rithmic
Trading: CL, Brent, GC, TF
Frequency: Daily
Duration: Minutes
Posts: 1,499 since Apr 2010
Thanks Given: 408
Thanks Received: 985



Big Mike View Post
Awesome, thanks guys.

I am still having a small issue. There is still some gap in the CD data, see panel 2. I tried changing the source chart from 1 second to 1 tick, it made no difference. These gaps are infrequent, but present. And it screws up the moving average because when there is a gap the value of '0' is used on the moving average, which then subsequently also screws up the panel scale.

Why am I seeing these gaps in CD data?

I've added the MA because I was just trying to duplicate @FulcrumTrader's chart and that is what exposed the issue.

Mike


cory View Post
from SC support looks like if you have no data with that time stamp they just leave it blank.

Ok, i found a way to overcome this issue, you have to use 1 tick chart instead 1 sec for better CD result, the on the 6 range bar chart use the Study/Price Overlay study:


Then you have to set Fill Blanks With Last Value to Yes, the you have to input Chart Study the 6 range chart and the Ovrly-OHLC of Study Subgraphs (i.e. the total ask bid vol diff bars study):


Hide the Total Ask Bid Vol Diff Bars study, adjust the subgraphs region and it's done:

Take your Pips, go out and Live.
Luke.
Reply With Quote
Thanked by:




Last Updated on January 18, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts