[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paint Bar/ ShowMe



PureBytes Links

Trading Reference Links

Here is a sort-of related question: I input a date (and time) and want to
paint all bars that are 'X' bars from it. I tried a few ideas with loops but
Tradestation burped on 'em.

All ideas/suggestions appreciated.

At 10:53 AM 3/27/98 -0800, Thomas Brun wrote:
>Jay,
>
>This was a good question and it received some good answers. I added
>another PaintBar and increased the lookBack bar by one and painted those
>bars Black. This helped me to get another view.  I think this works
>correctly.  Thanks to Hans,Denise, Bob and others who answered Jay's
>question.  I had the same question too.
>
> It doesn't help if you want to see all the previous bars but it does
>show you what bars are relevant to the High or Low that you would need
>within your look back time.
>
>
>
>Tom..
>
>
>
>  >From Jay:
>>      I would like to write a ShowMe study that marks the bar which
>>      is 'x" bars ago.
>
>
>>From Hans:
>> Create a PAINTBAR:
>> 
>> input:lookBACK(25);             {or whatever your BO period is}
>> plot1[lookBACK] (high[lookBACK],"pbHI");
>> plot2[lookBACK] (low[lookBACK],"pbLO");
>
>
>
-----------------------------
Phil Kobierowski
Georgia Tech EDI
404-894-2552
phil@xxxxxxxxxxxxxx