Dear Ian,
Your afl is working fine,thanks a lot,i salute you
regards
bobby kular



--- In [email protected], "ian_rosbif" <[EMAIL PROTECTED]> wrote:
>
> Bobby,
> Use:
> StartIndex = Max(BeginValue(BarIndex()), 0);
> EndIndex = Max(EndValue(BarIndex()), 0);
> 
> Double-click on the chart to choose your start bar (will highlight 
> green) & do the same to pick your end bar (highlights red).
> 
> You can then use something like:
> Difference = Close[StartIndex] - Close[EndIndex];
> 
> The MAX... when determining the index sets 0 for both indexes when 
> you have no bars selected, otherwise you'll get an error trying to 
> use the indexes. 
> 
> Cheers,
> Ian
> 
> --- In [email protected], "stocks_bobby" <stocks_bobby@> 
> wrote:
> >
> > Dear Tomasz and Group Members,
> > I want to find difference between any two bars on intraday charts.
> > how can we do it?
> > Will it be possible to select any one bar and after that select 
any 
> > other bar using selector line .
> > 
> > if yes then what would be the afl code?
> > 
> > kindly help
> > 
> > regards
> > Bobby Kular
> >
>


Reply via email to