Forex



Go Back   Forex Trading > Discussion Areas > Setup Questions
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2006, 12:02 AM
PeaceLover's Avatar
Senior Member
 
Join Date: Aug 2006
Posts: 211
PeaceLover is on a distinguished road
Question Stochastics...

Hi all,

Is there a way to plot the Stochastic indicator on the Price graph? If so How is it done?

Thanks in advance

Peace..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 10-08-2006, 10:26 PM
Eaglehawk's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 141
Eaglehawk is on a distinguished road
PeaceLover, (nice name), stolcastics are nothing but two moving averages on a percentage graph rather than a price graph. if you have to moving averages on your graph, it'll show the same results as a stolcastics.

the same is true for several indicators. cci is used from the same equation as bollinger bands, when bollinger bands close together, a cci shows a price divergance. macd is just two moving averages on a histogram, and so forth.
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk
REMEMBER,
"Genius is nothing but a greater aptitude for patience." –Benjamin Franklin

____________________________________

Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!!

http://sufx.core.t3-ism.net/ExpertAdvisorBuilder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 10-20-2006, 04:05 AM
PeaceLover's Avatar
Senior Member
 
Join Date: Aug 2006
Posts: 211
PeaceLover is on a distinguished road
Quote:
Originally Posted by Eaglehawk
PeaceLover, (nice name), stolcastics are nothing but two moving averages on a percentage graph rather than a price graph. if you have to moving averages on your graph, it'll show the same results as a stolcastics.

the same is true for several indicators. cci is used from the same equation as bollinger bands, when bollinger bands close together, a cci shows a price divergance. macd is just two moving averages on a histogram, and so forth.
Thanks for the explaintion, but that still leaves my guestion unanswered. How to i plot, MACD, Stoch, CCi on the price graph in MT4.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 10-20-2006, 04:46 AM
Eaglehawk's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 141
Eaglehawk is on a distinguished road
Quote:
Originally Posted by PeaceLover
Thanks for the explaintion, but that still leaves my guestion unanswered. How to i plot, MACD, Stoch, CCi on the price graph in MT4.
first of all, you mentioned stolchastics, let me clarify what i meant. since i said a stolcastics is just two moving avereages, and when i say it essentially is, I MEAN ALL A STOLCASTICS IS, is two moving averages, there is no additional configuration, it is simple, moving averages seperated from the price chart. to plot a stolcastics on the price chart, plot two moving averages on your chart and there's your stolcastics.

next you mentioned the macd, to plot a macd, you take two moving averages, and you've also got a macd. the histogram of a macd is determined by the distance between two moving averages.

to give a broader version of the picture, a moving average has three stages, first you have the standard moving average or exponential moving average, thoose are the basics, just and average of the close of the last few bars. then you take it a step further and take it off the price chart, this was usefull for many firstly, because it was easier to see, being out of the bars, and secondly, crosses were easier to see. then you take it a step further and add a histogram of the difference between the two moving averages, and you get a macd. if you want the actuall histogram visible on the price chart, i don't know how to help you there.

if you're making an ea with theese symbols, the coding is farly simple when you get down to the simple concept of moving averages. if you want me to show you an example, just be sure to let me know.
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk
REMEMBER,
"Genius is nothing but a greater aptitude for patience." –Benjamin Franklin

____________________________________

Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!!

http://sufx.core.t3-ism.net/ExpertAdvisorBuilder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 10-20-2006, 06:01 AM
Thruline's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 131
Thruline is on a distinguished road
I haven't been able to paste one over price either... the attached indicator kind of works. I guess the problem is they're on different scales.
Attached Files
File Type: mq4 StochasticsOnPriceChartExtreme.mq4 (3.8 KB, 105 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 10-20-2006, 03:35 PM
PeaceLover's Avatar
Senior Member
 
Join Date: Aug 2006
Posts: 211
PeaceLover is on a distinguished road
Quote:
Originally Posted by Thruline
I haven't been able to paste one over price either... the attached indicator kind of works. I guess the problem is they're on different scales.
THANK YOU, That does the trick for Stockastics. I will play around with it and see. Their must be someone that has made one for MACD and other indicators.

Once angain, Thank you

Peace out
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 10-20-2006, 03:39 PM
PeaceLover's Avatar
Senior Member
 
Join Date: Aug 2006
Posts: 211
PeaceLover is on a distinguished road
Quote:
Originally Posted by Eaglehawk
first of all, you mentioned stolchastics, let me clarify what i meant. since i said a stolcastics is just two moving avereages, and when i say it essentially is, I MEAN ALL A STOLCASTICS IS, is two moving averages, there is no additional configuration, it is simple, moving averages seperated from the price chart. to plot a stolcastics on the price chart, plot two moving averages on your chart and there's your stolcastics.

next you mentioned the macd, to plot a macd, you take two moving averages, and you've also got a macd. the histogram of a macd is determined by the distance between two moving averages.

to give a broader version of the picture, a moving average has three stages, first you have the standard moving average or exponential moving average, thoose are the basics, just and average of the close of the last few bars. then you take it a step further and take it off the price chart, this was usefull for many firstly, because it was easier to see, being out of the bars, and secondly, crosses were easier to see. then you take it a step further and add a histogram of the difference between the two moving averages, and you get a macd. if you want the actuall histogram visible on the price chart, i don't know how to help you there.

if you're making an ea with theese symbols, the coding is farly simple when you get down to the simple concept of moving averages. if you want me to show you an example, just be sure to let me know.
Thank you for the info. I understand what you mean, that they are just moving averages. I have used different charting software and they all let you plot then in the price chart, just want to understand why is it so difficuilt to do so in MT4.

thruline, has attached an stockastic indicator that can do so, try it.

Thanks for you help.

Peace Out
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 10-20-2006, 03:55 PM
Senior Member
 
Join Date: Apr 2006
Posts: 223
Pip Trip is on a distinguished road
[QUOTE=Eaglehawk]first of all, you mentioned stolchastics, let me clarify what i meant. since i said a stolcastics is just two moving avereages, and when i say it essentially is, I MEAN ALL A STOLCASTICS IS, is two moving averages, there is no additional configuration, it is simple, moving averages seperated from the price chart. to plot a stolcastics on the price chart, plot two moving averages on your chart and there's your stolcastics.next you mentioned the macd, to plot a macd, you take two moving averages, and you've also got a macd. the histogram of a macd is determined by the distance between two moving averages.

Eaglehawk, this is not true or really not even close due to the % factor.

Developed by George C. Lane in the late 1950s, the Stochastic Oscillator is a momentum indicator that shows the location of the current close relative to the high/low range over a set number of periods. Closing levels that are consistently near the top of the range indicate accumulation (buying pressure) and those near the bottom of the range indicate distribution (selling pressure).

Calculation


A 14-day %K (14-period Stochastic Oscillator) would use the most recent close, the highest high over the last 14 days and the lowest low over the last 14 days. The number of periods will vary according to the sensitivity and the type of signals desired. As with RSI, 14 is a popular number of periods for calculation.

%K tells us that the close (115.38) was in the 57th percentile of the high/low range, or just above the mid-point. Because %K is a percentage or ratio, it will fluctuate between 0 and 100. A 3-day simple moving average of %K is usually plotted alongside to act as a signal or trigger line, called %D.

Slow versus Fast versus Full
There are three types of Stochastic Oscillators: Fast, Slow, and Full. The Full Stochastic is discussed later. For now, let's look at Fast versus Slow. As shown above, the Fast Stochastic Oscillator is made up of %K and %D. In order to avoid confusion between the two, I'll use %K (fast) and %D (fast) to refer to those used in the Fast Stochastic Oscillator, and %K (slow) and %D (slow) to refer to those used in the Slow Stochastic Oscillator. The driving force behind both Stochastic Oscillators is %K (fast), which is found using the formula provided above.



In the CSCO example, the Fast Stochastic Oscillator is plotted in the box just below the price plot. The thick black line represents %K (fast) and the thin red line represents %D (fast). Also called the trigger line, %D (fast) is a smoothed version of %K (fast). One method of smoothing data is to apply a moving average. To smooth %K (fast) and create %D (fast), a 3-period simple moving average was applied to %K (fast). Notice how the %K (fast) line pierces the %D (fast) line a number of times during May, June and July. To alleviate some of these false breaks and smooth %K (fast), the Slow Stochastic Oscillator was developed.

The Slow Stochastic Oscillator is plotted in the lower box: the thick black line represents %K (slow) and the thin red line represents %D (slow). To find %K (slow) in the Slow Stochastic Oscillator, a 3-day SMA was applied to %K (fast). This 3-day SMA slowed (or smoothed) the data to form a slower version of %K (fast). A close examination would reveal that %D (Fast), the thin red line in the Fast Stochastic Oscillator, is identical to %K (Slow), the thick black line in the Slow Stochastic Oscillator. To form the trigger line, or %D (slow) in the Slow Stochastic Oscillator, a 3-day SMA was applied to %K (Slow).

The Full Stochastic Oscillator takes three parameters. Just as in the Fast and Slow versions, the first parameter is the number of periods used to create the initial %K line and the last parameter is the number of periods used to create the %D (full) signal line. What's new is the additional parameter, the one in the middle. It is a "smoothing factor" for the initial %K line. The %K (full) line that gets plotted is a n-period SMA of the initial %K line (where n is equal to the middle parameter).

The Full Stochastic Oscillator is more advanced and more flexible than it's Fast and Slow cousins. You can even use it to duplicate the other versions. For example, a (14, 3) Fast Stochastic is equivalent to a (14, 1, 3) Full Stochastic and a (12, 2) Slow Stochastic is equal to a (12, 3, 2) Full Stochastic.

%K and %D Recap
%K (fast) = %K formula presented above using x periods
%D (fast) = y-day SMA of %K (fast)
%K (slow) = 3-day SMA of %K (fast)
%D (slow) = y-day SMA of %K (slow)
%K (full) = y-day SMA of %K (fast)
%D (full) = z-day SMA of %K (full)
where x is the first parameter, y is the second parameter and (in the case of Full stochastics), z is the third parameter. In the case of Fast and Slow Stochastics, x is typically 14 and y is usually set to 3.

Use
Readings below 20 are considered oversold and readings above 80 are considered overbought. However, Lane did not believe that a reading above 80 was necessarily bearish or a reading below 20 bullish. A security can continue to rise after the Stochastic Oscillator has reached 80 and continue to fall after the Stochastic Oscillator has reached 20. Lane believed that some of the best signals occurred when the oscillator moved from overbought territory back below 80 and from oversold territory back above 20.

Buy and sell signals can also be given when %K crosses above or below %D. However, crossover signals are quite frequent and can result in a lot of whipsaws.

One of the most reliable signals is to wait for a divergence to develop from overbought or oversold levels. Once the oscillator reaches overbought levels, wait for a negative divergence to develop and then a cross below 80. This usually requires a double dip below 80 and the second dip results in the sell signal. For a buy signal, wait for a positive divergence to develop after the indicator moves below 20. This will usually require a trader to disregard the first break above 20. After the positive divergence forms, the second break above 20 confirms the divergence and a buy signal is given.

Example


In the IBM example above, it is clear that acting solely on overbought and oversold crossovers can generate false signals. Using crossovers of %D (slow) by %K (slow) can result in some good signals, but there are still whipsaws. By looking for divergences and overbought/oversold crossovers together, the 14-day Slow Stochastic Oscillator can produce fewer yet more reliable signals. The Slow Stochastic Oscillator produced 2 solid signals in IBM between Aug-99 and Mar-99. In Nov-99, a buy signal was given when the indicator formed a positive divergence and moved above 20 for the second time. Note that the double top in Nov-Dec (gray circle) was not a negative divergence -- the stock continued higher after this formed. In Jan-00, a sell signal was given when a negative divergence formed and the indicator dipped below 80 for the second time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 10-20-2006, 10:18 PM
Eaglehawk's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 141
Eaglehawk is on a distinguished road
Quote:
Originally Posted by Pip Trip
[QUOTE=Eaglehawk]first of all, you mentioned stolchastics, let me clarify what i meant. since i said a stolcastics is just two moving avereages, and when i say it essentially is, I MEAN ALL A STOLCASTICS IS, is two moving averages, there is no additional configuration, it is simple, moving averages seperated from the price chart. to plot a stolcastics on the price chart, plot two moving averages on your chart and there's your stolcastics.next you mentioned the macd, to plot a macd, you take two moving averages, and you've also got a macd. the histogram of a macd is determined by the distance between two moving averages.

Eaglehawk, this is not true or really not even close due to the % factor.

Developed by George C. Lane in the late 1950s, the Stochastic Oscillator is a momentum indicator that shows the location of the current close relative to the high/low range over a set number of periods. Closing levels that are consistently near the top of the range indicate accumulation (buying pressure) and those near the bottom of the range indicate distribution (selling pressure).

Calculation


A 14-day %K (14-period Stochastic Oscillator) would use the most recent close, the highest high over the last 14 days and the lowest low over the last 14 days. The number of periods will vary according to the sensitivity and the type of signals desired. As with RSI, 14 is a popular number of periods for calculation.

%K tells us that the close (115.38) was in the 57th percentile of the high/low range, or just above the mid-point. Because %K is a percentage or ratio, it will fluctuate between 0 and 100. A 3-day simple moving average of %K is usually plotted alongside to act as a signal or trigger line, called %D.

Slow versus Fast versus Full
There are three types of Stochastic Oscillators: Fast, Slow, and Full. The Full Stochastic is discussed later. For now, let's look at Fast versus Slow. As shown above, the Fast Stochastic Oscillator is made up of %K and %D. In order to avoid confusion between the two, I'll use %K (fast) and %D (fast) to refer to those used in the Fast Stochastic Oscillator, and %K (slow) and %D (slow) to refer to those used in the Slow Stochastic Oscillator. The driving force behind both Stochastic Oscillators is %K (fast), which is found using the formula provided above.



In the CSCO example, the Fast Stochastic Oscillator is plotted in the box just below the price plot. The thick black line represents %K (fast) and the thin red line represents %D (fast). Also called the trigger line, %D (fast) is a smoothed version of %K (fast). One method of smoothing data is to apply a moving average. To smooth %K (fast) and create %D (fast), a 3-period simple moving average was applied to %K (fast). Notice how the %K (fast) line pierces the %D (fast) line a number of times during May, June and July. To alleviate some of these false breaks and smooth %K (fast), the Slow Stochastic Oscillator was developed.

The Slow Stochastic Oscillator is plotted in the lower box: the thick black line represents %K (slow) and the thin red line represents %D (slow). To find %K (slow) in the Slow Stochastic Oscillator, a 3-day SMA was applied to %K (fast). This 3-day SMA slowed (or smoothed) the data to form a slower version of %K (fast). A close examination would reveal that %D (Fast), the thin red line in the Fast Stochastic Oscillator, is identical to %K (Slow), the thick black line in the Slow Stochastic Oscillator. To form the trigger line, or %D (slow) in the Slow Stochastic Oscillator, a 3-day SMA was applied to %K (Slow).

The Full Stochastic Oscillator takes three parameters. Just as in the Fast and Slow versions, the first parameter is the number of periods used to create the initial %K line and the last parameter is the number of periods used to create the %D (full) signal line. What's new is the additional parameter, the one in the middle. It is a "smoothing factor" for the initial %K line. The %K (full) line that gets plotted is a n-period SMA of the initial %K line (where n is equal to the middle parameter).

The Full Stochastic Oscillator is more advanced and more flexible than it's Fast and Slow cousins. You can even use it to duplicate the other versions. For example, a (14, 3) Fast Stochastic is equivalent to a (14, 1, 3) Full Stochastic and a (12, 2) Slow Stochastic is equal to a (12, 3, 2) Full Stochastic.

%K and %D Recap
%K (fast) = %K formula presented above using x periods
%D (fast) = y-day SMA of %K (fast)
%K (slow) = 3-day SMA of %K (fast)
%D (slow) = y-day SMA of %K (slow)
%K (full) = y-day SMA of %K (fast)
%D (full) = z-day SMA of %K (full)
where x is the first parameter, y is the second parameter and (in the case of Full stochastics), z is the third parameter. In the case of Fast and Slow Stochastics, x is typically 14 and y is usually set to 3.

Use
Readings below 20 are considered oversold and readings above 80 are considered overbought. However, Lane did not believe that a reading above 80 was necessarily bearish or a reading below 20 bullish. A security can continue to rise after the Stochastic Oscillator has reached 80 and continue to fall after the Stochastic Oscillator has reached 20. Lane believed that some of the best signals occurred when the oscillator moved from overbought territory back below 80 and from oversold territory back above 20.

Buy and sell signals can also be given when %K crosses above or below %D. However, crossover signals are quite frequent and can result in a lot of whipsaws.

One of the most reliable signals is to wait for a divergence to develop from overbought or oversold levels. Once the oscillator reaches overbought levels, wait for a negative divergence to develop and then a cross below 80. This usually requires a double dip below 80 and the second dip results in the sell signal. For a buy signal, wait for a positive divergence to develop after the indicator moves below 20. This will usually require a trader to disregard the first break above 20. After the positive divergence forms, the second break above 20 confirms the divergence and a buy signal is given.

Example


In the IBM example above, it is clear that acting solely on overbought and oversold crossovers can generate false signals. Using crossovers of %D (slow) by %K (slow) can result in some good signals, but there are still whipsaws. By looking for divergences and overbought/oversold crossovers together, the 14-day Slow Stochastic Oscillator can produce fewer yet more reliable signals. The Slow Stochastic Oscillator produced 2 solid signals in IBM between Aug-99 and Mar-99. In Nov-99, a buy signal was given when the indicator formed a positive divergence and moved above 20 for the second time. Note that the double top in Nov-Dec (gray circle) was not a negative divergence -- the stock continued higher after this formed. In Jan-00, a sell signal was given when a negative divergence formed and the indicator dipped below 80 for the second time.
srry for the confusion, you mentioned a stolcastics "oscilator", this type of indicator is still fairly new to me, and i have never experimented with, or investigated the difference between the "normal" stolcastics, which is what i was most farmilliar with. thanks for the info.
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk
REMEMBER,
"Genius is nothing but a greater aptitude for patience." –Benjamin Franklin

____________________________________

Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!!

http://sufx.core.t3-ism.net/ExpertAdvisorBuilder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 10-21-2006, 01:50 AM
Senior Member
 
Join Date: Jun 2006
Posts: 1,512
prasxz is on a distinguished road
hi

Hi,

Did u use forex system into stock system ?

Can u tell me which proven system on forex that can be used on stock prediction and has a good result ?

Thx

================
Forex Indicators Collection
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
stochastics


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2-2-1 Stochastics! Nicholishen Metatrader 4 17 07-29-2006 04:30 AM


All times are GMT. The time now is 09:49 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.