|
|||||||||||||||||||
|
|||||||||||||||||||
| Special offer: buy MetaStock (try for free) | Reuters QuoteCenter Real-Time Data (get a free month) | EOD Data |
|
> Thanks, I tried your code in MS 6.52, and it plots, but > does not seem correct. The original EasyLanguage code is: > > Value1 = Close + 0.088*Value1[6]; > Value2 = Value1 - Value1[6] + 1.2*Value2[6] - 0.7*Value2[12]; > D = Value2[12] - 2*Value2[6] + Value2; > Plot1(D,"D"); > > So I modified yours to read > Value1:=0.088*Ref(PREV,-6)+CLOSE; > Value2:=(1.2*Ref(PREV,-6))-(0.7*Ref(PREV,-12)); > V3:=ROC(Value1,6,$)+Value2; > D:=Ref(V3,-12)-2*Ref(V3,-6)+V3; > D; This seems like it's correct, and it does plot, but I don'thave any EasyLanguage numbers to compare to. I wrote up a C program to perform the computation, and the shape of the resulting plot seems identical to what metastock gives, but the actual numbers are off. Your line of thinking seems to me to be correct, however. I'll try to do some more verfication. Jeff
-Corey. Code:S1:=0.13785*(2*D1-Ref(D1,-1))+0.0007*(2*Ref(D1,-1)- S2:=0.13785*(2*S1-Ref(S1,-1))+0.0007*(2*Ref(S1,-1)-
all formulas for MetaStock all formulas
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators and systems are submitted by anonymous users. Therefore S4T™ does not take any responsibility for it's quality. If you use any of this information, use it at your own risk. You are responsible for your own trading decisions. Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade. In no case will S4T™ be responsible for your trading gains or losses. |
|
|