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

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
Patrick  
#1 Posted : Friday, August 12, 2005 9:17:37 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)
You can post your comments or discuss the application of the latest forumdll version here ... To download the file and its documentation go to : http://forum.equis.com/viewtopic.php?p=5824 Patrick :mrgreen:
pumrysh  
#2 Posted : Saturday, August 13, 2005 2:39:13 AM(UTC)
pumrysh

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/28/2004(UTC)
Posts: 110

Patrick, Thanks for all you have done on these. I am experiencing a crash when I try to use the RSI. Everything else seems to work okay. Preston
Patrick  
#3 Posted : Saturday, August 13, 2005 2:44:53 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)
Really ??? How did you use the RSI function, what formula did you use? Just so that I can test it myself :D Patrick :mrgreen:
one_waver  
#4 Posted : Saturday, August 13, 2005 5:21:40 AM(UTC)
one_waver

Rank: Member

Groups: Registered, Registered Users
Joined: 4/30/2005(UTC)
Posts: 18

Hi Patrick, What is the purpose for ForumDll.cpp Thanks, One_Waver
smg  
#5 Posted : Saturday, August 13, 2005 9:31:55 AM(UTC)
smg

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/13/2005(UTC)
Posts: 90

Hello, Patrick, I wanted to have a 15 Period Triangular Moving Average, but I wanted that the moving average plot should start from the first bar itself. So as a workaround, I thought that during the initial bars the period for Moving average should be the same as the bar number. But the following formula is starting the plot from the 15th bar. Is it some problem in my formula or the DLL?
pds15 :=If(Cum(1)<15,Cum(1),15); ExtFml("ForumDll.VarMOV",C,pds15,T) ;
Further, I have written code for Wilder's Smoothing on the same lines which plots the smoothing from the first bar. Can you please add Wilder's Smoothing also to the functions in the DLL. The formula I use is: pds:=If(Cum(1)<13,Cum(1),13); Wldsm:= PREV+(1/pds*(C-PREV)); Wldsm
Ragards SMG
pumrysh  
#6 Posted : Saturday, August 13, 2005 11:20:52 AM(UTC)
pumrysh

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/28/2004(UTC)
Posts: 110

Patrick, Not on my computer but it was somewhat similar to this Vt:=(Stdev(C,5)/Mov(Stdev(C,5),10,S))*10; ExtFml("ForumDll.VarRSI",C,vt) Preston
hayseed  
#7 Posted : Saturday, August 13, 2005 2:59:48 PM(UTC)
hayseed

Rank: Advanced Member

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

hey patrick...... i get a floating point divide by 0 error using preston's code... but get the same error with your code, ExtFml("ForumDll.VarRSI", (H+O+L+C)/4, Mov(Stoch(5,3),10,E)),,so trouble might be on my end.....h
Patrick  
#8 Posted : Saturday, August 13, 2005 3:04:32 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)
one_waver wrote:
Hi Patrick, What is the purpose for ForumDll.cpp Thanks, One_Waver
This is the C++ source code for people who wants to see how it is programmed. smg : I did not know for sure how you guys wanted to handle but I could adjust the dll later and make use whatever we have until it can caclaute the average properly. I used to have it setup this but it kinda messed up the scale ... Wilders ... sure maybe later, remind me in a week or so. Patrick :mrgreen:
Patrick  
#9 Posted : Saturday, August 13, 2005 3:05:55 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)
Preston, I do get an error as well with this formula. Thanks for the info I will work on fixing it. Patrick :mrgreen:
hayseed  
#10 Posted : Saturday, August 13, 2005 3:12:49 PM(UTC)
hayseed

Rank: Advanced Member

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

hey patrick.... could it be case 9 is SUM instead of RSI....
break; case 9: // This refers to the VarSUM Function switch (a_iNthArg) {
the rest follow suit.....h
Patrick  
#11 Posted : Saturday, August 13, 2005 3:19:22 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)
No that's not it :D Anything that starts with // is a comment. Anything within /* */ is also a comment for example /* jlsdjgajgupajd;gjs;dg */ It does not affect anything. I believe the problems comes from my J setup right before the loop. I would need to add some extra step like if(periods==0){periods=i} if(periods>=i){=i} .... Patrick :mrgreen:
pumrysh  
#12 Posted : Monday, August 15, 2005 4:06:23 PM(UTC)
pumrysh

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/28/2004(UTC)
Posts: 110

Patrick, Find the RSI problem yet? RSI is touchiest indicator there is for division by zero errors and I wonder if that isn't where the problem is? Preston
Patrick  
#13 Posted : Monday, August 15, 2005 4:09:51 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 have not looked at the dll for 3 days ... :D I'm pretty sure I know how to fix the RSI problem quickly, I have just been to lazy to do it. I will try to upload the fixed version this afternoon. Patrick :mrgreen:
StorkBite  
#14 Posted : Monday, August 15, 2005 5:11:26 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)
Quote:
I have just been to lazy to do it
:smt015 :smt079
pumrysh  
#15 Posted : Monday, August 15, 2005 8:02:48 PM(UTC)
pumrysh

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/28/2004(UTC)
Posts: 110

g_, LOL!! Might try a stick of dynamite! or better yet :smt021 Preston
hayseed  
#16 Posted : Monday, August 15, 2005 8:11:22 PM(UTC)
hayseed

Rank: Advanced Member

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

lazy?...... well lets see,
// You need to change the number of functions available here // // 1) Latch Patrick Nouvion // 2) DateRange Patrick Nouvion // 3) VarRef Patrick Nouvion // 4) VarHHV Patrick Nouvion // 5) VarLLV Patrick Nouvion // 6) VarSUM Patrick Nouvion // 7) VarHHVBARS Patrick Nouvion // 8) VarLLVBARS Patrick Nouvion // 9) VarMOV Patrick Nouvion // 10) VarRSI Patrick Nouvion // 11) VarMOM Patrick Nouvion // 12) VarCMO Patrick Nouvion
i count patrick 12 and us'es 0..... kinda doubt lazy has anything to do with it..... h
StorkBite  
#17 Posted : Monday, August 15, 2005 8:37:53 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)
D'oh!!! #-o Come on h... :roll: Proof that hayseeds are pretty bright! :smt115
Patrick  
#18 Posted : Monday, August 15, 2005 8:39:22 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)
:lol: Thanks H :D
hayseed  
#19 Posted : Tuesday, August 16, 2005 1:35:32 PM(UTC)
hayseed

Rank: Advanced Member

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

hey g.... judging from the world over interest in patrcks dll and the fact that its kinda unprecedented , 2 things come to mind, A = it must be of high value B = it must be difficult to code Us'es better start helping out some before a + b = 13 .....h --------------------------------------------------------------- // You need to change the number of functions available here // // 1) Latch Patrick Nouvion // 2) DateRange Patrick Nouvion // 3) VarRef Patrick Nouvion // 4) VarHHV Patrick Nouvion // 5) VarLLV Patrick Nouvion // 6) VarSUM Patrick Nouvion // 7) VarHHVBARS Patrick Nouvion // 8) VarLLVBARS Patrick Nouvion // 9) VarMOV Patrick Nouvion // 10) VarRSI Patrick Nouvion // 11) VarMOM Patrick Nouvion // 12) VarCMO Patrick Nouvion // 13) inter credit card here Patrick Nouvion -------------------------------------------------------------------------------
Patrick  
#20 Posted : Tuesday, August 16, 2005 2:28:21 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)
Quote:
13) inter credit card here Patrick Nouvion
:smt044 You crack me up :lol:
Users browsing this topic
Guest (Hidden)
2 Pages12>
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.