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

Notification

Icon
Error

Options
Go to last post Go to first unread
Patrick  
#1 Posted : Sunday, July 24, 2005 2:33:22 AM(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)
I can not offer any guarantee, warantee, 30 days money back, caveat emptor, at your own risk ... blah blah How to use it ... ENTER LONG : LE:={your Condition here}; LX:={your Condition here}; SE:={your Condition here}; SX:={your Condition here}; B:= ExtFml("ForumDll.Latch",LE,LX,SE,SX); B = 1 AND Ref(B,-1) <> 1 ENTER SHORT : LE:={your Condition here}; LX:={your Condition here}; SE:={your Condition here}; SX:={your Condition here}; B:= ExtFml("ForumDll.Latch",LE,LX,SE,SX); B = -1 AND Ref(B,-1) <> -1 EXIT LONG : LE:={your Condition here}; LX:={your Condition here}; SE:={your Condition here}; SX:={your Condition here}; B:= ExtFml("ForumDll.Latch",LE,LX,SE,SX); B = 0 AND Ref(B,-1) = 1 EXIT SHORT : LE:={your Condition here}; LX:={your Condition here}; SE:={your Condition here}; SX:={your Condition here}; B:= ExtFml("ForumDll.Latch",LE,LX,SE,SX); B = 0 AND Ref(B,-1) = -1 You need to download the ForumDll and copy it in C:\\program Files\\Equis\\ExternalFunctionDll Patrick :mrgreen: PS: You need to be registered to download the file ( sorry guys ;) ) You need to rename the file from .[censored] to .dll
Patrick  
#2 Posted : Sunday, July 24, 2005 5:29:40 AM(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)
Alright here is the file: Test it and let me know if you find any problems Patrick :mrgreen:
wabbit  
#3 Posted : Sunday, July 24, 2005 5:58:44 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Initial tests look REALLY GOOD.... I will delve into that a little more deeply before any further comment.... except to say A message to Patrick's boss(es): Give the man a raise! Reward him well for his excellent effort. wabbit :D [Edited By Patrick]: Here is Wabbit's perfect user guide. http://forum.equis.com/viewtopic.php?t=1312
Patrick  
#4 Posted : Sunday, July 24, 2005 6:02:36 AM(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)
:lol: :boire: Thanks Wabbit
bearishbull  
#5 Posted : Sunday, July 24, 2005 7:51:46 AM(UTC)
bearishbull

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 6/30/2005(UTC)
Posts: 71

do you need to change .[censored] to .dll?
Patrick  
#6 Posted : Sunday, July 24, 2005 7:53:16 AM(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)
Yes ... Sorry I though I mentioned somewhere ... I guess not :D Patrick :mrgreen:
bearishbull  
#7 Posted : Sunday, July 24, 2005 7:58:13 AM(UTC)
bearishbull

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 6/30/2005(UTC)
Posts: 71

Did you use this code? B:=If(Cum(1)=1,0,If(buy,1,If(sellshort,-1,If((exitbuy AND PREV=1) OR (exitshort AND PREV=-1),0,PREV))));
Patrick  
#8 Posted : Sunday, July 24, 2005 8:00:20 AM(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)
???? What do you mean ? Of Course not, the source file is available on the forum ... :lol: Patrick :mrgreen:
bearishbull  
#9 Posted : Sunday, July 24, 2005 8:02:49 AM(UTC)
bearishbull

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 6/30/2005(UTC)
Posts: 71

You programmed the .dll right? I meant that the dll used this code..Or doesn't it work like that?
Patrick  
#10 Posted : Sunday, July 24, 2005 8:04:19 AM(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)
No, the dll was programmed using C++. So I'm not using the prev function, you will see it is fast, if that is what you are worried about. :D Patrick :mrgreen:
bearishbull  
#11 Posted : Sunday, July 24, 2005 8:08:06 AM(UTC)
bearishbull

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 6/30/2005(UTC)
Posts: 71

I try the dll monday if it works..tnx for all the work you do for every metastock user. very appreciated here :!:
Patrick  
#12 Posted : Sunday, July 24, 2005 8:10:28 AM(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)
What do you mean "if it works" :lol: Let me know... I hope you enjoy it, sorry I could not make it earlier. ;) Patrick :mrgreen:
Jose  
#13 Posted : Sunday, July 24, 2005 9:27:20 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
Good stuff, Patrick. 8:-) If I was given the opportunity of choosing only one MetaStock dll, it would be something really versatile. My idea of a versatile MetaStock dll would be one which could transform any variable into a constant value, such as: constant:= LastValue(variable+PREV-PREV); Using this constant.dll would mean that ALL MetaStock functions could now accept variables. This would make life immensibly easier for all of us. How about it, Patrick, is this possible? :) jose '-) http://metastocktools.com/#metastock
Patrick  
#14 Posted : Sunday, July 24, 2005 2:53:08 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)
I will try that for my next function. :D I think I have an idea on how to do it .... Thanks Jose. Patrick :mrgreen:
RUAGOODP  
#15 Posted : Sunday, July 24, 2005 6:18:53 PM(UTC)
RUAGOODP

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 1/13/2005(UTC)
Posts: 87
Location: perth australia

Patrick Great Job!!! Very very handy Cheers Norman
Patrick  
#16 Posted : Monday, August 1, 2005 7:26:27 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)
I would recommend to anyone who uses this latch dll to test the beta version 1.0.4 as it fixes problems that occurs when multiple signals occur on the same bar. Thanks for helping :D Patrick :mrgreen:
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.