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

RE: [amibroker] String Logic Check



PureBytes Links

Trading Reference Links




No, I 
want to Scan at 1Min intervals and Only write on a True 
condition...
You 
are correct, I told it to write a blank and that is not the result I 
wanted...
Any 
suggestions, thanks in advance.
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Cheers,
Mr 
Valley

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Graham 
  [mailto:gkavanagh@xxxxxxxxxxxxx]Sent: Wednesday, July 09, 2003 
  11:54 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] String Logic Check
  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. 
   <o:SmartTagType name="PersonName" 
  namespaceuri="urn:schemas-microsoft-com:office:smarttags">
  

  

  
  <B 
  ><I 
  ><SPAN 
  >Cheers<SPAN 
  class=GramE>,<st1:PersonName 
  ><B 
  ><I 
  ><SPAN 
  >Graham
  <A 
  href=""><SPAN 
  ><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 = <FONT 
    color=#0000ff>WriteIf((<FONT 
    color=#0000ff>LastValue(Buy) ==<FONT 
    color=#ff00ff>1),mvSignal 
    ,"");  //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 <FONT 
    color=#ff0000>under a True condition only?  ...not either text 
    or blank 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 
    ???<SPAN 
    class=968222404-10072003><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?
    <FONT face=Arial 
    size=2>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. 
    Send 
  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.