Trader's Roundtable Forum Index Trader's Roundtable
A forum for mechanical system traders.
 
 FAQFAQ   SearchSearch  UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
What is a "non-linear" system or indicator?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Trader's Roundtable Forum Index -> Total Newbie Questions
View previous topic :: View next topic  
Author Message
sagev
Senior Member
Senior Member


Joined: 25 Mar 2004
Posts: 31

PostPosted: Mon Jul 18, 2005 12:17 am    Post subject: What is a "non-linear" system or indicator? Reply with quote

In another post there's a quote from William Eckhardt,
Quote:
"We definitely use non-linear systems and non-linear indicators. Linear indicators, such as filters with moving averages, have been mined dry.


I do not know what exactly is a "nonlinear" trading system. Is it some thing related to Neural Networks and/or Fractal Analysis? Can I find any introductory articles as well as examples on the web?

Thanks.

_________________
Just do it now.
Back to top
View user's profile Send private message Send e-mail
LeviF
Roundtable Knight
Roundtable Knight


Joined: 22 Dec 2003
Posts: 1008
Location: Des Moines, IA

PostPosted: Tue May 13, 2008 12:03 pm    Post subject: Reply with quote

This is a dusty old post, but I'm curious as well.
Back to top
View user's profile Send private message Send e-mail
sluggo
Roundtable Knight
Roundtable Knight


Joined: 11 Jun 2004
Posts: 2199

PostPosted: Tue May 13, 2008 12:58 pm    Post subject: Reply with quote

I suppose if you want to get all math-ey about it, anything with an exponent other than 1.00 is, mathematically, nonlinear. Thus, for example, any application of Fractals and/or Hurst Exponents (which are around 0.5 or thereabouts) to price historical data, will have an exponent that isn't 1.00 and so it will be nonlinear.

Another common technical analysis tool which uses an exponent other than 1.00 is the Coefficient of Determination, also called R squared: http://www.tradingblox.com/forum/viewtopic.php?p=27086&highlight=%2Asquare%2A#27086 In effect, it measures what's left over after all the linearity is removed. Which, if you think about it, might be a pretty fair definition of non-linear.

But my guess is that Eckhardt wasn't actually talking about exponents. My guess is, he was talking about the (nonlinear) operators MAX and MIN. These are not linear functions of the input data, in fact, they are pathological functions of the input data since they completely disregard almost all of the input data. Into the discard bin, the garbage can, the trash heap, with a hearty Hock Ptui! and a dismissive wave.

Math weenies will recognize the "MAX" function as the limit, as p approaches infinity, of the p-Norm of a vector (see (wikipedia) for more). And so we can say that the MAX function is nonlinear because it involves an exponent that is not equal to 1.00 ... the exponent is infinity. Same goes for MIN.

Bill Rempel might wish to expand upon these sketchy descriptions.
Back to top
View user's profile Send private message Send e-mail
AFJ Garner
Roundtable Knight
Roundtable Knight


Joined: 25 Apr 2003
Posts: 1275

PostPosted: Tue May 13, 2008 11:11 pm    Post subject: Reply with quote

Ah, right. That's, er, really cleared that one up for me then!
Back to top
View user's profile Send private message
danZman
Roundtable Knight
Roundtable Knight


Joined: 10 Mar 2005
Posts: 105
Location: Newport Beach,CA

PostPosted: Wed May 14, 2008 12:12 am    Post subject: Reply with quote

AFJ Garner wrote:
Ah, right. That's, er, really cleared that one up for me then!


I love Sluggo's posts for the most part. Always instills some thought provactions. As a former engineer major, I can remember some of that there math-a-matics and cal-cu-lus.

Nonlinear equations are difficult to solve because you don't know the answer. Sort of reminds me of Hitchhiker's Guide to the Galaxy where the answer to life, the universe and everything is 42. Now what's the question?

D
Back to top
View user's profile Send private message
jungle
Full Member
Full Member


Joined: 25 Mar 2008
Posts: 20
Location: NY

PostPosted: Wed May 14, 2008 5:00 am    Post subject: Reply with quote

Google "linear function" (or "nonlinear function").

The definition of a linear function f(x), courtesy of Wikipedia, is:
f(x+y)=f(x)+f(y) and f(ax)=af(x). O.w. the function is nonlinear.
Back to top
View user's profile Send private message Visit poster's website
sluggo
Roundtable Knight
Roundtable Knight


Joined: 11 Jun 2004
Posts: 2199

PostPosted: Wed May 14, 2008 5:42 am    Post subject: Reply with quote

