Forex
Google

Go Back   Forex Trading > Commercial systems > Raw Commercial Ideas
Forex Forum Register FAQ Members List Calendar Today's Posts


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 Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2008, 09:26 AM
azmel's Avatar
azmel azmel is offline
Senior Member
 
Join Date: Dec 2007
Location: United Kingdom
Posts: 193
azmel is on a distinguished road
The P.I.D.

The P.I.D.


I have written a new EA based on unique control signal strategy. The EA is doing well so far in forward testing and is generating good profits. I will commercialise this EA when I am happy with its performance. In the meantime, I would like to invite everyone to forward-test the Demo version attached.

Introduction

The PID is a strategy that analyses the analog signal-noise generated by the forex market using three different signal processing equations. Trade signals are generated by the PID Controller and are managed by the EA. The EA utilise some sort of "quasi-pyramiding/martingale" effect if the market retracts.

Demo Installation

Download and install a copy of Metatrader4 (MT4) from InterbankFX if don't already have one.

Copy "The PID Demo.ex4" EA to the MT4's \experts folder.

Copy "The PID Controller.ex4" indicator to the MT4's \experts\indicators folder.

Open a demo mini account with a leverage of 1:200 and a minimum deposit of $1,000 ($2,000 is actually recommended to give the EA some room to move). If you are using non-IBFX mini account, then open $10,000 instead.

Open all 19 charts and attach the EA to each chart. Each chart can be of any timeframe but it is best to put them on M30 as it has less noise compared to lower timeframes. You don't need to attach the indicator to the chart as attaching it won't display anything anyway, but the indicator must be present in the \experts\indicators folder for the EA to work properly.

A typical trade will last from a few hours to a few days, sometime lasting over a week - so give it some time to close its positions and not too worry about the many floating positions.

If you need to shut down the EA, set ShutDown=true and it will close all positions and not open new ones. Closing all open positions will take a few days to complete.

The EA will need to be run 24/7 without interruption. If the EA is prematurely terminated, it won't be able to close its positions as it has zero StopLoss and TakeProfit. Everything is handled internally. If the EA is closed prematurely (for example a computer reboot), simply restart the EA and it will pick up where its left off.

------------------------------------------------------------------------

UPDATE 28th May, 2008: The PID SP4 has been commercialised. Further details can be found on my website:

http://autofx-advisors.com

Thank you all who have participated in forward-testing and beta-testing this EA.

Best regards and wishes,

Azmel Ainul

Last edited by azmel : 05-28-2008 at 06:16 PM. Reason: EA has been successfully commercialised.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-02-2008, 12:32 PM
iGoR iGoR is offline
Senior Member
 
Join Date: Jan 2006
Posts: 953
iGoR is on a distinguished road
Quote:
Originally Posted by azmel View Post
A typical trade will last from a few hours to a few days, sometime lasting over a week - so give it some time to close its positions and not too worry about the many floating positions.
What is the stoploss rule ?... how much pips or % or $ you allow a position to go against you ?...
You say that a position can be open as much as a week. But what happens if during that week the price continioulsly goes against you ?...
And important what is the avg T/P you take?....or better what is the avg winn/loss ratio ?...


The reason why I ask this question is that we all saw enough EA's now that have so called very nice hitratio because the T/P is very small but the system allows positions to go in enormous losses. Or floating losses that are many times bigger then the avg. profit. Wich is rediculous and mentaly impossible to trade.
The idea behind it is that so called price "always" comes back but if you look to your monthly charts over the last 10 years, you will find plenty of reversalls where price NEVER came back. So it is more gambling and hoping that price would come back then realistic trading according direction of the market. And without pulling the plug if one has positions against the direction of the market.
So I hope for you that you have a realistic S/L or a realistic avg loosing trade that is in line with the T/P or with the avg. wining trade.

regards...iGoR

