Coding
Trades Based on a Different Trading System
May 14, 2014
One of the questions we received recently was if it is possible to trigger a trade in a certain market based on another trading system trading a different market. The answer is yes. Here is how to do it and some traps to watch out for.
... more
Trade System Optimizer
May 06, 2014
In my previous article, Backtesting Tip: Parameters inside CQG Code, I discussed the different parameter types and how to use them. This is important for all backtesting users because only values created as a parameter (Parms) can be optimized... more
Parameters inside CQG Code
Apr 30, 2014
We are getting a lot of questions about CQG parameters (Parms). In CQG, parameters are used for everything that needs to be controlled from the user interface and only Parms can be optimized.
The window above shows an example of a... more
Close vs. Open in Trading Systems
Apr 17, 2014
The Peak-Ahead Problem
For most people the quick and dirty method of building trading systems using the signal bar closing price is good enough to judge a trading system. (CQG's formula toolbox gives you the close as the... more
Heikin-Ashi Charts
Apr 14, 2014
In CQG 2014 we will introduce three new chart types plus sub-minute bars, such as ten-second bar charts. In the next few articles we will have a short look into each one of them, starting with Heikin-Ashi charts.
Heikin-... more
Renko Charts
Apr 07, 2014
In CQG Integrated Client version of the year, CQG 2014, we have introduced four new chart types: Heikin-Ashi, sub-minute bar, range bar, and Renko. In this article, we will look at Renko charts.
A Renko chart is a... more
Measuring Price Movements
Jan 15, 2014
In this article, we measure the price action between a significant high and a significant low identified by CQG's ZigZag study. The ZigZag study is a useful graphical tool that connects significant turning points together. The study draws a line... more
Protecting Your Formulas and Including an Expiration Date
Dec 02, 2013
Occasionally we receive requests from traders asking how to protect their own formulas from being viewed and modified by someone else. Here is a short guide detailing the steps.
The quick way is to select the Hide Formula when 'Deny Copy'... more
Seasonal Analytics
Nov 15, 2013
This short article is not a huge programming exercise, it is mainly about a smart way to see seasonal behavior in an overlay chart. Here is the result we would like to have:
The blue line is the current soybeans contract and shows... more