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

Re: [amibroker] AmiBroker priority



PureBytes Links

Trading Reference Links

SetBarsRequired works EVERYWHERE.

Just add
SetBarsRequired( 100000, 100000 )

at the top of the code and that's it.
It is EVERYTHING you need to do. No need for any separate coding.

BTW: It is just unbeliveable why people do NOT do what
I say. Just add 

SetBarsRequired( 100000, 100000 )

at the top, and this is ALL YOU NEED. NO ADDITIONAL CODE CHANGE NECESSARY.

Please DO what I tell you. Do not "think" that something works this way or another
just do what I say and I GUARANTEE it will work OK.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Herman van den Bergen" <psytek@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, October 10, 2004 12:17 PM
Subject: RE: [amibroker] AmiBroker priority


> 
> There is a somewhat illusive code incompatibity between Indicators and AA
> code when using Status("BarsVisible") etc., these statements return zero in
> the AA, so loops won't loop. Also, I don't think the SetBarsRequired() works
> in the AA. Using this type of code/loops in backtests results in zero
> trades. This means i am forced to develop and track revisions for two sets
> of code :-(
> 
> Does QuickAFL void the original objective of common code between Indicators
> and AA?
> 
> Never mind, perhaps i am still confused :-(
> 
> best regards,
> herman
> 
> 
>  -----Original Message-----
>  From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
>  Sent: Sunday, October 10, 2004 5:13 AM
>  To: amibroker@xxxxxxxxxxxxxxx
>  Subject: Re: [amibroker] AmiBroker priority
> 
> 
>  Hello,
> 
>  You MUST use QuickAFL in AmiBroker running in RT mode otherwise you will
>  run into problems.
>  If you have one or two indicators requiring all bars use SetBarsRequired
>  locally, do NOT turn off quickafl under ANY circumstance.
> 
>  Again: QuickAFL will be FORCEFULLY enabled in upcoming versions.
>  I am not joking. It is REQUIREMENT.
> 
>  Best regards,
>  Tomasz Janeczko
>  amibroker.com
>  ----- Original Message -----
>  From: "Herman van den Bergen" <psytek@xxxxxxxx>
>  To: <amibroker@xxxxxxxxxxxxxxx>
>  Sent: Sunday, October 10, 2004 11:06 AM
>  Subject: RE: [amibroker] AmiBroker priority
> 
> 
>  >
>  > Thanks TJ,
>  >
>  > But I Can't use QuickAFL in systems code because I need to loop through
> all
>  > data, not just the display. If i use BarVisible etc loops do not work
> the
>  > same in Indicators and AA. The solution is to create separate code
> versions
>  > for Indicator and AA, during development that is double work...
>  >
>  >>>> Perhaps Barvisible etc variables should take on Range values in the
> AA?
>  >
>  > I lowered AB priority in the taskManager, this seems to work.
>  >
>  > best regards,
>  > herman
>  >
>  >  -----Original Message-----
>  >  From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
>  >  Sent: Sunday, October 10, 2004 4:37 AM
>  >  To: amibroker@xxxxxxxxxxxxxxx
>  >  Subject: Re: [amibroker] AmiBroker priority
>  >
>  >
>  >  Herman,
>  >
>  >  Make sure to enable QUICK AFL.
>  >
>  >  Best regards,
>  >  Tomasz Janeczko
>  >  amibroker.com
>  >  ----- Original Message -----
>  >  From: "Herman van den Bergen" <psytek@xxxxxxxx>
>  >  To: "AmiBroker YahooGroups" <amibroker@xxxxxxxxxxxxxxx>
>  >  Sent: Sunday, October 10, 2004 12:56 AM
>  >  Subject: [amibroker] AmiBroker priority
>  >
>  >
>  >  >
>  >  > Hello,
>  >  >
>  >  > I have some code that appears to overload my system (RT, Min). I
> Opened
>  > the
>  >  > Task Manager to adjust priority however it gave me a warning that
>  > reducing
>  >  > AB priority may make the system unstable...
>  >  >
>  >  > Is this True?
>  >  >
>  >  > If so how do i limit Amibroker use of computer resources?
>  >  >
>  >  > many thanks,
>  >  > herman.
>  >  >
>  >  >
>  >  > [Non-text portions of this message have been removed]
>  >  >
>  >  >
>  >  >
>  >  >
>  >  > 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
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >
>  >
>  >  Check AmiBroker web page at:
>  >  http://www.amibroker.com/
>  >
>  >  Check group FAQ at:
>  > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>  >
>  >
>  >        Yahoo! Groups Sponsor
>  >              ADVERTISEMENT
>  >
>  >
>  >
>  >
>  >
>  > ------------------------------------------------------------------------
> ----
>  > --
>  >  Yahoo! Groups Links
>  >
>  >    a.. To visit your group on the web, go to:
>  >    http://groups.yahoo.com/group/amibroker/
>  >
>  >    b.. To unsubscribe from this group, send an email to:
>  >    amibroker-unsubscribe@xxxxxxxxxxxxxxx
>  >
>  >    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>  >
>  >
>  >
>  > [Non-text portions of this message have been removed]
>  >
>  >
>  >
>  >
>  > 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
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
> 
> 
>  Check AmiBroker web page at:
>  http://www.amibroker.com/
> 
>  Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
>        Yahoo! Groups Sponsor
> 
>                 Select Your
> State:AlabamaAlaskaArkansasArizonaCaliforniaColoradoConnecticutDelawareFlori
> daGeorgiaHawaiiIdahoIllinoisIndianaIowaKansasKentuckyLouisianaMaineMarylandM
> assachusettsMichiganMinnesotaMissippiMissouriMontanaNebraskaNevadaNew
> HampshireNew MexicoNew JerseyNew YorkNorth CarolinaNorth
> DakotaOklahomaOhioOregonPennsylvaniaRhode IslandSouth CarolinaSouth
> DakotaTennesseeTexasUtahVermontVirginiaWashingtonWashington D.C.West
> VirginiaWisconsinWyoming
> 
>                 PurchaseRefinance
> 
> 
> 
> 
> 
> 
> ----------------------------------------------------------------------------
> --
>  Yahoo! Groups Links
> 
>    a.. To visit your group on the web, go to:
>    http://groups.yahoo.com/group/amibroker/
> 
>    b.. To unsubscribe from this group, send an email to:
>    amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> 
> 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/