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

Re: New Indicator added to AFL Library



PureBytes Links

Trading Reference Links

Hi Dimitri;

Thank you,

I wasn't sure how to get current close, I had 
c1 = ref(close,0); which made no difference to the calculations as
when I had 
c1 = ref(close,1);

It should be the current closing price. c1 = c; ... I will correct and 
upload new file to list.

also, You can use: cl = ref(close,-n ); to start your calculation from
a date back in time. (-n being days back ).

thank you.
Anthony






--- In amibroker@xxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> wrote:
> Anthony,
> You write
> c1 = ref(close,1); /* current closing price */
> 
> ref(close,1) is not the current closing price, is the closing price 
> one day later in the future.
> The current closing price is 
> c1=c;
> What do you mean in the beginning of your new code ?
> Thank you for sharing.
> Dimitris Tsokakis 
> 
> --- In amibroker@xxxx, ajf1111@xxxx wrote:
> > Hi All;
> > 
> > just added a new indicator to the AFL Library. Feedback is 
welcome.
> > ...Enjoy!!!!
> > 
> > Name: ... Probability and Future Price Projection.
> > 
> > ... comment to follow. 
> > 
> > Also ,I will be posting short description on
> > how to use the information .
> > 
> > thank you,
> > Anthony