PureBytes Links
Trading Reference Links
|
The plot is a statement on its own, not a value for a variable.
I am certain there are examples of thism but here is one way to do this
Plot( IIf( TimeNum() >= 060000 AND TimeNum() <= 120000, AM6H, Null )
,"", colorWhite, styleLine|styleNoRescale );
IIf( TimeNum() >= 060000 AND TimeNum() <= 120000,H5, Null);//Doesn't
work with IIF()
On 10/31/05, Steve <avalon-ardy@xxxxxxxxxxxxxxx> wrote:
>
>
>
> How do you plot a line of fixed length each day?
>
> I'm try to draw a line only between the hours of 06:00 & 12:00 and the IIF()
> function doesn't accept the Plot statement and the if() function doesn't
> accept arrays, so I can't write
>
> if(timenum() >= etc etc
>
> {
>
> plot (etc etc);
>
> }
>
>
>
> AM6H = ValueWhen(TimeNum()== 120000,HHV(H,10) + 0.0002);
>
> H5 = Plot(AM6H ,"",colorWhite,styleLine|styleNoRescale);
>
> IIf( TimeNum() >= 060000 AND TimeNum() <= 120000,H5, Null);//Doesn't work
> with IIF()
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
>
>
> ________________________________
> YAHOO! GROUPS LINKS
>
> Visit your group "amibroker" on the web.
>
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|