09.12.2012 Views

Charting and Studies User Guide - CQG.com

Charting and Studies User Guide - CQG.com

Charting and Studies User Guide - CQG.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Page 550<br />

interpret divergence by isolating a change in direction of the Stochastic %K or effectively the<br />

moving average of Stochastic %K, which is by default the Stochastic %D. At that moment the<br />

value of the study itself <strong>and</strong> the default value of the bar is recorded. Divergence is qualified<br />

when they move in opposite directions on a certain number of consecutive occasions. A positive<br />

divergence is revealed by a red line recording a value of one <strong>and</strong> a blue line a negative signal.<br />

This highlights how the raw code is primarily of use as an exit tool to existing trend following<br />

trades. However, the building of code within the formula tool box enables traders to increase<br />

the accuracy of divergence qualification by focusing on the absolute value of the <strong>Studies</strong> or |bar<br />

values <strong>and</strong> creating more exact threshold parameters.<br />

For more information about Trading Time, go to http://www.cqg.<strong>com</strong>/AdditionalInfo/About-<br />

<strong>CQG</strong>/Trading-Time.aspx.<br />

Additional study information is here: http://www.cqg.<strong>com</strong>/Docs/Trading_Time.pdf.<br />

Shaun has also created a helpful video about quantifying divergence. Please go to<br />

http://www.cqg.<strong>com</strong>/Docs/HelpFlash.swf.<br />

StDiv Parameters<br />

Name Default Definition<br />

N 1 Number of divergence patterns that are needed to produce a<br />

signal. Most only need 1 <strong>and</strong> will not produce signals if<br />

increased.<br />

Period 5 Qualifies a propriety area within which signals do not have to<br />

be symmetrical.<br />

MA Period 1 This second period refers to the variable of the moving average<br />

<strong>and</strong> therefore what is normally regarded as the Stochastic %d<br />

value . Setting it to a number beyond 1 means that the<br />

average is being used as the divergence tool <strong>and</strong> not the<br />

original indicator.<br />

Lookback 25 Qualifies the lookback period for when divergence can occur<br />

within. Increasing the number will normally increase the<br />

number of divergence signals <strong>and</strong> for slow moving indicators<br />

should be raised from the default.<br />

ob 70 These reflect the fact that the study has a limit of scale, so the<br />

use of setting an overbought <strong>and</strong> oversold threshold acts as<br />

reset point where the current divergence process ends. Setting<br />

at 100 <strong>and</strong> 0 means no reset can occur.<br />

os 30 These reflect the fact that the study has a limit of scale, so the<br />

use of setting an overbought <strong>and</strong> oversold threshold acts as<br />

reset point where the current divergence process ends. Setting<br />

at 100 <strong>and</strong> 0 means no reset can occur.<br />

MA Type Sim Qualifies the type of moving average to be used. Note this<br />

should be set to smoothed if trying to be unformed with the<br />

Stochastic %K.<br />

StDivDn High Qualifies the relationship within the change in direction of the<br />

indicator <strong>and</strong> the subsequent bar value to be recorded at that<br />

point.<br />

Third-Party <strong>Studies</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!