PureBytes Links
Trading Reference Links
|
Thanks Roy, I had that same thought in mind. That was the reason behind the question. Marshall
-------Original Message-------
From: equismetastock@xxxxxxxxxxxxxxx
Date: Thursday, December 04, 2003 2:04:27 PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: Re: [EquisMetaStock Group] RSI and Stochastic Look Ahead Formula
MarshallI didn't choose the thread heading and I've not made any contributionanywhere to a stochastic lookahead formula. It seems to me that somethingusing H, L and C is going to be rather difficult to construct look-aheadcode for. I may be wrong but I think that there could be many possible pricevariations for any projected stochastic value, not just the one as with theRSI look-ahead.Roy----- Original Message ----- From: "M Smith" <msmith3@xxxxxxxxx>To: <equismetastock@xxxxxxxxxxxxxxx>Sent: Friday, December 05, 2003 8:42 AMSubject: Re: [EquisMetaStock Group] RSI and Stochastic Look Ahead FormulaRoy, thanks for the response. Thanks to "CUCU" from Turkey for the initialinput. I see nothing pertaining to the Stoch. Is there a substitution oranother set of formulae? Marshall-------Original Message-------From: equismetastock@xxxxxxxxxxxxxxxDate: Thursday, December 04, 2003 1:03:56 PMTo: equismetastock@xxxxxxxxxxxxxxxSubject: Re: [EquisMetaStock Group] RSI and Stochastic Look Ahead FormulaMarshall'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.RoyYahoo! Groups SponsorADVERTISEMENTTo unsubscribe from this group, send an email to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour use of Yahoo! Groups is subject to the Yahoo! Terms of Service.To 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: ""
|