Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
Hey Thom-
Thanks for your very useful follow up. I'm sorry for having been slow getting up to speed with your dilemma.
Your workaround is interesting and useful. Believe it or not, I'm attracted to that method. The power of Excel & MS combined is a tough combination. Lethal! LOL! Anyway, my thoughts on making it not so "EXTREMELY tedious" is to set up an Excel macro prior to pasting to format your data. Within Excel, don't forget that you can hide rows. You could hide every Nth row for example. OR, you can insert rows, such as insert 4 rows every 5th row and copy the contents in a manner to pad your data (same data x 5 days). Once your format matches your underlying security in MS, perform a block Copy & Paste function. Done. See the attached sample. 'Tedious' is a subjective feeling, but I think it's pretty easy. BTW, I'd paste into the OI column, but that's just because I don't otherwise use OI.
Here are some >>rough<< Excel macro examples. You can edit them to suit your particular needs.
EXCEL Macro- hide every 6th row:
[code:1:89e2b18d2d]On Error Resume Next
Dim i As Single
For i = 0 To 65536 Step 6
Range("A6").Offset(i, 0).Select
Selection.EntireRow.Hidden = True
Next i
Range("A1").Select[/code:1:89e2b18d2d]
EXCEL Macro- insert 4 rows every 5th row:
[code:1:89e2b18d2d]On Error Resume Next
Dim i As Single
For i = 0 To 65536 Step 5
Range("A1").Offset(i, 0).Select
For j = 0 To 3
Selection.Insert
Next j
Next i
End Sub[/code:1:89e2b18d2d]
************************** BACK TO THE ORIGINAL QUESTION **************************
Once you have your data plotted, you can further manipulate the data and create a custom indicator based upon that data. e.g., when you have your OLE data plotted in the new inner window, it will plot with a name of "Indicator". You can then create a custom indicator based upon that plot, using the P variable (see pp 65-66 in the Formula Primer), or even INDICATOR. See the attached screen shot.
Now, this doesn't really take you to home plate, but again, it is interesting. I have been playing with it all morning, but can't seem to get it to be recognized as a valid reference in the Explorer or System Tester. In my example, I named my custom indicator ExcelOLE. If you try to run an exploration, it will show you that the indicator exists, but when you reference it, it will give you an error "requires an indicator plot in the active chart". Duh... well, it is, but I can't figure out why it goes unnoticed. I'm trying to reference it using the fml() function. i.e., Fml("ExcelOLE"). So, that's all I have for the moment. If I get any further, I'll update you here. Please do the same.
George
|