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

Re: Geom.profit



PureBytes Links

Trading Reference Links

Hi Bernard,
1.
What I did in Geom. Profit is what was asked
i. e. for profits
Pr1=sellprice1/buyprice1
Pr2=sellprice2/buyprice2
Pr3=sellprice3/buyprice3
etc
we have for the Geom. profit, called gp
the respective values
gp0=1, initial value
gp1=gp0*pr1
gp2=gp1*pr2
gp3=gp2*pr3
etc

2.
The formula is for Indicator Builder.
The response was immediate.
I did not notice any delay, when I hit "Apply"
Just paste the code and see the graph for any selected stock
form your data tree.

Dimitris Tsokakis

--- In amibroker@xxxx, "Bernard Bouree" <bernard@xxxx> wrote:
> Dimitris,
> 
> Thank you very much for your great help and sorry for not having 
answered before, I was out for some days.
> One more question concerning your script.
> is the jscript portion calculated for each bar or only at the end 
when the AFL script is ended ?
> If yes I'm afraid that the running time will much longer !
> Bernard Bouree
> bernard@xxxx