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

Re: Bar Spacing



PureBytes Links

Trading Reference Links

I don't know if you can GET the bar spacing but I know you can set the bar
spacing  in EL.
You need to use the RunCommandOnLastBar.

If Condition1 Then
Value1=RunCommandOnLastBar(".BS 5");


This will set the Bar Spacing to 5 if the Condition1 is meet.

Hope this helps.

Regards.

----- Original Message ----- 
From: "wH" <wofipa@xxxxxxxxxxxxx>
To: "'Jimmy'" <jhsnowden@xxxxxxxxxxxxx>; <omega-list@xxxxxxxxxx>
Sent: Thursday, September 09, 2004 10:01 AM
Subject: RE: Bar Spacing


> Jimmy with a right hand click and "Format Window / properties" I get the
bar
> spacing information. But this is different for each chart and I am
searching
> for a way to get this value direct in EL for further calculations.
>
> Thank You anyway!
>
> Wolfgang
>
> -----Original Message-----
> From: Jimmy [mailto:jhsnowden@xxxxxxxxxxxxx]
> Sent: Thursday, September 09, 2004 2:32 PM
> To: Omega-List; wH
> Subject: Re: Bar Spacing
>
> Wolfgang,
>
> Don't think so.  You could however build an indicator that simply
> counts the bars loaded then look to see the barnumber on the left of
> your screen.  So if you know the total bars less the left bar you know
> how many bars to look back to see the Highest High of X bars.  You
> can't change the size of the screen or the bar spacing or window size
> but it should work fine.
>
> Jimmy
>
> Thursday, September 9, 2004, 6:53:17 AM, you wrote:
>
> w> Hi,
>
> w> is there any way to get the "bar spacing" actual used by a chart, for
> w> further calculation in easy language?
>
> w> I like to get the highest high on screen - how many bars are displayed
on
> w> screen depends on actual used bar spacing.
>
> w> Any ideas?
>
> w> Wolfgang Heininger
>
>
>
>
> --
> Best regards,
>  Jimmy                            mailto:jhsnowden@xxxxxxxxxxxxx
>
>
>