RelStrength only requires the symbol, not the price value j = "!spx";
-- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 20/03/07, jayhart_1972 <[EMAIL PROTECTED]> wrote: > I recently moved over to a new PC and a lot of my formulas reference > other securities or indexes. For some reason these formulas will not > work on my new PC even though they work just fine on the old one. I > have AB 4.90 on the new machine and 4.88 on the old one. This is > what one of the error messages look like > > > j = Foreign("!spx", "c"); > > j1 = RelStrength(" > -----------------^ > > Error 21. > Relative strength base symbol not found > _____________________________________________________________ > > The formula should look like this before it gets cut off during the > exploration: > > j = Foreign("!spx", "c"); > j1 = RelStrength("j"); > j2 = RelStrength("j")/Ref(j1,-20); > > Any idea what happened during the conversion? I changed the relative > strength base symbol in the settings to SP 500 but this has not helped
