Tag Archives: Trading

An Error Correcting EMA

This post is about a new MA I recently implemented which is currently available for Sierra Chart and Ninja Trader. Moving averages, in general have two attributes to them. One is smoothing. The other is a lag. In a sense, there is a sort of tug of war between these two traits – the more […]

Jim Berg’s Truth About Volatility Trading System

I came across Jim Berg and his ATR system a long time ago when a user asked me to create a version of it for Sierra Chart. The full system is described in “Stocks and Commodities” magazine February 2005 issue in an article called “The Truth About Volatility” by Jim Berg. Jim’s method caught attention […]

Sierra Chart | Study ACSIL

Sierra Chart | Referencing a Study with Sierra Chart ACSIL Sometimes you need to reference a study from within your own study. As an example, say you have a study that uses the Sierra Chart built in “Swing High and Low” study for some calculation.With references, the study user will do the following: Adding the […]

Sierra Chart | Finding ACSIL

Sierra Chart | Finding ACSIL Example Code Finding reference code and examples of ACSIL is not only a great way to learn but also a great way to speed up work. Apart from the Sierra Chart Support Board and other forums like BigMikes, I have found the ACS_Source folder that comes with Sierra Chart to […]

Sierra Chart | Limit Order

 Sierra Chart | Creating and Submitting a Limit Order in Sierra Chart I was asked by someone how to create and submit a LIMIT order in Sierra Chart ACSIL. Below is a short snippet with notes at the bottom. s_SCNewOrder order; // define order structure order.OrderQuantity = 1; // set order quantity to 1 order.OrderType […]

Sierra Chart | Custom Study

Sierra Chart | Handling “function or variable may be unsafe” unsafe when compiling Sierra Chart Custom Study You are compiling your study and getting these warnings. We want the output of compiling to be clean. No errors and no warnings. 1>—— Build started: Project: demo, Configuration: Debug Win32 —— 1>  SCStudies.cpp 1>d:demosierrachartacs_sourcesierrachart.h(385): warning C4996: ‘strcpy’: […]

Sierra Chart | Custom DLL

Sierra Chart | The Anatomy of a Sierra Chart Custom Study DLL Custom studies have a skeleton or structure to them. This structure is the basis of how a custom study fits in with the application itself. The structure can be broken down into four major components. The “physical” DLL file The Sierra Chart DLL […]

Sierra Chart | Persistent Variables

Sierra Chart | Persistent Variables with Sierra Chart It is common when programming indicators to have to retain a value between subsequent calls to your study function. These are cases where you need to store some value that has just been calculated for some future use. Some examples of this include: Retain the index on […]

Sierra Chart | Visual Studio

Sierra Chart |  Visual Studio and Sierra Chart – Project Setup Summary: Demonstrates step by step howto create and configure an initial project in Visual Studio 2010 Express, compile the project and make some simple changes to the default names. Videos are separated into three parts due to size and viewing convenience Part 1 – Setting up […]

Sierra Chart | Visual Studio Started

Sierra Chart | Getting Started with Sierra Chart and Visual Studio Below is material to assist with a kick start to developing custom studies with Sierra Chart and Visual Studio. To follow the videos, it helps to have both Sierra Chart and Visual studio installed. The videos are recorded using SC version 892 and Visual […]