Translation: We here at Eckhardt System Development Labs, avoid the Blox functions "Average" and "EMA" as we feel they have been mined dry. We much prefer the Blox functions "Highest" and "Lowest".

We also avoid Blox functions that use "Average" and "EMA" in their internal calculations, such as RSI, MACD, etc.



urk.png
 Description:
Es bueno, No es bueno
 Filesize:  19.35 KB
 Viewed:  6416 Time(s)

urk.png


Back to top
View user's profile Send private message Send e-mail
AFJ Garner
Roundtable Knight
Roundtable Knight


Joined: 25 Apr 2003
Posts: 1275

PostPosted: Wed May 14, 2008 9:13 am    Post subject: Reply with quote

Many thanks. That's much better!
Back to top
View user's profile Send private message
paloma
Full Member
Full Member


Joined: 17 Oct 2006
Posts: 20
Location: Stouffville

PostPosted: Wed May 14, 2008 9:25 am    Post subject: Reply with quote

You da man Sluggo! Smile
Back to top
View user's profile Send private message
LeviF
Roundtable Knight
Roundtable Knight


Joined: 22 Dec 2003
Posts: 1008
Location: Des Moines, IA

PostPosted: Wed May 14, 2008 9:59 am    Post subject: Reply with quote

Interesting.
Back to top
View user's profile Send private message Send e-mail
Asamat
Roundtable Knight
Roundtable Knight


Joined: 03 Jun 2005
Posts: 168
Location: Walldorf, Germany

PostPosted: Fri May 16, 2008 3:45 am    Post subject: Reply with quote

Trying to translate the implications of the term non-linearity from mathematics to ordinary language:

Linear systems are easier to unterstand and predict, because small changes of anything usually lead to small changes in the results. If you have a working system using an EMA, it should work similarly with an SMA. A not overoptimzed system using an SMA(20) should work similarly with an SMA(21). If a 3.0 ATR stop works for you, a 3.2 stop should give not much different results.

Non-linear systems are different in that small changes may lead to vastly different result. Chaotic systems are non-linear, for example the proverbial butterfly effect. Another exmple is filling a balloon. At first it behaves linearly: putting in a bit more air leads to a bit larger volume. Eventually the linearity breaks down, when the balloon bursts. The last additional bit of air caused a vastly different behaviour compared to all the earlier ones.

Since linear systems are far easier to study, mostly those are the systems that are studied. That holds for mathematics, physics, econometric, and trading systems.

Regards,
Asamat
Back to top
View user's profile Send private message Send e-mail
adamant
Roundtable Fellow
Roundtable Fellow


Joined: 24 Aug 2008
Posts: 96
Location: Norway

PostPosted: Wed Mar 04, 2009 8:28 am    Post subject: Reply with quote

I found this thread very interesting and would really appreciate any links to reading material on the topic of non-linear vs linear trading systems. Also, I would venture to ask Sluggo or other experienced forum members what their opinions are with regard to the accuracy of Eckhardt's (Not Simons) statement.

Last edited by adamant on Wed Mar 04, 2009 9:03 am; edited 1 time in total
Back to top
View user's profile Send private message
sluggo
Roundtable Knight
Roundtable Knight


Joined: 11 Jun 2004
Posts: 2199

PostPosted: Wed Mar 04, 2009 8:47 am    Post subject: Reply with quote

I think you've got a dangling reference (link1) (link2) since the character string "simons" is mentioned in your post but nowhere else in this thread.


dangling_pointer.png
 Description:
 Filesize:  26.6 KB
 Viewed:  3668 Time(s)

dangling_pointer.png


Back to top
View user's profile Send private message Send e-mail
LeviF
Roundtable Knight
Roundtable Knight


Joined: 22 Dec 2003
Posts: 1008
Location: Des Moines, IA

PostPosted: Wed Mar 04, 2009 8:58 am    Post subject: Reply with quote

Lol. I also did a page search for "simons" after reading this post.
Back to top
View user's profile Send private message Send e-mail
adamant
Roundtable Fellow
Roundtable Fellow


Joined: 24 Aug 2008
Posts: 96
Location: Norway

PostPosted: Wed Mar 04, 2009 9:02 am    Post subject: Reply with quote

Sorry guys Very Happy You are abolutely right. Mixed up the names....so many gurus, one tiny goldfish brain
Back to top
View user's profile Send private message
sluggo
Roundtable Knight
Roundtable Knight


Joined: 11 Jun 2004
Posts: 2199

PostPosted: Wed Mar 04, 2009 12:14 pm    Post subject: Reply with quote

