PureBytes Links
Trading Reference Links
|
Howard:
I think this one is the closest to what he is trying to accomplish. He DOES
collect intraday data and he is used to seeing the 1 minute bars, 2 minute
bars, 8 or 10 minute bars, 20 minute bars and maybe a few others including 1
day bars, but based upon the average of the ticks in those bars, not just
the (open, low, high, close)/4.
I just looked at the code and there is a variable set like this:
this_bar_avg = avgprice, and in TS, avgprice is (O, L, H, C)/4. Some further
monkey business is then done with the variable "this_bar_avg" to generate a
couple of plots for his study. So to get the average of the ticks in that
bar would I use the AB_average() function somehow, or is that only used in a
different display mode (Activity Bars)?
Or Mr. Sentinel's second suggestion of doing a price distribution thing.
Maybe we will have to resort to something like that.
I will look into this tonight to see if I can do something like that. If
anyone has any more good ideas, keep them coming.
Thanks for all your responses.
Dale.
-----Original Message-----
From: Howard Jackson <hrjf4@xxxxxxxxx>
To: Sentinel Trading <rjbiii@xxxxxxxxx>; dalew@xxxxxxxxxxxx
<dalew@xxxxxxxxxxxx>; Omega List <omega-list@xxxxxxxxxx>
Date: Thursday, July 15, 1999 3:10 PM
Subject: Re:EL Averaging Function
>I think the original question was misunderstood. I
>think the question is: how do I calculate the average
>PRICE of the ticks during a day - on a daily chart?
>
>And the only way to do this (to my knowledge), and I
>have not done it myself, is with an activityBar in
>2000i. If you put up a daily chart, and choose an
>activityBar that adds a cell for each tick, then you
>can use the function AB_Average() to get the average
>tick price of the bar.
>
>H
>
>--- Sentinel Trading <rjbiii@xxxxxxxxx> wrote:
>> In charting, you can use a chart and set the volume
>> plot to Tick Count on the
>> Settings Tab of Format Symbol, then use the Volume
>> Average indicator. You then
>> have the volume displayed as the tick count in each
>> bar, and the average line is
>> the average of the tick count.
>>
>> The first dawn of smartness is to stop trying things
>> you don't
>> know anything about----especially if they run to
>> anything
>> over a dollar.
>>
>>
>> Sentinel Trading
>> rjbiii@xxxxxxxxx
>>
>>
>> ____________________Reply
>> Separator____________________
>> Subject: EL Averaging Function
>> Author: Dale Williams
>> Date: 7/14/99 11:40 PM
>>
>> I'm pretty new to this EL environment and trading in
>> general and I fell into
>> this stuff because I support a commodity trader's PC
>> equipment. He is
>> running TS2000i on a trial basis under WinNT and he
>> has an indicator that is
>> taking the Average (Open, Low, High, Close) of a bar
>> and he would rather
>> have it take the average of the ticks in that bar. I
>> looked quickly the
>> other day when I was at his office to see if there
>> was another Average
>> function that used the average of the ticks instead
>> of the O, L, H, C
>> values, and I didn't see one.
>>
>> Does anyone know which built-in function in Easy
>> Language would do what he
>> is asking for, or is this getting into more
>> programming steps than I (the
>> hardware guy) or he (the computer illiterate) is
>> capable of doing?
>>
>> Dale Williams
>> dalew@xxxxxxxxxxxx
>>
>>
>>
>>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
|