Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Search in titles only
Search in EFS Studies only
Search
Advanced Search
Forums
Articles
Groups
Member List
Forum
EFS Development
EFS Studies
Announcement
Collapse
No announcement yet.
MOM Indicator
Collapse
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
dianeparson
Registered User
Join Date:
Dec 2004
Posts:
12
Share
Tweet
#1
MOM Indicator
12-16-2004, 10:37 AM
I would like to know how to change the code for the MOM indicator so it uses the ROC(rate of change)Study as the source. Something like
Mom(RSI,14),14)
ckryza
Registered User
Join Date:
Nov 2002
Posts:
528
Share
Tweet
#2
12-17-2004, 03:23 AM
I believe that the following code would do it.
Chris
PHP Code:
nStudy1
= new
ROCStudy
(
14
,
"close"
);
nStudy2
= new
MOMStudy
(
14
,
nStudy1
,
ROCStudy
.
ROC
);
...
...
nPlot = nStudy2.getValue( MOMStudy.MOM, 0 );
return( nPlot );
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment