Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (95) Thread Tools Display Modes
  #61 (permalink)  
Old 12-20-2007, 05:40 AM
Junior Member
 
Join Date: Dec 2005
Posts: 6
got_fx is on a distinguished road
Quote:
Originally Posted by tiger_wong View Post
Hello guys,

Please suggest me what the best algorithm that I should learn so I won't be wasting my time. From what I read here, there are several method using PNN, SVM, GPF, etc. Which one is the best? Maybe experienced person could help me.

Thank you
PNN is the simplest type of network (at least for implementation). It creates a node for each exemplar and then it compares the distances - nothing special happens at the nodes - just a distance measure passed through a rbf. Typically it's used for a small number of observations as the memory usage increases quickly. For continual re-training, as Better has it, it is probably best suited because, above everything else, the weights can be computed directly (analytically).

Hmm, I wonder whether Better wasn't just lucky to have a trending market. The same upward pointing patterns repeated and his system simply captured them near the optimal points...

I dunno nothing bout GPFs.

I suppose SVMs can be very powerful if you know what you are doing.
I did not.

Feed forward nets have given me good results.

Repeating what I said in a previous posting - it's all in the problem definition, not the algorithm.

-------------------------------
Don't take anything for granted.
I am not an expert.

Last edited by got_fx; 12-21-2007 at 03:42 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #62 (permalink)  
Old 12-20-2007, 05:58 AM
Junior Member
 
Join Date: Dec 2005
Posts: 6
got_fx is on a distinguished road
Quote:
Originally Posted by jdpnz View Post
My approach (to the market) is something like this:
When the market is trending - moving in a relative strait line up or down, it is relatively easy to predict where it is going next.
Unfortunately - trend is your friend till it breaks.
For a programmer the implication of the above is that, at some stage, price will turn.
Actually (I think) we only get paid on the turning points. This is where I'd like to open/close my trades.
As such - if I can predict turning points I have the foundation for a very powerful trading system and, what happens in between (the turning points) is of little/no interest to myself.
However - most indicators actually tell about market DIRECTION - in other words, the bits in between (the turning points) and NOT the turning points.
In fact - "predicting" turning points is still up to the individual and for this, we use SR lines, fibs, momentum, the moon or whatever else.
As such I have been working on the premise that a software package that can "predict" turning points (with a reasonabe accuracy) can, to some large degree, extend the individuals ability to make better decisions regarding turning points.

Bottom line - I think that, included in the definition of what we are trying to predict, we must have turning points/levels.

However (important I think) the next logical question would then be:
Do we need define turning points merely in the price domain - and/or in price AND time domain, or how else will we define a turning point?

Personally, I feel that, since I am only paid for accuracy in the price domain, this is where I should concentrate my efforts.
In fact - in my present systems, I do not define time periods - but rather price "periods" in some fashion and, I have no doubt in my mind that because of this, my price line is much smoother that most ordinary (time based) systems out there.
As such - time plays little/no part in any my live systems.

Comments would be appreciated greatly.
Jdpnz, I agree with you.
It's the ups and downs that pay off. Additionally, in my previous attempts (I don't trade) I've tried to non-dimensionalize the problem, that is thinking in percent changes and having percent targets given past moves in the price rather than core pips.
I could not come up with a way to automatically accurately determine the past turning points though given the jagged behavior of most indicators. Would you have any suggestion?
What do you mean under "my price line is much smoother"?
Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #63 (permalink)  
Old 12-20-2007, 09:40 AM
Member
 
Join Date: May 2007
Posts: 33
jdpnz is on a distinguished road
Smile time/price period data

Quote:
Originally Posted by got_fx View Post
Jdpnz, I agree with you.
What do you mean under "my price line is much smoother"?
Thanks.
easiest answer is to give you a picture.
I used the EUR since 1/12/07 and, for the first graph I used a fixed 10 pip +- previous period's max/min which is still rather noisy (but, should give you some idea.)
The second graph is a fixed 2 hour period of the same data.
In live trading, I use the first graph - although I must admit that I implement all kinds of ideas to vary the 10 pips.
Oh yes - both graphs a close price - however, actual closing time vary greatly between them and as such, a direct comparison is not really possible.

Personally, I find the first dataset useful because:
1.) because each new data period will move by a fixed amount (10 pips in this case) the angle (velocity) of price movement is fixed. The only question then is - will the move be up or down?
2.) as such price has now been taken from an analog signal to a digital signal. (No question as to how many pips the market moved - each 10 pips is a new period.)
3.) I can now describe price movement as a series of one's and zero's, with a 1 representing 10 pips up,and a 0 representing 10 pips down. As an example - a move of 50 pips up and then 25 pips down would become 1111100. In terms of AI (and maybe especially NN's) this makes rather a huge difference.
4.) Because of the fixed velocity it is much easier (and more precise) to set my indicators such that I have the best output at this (10 pips/period) rate. However - there is a tradeoff for this - that which traders normally calls momentum is lost (in the normal sense of the word) because momentum is actually related to price velocity and I keep velocity constant.
Attached Images
File Type: jpg Data comaprison.JPG (61.7 KB, 1826 views)

