PureBytes Links
Trading Reference Links
|
DOM=DayOfMonth()<>ValueWhen(2,1,DayOfMonth());
A couple of things. In valuewhen you need a condition to identify the values
valuewhen has (condition, value/array, lookback occurence number)
not equal to is written as !=
is this what you were looking for?
DOM=ValueWhen( DayOfMonth()!=2,DayOfMonth(), 1);
perhap if yuo can explain in words it would be easier to help
On Sun, 16 Jan 2005 16:05:28 -0000, goldwing01
<goldwing01_1999@xxxxxxxxx> wrote:
>
>
> how can I make this work in amibroker
>
> DOM=DayOfMonth()<>ValueWhen(2,1,DayOfMonth());
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/
|