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

[amibroker] 4.50 Error during batch backtesting



PureBytes Links

Trading Reference Links




<FONT face=Arial 
color=#0000ff size=2>Hairy One:
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face=Arial 
color=#0000ff size=2>Re #2. If you put #Pragma Nocache at the top of your AFL 
that has the include in it then you won't have to "re-compile" it.  The 
nocache line forces AB to re-read the included file from 
disk.
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face=Arial 
color=#0000ff size=2>Like so:  
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face=Arial 
color=#0000ff size=2>#Pragma NoCache
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face=Arial 
color=#0000ff size=2>blah blah blah;
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face=Arial 
color=#0000ff size=2>#include "your path here";
<FONT face=Arial 
color=#0000ff size=2>
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face=Arial 
color=#0000ff size=2>blah blah blah;
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face=Arial 
color=#0000ff size=2> 
<FONT face=Arial 
color=#0000ff size=2>d

  
  
  From: hairy_mug 
  [mailto:WSCHWARZ@xxxxxxxxxxxxx] Sent: Saturday, May 22, 2004 11:48 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 
  writeif in functions ?
  1. does it work in the main line code?   if so, 
  might not be able to be used in a function?2.Is the function in a 
  separate "#include" file?If so, add a space in the file name; 
         "check" it; (it will 
  fail)       Then take the space out and hit 
  "check" again...This has the effect of re-compiling the included 
  script.I edit all my function files outside of AB and have do this every 
  time the function file is edited.>> I would love to know a 
  better way to re-compile.3. try coding it with the "IIF" fuction to 
  create the 
  string...                     
  Walt--- In amibroker@xxxxxxxxxxxxxxx, "kelek_94" 
  <casalis@xxxx> wrote:> Thanks Graham,> > but... ;-) 
  that's not at all the problem :/> > Even with a "real" condition 
  nothing is displayed at all :/> > > --- In 
  amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:> > 
  You neeed something to be one for the statement to work> > 
  WriteIf(indicator==1, "TrueText", "FalseText");> > > > 
  Cheers,> > Graham> > <A 
  href="">http://e-wire.net.au/~eb_kavan/> 
  > > > -----Original Message-----> > From: kelek_94 
  [mailto:casalis@xxxx] > > Sent: Saturday, May 22, 2004 7:11 
  PM> > To: amibroker@xxxxxxxxxxxxxxx> > Subject: 
  [amibroker] writeif in functions ?> > > > Here is a very 
  short piece of code in which I'm trying to display > > information 
  in the interpretation window from a function.> > > > 
  function comment(indicator)> > {> > 
        "\nComment...\n";> > > > 
        WriteIf(1, "TrueText", "FalseText");> 
  >       WriteVal(indicator);> > 
  }> > > > Plot(MACD(),"MACD",colorBlue);> > 
  > > "---------";> > comment(MACD());> > 
  "---------";> > > > Unfortunately, the result is just 
  :> > > > Date: 21/05/2004> > > > 
  ---------> > ---------> > > > Is there something 
  wrong with this idea of printing text from a > > function ?> 
  > > > > > > > > > Send BUG REPORTS 
  to bugs@xxxx> > Send SUGGESTIONS to suggest@xxxx> > 
  -----------------------------------------> > 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 
  > > Yahoo! Groups LinksSend 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 
  


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








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.