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

Re: [EquisMetaStock Group] RSI and Stochastic Look Ahead Formula



PureBytes Links

Trading Reference Links







Roy, thanks for the response. Thanks to "CUCU" from Turkey for the initial input.  I see nothing pertaining to the Stoch. Is there a substitution or another set of formulae?  Marshall
 
-------Original Message-------
 

From: equismetastock@xxxxxxxxxxxxxxx
Date: Thursday, December 04, 2003 1:03:56 PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: Re: [EquisMetaStock Group] RSI and Stochastic Look Ahead Formula
 Marshall'cucu' from Turkey supplied this on the StockCentral forum as an RSIlookahead formula. All the credit is his.valuemid:=Input("RSI Value Mid",1,100,50);wildpermid:=Input("Wilder Time PeriodsMid",1,100,8);exppermid:=2*wildpermid-1;{Average Up Close-Mid};aucmid:=Mov(If(C>Ref(C,-1),C-Ref(C,-1),0),exppermid,E);{Average Down Close-Mid};adcmid:=Mov(If(Ref(C,-1)>C,Ref(C,-1)-C,0),exppermid,E);xmid:=(wildpermid-1)*(adcmid*valuemid/(100-valuemid)-aucmid);revengrsimid:=If(xmid>=0,C+xmid,C+xmid*(100-valuemid)/valuemid)revengrsimid;I tweaked it a bit to conform to my own style but my version is functionallyidentical the the one above.{RSI Price Lookahead}R:=Input("RSI Threshold",1,100,50);D:=Input("RSI Periods ",1,100,10);K:=Ref(C,-1);Up:=Wilders(If(C>K,C-K,0),D);Dn:=Wilders(If(K>C,K-C,0),D);X:=(D-1)*(Dn*R/(100-R)-Up);If(X>=0,C+X,C+X*(100-R)/R);The object of this as an indicator is that an RSI periods and thresholdvalue can be set, and then the last bar of the indicator will plot the nextCLOSE that is necessary for the RSI to plot the threshold value. Changingthe last line toLastValue(revengrsimid); orLastValue(If(X>=0,C+X,C+X*(100-R)/R));in the relevant indicator will plot a straight line at the required CLOSE.RoyTo unsubscribe from this group, send an email to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 







____________________________________________________  IncrediMail - Email has finally evolved - Click Here






Yahoo! Groups Sponsor


  ADVERTISEMENT 









To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Attachment: Description: ""