PureBytes Links
Trading Reference Links
|
Herman,
In my EOD database I panes are filled from top to bottom.
I have some "slow" indicators [which take some time to give the final
graph] gathered in the same sheet.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen"
<psytek@xxxx> wrote:
> if you work Real Time the charts refresh at the tick rate, this is
often
> faster than the refresh rate you selected in Preferences. With high
volume
> stocks the lag from one pane to the next may be small. There has to
be a
> processing order for panes, no way to get around that, however i do
not know
> the order.
>
> herman
>
>
> -----Original Message-----
> From: Ara Kaloustian [mailto:ara1@x...]
> Sent: Wednesday, July 21, 2004 10:59 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Static Variables
> Importance: High
>
>
> Herman,
>
> I managed to get the variables read across indicators OK....
Thanks for
> the sample code.
>
> I want to have a price chart at top of screen and several
indicators
> below... and Static variables would be ideal to tranfer data to the
> indicators from the price chart....
>
> However, I recall somewhere that the order of processing is not
guaranteed
> by AB. As I understand it, it is usually top to bottom, but not
necessarily
> so. I beleive it is processed in order of creation... which may
also mean
> that the order of processing changes if you edit one indicator....
>
> If indicator #2 is processed before price chart, then the value
received
> by ind. #2 will always be one processing step behind. I am not
sure if this
> creates a real problem or just a minor error - that might even be
> undetectable - but it's something that needs addressing and it's
importance
> would be application dependent
>
> Have you come across this as an issue?
>
> Ara
> ----- Original Message -----
> From: Herman van den Bergen
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Wednesday, July 21, 2004 12:14 PM
> Subject: RE: [amibroker] Static Variables
>
>
> Yes Ara, using it all the time...could you show your problem
code?
>
> you just set the variables in your master indicator using
StaticVarSet()
> and read them whenever you need the value with StaticVarGet().
Works like a
> dandy for me! Remember you may need to initialize the variables on
the first
> pass, i use an IsInitialized variable for this:
>
> Reset = Param("Reset Static Variables",0,0,1,1);
>
> if( IsEmpty(StaticVarGet("IsInitialized")) OR Reset) // An
Optional
> Reset is done with a Param() item
> {
> //... add your own variables here ...
> StaticVarSet("DownTicks",0);
> StaticVarSet("UpTicks", 0);
> StaticVarSet("IsInitialized",1); // This is set once for every
AB run
> and is never reset
> }
>
>
> //... add your own variables here ...
> Downticks = StaticVarGet("DownTicks");
> Upticks = StaticVarGet("UpTicks");
>
>
> herman.
>
> -----Original Message-----
> From: Ara Kaloustian [mailto:ara1@x...]
> Sent: Wednesday, July 21, 2004 3:04 PM
> To: AB-Main
> Subject: [amibroker] Static Variables
>
>
> There was some mention that Static variables can be accessed
from all
> indicator on same scree...
>
> My simple testing could not accomplish this.
>
> Has anyone verified that they can or can not be accessed from
all
> indicators on screen?
>
> Tahnks
>
> Ara
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
>
>
>
> 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.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/
|