/*********************************************************************************************** Title: Stochastic w/Trend Detect for eSignal By: Divergence Software, Inc. Web: http://www.sr-analyst.com ================================================================================================ Project Description: Calculates and plots stochastics (%K and %D). You can select from standard (eSignal) stochastics, CQG stochastics, or DiNapoli stochastics. It also has an adaptive trend-detection feature that operates in a fashion similar to the GET False Bar stochastics. If this feature is turned on then a band will be plotted above the stochastic plot if bullish trend continuation is expected, and a band will be plotted below the stochastic plot if bearish trend continuation is expected. These bands should be used as filters for the stochastic signals. So, in general, if a band is present below the stochastic plot then you should favor short signals (down- trend is expected to continue) and if a band is present above the stochastic plot then you should favor long signals (up-trend is expected to continue). Alerts are also available and these are based on the crossing of the user-defined reference band levels by either the %K or %D plot (user selectable). Usage: ====== Load the indicator into any eSignal price chart and adjust the settings via the indicator menu. Indicator Parameters: ==================== Stochastic Type: Select from "eSignal Stochastic", "CQG Stochastic", and "DiNapoli Stochastic". Stochastic Settings K Length: The stochastics K input length. The default is 14. K Smoothing: The stochastics K smoothing input length. The default is 3. D Length: The stochastics D input length. The default is 3. %K MA Type: Applies only when "CQG Stochastic" is selected. Select the type of moving average to use for the %K calculation. %D MA Type: Applies only when "CQG Stochastic" is selected. Select the type of moving average to use for the %D calculation. Cosmetic Settings %K Color: The plot color to use for %K. Thickness: Line thickness to use when plotting the %K line. Default is 2. Line Type: Line type ot use when plotting the %K line. Select from "Solid", "Dot", "Dash", "DashDot", and "DashDotDot". The default is "Solid". %D Color: The plot color to use for %D. Thickness: Line thickness to use when plotting the %D line. Default is 2. Line Type: Line type to use when plotting the %D line. Select from "Solid", "Dot", "Dash", "DashDot", and "DashDotDot". The default is "Solid". Display False Bar Bands? Set to true to enable the trend-detection feature. Set to false to disable the trend-detection feature. Band Color: Set the color to use for plotting the false bar (trend detection) bands. Reference Level Settings Upper Ref Level: The level at which the upper reference line should be plotted. The default is 80. Lower Ref Level: The level at which the lower reference line should be plotted. The default is 20. Ref Line Color: The color to use when plotting the reference lines. Thickness: Line thickness to use when plotting the reference lines. Default is 1. Line Type: Line type to use when plotting the reference lines. Select from "Solid", "Dot", "Dash", "DashDot", and "DashDotDot". The default is "Solid". Alert Settings Alert Type: Select from "On Close Only" or "Intrabar Only". If "On Close Only" is selected then alerts will be evaluated on bar close. If "Intrabar Only" then alerts will be evaluated on each new tick. Alert Source: The plot (%K or %D) to use for generating the alerts. Use Sound Alerts?: Set to true to enable audible alerts, set to false to disable audible alerts. Use Popup Alerts?: Set to true to enable popup alerts, set to false to disable popup alerts. Use Email Alerts?: Set to true to enable email alerts, set to false to disable email alerts. Bullish WAV File: Set the eSignal WAV file to use for bullish alerts. Bearish WAV File: Set the eSignal WAV file to use for bearish alerts. Disclaimer: For educational purposes only! Obviously, no guarantees whatsoever and use at your own risk. *******************************************************************************************************/