PS. Be awere that never was a martingale system build that did not blow up the account after trading it over a longer period. And longer means not a couple of weeks nore months.
__________________
Succes comes with knowledge. Knowledge comes with experience. Experience comes with time and hard work... (iGoR)
To avoid a lot of false trades ask yourself the question:...Am I desperatly looking for a trend because I want to trade...or am I taking a trade because the trend is there...(iGoR)

Last edited by iGoR : 04-06-2008 at 09:38 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-02-2008, 01:18 PM
MiniMe's Avatar
MiniMe MiniMe is offline
Senior Member
 
Join Date: Nov 2006
Location: Montréal
Posts: 1,032
MiniMe is on a distinguished road
azmel ,
PID is it what I think it is : Proportional derivative & integrator (PID) control ?
if so how do you get the equation of the trading curve ? because that means you need to adjust the PID when the trend changes !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-04-2008, 01:05 AM
jimven's Avatar
jimven jimven is offline
Senior Member
 
Join Date: Mar 2007
Location: Upstate New York
Posts: 116
jimven is on a distinguished road
Backtesting the P.I.D.

Azmel:

I started backtesting the P.I.D. and am keeping an eye on it right now as it runs. Here's some observations:
  1. It runs very slowly. This can be a problem without a high-powered processor if you're going to run it simultaneously on all the charts available to you! I wonder if it would keep up?
  2. As you say, it is clear that it behaves as though some of the logic is Martingale-style. The balance takes significant dips and then recovers...so far.

Does the diversification of attaching the EA to many charts smooth out the "dipping balance" problem?
__________________
Success is more perspiration than inspiration . . .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-08-2008, 01:42 PM
aerist123 aerist123 is offline
Junior Member
 
Join Date: May 2006
Posts: 2
aerist123 is on a distinguished road
forward-test

I started forward-test of this Demo version. I let you know the results of testing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-08-2008, 02:56 PM
COTtrader COTtrader is offline
Member
 
Join Date: Apr 2006
Posts: 60
COTtrader is on a distinguished road
Keep up the good work!

Three cheers, Azmel! Keep up the great work. I admire persons like yourself. Stay the course.

COTtrader
"Ken"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-08-2008, 07:26 PM
omelette omelette is online now
Senior Member
 
Join Date: Jan 2006
Posts: 990
omelette is on a distinguished road
azmel, many thanks for posting the demo.

As already mentioned backtesting isn't really feasable as it's mind-numbingly slow (azmel, very useful command 'IndicatorCounted()' ) as the indicator obviously uses all bars in its calculations, and will get progressively slower as backtest 'time' passes... Luckily, it appears to use EOB trading so 'Open Prices Only' backtesting should be reasonably accurate, so I backtested from June '06 -> Present - and it's still took about 3 hours! btw I start from June '06 'cos imo, Metaquotes price-data up till Oct-Nov '06 is worthless, (too easy to make profitable EA's with, therefore suspect) but it's good to have a few months of 'easy data' to compare with 'real' data. That said, notice that the bulk of the profit has been made before trade '216' on equity pic. (Nov '06), and it generally struggles to maintain profitability thereafter - practically every 'profitable' EA behaves the same I have found, and imo, it's all down to the s*itty data, so the EA's are not really profitable (my interpretation obviously...)

But when all is said and done, it did maintain profitability and d/d wasn't horrendous (it wouldn't have survived on the recommended $2,000 though...), so it could have potential...

PS. - Tried Backtesting EURUSD, it opened 27 trades then stopped dead, but no errors - seems to be a bug of some kind. So I tested USDCHF instead. No HG, that's for sure...
Attached Images
File Type: gif PID_010608_070408.gif (7.4 KB, 614 views)
File Type: gif PID_USDCHF.gif (6.8 KB, 585 views)
Attached Files
File Type: rar PID_USDJPY_USDCHF.rar (64.0 KB, 51 views)

Last edited by omelette : 04-09-2008 at 03:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

vB 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



All times are GMT. The time now is 02:37 PM.