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

Re: [amibroker] Linux compatibility - IT WORKS!!!



PureBytes Links

Trading Reference Links

Herbert,

ThisIsLastBar = BarIndex() == LastValue( BarIndex();

Returns a true (1) or false (0) value.  Either the
barindex is the last value of barindex or it isn't.

LastValue( BarIndex() ); will return the lastvalue of
barindex.

You'd be best served by putting these into an
exploration and see the output for yourself.

Run on current stock.

ThisIsLastBar = BarIndex() == LastValue( BarIndex();
LastBI = LastValue( BarIndex() );
Filter = 1;

addcolumn(BarIndex(), "BarIndex", 5.0);
addcolumn(ThisIsLastBar, "Is this Last Bar", 5.0);
addcolumn(LastBI, "Last BarIndex Value", 5.0);





--- hertyil <herty@xxxxxxxxxxxx> wrote:
> I'd appreciate an explanation on what's the
> difference between:
> 
> ThisIsLastBar = BarIndex() == LastValue( BarIndex()
> ); (From the 
> help menu) and:
> 
> LastValue( BarIndex() ); 
> 
> Why isn't the second expression enough?
> 
> Herbert
> 
> 



	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> 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/