| 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 | Thread Tools |
|
|
|||
|
|||
|
EASY Stuff for Beta
PContour, thanks for your feedback and invitation. Any code that I post must be taken as very tentative, as I am not at all sure what I am doing. But first, a question.
In order to convert Phoenix from countertrending to trending, I have switched the BuySignal/SellSignal just before the "else" statement. However, I wonder if this is sufficient. (I suppose I could also have switched the "return" values at the end of the function.) Is there something else that needs to be done? For example, does something need to be changed in the UpdateTStop function? Do the order types need to be switched (OP_SELL and OP_BUY)? Now for the fun and games! Here is a new signal that might prove helpful. It is the first Relative Strength Index signal in Malone's EASY method. Whereas he gives fixed values for period and midline, I have made these variables so they can be fine tuned. The code includes the externals and the block for the Z Check Signals function. Let me know if this is in order or if adjustments are needed. Thanks in advance for your assistance. I hope that this can help in Phoenix 6. extern int P_RSI_High = 50; extern int P_RSI_Low = 50; extern int P_RSIArrPer = 13; bool BuySignal5=false, SellSignal5=false; double RSILine = iRSI(NULL,0,P_RSIArrPer,PRICE_CLOSE,0); //Period=13 Price=0 if(U_UseSig5) { if(RSILine > P_RSI_High) {BuySignal5 = true;} if(RSILine < P_RSI_Low) {SellSignal5 = true;} } else { SellSignal5=true; BuySignal5 =true; } |
|
|
|||
|
|||
|
Hope that some testers will post their statements this week...
Not very active guys... P570 has been quite ok this week on FXDD Let us know about you on P6... (Or yo earn so much that you already are all in Bahamas ?!?! ) |
|
|
|||
|
|||
|
Quote:
Ha ! Ha ! I prepare right now Cuba Libre and Margarita's ![]() |
|
|
|||
|
|||
|
Spring in the air
Don't let m6m6 fool you. It was a balmy 5 degrees centigrade in Montreal today. I've been walking around in madras shorts and a golf shirt. In spite of the promise of spring my great regret is that the outdoor rinks are finished and I can't go and skate anymore.
|
|
|
||||
|
||||
|
Daraknor, sorry for late respond.
Quote:
It is kinda interesting I saw it, since I don't do coding. I did few lines of programing some 30 years ago in language Fortran 4 so I have a 'little' disadvantage here So I don't risk to much by predicting I will not find any more lol lolSince my programming skills are very limited, actually, they are none, it is not really right and fair for me to comment your programming. But anyway I must say, I can follow first few lines, so it is written simple, understandable. Thank you! Also great idea, to not use part for calculation, when that part is not needed. Great rationalization! Sure helps with the speed. Daraknor, you wrote on some other Phoenix thread, something about maybe adding optional news avoidance filter. I'm not sure if you had that FFCall in your mind. If you did, here is an update :-) Version 4. FF had too much trafic, so code is changed to check for new news once per hour, random minutes. There are also few bugs fixed. You can call this indi by using these lines of code: int prevMinute = -1 if (Minute() != PrevMinute) { PrevMinute = Minute(); int minutesSincePrevEvent = iCustom(NULL, 0, "IndFFCal", true, true, false, true, 1, 0); int impactOfPrevEvent = iCustom(NULL, 0, "IndFFCal", true, true, false, true, 2, 0); int minutesUntilNextEvent = iCustom(NULL, 0, "IndFFCal", true, true, false, true, 1, 1); int impactOfNextEvent = iCustom(NULL, 0, "IndFFCal", true, true, false, true, 2, 1); } // (where impact of 1 = Low, 2 = Medium, and 3 = High) As you can see, you can use this indi, so EA will avoid trading news based on news importance. (You can set that say EA keeps you out of trouble during high impact news while you can keep EA trading during medium and low impact news for example.For all, this is also stand alone indi, for manual trading. Just put it on the chart and allow DLL import and you are set to go.Give it a try, it is really nice indicator. Useful too. You will see pending news for a pair on which indi is attached. Daraknor, now, this will sound funny, I can't read the code but here I will ask you to add some into Phoenix. Well, it's not mine, I found it in another EA. I really like to put some short comment into EA, as a reminder of what settings I'm using. So, would you please add this code into future versions please if possible: extern string EAComment; string EA_Comment=""; { EA_Comment = EAComment + " Phoenix_6"; } . . { Ticket=OrderSend(....,EA_Comment,....); } To all: When entering text, comment, keep it short. Max 16 characters or there may be some problems. Autumleaves, tnx for your work on Easy version. I like that method and it will be great to have EA for it. Daraknor, thank you for helping him. I also second his idea, to implement indicators into EA if this wouldn't slow down EA too much. Pcontour, thank you for all additions and help. Bterbtin, I checked Nina indi, yes it is nice (usefull), but I like G_MACD even better. (from the same msg board, Dolly_Open) I was told, that you are organizing Phoenix meeting on your warm island?!? Cooooool! Margarita we are cooooooming :-) (it was about time anyway lol lol) Also "hi" to Azbo, m6m6 and other participants. Mario |
|
|
||||
|
||||
|
I'd love to have a get together on an island. In Oregon we have nearly constant rain, which I enjoy most of the time. I started wearing a baseball cap (with a linux logo) when I ride my bike so I don't get rain on my glasses. I have been wanting to move to Central/South America for a while now. The mentality in the US does not suit my disposition. I'm also hoping to build a Sustainable City wherever I end up. (C'mon Phoenix & PhoenixFund!)
I just sent Phoenix 6 Alpha 4 over to PContour so he can doublecheck my work, make it look pretty, rename things to meaningful names, etc. It should become beta code when he's done with it. (That means likely beta this weekend.) We were talking about different ways of optimizing Phoenix and MQL in general so we could backtest faster. I structured the code to exit the tick calculations ASAP in all cases I could think of, and I don't do nested loops inside any subroutines except for Drawdown calculations (if drawdown resizing is enabled). I'm not happy with the trend filter I put in, but it shows some promise on sharp daily movements. (Stop trade if too far away from the Moving Average trendline) I need better "Trend Detectors". The comment system is enabled. I rewrote several sections of code completely. We have several exit signals now: delayed trailing stop, recross maximums (if price is hovering on your entry spot for X bars, exit at break even), and the Grace/Force code exits found in Phoenix 5. I plan to add three more signals in: 1. Support and Resist detection based on a Fractal experimental EA I've been working on. It works very profitably and seems settings robust. I'll be sending Demo copies to a few people who are active on these forums. 2. Support and Resist detection as a confirmation signal (can be used with, or instead of signal S&R as a filter) 3. Speed Angle check as a confirmation signal (increase lotsize if slope is sharp) 4. Adding an exit system for multiple trades so Mode3 can be completely emulated. I'm not sure how comfortable I am adding pieces of my commercial/experimental EA into Phoenix, but I will try to come up with something. Phoenix 6 is already 70% or so code I developed for commercial EA. It was a small emotional step rewriting Phoenix6 in the new style, because I thought it was time I felt comfortable altering the core functionality for a change. Adding the guts of a very promising EA to P6 for free isn't something I'm sure I'm ready to do. :/ P6 is almost ready... |
|
|
|||
|
|||
|
EASY Code Items
Thanks to Alaman, bert, PC, and everyone for their input. Don't let the code get you down Darak. It's all good experience. I'm learning a lot just by watching.
Darak if you manage to clean up the EASY signals shoot them back to me and I'll test them within 5.7.2W. Have done a lot of visual tweaking of inputs the last two days and this looks very promising. The best plan is to include indicators for all signals so we can see on the chart what Phoenix is doing. This will immensely speed up debugging and fine tuning, as I don't think backtesting helps very much in that department. |
| Bookmarks |
| Thread Tools | |
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Phoenix - Development+Suggestions - MQ4 in Post#1 | daraknor | Phoenix | 424 | 09-09-2008 12:13 AM |
| Phoenix 2007 (new thread) | Hendrick | Phoenix | 1326 | 03-27-2008 11:34 PM |
| Phoenix is here! | Hendrick | Phoenix | 374 | 02-06-2008 04:26 PM |
| Phoenix optimization | Prankie | Phoenix | 173 | 10-17-2007 08:24 AM |
| Expert Advisor Upgrader - Turn Simple Into Superb | Scorpion | Tools and utilities | 7 | 04-13-2007 02:01 AM |