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

Re: [amibroker] assign an empty value?



PureBytes Links

Trading Reference Links

You can try using Null. if this gives you an error, then 0 (zero) is an
option... otherwise you have to use the:

Writeif() function which allows you to use strings for arguments... then you
can use "" for false condition. The true condition also has to be a string
in this case.


----- Original Message ----- 
From: "dsb_mac" <dsb_mac@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, March 04, 2005 5:04 AM
Subject: [amibroker] assign an empty value?


>
>
> How do I assign an empty value? I'm writing an indicator and I only
> want it to display a value when the condition is true. I use IIf()
> and then Plot() it but I don't know what to put in the FALSE portion
> of the command so that there's no value to display when the
> condition is false.
>
> Thanks!
>
>
>
>
>
>
> 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 --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/