| Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 11/20/2004 Posts: 401
|
Is there a way to access weekly data using real code and doing ones own looping regardless of the time frame of the chart on the screen? If yes could you add the appropriate code to my shell program below.
Sub New
AutoLoop = False
End Sub
Public Overrides Function Plot() As System.Single
'*************************************
'* Accessing Weekly Database *
'*************************************
Dim Variables aas needed
For i As Integer = 0 To Price.Bar.Count - 1
Neccessary code
AddToOutput(Price.Bar.DateValue(i), Result)
Next
End Function
|
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Sub New
AutoLoop = False
End Sub
Public Overrides Function Plot() As System.Single
'*************************************
'* Accessing Weekly Database *
'*************************************
Static customSymbol As PriceScripting
Dim tf As New WeeklyTimeFrameProvider
tf.NumWeeks = 1
customSymbol = PriceData(CurrentSymbol, tf)
Dim Variables aas needed
For i As Integer = 0 To customSymbol.Bar.Count - 1
Neccessary code
AddToOutput(customSymbol.Bar.DateValue(i), Result)
Next
End Function
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/20/2004 Posts: 401
|
Thank you very much.
|
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
|
Guest-1 |