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

Re: [amibroker] Re:New indicator



PureBytes Links

Trading Reference Links


Comments interspersed
 
----- Original Message ----- 
<BLOCKQUOTE 
>
<DIV 
>From: 
DIMITRIS 
TSOKAKIS 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Wednesday, August 08, 2001 8:13 
AM
Subject: [amibroker] Re:New 
indicator

And another one, copied exactly from the source:"To calculate 
the detrended price oscillator an x-period moving average is centered. 
This is done by shifting the moving average back [(x/2) + 1] period. 
This centered moving average is then subtracted from the close. 
Because it is set up as an oscillator, it will cross above and below 
zero. The last [(x/2) + 1] period will have no value. This is 
because the detrended price oscillator is shifted back [(x/2) + 1] 
period."Could any user accept this??"The last [(x/2) + 1] period 
will have no value"i.e. for a period of 20 days, you will not have 
indicator value for the last 11 days.Then, what do you have??A 
good report of what happened 11 days ago ??This is not serious.If 
anyone in this revolutionary mail-list attempted to presentsuch an 
indicator, with no value for the last 11 days, it is not difficult to 
predict the reactions  [In between, I prefer this software 
makers.At least, they are honest and inform the user that he "will have no 
value".And explain the reason.(They do not explain the purpose and 
the application of this indicator.But, we can not have everythingin 
this life...)]
<BLOCKQUOTE 
>

Detrending is a cycle finding 
methodology.  Its purpose is to identify short cycles thatare 
masked by moving averages.  Detrending reverses the process by 
eliminating cycles longer than the average.  The lack of oscillator 
data for the last XX days does not detract from its 
function.Best RegardsDimitris Tsokakis 
--- In amibroker@xxxx, "Tomasz Janeczko" <amibroker@xxxx> 
wrote:> Hi,> > >Because, whithout data for tomorrow, 
the program gives for> >ref(close,1) the available today´s 
price.> >(In my opinion, it should indicate an {empty} value, 
because> >ref(close,+1) exists for all previous days except thelast 
one)> >I do not know how it is designed, I know how it 
works.]> > Yes it gives today's price for the last bar as we 
don't know the future yet :-)> The reason why it doesn't return 
{empty} is that some of the other> functions may be confused if they 
see {empty} at the end of the array> (normally {empty} values 
appear only at the beginning and all AFL functions> are aware of 
this fact)> > Also: I agree with Dimitris that writing trading 
systems using Ref with positive> offsets (looking into the future) 
would give results that could not be > reproduced in real life. 
(unless you have time-machine :-)))> > > Best 
regards,> Tomasz Janeczko> 
amibroker.comYour use of Yahoo! Groups is subject tothe 
Yahoo! Terms of Service.