Hello Steve,

thanks a lot !
Really excellent.

Thomas
www.patternexplorer.com


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Dugas
Sent: Monday, May 14, 2007 5:46 PM
To: [email protected]
Subject: Re: [amibroker] Re: opposite of NULL available ?

Hi Thomas - re 2nd lowest low, does this code do what you want?

Steve

Array = Low;
Periods = 20;
LowestLowValue = LLV( Array, Periods );
SecondLowestLowValue = 1000000;
for ( i = Periods - 1; i >= 0; i-- )
{
ShiftedArray = Ref( Array, -i );
SecondLowestLowValue = IIf( ShiftedArray > LowestLowValue AND ShiftedArray <
SecondLowestLowValue, ShiftedArray, SecondLowestLowValue );
}
Plot ( Close, "Price", colorBlack, styleCandle );
Plot( LowestLowValue, "LLV", colorRed, styleLine );
Plot( SecondLowestLowValue, "2ndLLV", colorBlue, styleLine );

----- Original Message ----- 
From: "Thomas" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 14, 2007 3:10 AM
Subject: [amibroker] Re: opposite of NULL available ?

Hello Joseph,

thanks, i have found a solution.

Now i am looking for a way to find the second lowest Low over any
period. It seems not to be so easy.

Kind regards
Thomas
www.PatternExplorer.com

--- In [email protected], "J. Biran" <[EMAIL PROTECTED]> wrote:
>
>
> I am not sure I understand what you are trying to achieve (what does
> endless mean?).
>
> Once you initialize a variable to ANY value it will no longer be
NULL.
>
> Maybe just set it initially to -1.0 or +999999 (not a possible
value)
> and go from there...
>
>
>
> Joseph Biran
> ____________________________________________
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of Thomas Z.
> Sent: Sunday, May 13, 2007 12:20 AM
> To: [email protected]
> Subject: RE: [amibroker] opposite of NULL available ?
>
> Hello,
>
> i would like to initialize a variable (short stop) of my loop with
> endless
> value, not search if a value is endless.
> Is there any way ? Otherwise I think I have to solve it through
> another way.
>
>
> Thomas
> www.patternexplorer.com
>
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf
> Of Tomasz Janeczko
> Sent: Sunday, May 13, 2007 1:44 AM
> To: [email protected]
> Subject: Re: [amibroker] opposite of NULL available ?
>
> Hello,
>
> NOT IsNull( ...)
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: J. Biran
> To: [email protected]
> Sent: Sunday, May 13, 2007 1:22 AM
> Subject: RE: [amibroker] opposite of NULL available ?
>
>
> !NULL or NOT NULL ??
>
>
>
> Joseph Biran
> ____________________________________________
> ________________________________________
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf
> Of Thomas Z.
> Sent: Saturday, May 12, 2007 11:53 AM
> To: [email protected]
> Subject: [amibroker] opposite of NULL available ?
> Hello,
>
> does anyone know if the opposite of NULL is available ?
> I want to use an unlimited value inside my loop to start.
>
>
> Thomas
> www.patternexplorer.com
>

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
 

Reply via email to