logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Dual Trace  
#1 Posted : Sunday, March 31, 2013 7:53:50 PM(UTC)
Dual Trace

Rank: Newbie

Groups: Registered, Registered Users, Unverified Users
Joined: 8/28/2012(UTC)
Posts: 9

Thanks: 1 times

Please help writing a formula for using the stochastic oscillator differently than MetaStock.

The description for the Equis - Stochastic Oscillator – Expert System says:

A buy signal is initiated when the stochastic crosses 20 to the upside. A sell signal is generated when the stochastic crosses 80 to the downside. Buy and sell signals are only generated in the direction of the major trend. (A buy can only occur if the closing price is above it's 200-period exponential moving average. A sell can only occur if the closing price is below it's 200-period exponential moving average.)

I would like to use the stochastic this way:

Buy when the %K line rises above the %D (dotted) line.

Sell when the %K line falls below the %D line.

I searched the forum, but could not find a previous example on how to do this.

Thank you,

Dual Trace

haddison  
#2 Posted : Monday, April 1, 2013 8:28:57 AM(UTC)
haddison

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/6/2010(UTC)
Posts: 113
Location: London

The %D is a simple moving average of a %K, which is the stoch() formula in Metastock. There is an example of this in the user manual (Create Your Own Indicators -> Sample Custom Indicators).
eddie.m  
#3 Posted : Monday, April 1, 2013 3:55:57 PM(UTC)
eddie.m

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/20/2012(UTC)
Posts: 152

Was thanked: 1 time(s) in 1 post(s)
Dual Trace wrote:

I would like to use the stochastic this way:

Buy when the %K line rises above the %D (dotted) line.

Sell when the %K line falls below the %D line.

I searched the forum, but could not find a previous example on how to do this.

Thank you,

Dual Trace

Hi DT, [:)]

Here is what you asked for:

BUYs

Code:
Cross(Stoch(5,3),Mov(Stoch(5,3),3,S))

SELLs

Code:
Cross(Mov(Stoch(5,3),3,S),Stoch(5,3))

As you will see, you will get too many signals.

There are four types of Stoch(5,3) / Mov(Stoch(5,3),3,S) crossovers:

  1. Below the OS level at 20
  2. Above the OS at 20 and below the 50 centerline
  3. Above the 50 centerline and below the OB level at 80
  4. Above the OB level at 80.

My suggestion to you is to apply the basic Equis - Stochastic Oscillator Expert Advisor to your chart(s) for you to learn. Forget about trading for now, you are at the phase of learning.

Paper trade the signals for a few months. Do not hurry these things if you want to begin walking on the right track.

You are at the beginning and you must make sure it's also not the end of your investing adventures. [:)]

If the Expert Advisor works for you at least a bit, get yourself a professional Stochastic based mechanical trading system to reward yourself for having learnt a thing or two about this Oscillator.

thanks 1 user thanked eddie.m for this useful post.
psheth999 on 6/19/2015(UTC)
Dual Trace  
#4 Posted : Tuesday, April 2, 2013 12:00:26 AM(UTC)
Dual Trace

Rank: Newbie

Groups: Registered, Registered Users, Unverified Users
Joined: 8/28/2012(UTC)
Posts: 9

Thanks: 1 times

Thanks Ed and Haddison,

I’m not starting trading yet, I was just surprised that the Equis - Stochastic Oscillator – Expert System gives so few buy signals and when looking into it I discovered the way it’s used. My preference would be to use the %k and %D crossings. And I know it’s good to have it combined with other indicators.

Anyway, meanwhile I back tested all nine Expert systems MetaStock comes with and I’m impressed with the Equis Momentum Indicators. There are plenty of stocks for which it provides better than 3/1 profitable/losing trades. I ran it for the past 250 days only and wonder if its success has to do with the general ascending trend of the market.

Do you know a good tutorial on stops? And I mean something different than the four types available in MetaStock.

Thanks again,

Dual Trace

eddie.m  
#5 Posted : Tuesday, April 2, 2013 8:26:26 PM(UTC)
eddie.m

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/20/2012(UTC)
Posts: 152

Was thanked: 1 time(s) in 1 post(s)
Dual Trace wrote:
Do you know a good tutorial on stops? And I mean something different than the four types available in MetaStock.

Dual Trace

Hi there, [:)]

1). I like the way you present yourself, the fact that you are polite and, last but not least, that you are switching from a non-trading profession to earning a living from investing.
I wish more men around the world and more MS users on this forum would be like you … [:D]

2). I am glad you are already paper trading. To me, you are better than I expected … [:)]

3). The way you look at Stochastic is not the best. You need not many signals. All you need is to buy low, sell high.
Do not think that, at your stage now, plenty of signals will bring you plenty of profits! You will be sorely disappointed: the signals will cost you too much apiece.


Click on the thumbnail below to see trades you should be hunting for.

You want to go after trades that last 2-6 days bringing you $1-$2 profits and such bounty comes mostly from signals at Stochastic extremes. To achieve mastery, you will have to deal with all the nonsense from other signals and trades for now.

