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

RE: [amibroker] Re: Multi Monitor Layout



PureBytes Links

Trading Reference Links

Hi Nigel,

Thank you very very much. I've looked the function before but see through
it....sigh.
KK
----- Original Message -----
From: "Nigel Rowe" <rho@xxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 18, 2004 5:08 PM
Subject: Re: [amibroker] How to detect if the chart is in day, month, or
year mode


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, 18 May 2004 18:41, kk2628 wrote:
> > Hello,
> >
> > Is there a function/way in AFL for me to know if the chart is in day,
week,
> > or month mode ? What I try to achieve is
> >
> > if  'weekmode' then ma=12 else ma=30;
> >
> > For example, when I choose the week mode "w", then the ma ploted will
use
> > the parameter 12 on the weekly chart, and the plot will use parameter 30
> > when I switch back to day mode.
> >
> > I know I can achieve some kind of this using the TimeFrameSet function,
but
> > there will be a bit more coding to be done for each different type of
mode.
> >
> > Thanks
> > KK
>
> MA_len = IIf(Interval()==inWeekly, 12, 30);
>
> Substitute in1Minute, in5Minute, in15Minute, inHourly, inDaily, inMonthly
for
> inWeekly, as appropriate.
>
> (BTW, don't try to set ma=12, MA is a function name!)
>
>
> Nigel
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
>
> iD8DBQFAqdKRBbmcM2pfckkRAt8xAJ0UE7ebL9vI/fdRG+16NIsAQAs+LwCaAhVV
> IT5yRjmW2O+r30CsydpXTrk=
> =lgAp
> -----END PGP SIGNATURE-----
>
>
>
> 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/