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

Re: RSI



PureBytes Links

Trading Reference Links


<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  ----- Original Message ----- 
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black">From: 
  Brian 
  Mitchell 
  To: <A title=metastock@xxxxxxxxxxxxx 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx 
  Sent: Tuesday, August 27, 2002 4:48 
  PM
  Subject: Re: RSI
  
  I don't believe things like Wilder's can be implemented in MSFL. For 
  morecomplicated things like that, I suggest writing them in C or C++. You 
  needthe Metastock Developer's Kit for that, of course.
   
  Wilders is not very complicated.  
  Wilders(n) = ema(2n+1), or in MSFL mov(Data Array, 2n+1, 
  E)
   
  You can also use Power basic, Delphi, and a number of other 
  languages.Probably almost anything that can generate a dll.----- 
  Original Message -----From: "Bijan Khezri" <<A 
  href="mailto:bij3peat@xxxxxxx";>bij3peat@xxxxxxx>To: <<A 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx>Sent: 
  Tuesday, August 27, 2002 1:55 PMSubject: RE: RSI> Thank you 
  Roy, but it is just the Wilders smoothing that I want to replace> with 
  a center weighted smoothing, as per a John Ehlers article 
  regardingFIR> smoothing.  Any other thoughts would be 
  appreciated.>> Bijan>> -----Original 
  Message-----> From: <A 
  href="mailto:owner-metastock@xxxxxxxxxxxxx";>owner-metastock@xxxxxxxxxxxxx> 
  [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Roy Larsen> Sent: 
  Monday, August 26, 2002 10:15 PM> To: <A 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx> 
  Subject: Re: RSI>>> Bijan>> > Since 
  Metastock language does not permit a For...To loop, how is RSI> > 
  calculated in Metastock.  I need the actual formula to play 
  with.Thanks.>>   {RSI Indicator}> 
  A:=Input("RSI periods",2,50,14);> B:=CLOSE; {RSI target array}> 
  U:=Wilders(If(B>Ref(B,-1),B-Ref(B,-1),0),A);> 
  D:=Wilders(If(B<Ref(B,-1),Ref(B,-1)-B,0),A);> 
  100-(100/(1+(U/D)));>> 
Roy>>>



  • References: