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

Re: [amibroker] How to find the second lowest Low of the donchian channel ?



PureBytes Links

Trading Reference Links

If I understand - see if this produces what you want:
 
2ndchannellowback = valuewhen(ref(lowerchannelline, -1) < lowerchannelline, ref(lowerchannelline), -1), 2);
 
Bill
 
 
----- Original Message -----
From: "Thomas" <tzg@xxxxxxxxxxxxxxxxxxx>
Sent: Friday, May 11, 2007 9:21 AM
Subject: [amibroker] How to find the second lowest Low of the donchian channel ?

> Hello,
>
> i can't find the solution right now.
> I am using a simple 20 period donchian channel and want to find the
> second lowest low of the channel. Can someone help ?
> I have tried the following code which isn't correct.
>
>
> function BandDn2(array,period)
> {
> LowerBand = Ref(LLV(array,period),-1);
> LowerBandLow2nd = ValueWhen(L>LowerBand,L,1);
> return LLV(LowerBandLow2nd,periods);
> }
> Plot( BandDn2( L, Periods), "Channel Low" + _PARAM_VALUES(),
> colorBlue, Style );
>
>
> Thanks
> Thomas
>
>
>
>
> 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
>
> <*> To visit your group on the web, go to:
>   
http://groups.yahoo.com/group/amibroker/
>
> <*> Your email settings:
>    Individual Email | Traditional
>
> <*> To change settings online go to:
>   
http://groups.yahoo.com/group/amibroker/join
>    (Yahoo! ID required)
>
> <*> To change settings via email:
>   
mailto:amibroker-digest@xxxxxxxxxxxxxxx
>   
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
>
> <*> To unsubscribe from this group, send an email to:
>   
amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/

>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.6.6/795 - Release Date: 5/9/2007 3:07 PM
>
>
__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___