| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack (4) | Thread Tools | Display Modes |
|
||||
|
Quote:
__________________
"A discovery is said to be an accident meeting a prepared mind." Albert Szent-Gyorgyi |
|
|||
|
Visual optimization on charts
Hi Daraknor,
Thanks for your response. I would like to do all my future optimization using Tester in tandem with the indicators on the chart. I have succeeded in putting Envelopes on the chart, and this helps a great deal in understanding the way signal 1 operates. A Signal 2 indicator is also on the chart, but I'm having a problem understanding how the signal operates, as the "Ultimate Guide" is confusing on this point. (See below) I wonder if you would mind clarifying exactly how Signal 2 comes into action. From the Guide (unclear): Signal 2 - Moving Average Comparison 1 - Counter Trend Signal "Two moving averages are calculated using the same time period P_SMAPeriod. The first is for the present timeframe, and the second is for a point in the past, which is a certain number of bars previous. If the older MA is greater than the present one that indicates a downtrend price trend. but Phoenix produces a Buy Signal If the older MA is greater than the present one that indicates a downtrend price trend. but Phoenix produces a Buy Signal" |
|
||||
|
PContour, I didn't see any changes listed. I thought I was facing a simple operating system issue, but it appears that my file system is turning to mush. I used to do data recovery techniques and I should be able to salvage most of my data, but I need a new HD :/ So for a little while, I'm going to be writing code blind, and answering questions semi-blind.
It sounds like the optimization is based on the trailing stop changes in 5.7.2? I saw the use of trailing stop P setting overriding the defaults. (Good quick code hack for doing tests without changing the settings file.) Since we have a countertrend system, this probably acts a filter for weak profits where the signal was good. If I understand correctly (and I am doing this half blind) the system works like this: If trade is 1 pip profitable, activate trailing stop Use a 30-45 pip trailing stop so the initial SL=-29 to -44 profit. As the profits increase, move the trailing stop up. Have a 999 pip take profit, so the trailing stop is able to run the entire range. I see a few problems with the system I just described (and I could be wrong on description). #1 We have (by using backtesting) already removed some of the news based SL. When we profit using this trailing stop, we are really taking full advantage of news events in our favor and maybe a few minor trends. (Not bad, but please keep in mind that backtest looks much better than forward test.) #2 In order to get a profit of 20 pips with a ts of 40, we need to have had a potential profit of 60 pips and we leave 2/3 of that on the table. An ideal system of this type would: A) Reduce losses when profit was reached, but in much smaller amounts than predicted. B) Not leave so much profit on the table every trade. C) Have enough cushion to allow Phoenix to operate and wait for larger trade reversals. (A tight trailing stop does A and B, but fails C) D) Work well with all brokers (Brokers have a different valid 'smallest trailing stop' value and a separate different valid 'smallest stop loss' value.) E) Not loose drastically when disconnected. (I'm solving E by staying connected all of the time personally with a hosted account, but it is still a criteria.) I wrote a post about different exit strategies. Phoenix 5.7.2 can handle some variations, but it isn't really equipped to handle Exit Strategies well. A few months ago, I wrote some examples of different exit strategies, and I learned Pip Boxer implemented some of them. Phoenix 6 has almost 400 lines of code, not including any trading signals yet. Phoenix6 allows signals or simple math to be used for exit strategies, and to have several different exits turned off or on. I'm writing blind, but I'm writing every day. |
|
||||
|
Quote:
Restating the previous description minus the error in double paste: If the Period MA is greater than the current bar MA that indicates a downward price trend but Phoenix produces a Buy Signal If the Period MA is less than the current bar MA that indicates an upward price trend but Phoenix produces a Sell Signal |
|
||||
|
Quote:
|
|
||||
|
Quote:
I hope you get back all data on your hard drive so you can see again...
__________________
"A discovery is said to be an accident meeting a prepared mind." Albert Szent-Gyorgyi |
|
||||
|
Thank You
For doing some testing on this. Quote:
When you go with a lower TS you get kicked out more easily as waves happen in the down direction, so you may miss that killer score, if it dips 20 cuts you out and sours another 100 or more pips. The lower the TS is the more you can loose on the up side and the less you lose on the downside. We don't understand how much we leave on the table, unless you examine every single trade, we optimize instead and we learn if we are thinking straight from the results. I don't want to introduce any new variables. I could use a big hack and borrow a variable from Mode 2 or 3. (The only possibility I can think of if you want to optimize and I don't bring in a new variable.) But it can mess up other things. So lets say I try something like what you say, as the pips in profit comes back down, I don't want to accidentally increase the TS. I need to come up with some formula for tightening the stop. Here is my idea for every X pips above 0 profit I cut the TS by 1. I'm curious to see if the less you cut the TS the better you do. I made the 999 configurable for my own tests, but just found the higher the better. Interesting but not relevant to the TS tightening idea.I will give it a little thought to above. |
|
||||
|
Quote:
I think you got it all right. Problems Quote:
Quote:
This makes me think, it is a good idea to keep the TP as many points ahead of where we are as the TL is behind us, so if the power goes off on our PC we have an equal chance of hitting the TP as the SL. Quote:
Last edited by Pcontour; 03-01-2007 at 04:42 AM. |
![]() |
| Bookmarks |
| Tags |
| phoenix_ea, Pendulum, 1Damitrix, phoenix, "order modify error 130" |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/phoenix/4645-phoenix-optimization.html
|
||||
| Posted By | For | Type | Date | |
| Phoenix 2007 (new thread) - Page 60 | This thread | Refback | 07-09-2008 09:11 PM | |
| Forex Factory - Phoenix 2007 (new thread) | This thread | Refback | 01-17-2008 06:22 AM | |
| Phoenix 2007 (new thread) - Page 61 | This thread | Refback | 10-14-2007 11:13 PM | |
| Phoenix 2007 (new thread) - Page 60 | This thread | Refback | 08-10-2007 09:07 AM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Backtesting/Optimization | newdigital | Expert Advisors - Metatrader 4 | 485 | 12-01-2008 05:25 AM |
| Optimization cpu usage, need help | Big Joe | Indicators - Metatrader 4 | 4 | 08-16-2007 11:46 PM |
| Martingale Optimization | pelele79 | Expert Advisors - Metatrader 4 | 19 | 05-07-2007 11:27 AM |
| How do I use the optimization? | huhenyo | Metatrader 4 | 1 | 03-15-2007 09:39 AM |
| Optimization | cardio | Metatrader 4 | 1 | 01-25-2006 01:30 PM |