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

Re: [amibroker] writreview



PureBytes Links

Trading Reference Links


Hello,
 
There is no such function in AFL.
Maybe you meant: WriteVal or WriteIF:



WRITEIF 





SYNTAX 
writeif( EXPRESSION, "TRUE TEXT", "FALSE 
TEXT" )

RETURNS
STRING

FUNCTION 
This function can only be used within an Guru 
commentary. If EXPRESSION evaluates to "true", then the TRUE TEXT string 
is displayed within the commentary. If EXPRESSION evaluates to "false", 
then the FALSE TEXT string is displayed.

EXAMPLE
writeif( c > mov(c,200,s), "The close is 
above the 200-period moving average.","The close is below the 200-period 
moving average." )

SEE ALSO
<A 
href=""><FONT 
size=2>writeval() function


WRITEVAL 





SYNTAX 
writeval( NUMBER, format = 
1.3)writeval( ARRAY, format = 1.3 )

RETURNS
STRING

FUNCTION 
This function can only be used within an Guru 
commentary. It is used to display the numeric value of NUMBER or ARRAY. 
The second parameter - format - allows you to control output 
formatting (decimal places and leading spaces). The integer part of the 
number controls minimum number of characters used to display the number 
(if you specify high number the output will be space-padded). The 
fractional part defines how many decimal places to display, for example 
1.0 - will give you a number without fractional part at all.

EXAMPLE
writeval( stoch(39) - stoch(12) )

SEE ALSO
<A 
href=""><FONT 
size=2>writeif() function
 
 
Best regards,Tomasz 
Janeczko===============AmiBroker - the comprehensive share 
manager.<FONT face=Tahoma 
size=2>http://www.amibroker.com
 
----- Original Message ----- 
From: "Geo Singleman" <<A 
href=""><FONT face=Tahoma 
size=1>geosing@xxxx>
To: <<A 
href=""><FONT face=Tahoma 
size=1>amibroker@xxxxxxxxxxxxxxx<FONT face=Tahoma 
size=1>>
Sent: Sunday, November 25, 2001 12:10 
AM
Subject: [amibroker] writreview
<FONT face=Tahoma 
size=1>> Can someone point me to where this function (writreview) is 
documented?> Search of online help did not get a hit. could not findit 
in AFL> Function Reference either.> > Thanks.> 
> Geo> > 
__________________________________________________> Do You 
Yahoo!?> Yahoo! GeoCities - quick and easy web site hosting, just 
$8.95/month.> <FONT 
face=Tahoma size=1>http://geocities.yahoo.com/ps/info1<FONT 
face=Tahoma size=1>> > ------------------------ Yahoo! GroupsSponsor 
---------------------~-->> Universal Inkjet Refill Kit $29.95> 
Refill any ink cartridge for less!> Includes black and color ink.> 
<FONT 
face=Tahoma 
size=1>http://us.click.yahoo.com/Vv.L9D/MkNDAA/ySSFAA/dkFolB/TM<FONT 
face=Tahoma size=1>> 
---------------------------------------------------------------------~->> 
>  > > Your use of Yahoo! Groups is subject to 
<FONT face=Tahoma 
size=1>http://docs.yahoo.com/info/terms/ 
> > >