Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

NVI Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
sara
Posted : Friday, August 6, 2010 12:41:36 AM
Gold Customer 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
StockGuy
Posted : Friday, August 6, 2010 8:16:43 AM

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.
bobre1
Posted : Friday, August 6, 2010 12:40:10 PM
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

sara
Posted : Saturday, August 7, 2010 11:10:58 PM
Gold Customer 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.
Bruce_L
Posted : Monday, August 9, 2010 11:30:51 AM


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
sara
Posted : Sunday, August 15, 2010 9:05:12 PM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 20
Bruce,
Thanks so much for your help. It worked.
Bruce_L
Posted : Monday, August 16, 2010 9:06:11 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
sara,
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
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.