Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

MoneyStream in Range doesn't work when I code it myself Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
machangman
Posted : Sunday, August 15, 2010 3:11:24 AM
Registered User
Joined: 8/12/2006
Posts: 7
If I add Moneystream indicator, then add the MoneyStream in Range indicator, it plots both.  Actually, it doesn't display the Range plot until I change stock symbols (refresh problem?).

So, as an exercise in coding my own indicator
  1. I delete the prior setup
  2. add Moneystream again
  3. add a new indicator, and paste the code from the RealCode editor of the built-in MoneyStream in Range
  4. I change symbols because of the refresh problem.
  5. Then nothing plots.  It's blank with 0.00 on the scale. 

What is the difference, or what am I missing?  Here is the code I pasted into My Indicator test:

'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 4.9 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:MoneyStream in Range
'|******************************************************************
'# MS = indicator.Library.MoneyStream

'# period = userinput.integer = 250

plot = 100 * (MS.value - MS.minlow(period)) / system.math.Abs(MS.maxhigh(period) - MS.MinLow(period))

StockGuy
Posted : Monday, August 16, 2010 12:10:55 PM

Administration

Joined: 9/30/2004
Posts: 9,187
Click the Import Indicator button and add MoneyStream instead of pasting the code.  This will generate the '# MS line.
machangman
Posted : Monday, August 16, 2010 12:58:10 PM
Registered User
Joined: 8/12/2006
Posts: 7
I tried that and it still would not show any plot. I retried it as follows:

1) Add Moneystream indicator to chart
2) Choose to add new RealCode indicator
3) Import Moneystream and '# MS = indicator.Library.MoneyStream shows up in code
5) Add plot = MS.Value just to echo the MS indicator and nothing plots.
6) Change stock symbols to see if it shows up on refresh and does not.

Scott
StockGuy
Posted : Monday, August 16, 2010 1:46:20 PM

Administration

Joined: 9/30/2004
Posts: 9,187
This is a bug and will be corrected in the next release of StockFinder version 5.  The only way to make it work currently is to plot MoneyStream on your chart and then drag the plot into the RealCode editor.
Users browsing this topic
Guest-1

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.