UserPostedImage

Pic will expire after six months from today.

4). You already tested all the nine Expert Systems? Wow, I am speechless … [:S]

5). It’s great you are impressed with the Momentum Indicators. These are the tools you shall have to start trading with in order to generate quick profits fast. After you rake in (small) profits you will begin to learn loss minimization techniques and only after that, profit maximization techniques.
Hey DT, you are on to a BIG, GREAT start. [H]

6). Find a teacher urgently to guide you through technical analysis. (I am positive he will appreciate the right steps you took so far and he more eagerly will want to teach you).

For 2013, make it your duty not jump from book to book, from one concept to another, from one mechanical trading system to another and from one software to another one.

Your greatest danger at this stage is to waste time on too many topics, too fancy studies and get fussy because it will slowly take you away from your focus. Without a teacher, strange but true, you may begin to sabotage your nice intentions. You have no clue whatsoever how difficult will be for you to exercise the discipline required to progress.

Cyber-trading is unlike ANYTHING ELSE you tried or did for a living before: it is very easy to mess up. Don’t mess up!

7). More stops than Metastock’s five ones??? Hhhmmm … See how you are already slowly drifting away towards lots of theory and little practice or no practice at all through “analysis paralysis”?
Do not bother about other stops NOW because you will not need them for the little trading you are going to do soon. Leave all the other stops for later when your success (if any!) is going to justify learning and practicing all sorts of technicalities for your growing trading needs.

Too much to talk about here. The ball is in your court now. [:D] [}]

Dual Trace  
#6 Posted : Tuesday, April 2, 2013 11:23:50 PM(UTC)
Dual Trace

Rank: Newbie

Groups: Registered, Registered Users, Unverified Users
Joined: 8/28/2012(UTC)
Posts: 9

Thanks: 1 times

Hi Ed,

Thanks again for taking the time to educate me. Not too many people are like you either. You remind me of a person on another forum who patiently described for me in layman terms the basics of using some multi effect pedal for electric guitar. Playing guitar and building and flying remote controlled airplanes are my main hobbies.

Now back to the trading subject:

I don’t know what made you think I am switching from a non-trading profession to earning a living from investing. I’m not. I bought MetaStock 11 last summer, but never used it until few weeks ago when I started to watch some tutorials. Asking for help from customer support I became aware of MS 12 and fell for it. Getting rid of the daily download was good enough for me. I realized it also came with few bugs.

I’m not paper trading and will not, but I’m not jumping ahead either.

I’ve already read many books on technical analysis. In 2002, I was doing 50-100 trades per month following a system of my own that was based on the stochastic oscillator plus few fundamentals and patterns. I was using stockcharts.com that allowed me to build a custom screen, but could not do back testing. It worked reasonably well, but it was very time consuming. I remember my screen used to bring from none to 20 hits almost every night and I used to spend quite some time looking at the chars and deciding what to buy the next day – if funds were available. This is what I meant when I said I also look at other signals. For example I got five stocks meeting the entry point, but only have funds to buy one. Then I would look at other indicators to decide which of the five seems to be more worth buying.

Considerable time was also spent to decide when to get out and to adjust the stops for the positions I was in. I only went long and I rarely kept a stock for more than a week. I also never owned more than five stocks at a time.

That worked reasonably well, but it was very time consuming and anyway had to stop because my trading funds went toward a house down payment. Now I intend to do it again and would like to automate things if possible, so that’s why I got into MetaStock.

I’d like to automate the stop calculation. I can go on the broker website and re-adjust it every night, but I would like a system that calculates that level for me.

The chart in your picture is a very good candidate for SO. I know that’s what you’re after…

Cheers,

Dual Trace

eddie.m  
#7 Posted : Wednesday, April 3, 2013 5:37:42 AM(UTC)
eddie.m

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/20/2012(UTC)
Posts: 152

Was thanked: 1 time(s) in 1 post(s)

Hi DT, [:)]

1). No paper trading? You have to take time to understand what you are doing. The alternative is to pay the markets for their harsh lessons. [:@]

If you trade with the help of Stochastic, that’s fine, but how about you paper trading MACDs in parallel?

2). No money? You have to do whatever it takes to start trading on the right foot. It is an insult to the markets to open a trading account with little money because it forces you to do little trading.

3). Buy house and then have no capital left for trading? Many traders use the markets like the Bank’s ATM: they take profits out to pay for monthly bills, cars, family, etc.

That’s very wrong because it shows they are cultivating the bad motivation. One has to trade to respect the trading rules he freely chose, not because he must pay bills.

One has to trade to win, not to decimate profits.

4). The ultimate goal is to trade for an elegant living. One who keeps a job or runs a “business” and stresses himself out to trade is bad. It shows disrespect for the markets. Everybody is free to do what he wants, but in most cases, what one wants is not the way of the scorer.

Trading is not something like fishes jumping on dry land.

5). I am glad you managed to make it to today. I wish you to find energy and inspiration to continue. Exceptional results come only to exceptional people. Good luck.

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.