Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Gold Customer
Joined: 10/7/2004 Posts: 20
|
Hi,
How I set up NVI indicator using real code? I have only version 4 of the StockFinder. Thanks a lot!
J
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Is NVI the Negative Volume Index? If so, this is already in the version 4 indicator library. You don't need to create it in RealCode.
|
|
Registered User Joined: 10/7/2004 Posts: 886
|
Maybe sara was asking about the Normalized Volatility Index that appeared in the August TASC magazine?
If so, I think the RealCode would be (where ATR is a plot of Average True Range that was dragged into the RealCode editor):
'# ATR = indicator.AverageTrueRange
plot = ATR.Value / price.close * 100
I haven't used SF4 in ages, so I hope this is correct.
Bob
|
|
Gold Customer
Joined: 10/7/2004 Posts: 20
|
Thank you both of you for your reply. Yes, Bob, I was asking for normalized VI. Somehow, there is an error when I applied the code. The message is "name 'ATR' is not declared". I am wondering whether you could help fix it.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
sara,
You can't just copy and paste bobre1's RealCode into StockFinder 4. You need to Drag and Drop an Average True Range Indicator from the Chart into the Code tab of a RealCode Indicator to create the first line.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 10/7/2004 Posts: 20
|
Bruce,
Thanks so much for your help. It worked.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
sara,
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |