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

Re: Finding the first bar of chart



PureBytes Links

Trading Reference Links

Hello,

look in the help at status function
I don't remember the exact word, but it is perhaps firstbarintest or 
firstbarin trade

or there is cum(1)==1

stephane
> I am wanting to set up a long term MA. In some cases there would 
not be
> enough history data to create this MA. I then will set it to the 
number
> of bars possible.
> My query, and I know this has been asked before, and cannot 
remember.
> How can I write in an AFL to find the first bar for the stock and 
then
> define this to use in an MA.
> I will use the lesser of 500 bars or total bars in chart.
> 
> Thanks in advance
> Graham