Attributing the remarks to William Eckhardt, sagev wrote:
"We definitely use non-linear systems and non-linear indicators. Linear indicators, such as filters with moving averages, have been mined dry.

Asamat wrote:
I would venture to ask experienced forum members what their opinions are with regard to the accuracy of Eckhardt's statement.

I think Eckhart was giving his opinion. I think he was telling the truth, i.e., he believed what he said, at the time. However I also think the odds are about 50-50 that he intentionally crafted his remarks so as not to give away much of his edge to competitors. You have a hard time understanding him because that was his goal, and he succeeded.

I wonder how many people have tried the following experiment: send a letter to William Eckhart, saying
    Hello Dr. Eckhart, my name is X Y and I am a Newbie Trader. I read that a big successful system trader like you could publish your exact trading system in the newspaper and nobody would follow it. Therefore I propose a deal: If you agree, I will pay for a full page ad in the Wall Street Journal and we will jointly publish your exact trading system for the whole world to see. I will pay all expenses, this will cost you nothing. Please send your answer immediately, to my account Eager_Newbie3700@gmail.com . Sincerely yours, X Y.
I don't KNOW with certainty, but I expect that more than one person has probably sent letters like this to traders like Eckhart. Yet we haven't seen any full page ads in newspapers, containing the trading systems of successful CTAs. Why do you suppose that is?

EDIT - fixed typo


Last edited by sluggo on Wed Mar 04, 2009 1:23 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
LeviF
Roundtable Knight
Roundtable Knight


Joined: 22 Dec 2003
Posts: 1008
Location: Des Moines, IA

PostPosted: Wed Mar 04, 2009 12:53 pm    Post subject: Reply with quote

From time to time I still get the urge to search for the holy grail - that magic indicator that will be right 100% of the time with no losses, allow me to pick tops/bottoms, etc. But those urges are beginning to wane.

There either isnt a holy grail or I havent been able to find it. Looking at professional manager's returns, it doesnt appear many of them have found it either.

For now, I will ignore linear this, non-linear that, and continue to follow trends and manage risk...
Back to top
View user's profile Send private message Send e-mail
alp
Roundtable Knight
Roundtable Knight


Joined: 27 Aug 2007
Posts: 244

PostPosted: Wed Mar 04, 2009 5:17 pm    Post subject: Reply with quote

From the other thread:

Quote:
William Eckhardt (quotes from an interview given in 1992!): We developed all our systems exclusively inhouse… so there aren’t any sort of publicly recognizable indicators I could mention. We definitely use non-linear systems and non-linear indicators. Linear indicators, such as filters with moving averages, have been mined dry. Our systems are based more on pattern recognition than on statistical indicators per se. [...] I try to avoid trading anywhere near where I feel (other trend followers) are going to trade.


I am not on a position to tell what Eckhardt is doing, but from his quote I can make a rough guess: he has developed some special algorithm to recognize price patterns, much like a discretionary, technical trader does when looking upon a price chart.

Otherwise, on a more scientific tone, does anybody know of some trading system algorithm based upon a Dynamic Feedback System Model? Ed Seykota is currently working on this.

Some links: http://www.seykota.com/tribe/Models/Index.htm
Tutorial: http://sysdyn.clexchange.org/road-maps/rm-toc.html
Back to top
View user's profile Send private message
adamant
Roundtable Fellow
Roundtable Fellow


Joined: 24 Aug 2008
Posts: 96
Location: Norway

PostPosted: Thu Mar 05, 2009 5:32 am    Post subject: Reply with quote

Thanks. Though I am a newbie to systems trading, I am not on a mission for a holy grail. I just think it's interesting to hear people's opinions on various topics, since you all usually have interesting things to say (no exception this time). This in turn may help me on my way, or not.
Back to top
View user's profile Send private message
sluggo
Roundtable Knight
Roundtable Knight


Joined: 11 Jun 2004
Posts: 2199

PostPosted: Thu Mar 18, 2010 11:15 am    Post subject: Reply with quote

Another example of a nonlinear function that's often used in indicators and trading systems: MEDIAN. Sorry I didn't remember to mention it earlier.

MAX, MIN, STDEV, MEDIAN, RSQUARED, ROOTMEANSQUARE, ...

These fall into two classes:
  • those which involve sorting the data and then operating upon a selected subset (max, min, median)

  • those involving exponents other than 1 (stdev, rsq, rms)
Not to say that there aren't more
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Trader's Roundtable Forum Index -> Total Newbie Questions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.23 © 2001, 2008 phpBB Group