PureBytes Links
Trading Reference Links
|
Thanks for the response. But I really wanted to know what the 6 means
to the trough function. If this is 6% of what??
TroughBars(Low,6,1)==0 I know will find the last trough but of what?
If I change the 6 to a 9 it will find a different trough. I would
like to know what the change function 6 is refferenced too.
Thanks
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> The actual trough is found with ThisTrough = TroughBars(Low,6,1)==0;
> Here is a short routine to demonstrate the bar at which the
previous trough
> was formed. Unitl you see the red arrow a new trough will not be
created
>
> ThisTrough = TroughBars(Low,6,1)==0;
> TurnPrice = Trough(Low,6)*1.06;
> Crossbar = ExRem(Cross(L,turnprice),thistrough);
>
> Plot( C, "", colorGrey50, styleBar );
> Plot( TurnPrice , "TurnPrice ", colorRed, styleStaircase );
> PlotShapes( shapeUpArrow*ThisTrough , colorGreen, 0, L, -10 );
> PlotShapes( shapeUpArrow*Crossbar , colorRed, 0, L, -10 );
>
>
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://www.aflwriting.com
>
> On 22/11/06, Ernie Newman <ewn87544@xxx> wrote:
> >
> > I am using the following code to find price troughs.
> > TroughBars(Low,6,1)==1;
> > My question is if 6 = 6% change what is it a 6% change from.
> > Exactly what does the 6% mean. My code TroughBars(Low,6,1)==1;
> > finds a trough bar low on ANST for 11/15/06 the low for that day
is
> > 22.65.
> > I wanted to find out what the actual change was so by process of
> > elimination I found that TroughBars(Low,8.74,1) is the last
number to
> > recognize this trough. So the trough is 8.74% change of WHAT??
And why
> > does the 6% signal find this TroughBar?
> > Thanks
> > Ernie
> >
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.13/546 - Release Date: 11/22/2006
|