logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
denl  
#1 Posted : Wednesday, January 11, 2006 6:36:25 AM(UTC)
denl

Rank: Member

Groups: Registered, Registered Users
Joined: 10/12/2005(UTC)
Posts: 10

I copied the formula from a site and it says I need to download MS65FORM.DTE to make it work. Where can I find this please? Denis
guara_riua  
#2 Posted : Wednesday, January 11, 2006 8:19:36 PM(UTC)
guara_riua

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/24/2005(UTC)
Posts: 77
Location: Canada

denl Can you post the formula you have downloaded? I have all the 3 books published by Dr.Ehlers and I can take a look. Unfortunately all the equations are coded for TradeStation, but I do have their MS vesion from "TheDML". I hope to be able to identify which version you are trying to use (there are 3 ITrend versions: from "Rocket Science...", another one from "Cybernetics..." and the last one from "MESA..."). Regards Guara
denl  
#3 Posted : Wednesday, January 11, 2006 11:17:29 PM(UTC)
denl

Rank: Member

Groups: Registered, Registered Users
Joined: 10/12/2005(UTC)
Posts: 10

Hi Guara, Thanks for your reply. Its the second formula that asks for the DLL. I am getting confused as there seems to be several formulas floating around for each of Ehlers indicators and they don't all seem to plot identical. How one tells which ones are correct is beyond me. Regards, Denis Instantaneous Trendline & Sinewave Indicator as described by John Ehlers Here are a few formula's that I picked up from a mailing from George Angell LSS 5 day Osc X:=HHV(H,5)-Ref(O,-5); Y:=C-LLV(L,5); LSS:=100*(X+Y)/(HHV(H,5)-LLV(L,5))*2; LSS; LLS 5 DAY Osc Diff from 3 day osc X:=HHV(H,5)-Ref(O,-5); Y:=C-LLV(L,5); LSS:=100*(X+Y)/(HHV(H,5)-LLV(L,5))*2; Diff:=LSS-Ref(LSS,-3); Diff; LLS Strength Index(1 day) 100*(Ref(C,-1)-Ref(L,-1))/(Ref(H,-1)-Ref(L,-1)) LLS Pivot Breakout Buy Number X:=(H+L+C)/3; BBN:=2*X-L; BSN:=2*X-H; BBN; BSN; Moderator note: Reformatted and posted below as originally submitted. Avail: http://forum.equis.com/viewtopic.php?p=13826#13826
denl  
#4 Posted : Wednesday, January 11, 2006 11:21:56 PM(UTC)
denl

Rank: Member

Groups: Registered, Registered Users
Joined: 10/12/2005(UTC)
Posts: 10

Hi again Guara, I have two of his books, though I don't understand a lot of it. I emailed John to see if he had his formulas available in Metastock format but he said he did not. I would appreciate it if you would be happy to share yours with me. If not that's ok too Regards Denis
StorkBite  
#5 Posted : Wednesday, January 11, 2006 11:43:42 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Denl- Looks like your formulas above were cut off because you exceeded the character limit. You might try reposting them as separate posts to get them all here. Also, put your code in the code wrapper to prevent extraneous symbols from appearing. e.g., the smilie/ 8 issue.
hayseed  
#6 Posted : Wednesday, January 11, 2006 11:58:58 PM(UTC)
hayseed

Rank: Advanced Member

Groups ready for retrieval: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey denl.... that dta reference is coming from an orignal posting which included the dta file for ease of importation into metastock.... you should not need it.... the source you have, has taken the codes out of the orignal dta that was supposedly downloaded and placed those codes in the copy and paste style you are now looking at.... the thought being you must now place them in your meta by using the indicator builder..... thats common practice with sites like purebytes, bertiginaluca, metaformula and several others.... by doing that, once the dta file is no longer available the codes it contained will still be..... the dta file is far simplier, but as henry pointed out a good while back cut and paste might be safer..... no chance of over-writing same name indicators.... btw, if you notice the smiley faces in your codes, its from the emoticons... you can disable them in the post option section......h
guara_riua  
#7 Posted : Thursday, January 12, 2006 12:16:47 AM(UTC)
guara_riua

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/24/2005(UTC)
Posts: 77
Location: Canada

