Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 1/2/2005 Posts: 6
|
I am having trouble getting TSV to work in RealCode. The following will not plot: '# TSV = indicator.Library.Time Segmented Volume (TSV) Plot = System.Math.Sign(TSV.AVG(10) - TSV.AVG(30)) Any help?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not sure why your Realcode doesn't Plot, but the problem doesn't appear to be TSV as the following Plots just fine:
'# TSV = indicator.Library.Time Segmented Volume (TSV)
Plot = (TSV.AVG(10) - TSV.AVG(30))
A form that seems to get around whatever issue might be causing this is:
'# TSV = indicator.Library.Time Segmented Volume (TSV)
Dim Sign As Single = (TSV.AVG(10) - TSV.AVG(30))
Sign = Sign / System.Math.Abs(Sign)
Plot = Sign
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/2/2005 Posts: 6
|
OK. Thanks! I'll give this a try.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |