Download MetaTrader 5

Stochastic Oscillator, the beginning - page 2

To add comments, please log in or register
Sergey Golubev
Moderator
94682
Sergey Golubev  
et_phonehome_2:
ND

Thanks for the nice work. Wish there is something for all indicators....

ET

We have Parabolic SAR indicator https://www.mql5.com/en/forum/177358

Momentum indicator https://www.mql5.com/en/forum/176430 and

Divergence https://www.mql5.com/en/forum/175886

It will be more of course.

xyz1453
225
xyz1453  
holy_phoenix:
hi mystified, i only have this one. hopely this is what are you looking for.

@ND

thx a lot ND

i think i have seen stoch with fibo line here before.did someone have it.

one more thing. what is the best setting for stoch.

i usualy use 14,3.3 for my stoch setting. does anyone use different setting.

regards

HP

Thanks Holy_Phoenix

I think best settings depens on your grasp of timing.I find 14,3,3 settings quite useful.But then again this setting gives late signals sometimes.This is when I aplly 8,3,3 settings and compare it with 14,3,3 settings.There is no perfect settings really but I find the middle of these two settings quite useful.

FXSamurai
91
FXSamurai  

Below you'll find a chart example of the stochastic settings I use. The first chart is the way I use the settings, the second is the same, but with every stochastic split from the rest.

The basic setting is 8-3-3 (i.e. slow stochastic). As mystified points out, settings like 5-3-3 or 14-3-3 (or 13-3-3) have all their own qualities and possibilities. Personally, I'm most comfortable with 8-3-3 and have developped a whole range of strategies with and around it.

I combine the 8-3-3 stochastic with 3 multiples of it, similarly to using a MTF (Multiple Time Frame) version (if you multiply the basic setting by 2, then for a 30m chart, you get more or less exactly the levels of a 1 hour chart).

These various stochastics I then stack all together in one window, and combine them with other indicators, like CCI, MACD, RSI, DeMarker, etc... There's a whole lot of great signals that you can take from these, and I worked out numerous strategies which I'm trading or forward testing at the moment (too many, and too versatile to mention here - I'll just point out that it's not a matter of simply acting on one standard type of oversold-/bought situation, there's many variations of it, depending on the levels of the various different stochastics and other indicators).

One of the things I found is that the best levels to go by should be fibonacci levels. Interestingly, I recently saw another poster on this forum use these on his charts, the only difference being that I also use the 16.18/83.82 level, for maximum oversold/-bought levels.

Explore and enjoy!

Tragapips
105
Tragapips  

You have done a very good job FX samurai. I applied the stochs to GBP and found very interesting things. Thanks to share with us.

camisa
588
camisa  

Requested: Stochastic slope indicator

Can someone code this?

rayz
20
rayz  

Help Me!!!!

Hi guys..

i newbie in forex trading, i need your help to build a simple EA for me.

Can someone help me? i really appreciate if someone can help me.

my setting simple EA:-

TF M5

Stochastic (5.3.3)

TP 10PIPS

LOTS 0.1

enter position buy when line stoch cross at level 80

enter positon sell when line stoch cross at level 20

*sorry for my english

thanks.

khusha7765
14
khusha7765  
newdigital:
I tryed to collect everything about one indicator: Stochastic Oscillator.

"Technical Analysis from A to Z":

Overview

Sto.chas.tic (sto kas'tik) adj. 2. Math. designating a process

having an infinite progression of jointly

distributed random variables.

--- Webster's New World Dictionary

The Stochastic Oscillator compares where

a security's price closed relative to its

price range over a given time period.[/CODE]

Interpretation

The Stochastic Oscillator is displayed

as two lines. The main line is called "%K."

The second line, called "%D," is a

moving average of %K. The %K line is

usually displayed as a solid line and

the %D line is usually displayed as

a dotted line.

There are several ways to interpret

a Stochastic Oscillator. Three popular methods include:

Buy when the Oscillator (either %K or %D)

falls below a specific level (e.g., 20) and

then rises above that level. Sell when

the Oscillator rises above a specific level

(e.g., 80) and then falls below that level.

Buy when the %K line rises above

the %D line and sell when the %K line

falls below the %D line.

Look for divergences. For example,

where prices are making a series of new highs

and the Stochastic Oscillator is failing to surpass

its previous highs.

[CODE]Calculation

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.

This is the number of time periods used

when calculating a moving average of %K.

The moving average is called "%D" and is

usually displayed as a dotted line on

top of %K.

%D Method.

The method (i.e., Exponential,

Simple, Time Series, Triangular, Variable,

or Weighted) that is used to calculate %D.

The formula for %K is:

For example, to calculate a 10-day %K,

first find the security's highest-high and

lowest-low over the last 10 days.

As an example, let's assume that during

the last 10 days the highest-high was 46 and

the lowest-low was 38--a range of 8 points.

If today's closing price was 41,

%K would be calculated as:

The 37.5% in this example shows

that today's close was at the level of 37.5%

relative to the security's trading range over

the last 10 days. If today's close was 42,

the Stochastic Oscillator would be 50%.

This would mean that that the security

closed today at 50%, or the mid-point,

of its 10-day trading range.

The above example used a

%K Slowing Period of 1-day (no slowing).

If you use a value greater than one,

you average the highest-high and

the lowest-low over the number of

%K Slowing Periods before performing

the division.

A moving average of %K is then

calculated using the number of time

periods specified in the %D Periods.

This moving average is called %D.

The Stochastic Oscillator always ranges between 0% and 100%. A reading of 0% shows that the security's close was the lowest price that the security has traded during the preceding x-time periods. A reading of 100% shows that the security's close was the highest price that the security has traded during the preceding x-time periods.

Do you have a study of indicator coded to calculate price where two K% (or D%) of two Stochastics crossover, and also to calculate price where K% cross the overbought/oversold level of the stochastic?

Sergey Golubev
Moderator
94682
Sergey Golubev  
khusha7765:
Do you have a study of indicator coded to calculate price where two K% (or D%) of two Stochastics crossover, and also to calculate price where K% cross the overbought/oversold level of the stochastic?

No. Sometimes I am using 3 stochastic indicators in 3 sepaated window with different settings for M5 timeframe. I did not try to combine those indicators onto one indicator. Simple did not need it.

Mladen Rakic
56499
Mladen Rakic  

One more for the collection...

Stochastic drawing the "overbought" and "oversold" region Tradestation style

Files:
stoch.gif 13 kb
fxbs
3203
fxbs  

stoch channel(Levels) on the chart [cw]

it's all wrong, but it works somehow

stoh hooked on bbands istead of deviation

________________

double Stoch_Main1[];

Stoch_Main1 =iStochastic(NULL,0,14,3,3,MODE_SMA,0,MODE_MAIN, i);

double Stoch_Main =iStochastic(NULL,0,14,3,3,MODE_SMA,0,MODE_MAIN, i);

double Stoch_SigL=(iStochastic(NULL,0,14,3,3,MODE_SMA,0,MODE_SIGNAL, i));

double StochMain1=Stoch_Main1;

double StochMain=Stoch_Main;

double StochSigL=Stoch_SigL;

UpperBuffer=oldval +0.3*oldval*((100-StochMain1)/10000);

LowerBuffer=oldval - 0.3*oldval*((100-StochMain1)/10000);

UpperBuffer1=oldval + oldval*((StochMain-50)/10000);

LowerBuffer1=oldval + oldval*((StochSigL-50)/10000);

Files:
123456789...128
To add comments, please log in or register