denl I am familiar with the formulas you have posted. However, those are not implementing the correct version of the Dr.Ehlers original equation. I believe you made some mistakes following the "Formula Import" steps. The *.DTA file is ready for download from the Equis Customer Zone-> Trader's Tips from TASC Magazine (right mouse click on "HERE" and chose "Save the Link As..." option). After you've downloaded you have to Import it. (Go to Indicator Builder-> Organize->Import) Then you have to edit a new indicator for the ITrend that is documented in the Equis WEB site above and is using the imported indicators. However the equation for the ITrend looks very much alike the Vidya MA, because it has a speed adjusting factor based on a 3 bar momentum. The equation either has a typo in the documented text or is trying to approximate the real function with whatever solution MetaStock Formula Language has in its [censored]nal. This is where MSFL limitations are showing at their largest extent! In order to be able to use the original formulation for ITrend, you can consider to buy the ADSI package from www.thedml.com. It is the only way I know that a MS user can benefits from Dr.Ehlers original work. The package come in a form of a DLL so the direct formula is not writen in MFSL format but in a true programming language. I hope I was of help. Guara
StorkBite  
#8 Posted : Thursday, January 12, 2006 12:58:36 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
**** Reposted for denl **** Instantaneous Trendline and Sinewave Indicator by John Ehlers Here is the MetaStock 6.52 or higher formula code for the Instantaneous Trendline and Sinewave Indicator as described by John Ehlers in his article “At Last! A Trend-Friendly Oscillator”. To implement them the following formulas must be created in MetaStock’s Indicator Builder. Each formula must be created separately and must be named exactly as it appears below. Only the last two formulas are plotted, so you may wish to prevent the others from being displayed in the Indicator QuickList by unchecking the “Display In QuickList” option when creating the formula. To download and install the formulas use the following steps Download the MS65FORM.DTA file into a temp folder To Download the file for this formula click MS65FORM.DTA Use the following instructions to Import the MS65FORM.DTA file from the temp file it was downloaded to. 1. Run MetaStock. 2. Choose Indicator Builder from the Tools menu. 3. Click the Organize button to launch the Formula Organizer Wizard. 4. Follow the on-screen instructions. [code:1:a0acd3b632]Name: H cycle count 1a value:= Fml("Hilbert cycle period - 1a"); If(Sum(value,6)>=360 AND Sum(value,5)<360 ,6,0) + If(Sum(value,7)>=360 AND Sum(value,6)<360 ,7,0) + If(Sum(value,8)>=360 AND Sum(value,7)<360 ,8,0) + If(Sum(value,9)>=360 AND Sum(value,8)<360 ,9,0) + If(Sum(value,10)>=360 AND Sum(value,9)<360 ,10,0) + If(Sum(value,11)>=360 AND Sum(value,10)<360 ,11,0) + If(Sum(value,12)>=360 AND Sum(value,11)<360 ,12,0) + If(Sum(value,13)>=360 AND Sum(value,12)<360 ,13,0) + If(Sum(value,14)>=360 AND Sum(value,13)<360 ,14,0) + If(Sum(value,15)>=360 AND Sum(value,14)<360 ,15,0) [/code:1:a0acd3b632] [code:1:a0acd3b632]Name: H cycle count 2a value:= Fml("Hilbert cycle period - 1a"); If(Sum(value,16)>=360 AND Sum(value,15)<360 ,16,0) + If(Sum(value,17)>=360 AND Sum(value,16)<360 ,17,0) + If(Sum(value,18)>=360 AND Sum(value,17)<360 ,18,0) + If(Sum(value,19)>=360 AND Sum(value,18)<360 ,19,0) + If(Sum(value,20)>=360 AND Sum(value,19)<360 ,20,0) + If(Sum(value,21)>=360 AND Sum(value,20)<360 ,21,0) + If(Sum(value,22)>=360 AND Sum(value,21)<360 ,22,0) + If(Sum(value,23)>=360 AND Sum(value,22)<360 ,23,0) + If(Sum(value,24)>=360 AND Sum(value,23)<360 ,24,0) + If(Sum(value,25)>=360 AND Sum(value,24)<360 ,25,0) [/code:1:a0acd3b632] [code:1:a0acd3b632]Name: H cycle count 3a value:= Fml("Hilbert cycle period - 1a"); If(Sum(value,26)>=360 AND Sum(value,25)<360 ,26,0) + If(Sum(value,27)>=360 AND Sum(value,26)<360 ,27,0) + If(Sum(value,28)>=360 AND Sum(value,27)<360 ,28,0) + If(Sum(value,29)>=360 AND Sum(value,28)<360 ,29,0) + If(Sum(value,30)>=360 AND Sum(value,29)<360 ,30,0) + If(Sum(value,31)>=360 AND Sum(value,30)<360 ,31,0) + If(Sum(value,32)>=360 AND Sum(value,31)<360 ,32,0) + If(Sum(value,33)>=360 AND Sum(value,32)<360 ,33,0) + If(Sum(value,34)>=360 AND Sum(value,33)<360 ,34,0) + If(Sum(value,35)>=360 AND Sum(value,34)<360 ,35,0) [/code:1:a0acd3b632] [code:1:a0acd3b632]Name: H ip sum 1 pd:=Int(Fml("Hilbert cycle period - final-a")); pr:=(H+L)/2; (Cos(0)*pr)+ (Cos(360*(1/pd))*Ref(pr,-1))+ (Cos(360*(2/pd))*Ref(pr,-2))+ (Cos(360*(3/pd))*Ref(pr,-3))+ (Cos(360*(4/pd))*Ref(pr,-4))+ (Cos(360*(5/pd))*Ref(pr,-5))+ If(pd>6, Cos(360*(6/pd))*Ref(pr,-6), 0)+ If(pd>7, Cos(360*(7/pd))*Ref(pr,-7), 0)+ If(pd>8, Cos(360*(8/pd))*Ref(pr,-8), 0)+ If(pd>9, Cos(360*(9/pd))*Ref(pr,-9), 0)+ If(pd>10, Cos(360*(10/pd))*Ref(pr,-10), 0)+ If(pd>11, Cos(360*(11/pd))*Ref(pr,-11), 0)+ If(pd>12, Cos(360*(12/pd))*Ref(pr,-12), 0)+ If(pd>13, Cos(360*(13/pd))*Ref(pr,-13), 0)+ If(pd>14, Cos(360*(14/pd))*Ref(pr,-14), 0) [/code:1:a0acd3b632] [code:1:a0acd3b632]Name: H ip sum 2 pd:=Int(Fml("Hilbert cycle period - final-a")); pr:=(H+L)/2; If(pd>15, Cos(360*(15/pd))*Ref(pr,-15), 0)+ If(pd>16, Cos(360*(16/pd))*Ref(pr,-16), 0)+ If(pd>17, Cos(360*(17/pd))*Ref(pr,-17), 0)+ If(pd>18, Cos(360*(18/pd))*Ref(pr,-18), 0)+ If(pd>19, Cos(360*(19/pd))*Ref(pr,-19), 0)+ If(pd>20, Cos(360*(20/pd))*Ref(pr,-20), 0)+ If(pd>21, Cos(360*(21/pd))*Ref(pr,-21), 0)+ If(pd>22, Cos(360*(22/pd))*Ref(pr,-22), 0)+ If(pd>23, Cos(360*(23/pd))*Ref(pr,-23), 0)+ If(pd>24, Cos(360*(24/pd))*Ref(pr,-24), 0) [/code:1:a0acd3b632] [code:1:a0acd3b632]Name: H ip sum 3 pd:=Int(Fml("Hilbert cycle period - final-a")); pr:=(H+L)/2; If(pd>25, Cos(360*(25/pd))*Ref(pr,-25), 0)+ If(pd>26, Cos(360*(26/pd))*Ref(pr,-26), 0)+ If(pd>27, Cos(360*(27/pd))*Ref(pr,-27), 0)+ If(pd>28, Cos(360*(28/pd))*Ref(pr,-28), 0)+ If(pd>29, Cos(360*(29/pd))*Ref(pr,-29), 0)+ If(pd>30, Cos(360*(30/pd))*Ref(pr,-30), 0)+ If(pd>31, Cos(360*(31/pd))*Ref(pr,-31), 0)+ If(pd>32, Cos(360*(32/pd))*Ref(pr,-32), 0)+ If(pd>33, Cos(360*(33/pd))*Ref(pr,-33), 0)+ If(pd>34, Cos(360*(34/pd))*Ref(pr,-34), 0) [/code:1:a0acd3b632] Name: H rp sum 1 pd:=Int(Fml("Hilbert cycle period - final-a&q [ORIGINAL SUBMISSION TRUNCATED]
hayseed  
#9 Posted : Thursday, January 12, 2006 12:59:58 AM(UTC)
hayseed

Rank: Advanced Member

Groups ready for retrieval: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

thanks guara.... signed up for the trial, didn't notice how long that period was for.... kinda wonder why brad has not posted over in the commercial/advertisment section...... he might have a few takers.....h
denl  
#10 Posted : Thursday, January 12, 2006 1:52:23 AM(UTC)
denl

Rank: Member

Groups: Registered, Registered Users
Joined: 10/12/2005(UTC)
Posts: 10

Thank you guara and stockman. How do I do code wrapping? Also I downloaded the free trial too...this could be the best way out.... Denis
guara_riua  
#11 Posted : Thursday, January 12, 2006 2:25:19 AM(UTC)
guara_riua

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/24/2005(UTC)
Posts: 77
Location: Canada

hayseed and denl As I remember the trial period is for 30 days and Brad can extend it upon your request. If you are using very low values for Alpha (<0.05) you will need to use an "Initialization" linear slope. If you don't like a linear solution, you can build your own as well. I will post my solution in the formula section in the next couple of days. I hope you will enjoy the external functions and the manual that are comming with the product. Regards Guara
StorkBite  
#12 Posted : Thursday, January 12, 2006 3:08:58 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Any part of your post that is a formula start it with the metatag 'code' and end with '/code'. You could also just highlight the formula and press the button that says Code.
guara_riua  
#13 Posted : Thursday, January 12, 2006 3:38:39 AM(UTC)
guara_riua

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/24/2005(UTC)
Posts: 77
Location: Canada

Here is the ITrend formula with an Initialization addition that reduces the long convergence time for very low values of Alpha. It presents also the addition of a trigger. [code:1:a5c3bcafa5] {=======================} {Need the ADSI's DLL from www.thedml.com} Pc:= Input("Price Code=C,Med,Typ,WMA4 [1-4]",1,4,3); Ap:=Input("Alpha Value",0.001,1,0.0198); ILen:=Input("Initialization Period",10,1000,60); WMA4:=Mov(Typ(),4,W); Dlt:=(0.33-Ap)/ILen; Apn:=If(Cum(1)<=ILen,0.33-(Cum(1)*Dlt),Ap); Pr:= If(Pc=1,C, If(Pc=2,MP(), If(Pc=3,Typ(),WMA4))); Ind:= ExtFml("ADSI.ITrend",Pr,Apn); Trig:=2*Ind-Ref(Ind,-2); Ind; Trig; {=================} [/code:1:a5c3bcafa5]
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.