halcyonn Posted September 2, 2011 Report Share Posted September 2, 2011 Soundfx thanx for the the improvements and your continuing input. i put the new ea with trailing function to use but its trailing not working..can it be fixed? Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 2, 2011 Author Report Share Posted September 2, 2011 Sorry halcyonn - I was sure it was working in a backtest. I've just checked my forward test log and I've got some "unknown ticket" errors which are causing the problem. Quote Link to comment Share on other sites More sharing options...
halcyonn Posted September 2, 2011 Report Share Posted September 2, 2011 Soundfx..its not only for you to come up with the solutions which other experts can attend to as well. repeated request to fix the trailing feature to Musketeer,Capella & Co.... Quote Link to comment Share on other sites More sharing options...
⭐ musketeer Posted September 4, 2011 Report Share Posted September 4, 2011 Soundfx..its not only for you to come up with the solutions which other experts can attend to as well. repeated request to fix the trailing feature to Musketeer,Capella & Co.... am not an expert for sure... just trying to help with my little skills... Perhaps it is better if Soundfx make the changes, it will spare confusion about everyone's intervention in the code... About TS, I think the invalid ticket (thus no TS) is because of not knowing the ticket number. Quote Link to comment Share on other sites More sharing options...
Ferenc86 Posted September 5, 2011 Report Share Posted September 5, 2011 scorpion, I assume you're using the MT4 backtester for this. Have you checked to ensure that backtesting accurately reflects live trading? I suspect that there will be discrepancies because of the MTF nature of the probability calculation, so that's the first thing to do. Run the EA in live for 3-5 days and note all the trades. Then run the EA in backtest and compare - that way we can be confident (or not) in backtesting this system in general. Yes, I suspected that we may need to tweak some of the other options as they were untested when I originally posted the EA. I wanted to include them to provide a framework for anyone who wanted to use them, then all they had to do is fix the bugs rather than code everything from scratch. As for optimisation in general - I don't personally think it's a good thing as it's effectively the worse form of curve-fitting. I've created many EA's in the past and optimised them to give fantastic results on one pair/time period only to find that when I run tests going back into earlier years or use different pairs the EA's collapsed in a spectacular heap blowing accounts. I think that the way forward with this EA is to learn from watching the indicators and create new rules to restrict our trades to high probability ones only. In addition to Chandu's method in the manual thread, German's observations shouldn't go unnoticed either - as these could be all the EA needs. The EA logic would need to be upgraded to include the determination of probabilities in all relevant timeframes which is in the latest II_PipAccumulator. Then we just wait for the MTF probabilities to line up at around 35 or -35 and place trades with stop/target 20 as a first test. 2 high probability trades like this per day at 80% accuracy and 1:1 risk:reward will give on average at least 100 pips per week. Hi, Soundfx Very nice job! Congratulation! I see the increasingly better results! I am not skilled at the robots so only unfortunately I am an exterior observer and a fan Have a nice day! Quote Link to comment Share on other sites More sharing options...
scorpion Posted September 5, 2011 Report Share Posted September 5, 2011 The problem remains the management of closing. Ticket Open Time Type Size Item Price S / L T / P Close Time Price Commission Taxes Swap Profit 131118765 2011.08.31 12:00 sell 0.10 gbpusd 1.62880 1.62374 1.61680 2011.09.01 04:33 1.62374 0.00 0.00 -1.11 50.60 131217540 2011.08.31 21:06 buy 0.20 usdcad 0.97903 0.97553 0.98403 2011.09.01 09:36 0.97553 0.00 0.00 -2.20 -71.76 131289109 2011.09.01 09:36 sell 0.20 usdcad 0.97555 0.97905 0.97055 2011.09.01 11:12 0.97905 0.00 0.00 0.00 -71.50 131223419 2011.08.31 21:50 sell 0.20 eurusd 1.43705 1.42770 1.42605 2011.09.01 12:15 1.42770 0.00 0.00 -3.12 187.00 131311540 2011.09.01 11:12 buy 0.20 usdcad 0.97902 0.97552 0.98402 2011.09.01 15:43 0.97552 0.00 0.00 0.00 -71.76 131260181 2011.09.01 04:33 sell 0.10 gbpusd 1.62342 1.61809 1.61142 2011.09.01 21:09 1.61809 0.00 0.00 0.00 53.30 131355394 2011.09.01 15:13 sell 0.20 eurusd 1.42852 1.42687 1.41652 2011.09.01 22:06 1.42687 0.00 0.00 0.00 33.00 131421862 2011.09.01 21:09 sell 0.10 gbpusd 1.61791 1.61736 1.60591 2011.09.01 22:15 1.61736 0.00 0.00 0.00 5.50 131359346 2011.09.01 15:43 sell 0.20 usdcad 0.97554 0.97904 0.97054 2011.09.02 15:30 0.97904 0.00 0.00 0.18 -71.50 131541561 2011.09.02 15:45 buy 0.20 usdcad 0.97881 0.97531 0.98381 2011.09.02 16:36 0.98381 0.00 0.00 0.00 101.65 131555437 2011.09.02 16:36 buy 0.20 usdcad 0.98405 0.98055 0.98905 2011.09.02 17:56 0.98055 0.00 0.00 0.00 -71.39 131573097 2011.09.02 17:56 buy 0.20 usdcad 0.98049 0.97699 0.98549 2011.09.02 23:43 0.98549 0.00 0.00 0.00 101.47 131432650 2011.09.01 23:25 buy 0.20 eurusd 1.42738 1.41738 1.43938 2011.09.05 00:00 1.41615 0.00 0.00 -0.06 -224.60 131615206 2011.09.05 00:58 buy 0.20 usdcad 0.98656 0.98933 0.99156 2011.09.05 16:55 0.99156 0.00 0.00 0.00 100.85 131659936 2011.09.05 09:00 sell 0.20 eurusd 1.41477 1.40837 1.40277 2011.09.05 17:31 1.40837 0.00 0.00 0.00 128.00 131428878 2011.09.01 22:25 sell 0.10 gbpusd 1.61759 1.60948 1.60559 2011.09.05 17:43 1.60948 0.00 0.00 -0.68 81.10 0.00 0.00 -6.99 259.96 Closed P/L: 252.97 Open Trades: Ticket Open Time Type Size Item Price S / L T / P Price Commission Taxes Swap Profit 131741839 2011.09.05 16:55 buy 0.20 usdcad 0.99170 0.98820 0.99670 0.98975 0.00 0.00 -0.71 -39.40 131749648 2011.09.05 17:32 sell 0.20 eurusd 1.40858 1.41858 1.39658 1.40968 0.00 0.00 -0.96 -22.00 131751542 2011.09.05 17:43 sell 0.10 gbpusd 1.60939 1.61939 1.59739 1.61175 0.00 0.00 -0.34 -23.60 Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 6, 2011 Author Report Share Posted September 6, 2011 Guys, Try this version - I think the trailing stop is working now: http://www.multiupload.com/IHWTVJQG57 I'm using stop 13, target 30, start trail 22 and trail 20 which seems to be working ok. mangiare, halcyonn, domonkos and 5 others 8 Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 6, 2011 Author Report Share Posted September 6, 2011 Something I forgot to mention...note that the when the target is hit that the trade will be closed - hence if you want all trades to be taken out with a trailing stop then set the target to a large value e.g. 500. Quote Link to comment Share on other sites More sharing options...
scorpion Posted September 6, 2011 Report Share Posted September 6, 2011 Hello Sounfx or musketeer I want to try several time frames, with the same symbol, I looked and I can not change the magic number, this can obviously lead to conflict, the question is: Musketeer make a change, and it appears a label, a comment with the TF, used, so if you use different TF with the same pair, this sequence of numbers ""II_PIPA_EA721194*05*@1.59332[sl] "" + *TF 05/15/60 is used by the EA as a magic number? Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 6, 2011 Author Report Share Posted September 6, 2011 Hi scorpion, The magic number was originally automatically determined in the EA code based on the pair traded. All musketeer did was to add the timeframe to the magic number - so that the EA can be run on the same pair in multiple timeframes with the results of each remaining separate. Quote Link to comment Share on other sites More sharing options...
metin Posted September 6, 2011 Report Share Posted September 6, 2011 Hi, soundfx Thanks for your efforts and sharing the EA. I've attached the EA on my demo account at broker time around 19.30 and although I had arranged the EA trading times as 5-19, the EA took the trade. Could you please check if the trading times code is functioning properly... Regards, Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 6, 2011 Author Report Share Posted September 6, 2011 Hi metin, Trades are allowed when broker time is >= start hour and <= end hour. So, if you don't want trades to run after 19:00, then set the times to 5-18. metin 1 Quote Link to comment Share on other sites More sharing options...
blueocean1713006073 Posted September 7, 2011 Report Share Posted September 7, 2011 Hi SoundFx Are you still getting the same trading results as shown in your statement? I have tried but did not acheive anything like this, and I used default settings at Alpari uk Would appreciate help with settings if you are now using different ones. Excellent work, many thanks blueocean Quote Link to comment Share on other sites More sharing options...
kappaforex Posted September 7, 2011 Report Share Posted September 7, 2011 I agree also, i have tried the latest version getting too many losses. Im using EU 5min on Pepperstone account buddy. Can anyone else confirm. Thanks Quote Link to comment Share on other sites More sharing options...
ProfNuke Posted September 7, 2011 Report Share Posted September 7, 2011 (edited) I attached the latest version for forward testing on german DAX on M1. And after some minutes a new arrow has been placed. a buy arrow. and what has the EA done? It sold???? Is it a bug??? edit: The Buy-Arrow was painted @11:51. And the EA sold @11:54 !? (Enter Determination is standard: ArrowProb) Edited September 7, 2011 by ProfNuke Quote Link to comment Share on other sites More sharing options...
mangiare Posted September 7, 2011 Report Share Posted September 7, 2011 Today is a good day for the manual system as opposed EA. I will try to enlarge EA's SL maybe it will work good with 25 pip. Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 7, 2011 Author Report Share Posted September 7, 2011 blueocean, I've been experimenting with various settings without too much success so far. Watching the arrows I'm noticing that the signals are just as bad as any other conventional indicator where we get chopped to bits in ranging periods. However probability alone is something different and that can be traded successfully. Perhaps the probability levels need adjusting to filter out bad signals a bit more - for example entering long at prob > 30 and short at prob < 30 looks as though it could work very nicely and using a trailing stop to let the trades run. ProfNuke - I'm not sure what happened there and because the probability is calculated in real-time and I've only got the EURUSD chart up, I can't see exactly the same signal. In fact the arrow signals were so poor today that you'd have probably been better off selling buy arrows and buying sell arrows lol. I'm thinking of removing arrows altogether from the EA and just working on probabilities as I think that's the way forward. Quote Link to comment Share on other sites More sharing options...
⭐ kesk Posted September 7, 2011 Report Share Posted September 7, 2011 Did anybody have a decent profit with the EA. I tried to back test from 1-1-2010 to 31-8-2011 but a huge loss. By May 2011, the balance is coming to 0. I used the default settings. Tried to optimize in MT4 but no use. Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 7, 2011 Author Report Share Posted September 7, 2011 kesk, Please read my earlier comments!!!!! This is not yet a profitable EA which you can just plug in and expect to make a fortune from. Optimising will do little good - rather than messing around backtesting and optimising we need to be thinking like traders rather than ****py EA programmers lol. The default settings are not meant to be the best settings possible - they are a starting point. What we need to be doing is studying the indicators in different market conditions and monitoring how the EA could pick up on the best signals and then we can code them. This is an EA development project which is on-going. ⭐ kesk 1 Quote Link to comment Share on other sites More sharing options...
halcyonn Posted September 7, 2011 Report Share Posted September 7, 2011 quite agree with Soundfx its not yet a profitable one but still has potential. enlarging stops and take profit both and raising probability and lowering it for shorts is the direction i am looking at. Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 8, 2011 Author Report Share Posted September 8, 2011 Here's another observation... Setting trailing stops to the last swing high/low could work very nicely. The whole point of trailing stops is that we're following the trend and if swing highs/lows are broken then it's a good sign that the trend is no longer intact. Normally trailing stops with fixed values need to be set at quite a distance e.g. 20-30 pips to prevent us being taken out of big trending moves on relatively minor retracements. However when the trend comes to end, if this happens to be sooner rather than later, we end up giving back those 20-30 pips to the market before our trade is closed. As a general rule in a proper trending market, swing stops should minimise the amount of pips we have to give back to the market. Quote Link to comment Share on other sites More sharing options...
mangiare Posted September 8, 2011 Report Share Posted September 8, 2011 Reposting charts about today trading. :) I hope it is helpful, zip file with PNG images. hxxp://www.4shared.com/file/x9MJ3Owc/Archivio_2.html kappaforex, scorpion, freddy and 1 other 4 Quote Link to comment Share on other sites More sharing options...
soundfx Posted September 8, 2011 Author Report Share Posted September 8, 2011 Guys - check out how mangiare is trading this system manually. As I mentioned earlier, the way forward is forgetting about the arrows (which are no better than any other arrows coming from conventional indicators). Instead concentrate on the probabilities perhaps with other confirming methods or indicators. This EA needs to be the best approximation possible of a very good manual trading system. This is surprisingly more difficult than it seems as I've lost count of the number of EA's I've seen based on good manual trading systems which fail to come up with the goods. Quote Link to comment Share on other sites More sharing options...
mangiare Posted September 8, 2011 Report Share Posted September 8, 2011 No pain no gain someone said :) it will be hard work but you're a good coder from what I see so i think it will be very good EA! soundfx 1 Quote Link to comment Share on other sites More sharing options...
mangiare Posted September 8, 2011 Report Share Posted September 8, 2011 Hit last TP for today i stop trading. http://i53.tinypic.com/5zof0l.png http://i53.tinypic.com/5zof0l.png halcyonn 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.