PureBytes Links
Trading Reference Links
|
At 12:25 PM 7/7/2004, Blair Carruthers wrote:
>Here are a few more details that may better explain my situation.
>
>
>I am following Hurst's methods of Cycle Analysis, and am compiling a
>database of Dates of Cycle Lows.
>
>The rough format is:
>Symbol, Date, Cycle Low (Cross Reference Value)
>ABC, 3/18/01, 3
>ABC, 6/2/01, 4
>ABC, 8/12/01, 3
>ABC, 10/30/01, 5
The method I illustrated in my previous post would do this very easily.
>My idea is to have a Study (Indicator/Showme) so I can plot the dates on
>my charts, and perform calculations based on them.
>
>My pseudo code would look something like this:
>
>Varsym = getsymbolname;
>ArrayDates = DLLget(Varsym, compression);
>
>If Date = ArrayDates[1] then plot1 (Low, "Low");
>If Date = ArrayDates[2] then plot1 (Low, "Low");
>....
>
>So How do I code the interface (DLL) to get the dates into a useable
>format in Easylanguage?
You could also have a fake data stream for each symbol and import it as Date/Close data:
3/15/2001, 0
3/16/2001, 0
3/17/2001, 0
3/18/2001, 3
3/19/2001, 0
3/22/2001, 0
3/23/2001, 0
3/24/2001, 0
...
But the easiest solution might be to simply figure all the values you need in TradeStation in the first place.
Bob Fulks
|