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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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 : 19 years ago
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.

information You have 1 unread message(s) in your Inbox.