Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1284 - Slow Stochastic
Summary: Slow Stochastic
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Functions (show other bugs)
Version: unspecified
Hardware: PC Windows
: High enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 06:45 EDT by yeray alonso
Modified: 2016-08-29 03:53 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2015-08-28 06:45:53 EDT
Improve Stochastic function adding slow Stochastic.

From here:
http://ta.mql4.com/indicators/oscillators/stochastic

The Stochastic Oscillator has four variables:

    %K periods. This is the number of time periods used in the stochastic calculation;

    %K Slowing Periods. This value controls the internal smoothing of %K. A value of 1 is considered a fast stochastic; a value of 3 is considered a slow stochastic;

    %D periods. his is the number of time periods used when calculating a moving average of %K;

    %D method. The method (i.e., Exponential, Simple, Smoothed, or Weighted) that is used to calculate %D.

The formula for %K is:

%K = (CLOSE-LOW(%K))/(HIGH(%K)-LOW(%K))*100

Where:
CLOSE — is today’s closing price;
LOW(%K) — is the lowest low in %K periods;
HIGH(%K) — is the highest high in %K periods.

The %D moving average is calculated according to the formula:

%D = SMA(%K, N) 

Where:
N — is the smoothing period;
SMA — is the Simple Moving Average.
Comment 1 Henry 2015-08-28 09:55:50 EDT
Is their maybe a work around for now ?