| lmagaro |
|
Gold User, Member, TeleChart
|
| Registered User |
|
|
|
|
| Unsure |
|
| Saturday, November 20, 2004 |
| Friday, September 10, 2010 12:05:36 PM |
380 [0.18% of all post / 0.18 posts per day] |
|
|
Thank you but I already understood what I could do. Please answer my question about the determination within real code of the MG symbols.
|
|
Is there a method to identify and use the sub-industry and industry symbols (MG e.g. COST MG732 and MG730) for a specific symbol from within a real code program? I want to determine relative strength for each. I do not want to add the indicators to my layout in the form of panes.
|
|
Thank you very much.
|
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
|
|
Can anyone at Worden answer this for me?
|
|
What is syntax for using an imported indicator when using the class tab. I use '# ABCD = indicator.ABCD to import the indicator, but I cannot seem to get the right syntax to use it. I've tried ABCD.Value but I get an error message. What is the correct syntax for getting past and present values of an imported indicator using the class structure?
|
I have tried to write real code as a class to color price bars, but the coloring remains the same. Here is my code. What can I change to make it work.
Sub New
AutoLoop = False
End Sub
Public Overrides Sub CallUserCode()
'******************************
'* Price History Color Scheme *
'******************************
For i As Integer = 0 To Price.Bar.Count - 1
If Price.Bar.HighValue(i) > Price.Bar.HighValue(i - 1) AndAlso _
Price.Bar.LowValue(i) > Price.Bar.LowValue(i - 1) Then
If Volume.Line.Value(i) > Volume.Line.Value(i - 1) Then
PlotColor = Color.Lime
Else
PlotColor = Color.White
End If
Else
PlotColor = Color.Gray
End If
Next
End Sub
Thanks.
|
|
Thanks.
|
|
I did what you suggested but here's what happens. If I click on a stock in watchlist 2 it is displayed in chart B but chart A changes to this symbol also (which is what I don't want). If I click on a stock in watchlist 1 chart A changes to this symbol and Chart B retains the stock selected in watchlist 2 (which is what I want). What am I doing wrong? I changed both Main Symbol block diagrams the way you suggested. Is it because I need a third watchlist and abandon using the main watchlist?
|
|
I have two charts and two watchlists. I want to permanently align Chart Tab A with Watchlist 1 and Chart Tab B with Watchlist 2. How do I do this?
|
|