PureBytes Links
Trading Reference Links
|
Yarroll,
Of course you may use it, if you prefer this type of syntax.
Just consider a range including 10, 14, 18 .
for(aa=1;aa<20;aa++)
{
if(aa==10 OR aa==14 OR aa==18)
{
Cond=RSI(aa)>50;
Plot(RSI(aa),WriteVal(aa,1.0),1+Cond*31,1);
}
}
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Yarroll" <yarroll999@xxxx> wrote:
> 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
------------------------ 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/
|