Last edited by jdpnz; 12-20-2007 at 11:08 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #64 (permalink)  
Old 01-02-2008, 01:15 PM
jswanson's Avatar
Junior Member
 
Join Date: Dec 2005
Posts: 8
jswanson is on a distinguished road
Our group also offers a bridge from MT4 to Currenex through FIX API. We have a broker who agrees to give us Currenex pricing on Demo MT4 platform and we send orders from MT4 to FIX API to CNX in <30ms.

We are going to start working with neural nets and data mining for optimal moving average distances for entry and exits as a filter for our other systems.
__________________
To know wisdom and instruction.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #65 (permalink)  
Old 01-03-2008, 10:20 AM
Senior Member
 
Join Date: Mar 2006
Posts: 719
barnix is on a distinguished road
Better EA orders with MagicNumber = 854
Attached Images
File Type: jpg nn14.JPG (88.0 KB, 1452 views)
Attached Files
File Type: zip BetterEA.zip (94.0 KB, 671 views)

Last edited by barnix; 01-03-2008 at 10:41 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #66 (permalink)  
Old 01-03-2008, 10:30 AM
Senior Member
 
Join Date: Mar 2006
Posts: 719
barnix is on a distinguished road
MagicNumber = 855
Attached Images
File Type: jpg nn15.JPG (84.9 KB, 1441 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #67 (permalink)  
Old 01-03-2008, 10:38 AM
Senior Member
 
Join Date: Mar 2006
Posts: 719
barnix is on a distinguished road
MagicNumber = 856
Attached Images
File Type: jpg nn16.JPG (63.2 KB, 1440 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #68 (permalink)  
Old 01-03-2008, 03:58 PM
Member
 
Join Date: Dec 2006
Location: Minnesota, USA
Posts: 84
mrebersv is on a distinguished road
Having not looked at the previously enclosed "BetterEA.zip," It seems we won't even want to mimic the system using the Magic Number, 856. System 854 definitely looks like profitable trades. I'll need to look a bit closer at System 855 to see how profitable it is, or if it's pretty close to break even. I'm actually super busy until next week, but I have some good ideas on engineering something that can accurately mimic what I've been referring to as System 854.

As a side note about doing Neural Networks in MT4, all of my personal, foreseeable applications of Neural Nets won't need a retraining phase any more often than once a week. Since one needs to do some MQL4 trickery for true continuous retraining AND that could potentially eat up too many resources on a given system, I personally plan on doing retraining phases no more than the once a week when my broker feed stops (possibly not even that often).

-MRE-
__________________
I'm open to professionally developing EAs. PM me if you're interested.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #69 (permalink)  
Old 01-08-2008, 05:22 AM
MANSTIR's Avatar
Member
 
Join Date: Nov 2007
Posts: 82
MANSTIR is on a distinguished road
i've seen no full source code of ea here? mr barnix, please give me one?

thank u

look like i dont understand much what u'll disscusing all about but its interesting since 'better' won his champs in 2007...thumb ups
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #70 (permalink)  
Old 01-08-2008, 11:44 PM
Senior Member
 
Join Date: Mar 2006
Posts: 719
barnix is on a distinguished road
Orders distributed in time
Attached Images
File Type: jpg nn17.JPG (81.2 KB, 1228 views)

Last edited by barnix; 01-08-2008 at 11:46 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/expert-advisors-metatrader-4/11096-better-nn-ea-development.html
Posted By For Type Date
财籽 :: 阅读主题 - Better's EA - 世界自动交易大赛冠军 This thread Refback 08-09-2008 11:22 AM
Profile Better - Automated Trading Championship 2007 This thread Refback 07-14-2008 11:59 AM
驻讜专讜诐 - STRATEGY BANK This thread Refback 07-14-2008 10:19 AM
袩褉芯褎懈谢褜 Better - Automated Trading Championship 2007 This thread Refback 07-13-2008 08:48 AM
Bogie-NN-v8 (William Boatright - Wackena) | Facebook This thread Refback 07-12-2008 07:05 AM
财籽 :: 阅读主题 - Better's EA - 世界自动交易大赛冠军 This thread Refback 07-07-2008 02:32 AM
鍥藉鏈変汉鍦ㄧ爺绌禤NN锛堢缁廍A锛夋湁鐐圭湅涓嶆噦 - 銆屽姹囦氦鏄撱 - 銆庣伀绾挎姇璧勮鍧涖 澶栨眹,澶栨眹鍏ラ棬,澶栨眹璁哄潧,澶栨眹绀惧尯,澶栨眹淇濊瘉閲,澶栨眹浜ゆ槗,鎶曡祫,鎶曡祫璁哄潧,A鑲,鑲$エ This thread Refback 07-01-2008 06:04 PM
驻讜专讜诐 - STRATEGY BANK Post #41 Refback 06-28-2008 09:59 PM
财籽 :: 阅读主题 - Better's EA - 世界自动交易大赛冠军 This thread Refback 06-26-2008 12:41 PM
驻讜专讜诐 - STRATEGY BANK This thread Refback 06-19-2008 12:03 PM
驻讜专讜诐 - STRATEGY BANK Post #41 Refback 06-19-2008 10:43 AM
Forex Otomatik Islem Mekanizmalar - hisse.net : Ekonomi ve Borsa Forumu Post #18 Refback 06-18-2008 03:06 PM
袣芯屑屑械薪褌邪褉懈懈 - Automated Trading Championship 2007 This thread Refback 06-16-2008 06:54 PM
Fraktale , Sieci neuronowe ,Algorytmy genetyczne... This thread Refback 06-06-2008 12:41 PM
财籽 :: 阅读主题 - Better's EA - 世界自动交易大赛冠军 This thread Refback 06-06-2008 12:44 AM
DELPHI涓庣儹鍔 - 棰戦亾棰勮 - 鎶撹櫨 This thread Refback 06-05-2008 08:24 PM
袩褉芯褎懈谢褜 Better - 2007鑷姩浜ゆ槗閿︽爣璧 This thread Refback 05-23-2008 10:58 PM
Profile better - Automated Trading Championship 2007 This thread Refback 05-18-2008 12:21 PM
袩褉芯褎懈谢褜 Better - Automated Trading Championship 2007 This thread Refback 05-12-2008 05:14 PM
Better's EA - 世界自动交易大赛冠军 - 海洋部落 This thread Refback 05-06-2008 03:56 AM
测试svm dll的例子(Example for testing the svm dll) 中国人工智能创业研发俱乐部 - 人工智能|神经网络|遗传算法|模式识别|机器视觉|创业|项目开发 This thread Refback 05-01-2008 06:31 AM
Profile Better - Automated Trading Championship 2007 This thread Refback 04-14-2008 04:18 PM
EAForex :: View topic - Combo NN This thread Refback 04-14-2008 07:14 AM
Comments - Automated Trading Championship 2007 This thread Refback 03-30-2008 07:25 AM
Sieci neuronowe na gie砫zie Forex - system, dyskusja This thread Refback 03-23-2008 01:59 PM
测试svm dll的例子(Example for testing the svm dll) 中国人工智能创业研发俱乐部 - 人工智能|神经网络|遗传算法|模式识别|机器视觉|创业|项目开发 This thread Refback 03-14-2008 09:24 AM
驻讜专讜诐 - STRATEGY BANK This thread Refback 03-08-2008 06:05 PM
鍥藉鏈変汉鍦ㄧ爺绌禤NN锛堢缁廍A锛夋湁鐐圭湅涓嶆噦 - 銆屽姹囦氦鏄撱 - 銆庣伀绾挎姇璧勮鍧涖 澶栨眹,澶栨眹鍏ラ棬,澶栨眹璁哄潧,澶栨眹绀惧尯,澶栨眹淇濊瘉閲,澶栨眹浜ゆ槗,鎶曡祫,鎶曡祫璁哄潧,A鑲,鑲$エ This thread Refback 03-02-2008 04:09 AM
袩褉芯褎懈谢褜 Better - 2007鑷姩浜ゆ槗閿︽爣璧 This thread Refback 02-19-2008 02:36 AM
袣芯屑屑械薪褌邪褉懈懈 - Automated Trading Championship 2007 This thread Refback 02-11-2008 09:25 AM
鍥藉鏈変汉鍦ㄧ 旂┒PNN锛堢缁廍A锛夋湁鐐圭湅涓嶆噦 - 銆屽姹囦氦鏄撱 - 銆庣伀绾挎姇璧勮鍧涖 澶栨眹,澶栨眹鍏ラ棬,澶栨眹璁哄潧,澶栨眹绀惧尯,澶栨眹淇濊瘉閲,澶栨眹浜ゆ槗,鎶曡祫,鎶曡祫璁哄潧,A鑲,鑲$エ This thread Refback 02-10-2008 09:06 AM
驻讜专讜诐 - STRATEGY BANK This thread Refback 01-29-2008 05:12 PM
Automated Trading Profit: The Automated Trading Championship 2007 Is Over! This thread Refback 01-29-2008 04:19 PM
Comments - Automated Trading Championship 2007 This thread