Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Tradestation's SlowK may not equal to FastD - Help
Tradestation website says, "Stochastics are made up of four individual calculations: FastK, FastD, SlowK, SlowD. The core of the calculations is based upon the FastK value that is calculated in the following manner.
FastK = (C - L)/(H - L)*100… where
L = Lowest Low of a specified period
H = Highest High of a specified period
C = Current bar Close
FastD is a smoothed average of FastK, SlowK is equal to FastD"
I have analyzed the output data on Trade station. In fact SlowK is equal FastK, and is not smoothed average of FastK. Can someone confirm my finding on TS 9.1?
Many thanks in advance.
Can you help answer these questions from other members on NexusFi?
My TradeStation (version 9.5) has two stochastic indicators -- Stochastic-Fast and Stochastic-Slow. Like you said, the FastD is a smoothed average of the FastK in the Stochastic-Fast indicator. When I also plot the Stochastic-Slow indicator, the SlowK there is the same as the FastD in the Stochastic-Fast. So in effect, the SlowD in the Stochastic-Slow indicator is just a smoothed average of the FastD in the Stochastic-Fast. More smoothing but also more delay.
I understand that you observing SlowK = FastD which is correct.
Can you confirm that you can see SlowK = FastK? This is my observation from TS. If you are observing the same phenomenon, then TS has an incorrect implementation.
No, SlowK does not have the same reading (or plot) as FastK on my TradeStation.
If I plot both Stochastic-Fast and Stochastic-Slow on the same indicator sub graph, I see three indicator lines: FastK, FastD (overlapping with SlowK) and SlowD.
What do you mean the "test code"? All I plotted were the standard indicators that came with TradeStation -- Stochastic-Fast and Stochastic-Slow. Standard settings for both -- 14,3,3,1. You can plot both indicators in the same subgraph.
Maybe if you could provide more detail in your question to see if I can understand better?
I am converting this single line of EL code from TS to MT4
LINEARREGVALUE (SLOWK (3), 3, 0);
In my conversion and double checking the data, I found that SlowK is equal FastK, and is not smoothed average of FastK.
This may be the case where the standard indicator that came with TS is correct on its charting. However the implementation of EL code compiler is not correct if you save the output into a text file. This is what I mean by test code.
My TradeStation shows three user-changeable parameters for each of Stochastic-Fast, and Stochastic-Slow. They are: 14,3,3. They are different from what you show above. Also Stochastic calculation has nothing to do with Linear Regression Value (as you implied in your formula above). Since I am not familiar with MT4, I do not offer further comments.
My TS indicator for SLOWK has only two input parameters, so I used SLOWK(3,3). Per your request, I exported ES daily bar data with SLOWK(3,3). See attached .txt file. Hope that helps.