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

RE: Standard method to sync inputs across multiple indicators?


  • To: "OmegaList" <Alex@xxxxxxxxxxxxxxxxxxxxxxx>
  • Subject: RE: Standard method to sync inputs across multiple indicators?
  • From: "Ivo Karindi" <ivo@xxxxxxxxx>
  • Date: Wed, 28 Nov 2001 09:30:09 -0800
  • In-reply-to: <HPEDKLDGMCNPMJLABLMJCEEHLPAA.Alex@xxxxxxxxxxxxxxxxxxxxxxx>

PureBytes Links

Trading Reference Links

Initially, the reason why I wrote this function was to update a strategy and
an indicator (or a couple of them) from a central location in one step.  In
addition, I am now finding other uses for this principle such as a central
"library" for tracking input variables for a number of markets.  For
example, you put something on a chart and instead of having to set the
correct input values manually, the indicator or strategy receives its values
for that market automatically from the "library".

For broader purposes with the global variables, DLL's are probably the way
to go (and much faster than EL anyway).

Ivo

-----Original Message-----
From: Alex Dannenberg [mailto:Alex@xxxxxxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, November 28, 2001 4:31 PM
To: ivo@xxxxxxxxx
Subject: RE: Standard method to sync inputs across multiple indicators?

Hi Ivo.  Am I right that SameVar is evaluated separately in Indicator1 and
Indicator2?  So, for example, if SameVar were to set var1 = random(1), var2=
random(5) and var3 = random(10) then Indicator1 and Indicator2 would get
different values for var1, var2 and var3?  I like SameVar and think that it
is a clever way to not have to set constants to the same value in many
different pieces of EL code, I'm just trying to figure out whether it can
take the place of a global variable product in a broader way...

Alex