PureBytes Links
Trading Reference Links
|
Hello,
x = IIF( Interval() == inDaily, 365, 52 );
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "darrinm81" <fmarx@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, July 22, 2004 3:57 PM
Subject: [amibroker] Indicator Builder - If on Daily chart = x, but on Weekly = y
> When creating an indicator, how can I create a If statement where:
>
> If viewing a daily chart, then x = 365
> If viewing a weekly chart, then x = 52
>
>
> Thanks in advance!
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
------------------------ 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
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|