PureBytes Links
Trading Reference Links
|
Only guessing, but you are
telling it to write a blank "" if the condition is
false
Do you mean an exploration
rather than Scan? If an exploration then maybe Filter=Buy; might help remove the
blanks you don't want.
<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName">
<B
><I
><SPAN
>Cheers<SPAN
class=GramE>,<?xml:namespace prefix = st1 ns =
"urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName
><B
><I
><SPAN
>Graham
<A
href=""><FONT
color=#008080>http://groups.msn.com/ASXShareTrading
<A
href=""><FONT
color=#008080>http://groups.msn.com/FMSAustralia
<FONT
face=Tahoma size=2>-----Original Message-----From: Mr Valley
[mailto:valleymj@xxxxxxxxxxx] Sent: Thursday, 10 July 2003 1:13
PMTo: AmibrokerSubject: [amibroker] String Logic
Check
Am I correct in
the use of this?
<FONT face=Arial
size=2>
mvSignal = "Now
looks like a good time";
myAlert = WriteIf((<FONT
color=#0000ff>LastValue(Buy) ==<FONT
color=#ff00ff>1),mvSignal ,<FONT
color=#ff00ff>""); //This didn't
work as I wanted
<FONT
face=Arial size=2>Here's the problem, When Buy == 1 it writes "Now looks
like a good time" ...But,<SPAN
class=968222404-10072003>When I run a Scan and Buy is
not ==1, then it writes a blank space rather than doing
nothing.
<FONT face=Arial color=#0000ff
size=2>1) How can one Scan and write under a True
condition only? ...not either text or blank <FONT
color=#ff0000>using only .AFL?
2)
<FONT
color=#ffffff>addtextcolumn( string,
name, format = 1.2, textColor = colorDefault,
bkgndColor = colorDefault ) How do use format when it is a
string, just leave it out, or ???<FONT
size=+0><FONT
size=2><SPAN
class=968222404-10072003><FONT
face=Arial size=2>3)Or, do I need to write a .dll and then do
it?
<FONT
face="Times New Roman">What is the best way to do
this?
Thanks
in advance.
Mr.
ValleySend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|