Print Page | Close Window

Stochastic Momentum Index

Printed From: BullCharts Forum
Category: BullCharts
Forum Name: BullScript
Forum Discription: Technical discussion related specifically to the BullScript programming language.
URL: http://www.bullcharts.com.au/forum/forum_posts.asp?TID=172
Printed Date: 23 Apr 2025 at 10:29pm
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Stochastic Momentum Index
Posted By: kneighbour
Subject: Stochastic Momentum Index
Date 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?

 

 




Replies:
Posted By: Peter
Date 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


Posted By: kneighbour
Date 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.


Posted By: Peter
Date 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.



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.69 - http://www.webwizforums.com
Copyright ©2001-2010 Web Wiz - http://www.webwiz.co.uk