It is possible. Just overwrite close array;

Tmp = C;

C = your array
..here any indicator

C = Tmp;

Best regards,
Tomasz Janeczko
amibroker.com
  ----- Original Message ----- 
  From: Louis Préfontaine 
  To: [email protected] 
  Sent: Wednesday, July 16, 2008 7:56 PM
  Subject: Re: [amibroker] Re: Easy question here


  BTW, is it possible to do this with other indicators, considering I think 
only RSI has RSIa...  I'd like to do the same with MFI and other indicators, 
but not sure how to do it.

  Thanks,

  Louis


  2008/7/16 Louis Préfontaine <[EMAIL PROTECTED]>:

    Thanks!

    It works well.

    Louis


    2008/7/14 Barry Scarborough <[EMAIL PROTECTED]>:


      This is one way to do it,
      Barry

      _SECTION_BEGIN("Foreign RSI"); 

      Filename = StrLeft(_DEFAULT_NAME(),StrLen(_DEFAULT_NAME())-2);
      _N(Title = filename + StrFormat(" - {{DATE}} {{VALUES}} "));

      // you can use a list like this or import them from a watch list
      fName = paramlist("Symbols", "IBM,BA,DD,DDM");
      perRsi = param("RSI period", 12, 2, 50, 1);
      myC = foreign(fName, "C");
      myRSI = RSIa( myC, perRsi );

      plot(myRSI, "\n" + fName + " - RSI", colorblue); 

      _SECTION_END();

      -- In [email protected], "Louis Préfontaine" <[EMAIL PROTECTED]> 
      wrote:


      >
      > Hi,
      > 
      > Easy question here: how to write the RSI of a foreign ticker?
      > 
      > Thanks,
      > 
      > Louis
      >






   

Reply via email to