BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: Stochastic Momentum Index
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Stochastic Momentum Index

 Post Reply Post Reply
Author
Message / View First Unread Post
kneighbour View Drop Down
Regular
Regular
Avatar

Joined: 12 Feb 2005
Location: Australia
Posts: 57
Post Options Post Options   Quote kneighbour Quote  Post ReplyReply Direct Link To This Post Topic: Stochastic Momentum Index
    Posted: 10 Mar 2005 at 10:36am

i am playing with the Stochastic Momentum Index, trying to run it on volume.

From the Help, the syntax of this indicator seems to be

STOCHMOMENTUM(EXPR,SMOOTHING,DOUBLESMOOTHING) and the example quoted there is

stochmomentum(C,25,4)

This does not work. You get an error message to the effect that argument 1 must be a number.

What is the correct way of calling this indicator?

 

 

Back to Top
Peter View Drop Down
BullCharts Staff
BullCharts Staff
Avatar

Joined: 09 Sep 2004
Location: Australia
Posts: 241
Post Options Post Options   Quote Peter Quote  Post ReplyReply Direct Link To This Post Posted: 11 Mar 2005 at 10:17am
Hmm... Looks like the manual is out of date for this one. Will fix.

The format should be:
STOCHMOMENTUM(num1, num2, num3, num4, method)

num1 = %K Time periods
num2 = %K Smoothing period
num3 = %K Double smoothing
num4 = %D Time periods
method = %D Moving Average Method
Back to Top
kneighbour View Drop Down
Regular
Regular
Avatar

Joined: 12 Feb 2005
Location: Australia
Posts: 57
Post Options Post Options   Quote kneighbour Quote  Post ReplyReply Direct Link To This Post Posted: 11 Mar 2005 at 10:49am
So that means that you have removed the EXPR variable. Which kind of ruins the whole thing for me - I was looking at doing a stochastic indicator on volume.
Back to Top
Peter View Drop Down
BullCharts Staff
BullCharts Staff
Avatar

Joined: 09 Sep 2004
Location: Australia
Posts: 241
Post Options Post Options   Quote Peter Quote  Post ReplyReply Direct Link To This Post Posted: 14 Mar 2005 at 10:30am
The stochmomentum formula is defined in the Stochastic Momentum indicator. You can make a copy of this formula, and modify it as desired. Note: You'll need to change the alias attribute so that the names don't clash.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz