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

Notification

Icon
Error

Options
Go to last post Go to first unread
henry1224  
#1 Posted : Sunday, April 17, 2005 12:35:19 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
If you have downloaded the Ehler's Fama,Mama download from the Equis site you can then use this expert Symbol tab Long Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); Buy:=Cross(Mama,Fama); Sell:=Cross(Fama,Mama); i:=Cum(buy>-1 AND sell>-1)=1; x:=BarsSince(i OR buy)<=BarsSince(i OR sell)=0; X=0 AND Ref(X,-1)>0 Short Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); Buy:=Cross(Mama,Fama); Sell:=Cross(Fama,Mama); i:=Cum(buy>-1 AND sell>-1)=1; x:=BarsSince(i OR buy)>=BarsSince(i OR sell)=0; X=0 AND Ref(X,-1)>0 Highlights tab long Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); Buy:=Cross(Mama,Fama); Sell:=Cross(Fama,Mama); i:=Cum(buy>-1 AND sell>-1)=1; x:=BarsSince(i OR buy)<=BarsSince(i OR sell)=0; X=0 Short Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); Buy:=Cross(Mama,Fama); Sell:=Cross(Fama,Mama); i:=Cum(buy>-1 AND sell>-1)=1; x:=BarsSince(i OR buy)>=BarsSince(i OR sell)=0; X=0
Patrick  
#2 Posted : Monday, April 18, 2005 2:41:50 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
High Tech Mesa Adaptive Moving Averages The indicators introduced in the article "High Tech Mesa Adaptive Moving Averages," by John Ehlers, are created in MetaStock 7.0 or higher with the use of the MetaStock External Function (MSX) DLL Interface. Click here to download the formulas. After downloading the exe file double-click it and the formulas will automatically be imported into MetaStock. After the import has finished the two indicators, FAMA and MAMA, will appear in the Indicator QuickList. Note: you must have MetaStock 7 or higher. Sample source code for the MSX DLL is available in three languages: C++, PowerBASIC, and Delphi Pascal. All of MetaStock's formula tools can be used to create formulas that access the functions contained in the DLL. In the Tools formula editor click the Functions button. In the Function Category select the name of the DLL and all available functions and their associated parameters will be listed. [color=red:8b6bf9b8c3]PS - Rename the file from .[censored] to .exe, as always you must be registered to be able to download the files.[/color]
metatrader  
#3 Posted : Thursday, April 28, 2005 1:51:01 AM(UTC)
metatrader

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/19/2005(UTC)
Posts: 2
Location: Roanoke, VA

I tried several times and got the same error message from windows. Running MS 9.0 EOD, Windows XP Professional (Firewalled), Norton Antivirus 2004 software. Something is not right if this Aug2001MAMA.exe file will not run without imploding on all systems! Can this indicator be set up without the downloaded file?
metatrader  
#4 Posted : Thursday, April 28, 2005 3:08:46 AM(UTC)
metatrader

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/19/2005(UTC)
Posts: 2
Location: Roanoke, VA

OK! Here is the deal. I cut this file from my download folder and pasted it to the folder C:\\Program files\\Equis\\MetaStock. I then ran the file from here and it worked like a charm. Nothing in your documentation stated that the Aug2001MAMA.exe file needed to be downlaoded to or executed from within that folder. If anyone else has a similar problem, try the above.
henry1224  
#5 Posted : Saturday, April 30, 2005 1:01:33 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
You will need the PowerPivots Plus Add-on for this expert Highlights Long Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=Cross(Mama,Fama) and TD=1; SE:=Cross(Fama,Mama) and TD=-1; LX:=Cross(Fama,Mama) and TD>=0; SX:=Cross(Mama,Fama) and TD<=0; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B>0 Short Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=Cross(Mama,Fama) and TD=1; SE:=Cross(Fama,Mama) and TD=-1; LX:=Cross(Fama,Mama) and TD>=0; SX:=Cross(Mama,Fama) and TD<=0; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B<0 Out Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=Cross(Mama,Fama) and TD=1; SE:=Cross(Fama,Mama) and TD=-1; LX:=Cross(Fama,Mama) and TD>=0; SX:=Cross(Mama,Fama) and TD<=0; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 Symbols Long entry Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=Cross(Mama,Fama) and TD=1; SE:=Cross(Fama,Mama) and TD=-1; LX:=Cross(Fama,Mama) and TD>=0; SX:=Cross(Mama,Fama) and TD<=0; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B>0 AND Ref(B,-1)<=0 Short entry Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=Cross(Mama,Fama) and TD=1; SE:=Cross(Fama,Mama) and TD=-1; LX:=Cross(Fama,Mama) and TD>=0; SX:=Cross(Mama,Fama) and TD<=0; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B<0 AND Ref(B,-1)>=0 Long Exit Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=Cross(Mama,Fama) and TD=1; SE:=Cross(Fama,Mama) and TD=-1; LX:=Cross(Fama,Mama) and TD>=0; SX:=Cross(Mama,Fama) and TD<=0; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 AND Ref(B,-1)>0 Short exit Fama:= ExtFml("MAMA.FAMA", (H+L)/2, 0.5, 0.05); Mama:= ExtFml("MAMA.MAMA", (H+L)/2, 0.5, 0.05); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=Cross(Mama,Fama) and TD=1; SE:=Cross(Fama,Mama) and TD=-1; LX:=Cross(Fama,Mama) and TD>=0; SX:=Cross(Mama,Fama) and TD<=0; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 AND Ref(B,-1)<0
sennal999  
#6 Posted : Thursday, June 12, 2008 12:03:59 PM(UTC)
sennal999

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/30/2007(UTC)
Posts: 11

Dear sir,

Please give me exploration code for this expert.

thanking you,

senthil kumar.M

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.