What Is New
Log of Changes and Improvements to Sierra Chart
This list contains major items of development, items which are notable, and changes and additions which users need to be informed about.
This is not a comprehensive changes and additions log. It only represents less than 25% of the actual development performed every day. There are not version notes for each version. The main Sierra Chart documentation is updated as needed relating to the changes and additions.
In addition to the below listed items for each version, there are also various low-level improvements, issues resolved, and small additions that a release has which are not listed.
- Corrected the problem that was causing an "Array Is Unallocated" error.
- Added ability and option to see the volume of a bar within a Volume by Price study.
- In the Volume by Price study, when using a dynamic period based on the window, you can now estimate the volume of each horizontal volume bar by moving around using the Chart Values Tool. The values are shown in the Chart Values Window.
- Completed development of the new Studies of Studies feature.
- Corrected a problem where some Advanced Custom Studies did not work on newer pre-releases.
- Added Average True Range function to the Advanced Custom Study interface.
- Corrected a problem when using old chartbooks which contained TPO/Volume Profile Studies.
- Corrected a problem where the SC Historical Data service failed to connect.
- A new integrated development environment (IDE) is now provided with Sierra Chart for development of Advanced Custom Studies. This consists of a special editor and a compiler. A new command (New/Open Advanced Custom Study File) has been added to the Analysis Menu. This lets you open a new or existing custom study source file in a very good editor we provide with Sierra Chart. After writing your functions, all you need to do is go to Tools >> Build Study DLL within the editor to compile your source code into a very fast DLL containing your studies. From within Sierra Chart you can add your custom study by going to Analysis >> Studies >> Add Custom Study. This is very simple. If your custom study was already on the chart, just press the Insert key to recalculate everything and it will include your changes. Additionally, there is a neat new text clip feature within the text editor to easily insert common code fragments. Simply double click the text clips to insert code fragments to where the cursor is located at. By default the editor is configured to show the text clips on the left side of the editor window.
- Some issues with the IDE compiler have been resolved.
- Corrected a problem with the time-stamping of bars in intraday charts arising from a recent pre-release. This did not affect data storage.
- Fixed an issue where some bars got merged together when "Include columns with no data" was not selected.
- Fixed an issue where studies added from a study collection would go into separate regions.
- Disabled error filtering for special symbols with DTN IQ Feed.
- Added the ability to select the study to base another study on. This lets you do Studies of Studies. This is still under development and not finalized.
- The TPO/Volume Profile Study has been modified so that the Start of Day can be specified to the second. Additionally, letter codes can now start at any time specified. For example, you can now start a letter at 7:42:04 AM, and with 30 minute increments, the letters would range from 7:42:04 AM - 8:12:04 AM, 8:12:04 AM - 8:42:04 AM..etc.
- Updated the OpenTick Client Software.
- Corrected a problem where after a reconnect to the data feed, quote request lines on a Spreadsheet would not automatically be updated.
- It has come to our attention that a very small handful of users have intermittently experienced a shutdown error when connecting to the IB data feed. This has been definitively determined to be a known bug in Windows or your third party firewall software. For an explanation and the solution, see help topic 17.7.
- We have added a second set of Start and End times to the Chart >> Chart Settings window. This allows for more advanced control over the bars to display and the starting time of bars. For example, bars in a 1-day chart can include data for the true trading day that starts after the prior days' day session. In other words, the bar does not begin at midnight, it will cover the 24hr period beginning in the prior day. There is also a command in the Chart menu called "Use Evening Session Times" and has a shortcut key. This allows you to switch between the day session and the full 24hr session. This is a new feature and if you find any problems or have any suggestions for improvements, please let us know.
- Fixed an issue with using AllocateColorArray in Advanced Custom Study functions.
- Fixed an issue where Advanced Custom Study DLL files were not unloaded when they should have been.
- Added the Custom Scale Control study.
- The TPO/Volume Profile Study has been enhanced to support different letters for periods under 30 minutes.
- The Previous Day OHLC Study has been renamed to Daily OHLC and has been enhanced to support the ability to display the OHLC of a specified number of days back (For example, Previous Day means 1 day back). You can set OHLC of How Many Days Back to 0 to show the OHLC of the current day, or even negative numbers to display the OHLC of future days.
- Improvements with Advanced Custom Study Interface and Language:
- We have made many major improvements to the Advanced Custom Study Interface and Language (previously called Custom DLL Study Interface). The objectives of all the improvements and changes described below is to provide a safe and easy environment to create custom studies and systems for Sierra Chart. If you have worked with the languages with other charting programs or other languages, you definitely will be able to easily create high performance and advanced custom studies and systems for Sierra Chart.
- We have adopted a new compiler: The Open Watcom C/C++ compiler. It generates extremely fast code. We have provided step-by-step instructions to use it and included an Open Watcom Project file with Sierra Chart you can open to immediately get started writing studies. Everything is already pre-configured with this project. The code provided along with the project includes skeleton functions to make it easy to quickly create new Advanced Custom Studies.
- Many new functions and variables have been added to the Advanced Custom Study Interface. Refer to the Advanced Custom Study Interface Variable And Function Members page for updated documentation.
- Safe arrays have been implemented in place of the old standard C arrays. With safe arrays, it is impossible for a study or system to cause instability in Sierra Chart if it violates the bounds of an array. Other safety features have been added. Recently developed code that is recompiled with the sierrachart.h header will automatically take advantage of these new safety features. In order to take advantage of the new safe arrays with the interface member functions, you will need to make some changes. Please review our examples and updated documentation for guidance on how to do this. Read further below to see a list of necessary changes.
- There have been some changes in the way that text strings, such as Input and Subgraph names are now set. Your code should still compile without any changes unless you have done something which is programmatically improper.
- Your study functions can be easily added to the chart without defining the SCDLLDetails function in your DLL.
- Dates and times have been changed to work as a single SCDateTime value. SCDateTime values supports 1-second time resolution.
- The studies.cpp file that is supplied with Sierra Chart has been fully updated to reflect all of these changes. Look at studies.cpp to see how everything should look and be used.
- Required Changes:
- Refer to the Advanced Custom Study Interface Variable and Function Members page for updated documentation.
- Any pointers to arrays need to be replaced with the type SCFloatArrayRef. If you had a pointer to one of the sc.BaseDataIn arrays, those need to be changed to a SCFloatArrayRef type. If you had a pointer to a Subgraph data array, those need to be changed to a SCFloatArrayRef type. If you use the sc.GetChartArray or sc.GetStudyArray functions, you will need to make this change for those as well.
- Some functions that use arrays, such as the moving average functions and the functions for getting arrays, need to have the ArraySize parameter removed. ArraySize is no longer needed because the new safe arrays have the member function GetSize() which returns the size of the array.
- sc.DateOut and sc.TimeOut do not exist any more. If you used these, you will need to update your code to use the sc.DateTimeOut array.
- Functions that are used with the syntax like: (*sc.Function)() must be changed to use the syntax like: sc.Function().
- The sc.SubGraphDataOut array is no longer supported. Use the sc.Subgraph.Data array.
- The sc.SubgraphName array is no longer supported. Use the sc.Subgraph.Name text strings.
- String functions (like strlen) can not be used on the new c_SCString members. Use member functions of the c_SCString class.
- Recommended Changes (Required in current Sierra Chart versions):
- Do not use sc.TimeOfLastFileRecord. Use sc.DateTimeOfLastFileRecord.
- Rename your study functions to begin with scsf_. Functions that are named with the prefix scsf_ must have a sc.SetDefaults code block at the beginning of the function. Functions that are named with this prefix can be taken out of the SCDLLDetails function if you used one. These functions will be automatically detected by Sierra Chart and be made available through the Add Custom Study interface. sc.GraphName needs to be set when sc.SetDefaults is set to 1 (TRUE) because you will be removing this setting from the SCDLLDetails function.
- Make use of the new, simpler method of defining study functions. Study functions that were defined like extern "C" __declspec(dllexport) void MyStudyFunction(s_sg& sc) should be changed to: SCSFExport scsf_MyStudyFunction(SCStudyInterfaceRef sc). This makes the code easier to read and ensures compatibility.
- Use SCDLLName to set the name of the DLL containing your functions and ensure that the DLL will will contain a version number to work with Sierra Chart. Otherwise, your study functions cannot be used.
- Once you rename all of your study functions to use the scsf_ prefix and use SCDLLName, you can completely remove the SCDLLDetails function from your CPP file.
- The Sierra Chart main window now has optional scroll bars that appear when you move chart windows beyond the main window's edges. This allows you to widen your workspace. You can then use the scroll bars to move charts in and out of view. To enable this option, select Global Settings >> General Settings >> Enable Workspace Scrolling
- Added the Fill Rectangle Top and Fill Rectangle Bottom subgraph draw styles. These work the same as the Fill Top and Fill Bottom draw styles, but they fill the entire bar from the top to bottom rather than following the contour.
- You can also use a single fill style if you wish to fill to the edge. That is, only applying the Fill Top style to a subgraph will fill from the subgraph to the bottom of the region.
- Updated the TD Ameritrade client to accommodate a change they made in the login process. If you use TD Ameritrade you will need to upgrade to this version.
- Corrected minor issues with IB historical data downloading relating to changes made in version 140 to download the number of trades per record. Corrected a problem with DTN IQ Feed historical data downloading where not all missing data from a chart was downloaded in some cases. Corrected a very minor issue with the TPO/Volume Profile study.
- Added the Study Overlay - OHLC study.
- Improved color coding for the SideWinder study.
- Users with expired accounts can still log into Sierra Chart with limited access. You will be restricted to certain historical symbols and cannot connect to a data feed.
- Made additional improvements with downloading IB backfill relating to changes made in version 139 to adapt to changes IB made to their system.
- The number of trades per data record from IB backfill is downloaded.
- Corrected a problem with TD Ameritrade integration where real-time updates for indexes were not being processed.
- Corrected a bug with opentick where the connection would time out after 60 minutes even though data was being received.
- Modified requests for IB backfill to work around backfill instability.
- Added an adjustable backfill timeout. This can be found by going to File >> Data/Trade Service Settings when using the IB service.
- The TPO/Volume Profile study End Date input is now disabled by default. This corrects a potential problem where an end date could cause a chart not to update under certain conditions.
- Corrected a bug with the Pivot Points study where the pivots would not show up in special cases when the prior day had no data.
- Added the T3 study.
- Corrected a problem that potentially could occur when downloading data where data may be out of order in the charts. Please upgrade ASAP if you're using version 135-136. If you see any data in the chart where the date and times are out of order, there are two solutions. You can go to Edit >> Export and Edit to view the data and delete or reorder any out of order data. For more information on this, see the Exporting and Importing page. Or you can delete and refresh the out of order data by going to Edit >> Edit Data. For more information on this, see the Intraday Data Editor page. If there is any out of order data, it is most likely to be at the beginning of the file.
- Corrected a problem where the displayed starting time of bars may be inaccurate when using odd bar periods.
- Added the "Moving Average-Hull" study.
- Corrected a problem with the Chart Calculator tool not showing the time difference.
- Other minor issues resolved.
- Corrected a problem where the price bars were not colored to the global color settings.
- Corrected a problem where the windows were not listed on the bottom of the Window menu.
- All of the Woodies CCI trading club studies are now built in for easy access. To use these, select the "Woodies Built-In" Study Collection from the Analysis menu. The Woodies panel will also be made available shortly as a built-in professionally programmed study. The advantage in using these studies is they provide greater efficiency due to professional programming. They also use safe arrays to eliminate any possible potential for instability. Very shortly our custom DLL study interface which has been used for the Woodies studies will be enhanced to provide safe arrays for custom studies so they cannot cause any instability due to data array access errors.
- Added 16 float variables and 16 integer variables to the custom studies API. These variables can be used for persistent data storage between function calls. However, they are not saved to disk unlike the StorageBlock.
- A new dialog has been added to the Volume By Price study making it easier to configure.
- Corrected a bug with IB where in certain unusual cases, Historical Intraday Data Downloading would be skipped.
- Corrected a problem with the Chart Replay feature where the replay was canceled after reloading the chart during a paused state.
- The TPO/Volume Profile Split and Merge function has been improved to merge together separate TPO Periods as well. To merge 2 periods, double click between 2 TPO periods. After 2 periods have been merged, you can split them back apart by splitting the TPO chart at the beginning of the 2nd period. To do this, double click on the TPO letter which represents the first time increment for the 2nd day.
- A new Reset TPO Chart command has been added to the Chart menu. This will reset all the split/merged TPO's back to normal.
- Added the SideWinder and Chop Zone Indicator Studies. These are now built in studies, they can be found by selecting Analysis >> Studies on the menu.
- Corrected a problem from a recent release with the DTN IQ Feed integration where the processing of data was incorrectly handled.
- Corrected a problem with the Adjust for Split function, which caused Volume to be set to 0 in Intraday Charts.
- TPO/Volume Profile charts now support Splitting/Merging TPO's. To do this, simply double click on a TPO letter to split a TPO chart from that point, or double click in between 2 already split TPO charts to merge them back together. Note that although any tool can be used while double clicking, it is best to use the Pointer or Crosshair tool so that no accidental lines/text are drawn.
- Corrected a problem with the True Strength Index (Ergodic) study which made the study display improperly on updates.
- Corrected a DTN IQ Feed time-stamping problem. This problem was only from a recent pre-release. This problem could have caused charts not to update.
- Corrected a problem that could have caused an abnormal shutdown while downloading historical data when using an invalid symbol with the TransAct service.
- Corrected a problem with TPO and Volume Profile Charts that did not correctly update the TPO Chart when specifying the Start of Day.
- Corrected a problem with the UseTool DLL function which may have prevented some lines/texts from being added.
- Added a countdown field to the chart header. This displays the remaining time/ticks/volume/range until the next bar. To use this, go to the Global Settings >> Customize Chart Header window.
- The port number used when downloading historical intraday data when using the TransAct service, has been changed. Some ISPs were blocking the old port number. This prevented the downloading of historical Intraday data and would cause a timeout error. The port is now 10149.
- The Pivot Point study has been modified to support R4 and S4 lines.
- Added 2 new formula types to the Pivot Points Study. The first calculates Open Price Pivot: (Yesterday's High + Yesterday's Low + Current Open + Current Open)/4. To use this formula, set the Formula Type Input to 3. The second calculates pivot points using the standard classical formula's for R3 [PivotPoint + 2 * (High - Low)] and S3 [PivotPoint - 2 * (High - Low)]. To use this formula, set the Formula Type Input to 4.
- Added a new UseToolEx function for custom DLL studies. Documentation will follow shortly. Refer to the UseToolExample function in studies.cpp.
- Corrected a problem with the TPO and Volume Profile study which would cause an abnormal shutdown when the study was used.
- All of the Pivot Points studies have been combined into a single study. You can select the levels you want to display by going to the Subgraphs tab in the Study Settings window for the study. Change the Draw Style to Line for a level to display the line. Or set the Draw Style to Hidden to hide a level.
- Modified the True Strength Index study based on Bill Blau's ergodic TSI to support the Signal Line MA, Oscillator, and a Multiplier. For more information see the documentation page.
- A new option has been added to the General Settings Window. You are now able to use any Study Collection as the Default. This setting will automatically assign the selected Study Collection to all new charts. By default, the last Study Collection used before this release of Sierra Chart will be selected. If you have previously defined a study collection named Default, then you need to select it from the list and enable the Use Default Study Collection option to use it.
- Added support for the opentick service.
*Last modified Wednesday, 19th December, 2018.