| Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
- I delete the prior setup
- add Moneystream again
- add a new indicator, and paste the code from the RealCode editor of the built-in MoneyStream in Range
- I change symbols because of the refresh problem.
- 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))
|
|
 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.
|
|
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
|
|
 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.
|
|
|
Guest-1 |