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)
|
Patrick....
Any chance you could just whip up a date handling dll? (I know you and Marilyn aren't at all busy :lol: ) (whip up - as if it just happens in a jiffy!)
I was thinking something along the lines of:
function(firstDate, lastDate)
and/or
function(periodsAgo,periodUnits)
and/or
anything else you might see fit to include!
This would help people doing 52wk highs and lows, last traded dates (although Richard Dale's product does this also), compute changes date-to-date instead of bar-to-bar etc....
Just a thought....
wabbit :D
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/10/2004(UTC) Posts: 863 Location: Salt Lake City, UT
|
:) Wabbit is using the whip more than me lately! :smt079
I happen to know that, since his first successful dll, Patrick has been spending his free time with his nose in his computer.... his immutable plans to take over the world via dll's is firmly in place. :)
|
|
|
|
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)
|
He whipped (pun intended!) up the first one so quickly! Thought he might be on a roll, and could get this one done lickity-split too!
LOL
wabbit :D
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/10/2004(UTC) Posts: 863 Location: Salt Lake City, UT
|
:) Now you have given him another mountain to conquer... Perhaps he will be our Lance Armstrong of dlls..... could happen! BTW - checking on your MSDK right now... isn't it still Monday???
|
|
|
|
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)
|
for another four minutes..... now its three..... LOL
Thankyou for checking though.
wabbit :D
and now..... :smt015
|
|
|
|
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)
|
So when write:
ExtFml("ForumDll.DateChange", "FirstDate","LastDate","Array")
It computes the changes of the array beetween the dates?
Or am I misunderstanding the use ....
Sorry it's early and I'm confused :D
Patrick :mrgreen:
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/10/2004(UTC) Posts: 863 Location: Salt Lake City, UT
|
I checked... you got henry's package and he got yours! I have done my best dragon impersonation :smt093 and they are shipping an MDK out today!
Please let me know what and when! :) M
|
|
|
|
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)
|
What do want you want me to do with the package I received?
Could I keep it as a give away for when I do my Into to MS Programming night?
wabbit :D
|
|
|
|
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)
|
This function is done : function(firstDate, lastDate)
here is what it would look like :
FirstDate:=20050101; {YYYYMMDD}
LastDate:=20050301;
ExtFml("ForumDll.DateRange", FirstDate, LastDate)
It plots a 1 when data is in range ...
More later this evening after more testing.
Patrick :mrgreen:
|
|
|
|
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)
|
Patrick, don't forget the all-important variable-to-static dll.
If you persist in coding MetaStock dll functions that can be easily be replicated in MFL, I'll have to get the whip out too. :)
jose '-)
|
|
|
|
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)
|
:smt043 :smt044
Jose I do the easy stuff first as I'm learning, but I promise I put just as much effort (if not more ) into the constant function as I do for anything else.
no whip please 8-[ :D
Patrick :mrgreen:
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/10/2004(UTC) Posts: 863 Location: Salt Lake City, UT
|
Hi wabbit... Yeah - keep it! I will send you an email stating that we sent you the wrong software and that you can transfer the license once to someone as part of your group. Does that work???
:) M
|
|
|
|
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)
|
Sensational ..... thanks Marilyn
and my thanks to everyone else involved.
wabbit :D
|
|
|
|
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)
|
Quote:function(periodsAgo,periodUnits)
Wabbit can you give me a example of how this would work/help ... I don't get it :D
|
|
|
|
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)
|
function(-3,w) === 3 weeks ago
function(+2,y) === in two years time
etc
wabbit :D
|
|
|
|
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.