PureBytes Links
Trading Reference Links
|
Is there a way to make scripting conditional?
Or can it only work like an INCLUDE?
Tried this, but doesn't make it...
function test1()
{
<%
var oAB = new ActiveXObject( "Broker.Application");
......
%>
}
tia
----- Original Message -----
Sent: Friday, April 14, 2006 5:26
PM
Subject: [amibroker] Re:
RelStrength
As most of the time when you post the message, you think of
the answer.
I just calc RelStrength on my own using rsxT =
1000*C/CSP;
where CSP = Close of SP-500
Cey
--- In amibroker@xxxxxxxxxxxxxxx, "C
Alvarez" <yahoo@xxx> wrote: > > I am trying to compare the
current symbol's RelStrength to other > symbols. I have written the
code below. The problem I have is that > the second RelStrength call is
getting the RelStrength of the > current symbol and not sym2. I have
verified that sym2 does exist. > > Am I doing something wrong? Is
there a way to do this? > > Thanks, > Cey > >
list = CategoryGetSymbols( categoryWatchlist , 4); > rsx =
RelStrength("SP-500"); > > for( j = 0; (
sym2 = StrExtract( list, j ) ) != ""; j++ ) > {
> SetForeign(sym2); >
> rsxT =
RelStrength("SP-500"); >
_TRACE(sym2 + ":" + rsxT); >
>
RestorePriceArrays(); >
} >
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS
|
|