price volatility Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
SDRODIMER
 Posted : Friday, September 28, 2018 12:14:52 PM
Platinum Customer

Joined: 2/14/2005
Posts: 169

Hi,

SF5 includes a Data page.  Price volatilty values are provided in that page.  I want to write some blocks to provide Price volatility.  I will be trying to make an indicator using blocks and also using RealCode.

Please provide an example of a blocks code and also a Realcode which does the sole job of providing Price volatility.

Steve

Bruce_L
 Posted : Friday, September 28, 2018 1:09:20 PM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The Price Volatility indicator is one of StockFinder's built in indicators. So you should just be able to add it to the chart and edit it to view its Block Diagram.

The following would be an approximation of Price Volatility created as a daily RealCode Indicator.

``````'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:Price Volatility Approximation
'|******************************************************************
Dim PVA As Single = 0
For i As Integer = 0 To 60 Step 5
PVA += Math.Abs(Price.PercentChange(5, i))
Next
Plot = Math.Round(10 * PVA / 13, 0)``````

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SDRODIMER
 Posted : Friday, September 28, 2018 1:47:50 PM
Platinum Customer

Joined: 2/14/2005
Posts: 169

Hi,

Regarding the built in indicator available from the drop down list of the add indicators, I tried it and it left me with an empty graph.

I looked at its block diagram and there are no other blocks or calculations in the diagram other than TimeFrame bar builder.

Please take a look at what you get on your computer and let me know if this is working block.

Thx,

Steve

Bruce_L
 Posted : Friday, September 28, 2018 2:37:36 PM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138

It is definitely working for me. You may want to contact technical support.

Attachments:

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SDRODIMER
 Posted : Friday, September 28, 2018 8:44:39 PM
Platinum Customer

Joined: 2/14/2005
Posts: 169

Hi,

Looked OK on your computer, so, yes, I'll ask Tech Suppport how to fix what's on my computer.

Thanks for checking on this --

Steve

SDRODIMER
 Posted : Friday, September 28, 2018 9:46:28 PM
Platinum Customer

Joined: 2/14/2005
Posts: 169

Hi,

One other question.  Where does the "10" come from in the statement

``Plot = Math.Round(10 * PVA / 13, 0)  ?``
Bruce_L
 Posted : Monday, October 01, 2018 10:58:04 AM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The 10 is just an arbitrary factor applied to the calcualtions. I do not know why it was chosen.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/18 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 18 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos 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.