Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2009, 09:20 AM
Member
 
Join Date: Aug 2008
Posts: 50
doshur is on a distinguished road
Probabilistic Perceptron Neural Network

Some crazy idea just pop up in my head creating a Probabilistic Perceptron Neural Network

this is how it works.
every new bar, it will open a buy or a sell
the perceptron will adjust the weights and learn

give me your thoughts

How to use
Use the trainer to train,
inputs 0 - 200, step 1 for all
then sort by profit factor

Last edited by doshur; 06-24-2009 at 08:58 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 05-06-2009, 09:34 AM
SIMBA's Avatar
Senior Member
 
Join Date: May 2006
Posts: 1,396
SIMBA is on a distinguished road
Most suitable settings

Quote:
Originally Posted by doshur View Post
Some crazy idea just pop up in my head creating a Probabilistic Perceptron Neural Network

this is how it works.
every new bar, it will open a buy or a sell
the perceptron will adjust the weights and learn

give me your thoughts

How to use
Use the trainer to train,
inputs 0 - 200, step 1 for all
then sort by profit factor
Doshur,

Thanks for the perceptron,I have just downloaded it,so my comments are preliminary.

By looking at this code:

double ATR = iATR(NULL, 0, 13, 0);

double StopLoss = ATR * 3;
double TakeProfit = ATR;


I suggest that you modify it to

double ATR = iATR(NULL, 0, M,0);

double StopLoss = ATR * N;
double TakeProfit = ATR*P;

This way the perceptron will be able to find the most suitable ATR period and ATR multipliers for both stoploss and Take Profit.
I would use a range for M,N,P from 0.5 to 10 in steps of 0.5...as an alternative, you could make them external doubles and then optimize,but I believe that the fun of using the perceptron is for it to do the optimization on a continuous basis.If this is too wide a range and it slows the process ,you cold then make them external doubles,optimize to find where the best settings range for several different pairs and then reduce the "range of search" of the perceptron accordingly(if,for example,trough optimization of several pairs,you find optimal M(ATR period) ranges from 5 to 8..optimal N(Stoploss ATR multiplier) between 0.5 and 2.5..and optimalP(Atr multiplier for take profit) from 1.5 to 5.0..you can use those limits and program the perceptron accordingly).

Simba
__________________
Equo ne credite,Teucri.

Last edited by SIMBA; 05-06-2009 at 09:43 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 05-06-2009, 09:53 AM
Member
 
Join Date: Aug 2008
Posts: 50
doshur is on a distinguished road
actually im not try to find the ATR, TP and SL
rather i can input the weights to the indicator and aids in manual / ea trading as some filter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 05-06-2009, 11:20 AM
Junior Member
 
Join Date: Jan 2007
Posts: 17
myaron is on a distinguished road
Did you took it from the Artificial Intelegence EA

he is using the same method.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 05-06-2009, 11:49 AM
Member
 
Join Date: Aug 2008
Posts: 50
doshur is on a distinguished road
Quote:
Originally Posted by myaron View Post
he is using the same method.
It doesn't really matter where I took it from because the implementation of perceptron is the same, weight X input ...

i only made some modification to it to be a Probabilistic one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 05-06-2009, 04:21 PM
Senior Member
 
Join Date: Oct 2007
Posts: 135
richest is on a distinguished road
can you tell me when will the train EA produces the suitable result? also, what's the use of the perceptron_close indicator?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 05-06-2009, 04:25 PM
Member
 
Join Date: Aug 2008
Posts: 50
doshur is on a distinguished road
Quote:
Originally Posted by richest View Post
can you tell me when will the train EA produces the suitable result? also, what's the use of the perceptron_close indicator?
u can try on H1 or H4 for a few weeks
the indicator is for visual check on the chart (remember to input the optimize settings)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 05-06-2009, 05:59 PM
biddick's Avatar
Senior Member
 
Join Date: Mar 2009
Posts: 127
biddick is on a distinguished road
Have you or anyone tried membrain?:Membrain NeuralNet - MQL4 forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 05-09-2009, 05:26 AM
Member
 
Join Date: Aug 2008
Posts: 50
doshur is on a distinguished road
Perceptron in action, see the forecast period. Seems pretty isn't it?
Attached Images
File Type: jpg perceptron.jpg (194.7 KB, 725 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 05-10-2009, 02:17 AM
Junior Member
 
Join Date: Nov 2008
Posts: 9
oR4z0r is on a distinguished road
Be careful with what you're seeing there. The weighted-fitting approach is actually forecasting the past. What you need is the correlation between a clearly defined span of out-of-sample future compared to the last weight adjustment using a certain amount of latest historical data.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Neural Networks newdigital Analytics 171 10-11-2009 03:16 AM
Radial Basis Network (RBN) - As Fit Filter For Price IceXP Indicators - Metatrader 4 23 07-07-2008 06:07 PM
Neural Forecast for Eurusd on 2006 De Vinci Tools and utilities 2 06-08-2006 04:27 AM


All times are GMT. The time now is 10:41 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.