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

[amibroker] How to update deleted stocks from data base



PureBytes Links

Trading Reference Links

Hello,

It is allowed to write
> aa=(10 OR 14 OR 18);
> RSI(aa)>50

but this will NOT work like:
> RSI(10)>50 OR
> RSI(14)>50 OR
> RSI(18)>50

OR is logical operator and it treats NON-zero numbers as TRUE and zero as FALSE.

Therefore
10 OR 14 OR 18 is simply TRUE and TRUE equals 1

So:
> aa=(10 OR 14 OR 18);
> RSI(aa)>50

is exactly the same as

RSI( 1 ) > 50


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Yarroll" <yarroll999@xxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, May 07, 2004 2:59 PM
Subject: [amibroker] Multiple numeric variables


> Hello List,
> 
> Is it true that Amibroker allows the following code:
> 
> 
> aa:=(10 OR 14 OR 18);
> RSI(aa)>50
> 
> Also, does anyone use a system in practice - on a daily basis, etc. - where
> multiple variables are coded like this. I mean, does it compute properly,
> doesn't hang up machine etc.
> Logically, it seems like a considerable improvement over Metastock where I
> would have to code the above as
> 
> RSI(10)>50 OR
> RSI(14)>50 OR
> RSI(18)>50
> 
> ... which necessitates some more computing and strain on resources.
> 
> Thank you. All the best
> Yarroll
> 
> 
> 
> 
> 
> 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
> 
> 
> 
>  
> 
> 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/