Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Updated January 18, 2015
Top Posters
looks_one
Big Mike
with 25 posts (24 thanks)
looks_two
cory
with 7 posts (8 thanks)
looks_3
LukeGeniol
with 5 posts (7 thanks)
looks_4
crazybears
with 4 posts (5 thanks)
Best Posters
looks_one
sctrader
with 2.3 thanks per post
looks_two
LukeGeniol
with 1.4 thanks per post
looks_3
cory
with 1.1 thanks per post
looks_4
Big Mike
with 1 thanks per post
trending_up
35,981 views
thumb_up
74 thanks given
group
18 followers
forum
65 posts
attach_file
19 attachments
January 23rd, 2011, 11:59 PM
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,621 since Jun 2009
Thanks Given: 33,356
Thanks Received: 101,989
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
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
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
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
January 24th, 2011, 12:16 AM
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,621 since Jun 2009
Thanks Given: 33,356
Thanks Received: 101,989
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
January 24th, 2011, 01:42 AM
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.
January 24th, 2011, 01:43 AM
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
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.
January 24th, 2011, 02:09 AM
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.
January 24th, 2011, 02:43 AM
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,621 since Jun 2009
Thanks Given: 33,356
Thanks Received: 101,989
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
January 24th, 2011, 03:28 AM
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.
January 24th, 2011, 11:17 AM
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
January 24th, 2011, 04:31 PM
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
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
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.
Last Updated on January 18, 2015