Stochastic Momentum Index |
Post Reply |
Author | |
kneighbour
Regular Joined: 12 Feb 2005 Location: Australia Posts: 57 |
Post Options
Quote Reply
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?
|
|
Peter
BullCharts Staff Joined: 09 Sep 2004 Location: Australia Posts: 241 |
Post Options Quote Reply 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 |
|
kneighbour
Regular Joined: 12 Feb 2005 Location: Australia Posts: 57 |
Post Options Quote Reply 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.
|
|
Peter
BullCharts Staff Joined: 09 Sep 2004 Location: Australia Posts: 241 |
Post Options Quote Reply 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.
|
|
Post Reply |
Forum Jump | Forum Permissions 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 |