Popular Post dinj Posted June 24, 2010 Popular Post Report Share Posted June 24, 2010 After a reasonable(ok) performance of Forex Shocker on my live account, I decided to mod it and add news filter. The version in question is 2.0, nodll, found on this forum. I'm not sure who educated it. The only broker I have been able to work it or backtest it on, is JadeFX. At first I thought it was weird, but after some months I thought it might have something to do with the GMT offset. I looked into the code and found a major bug that only allowed it to work on gmt offset=0 and 1, on some pairs I fixed it and it should now be able to work and be backtested on any broker. Another bug I found was about the timed closing, also knows as customlevels on fapturbo. What this does is, it closes the trade at a smaller profit, or small loss, after a certain time if it hasn't reached takeprofit yet. The bug only allowed it to work on 4-digit brokers. It's fixed now, even though I might have had more profits with it accidently off. The news filter is exactly the same that I added to Megadroid, so no big deal. Now notice I called it XE :D About that, I added a couple of costumizable features. Where you're supposed to choose the logic, I added a new option, which is 0=custom. If you put 0, then you're able to custumize a whole bunch of features to the logic. And here they are: -Timed_Closing: This is a general option for any logic. Putting this to false, it turns off those custom levels of, which close a trade in smaller profit if it hasn't been able to reach takeprofit after a while. -News Filter - AvoidNews: This is pretty much the same as megadroid. Turn it on to not trade around news and specify which news and how long before and after. -Logic: the same as the original but now you can choose 0 to specify your own parameters. Advanced Settings: here they are. -Hour_Start_Time and Hour_End_Time: Pretty obvious this one, from when till when you want it to open trades. -TakeProfit: before, in all pairs, the take profit was always 4 pips. Now you can go wild on it if you want. -StopLoss: before, the stoplosses ranged around 19-34 depending of the pair. Now you pick it. -NN1, NN2... NN8: I have no idea what this values are really, but they have to do with the logic of opening a trade. On version 1 you could and had to change this values depending on each pair. The thing is, before there was only NN1- NN5 and they are exactly the same as in version 1. Now there are 3 more values (NN6,NN7,NN8), even though on every pair they seem to be the same values. -Timed_Buy_TakeProfit: This might be a bit confusing. Remember the Timed_Closing or customlevels? This is to do with that. Here you decide which value of profit you want it to close a buy trade after a certain time. -Timed_Sell_TakeProfit: The same but for sell/short trades. -Minutes_Buy: Here you choose how many minutes after the trade opening you want to activate the Timed_Buy_TakeProfit. -Minutes_Sell: Same, but for sells. Here's an example for this last part. If you have Timed_Closing as true, Logic as 0, and let's say you are trading AUDUSD. It opens a buy trade at 22:15. Usually it tries to take profit of 4 pips. Let's say you have Timed_Buy_TakeProfit set to "-1" and Minutes_Buy to 75. This means, if after 75 minutes your trade is still open, then the takeprofit will be changed from 4 to -1. As an example, if it bought at 0.9000, the initial takeprofit was at 0.9004 and after 75minutes it will be changed to 0.8999 and the trade will close if the Bid price is equal or higher than that. So that's it, I'm posting then the nodll version with the ffcal indicator that you have to put on indicators folder if you still don't have it. I'm also sending a picture with the settings for each of the original pairs. You don't need to input those values, as you just need to choose the logic for those original pairs, but it's usefull for your curiosity and if you wanna test differents value. http://www.multiupload.com/2OHB9VE2ET I just gave it a quick test and it seemed alright. If you find any bugs, post them here. Good luck. AntaniTheBest, gopala, Endzone and 61 others 64 Quote Link to comment Share on other sites More sharing options...
renzor Posted June 24, 2010 Report Share Posted June 24, 2010 awesome thankssssssssssssssssss Quote Link to comment Share on other sites More sharing options...
clickraja Posted June 24, 2010 Report Share Posted June 24, 2010 Gonna try it.! Thanx. Quote Link to comment Share on other sites More sharing options...
RVB Posted June 24, 2010 Report Share Posted June 24, 2010 dinj....I've been looking for mods like this! Especially the news and user stop loss. Many thanks! Quote Link to comment Share on other sites More sharing options...
ryujeans Posted June 24, 2010 Report Share Posted June 24, 2010 dinj! How can I thank you enough for your enthusiasm and contributions to this wonderful community? Keep it up! Quote Link to comment Share on other sites More sharing options...
hatchsead Posted June 24, 2010 Report Share Posted June 24, 2010 dinj, you are simply the best! Most appreciated. Quote Link to comment Share on other sites More sharing options...
patheway Posted June 24, 2010 Report Share Posted June 24, 2010 Thank you much do we have a good setfile for this.. Thanks patheway Quote Link to comment Share on other sites More sharing options...
dinj Posted June 24, 2010 Author Report Share Posted June 24, 2010 you're welcome fellas. there is no setfiles yet. For the original pairs, there is probably no need for set file, except maybe for better news settings. For other pairs, we're gonna have to test different settings to see which pairs and settings give best results. Right now the original pairs are EURUSD, GBPUSD, USDCHF, EURCHF, EURGBP and USDCAD For the past months I've been trading the first 3, being GBPUSD the less good. About other pairs that might be worth testing, my guess would be USDJPY, a low spread GBPCHF and CHFJPY and maybe EURCAD. Quote Link to comment Share on other sites More sharing options...
extra123 Posted June 24, 2010 Report Share Posted June 24, 2010 thanks for the share, is it educated? Quote Link to comment Share on other sites More sharing options...
dinj Posted June 24, 2010 Author Report Share Posted June 24, 2010 thanks for the share, is it educated? yep . Quote Link to comment Share on other sites More sharing options...
guymelloulyahoo.com Posted June 24, 2010 Report Share Posted June 24, 2010 hey there, i accidently stumbeld in this thread, and i can only say: THANKS ALOT. i am trading live shocker 2 on eurusd (the other pairs sucks) and i have dicent resaults. i think this version will allow me to expand it to other pairs and more important: it will allow optimization, which can´t be done on shocker 2. so agian: THANK YOU. Quote Link to comment Share on other sites More sharing options...
⭐ flathon Posted June 25, 2010 Report Share Posted June 25, 2010 Thank you very much!!! Great Work!! Thanks for sharing! Quote Link to comment Share on other sites More sharing options...
save2009 Posted June 25, 2010 Report Share Posted June 25, 2010 Hi dinj How to backtest this EA? Quote Link to comment Share on other sites More sharing options...
ryujeans Posted June 25, 2010 Report Share Posted June 25, 2010 Here's an example for this last part. If you have Timed_Closing as true, Logic as 0, and let's say you are trading AUDUSD. It opens a buy trade at 22:15. Usually it tries to take profit of 4 pips. Let's say you have Timed_Buy_TakeProfit set to "-1" and Minutes_Buy to 75. This means, if after 75 minutes your trade is still open, then the takeprofit will be changed from 4 to -1. As an example, if it bought at 0.9000, the initial takeprofit was at 0.9004 and after 75minutes it will be changed to 0.8999 and the trade will close if the Bid price is equal or higher than that. I'd just like to clarify one thing, please. If I want to activate Timed_Buy_TakeProfit; Timed_Sell_TakeProfit; Minutes_Buy; and Minutes_Sell in the Advanced Settings, do I need to set Timed_Closing as true, Logic as 0? If then, must I input all the other Advanced Settings manually: Hour_Start_Time and Hour_End_Time; TakeProfit; StopLoss; and NN1, NN2, ...NN8 parameters? Quote Link to comment Share on other sites More sharing options...
dinj Posted June 25, 2010 Author Report Share Posted June 25, 2010 I'd just like to clarify one thing, please. If I want to activate Timed_Buy_TakeProfit; Timed_Sell_TakeProfit; Minutes_Buy; and Minutes_Sell in the Advanced Settings, do I need to set Timed_Closing as true, Logic as 0? If then, must I input all the other Advanced Settings manually: Hour_Start_Time and Hour_End_Time; TakeProfit; StopLoss; and NN1, NN2, ...NN8 parameters? Yeah, you can only change those settings if you set logic as 0. The reason is, each one of the 6 logics has their own parameters and they are all different. It's like each one of those 6 are a set file for each pair. But, i don't know if that was your question, near the beginning, you can modify Timed_Closing. That turns it off or on, whether you're using logic 0 or logic 1-6. If you have it ON and have logic 1 selected, it will be ON, but you can't modify its values, only when the logic is 0 is selected. Basically, the settings on the advanced setting zone are only for logic=0. I hope I answered your question. save2009: You can backtest it like any other EA. The news filter won't work either it is ON or OFF. Quote Link to comment Share on other sites More sharing options...
save2009 Posted June 25, 2010 Report Share Posted June 25, 2010 Hi dinj Do you have the setting file for this EA (EURUSD pair I'm interest)? Quote Link to comment Share on other sites More sharing options...
dinj Posted June 25, 2010 Author Report Share Posted June 25, 2010 Hi dinj Do you have the setting file for this EA (EURUSD pair I'm interest)? There are no settings file, but if you're trading EURUSD, all you have to do is put the EA on a eurusd m15 chart and you're done. The logic is already set to 1(eurusd) Quote Link to comment Share on other sites More sharing options...
ryujeans Posted June 25, 2010 Report Share Posted June 25, 2010 But, i don't know if that was your question, near the beginning, you can modify Timed_Closing. That turns it off or on, whether you're using logic 0 or logic 1-6. If you have it ON and have logic 1 selected, it will be ON, but you can't modify its values, only when the logic is 0 is selected. Basically, the settings on the advanced setting zone are only for logic=0. I hope I answered your question. So, Timed_Closing turns ON/OFF the feature only. If you want to modify the values, you must select Logic 0 as well as Timed_Closing as true? Quote Link to comment Share on other sites More sharing options...
dinj Posted June 25, 2010 Author Report Share Posted June 25, 2010 So, Timed_Closing turns ON/OFF the feature only. If you want to modify the values, you must select Logic 0 as well as Timed_Closing as true? That's correct. For info about the original values for each pair, you can take a look at the picture that came with the zip file, but i guess you already noticed that :) Quote Link to comment Share on other sites More sharing options...
ryujeans Posted June 25, 2010 Report Share Posted June 25, 2010 That's correct. For info about the original values for each pair, you can take a look at the picture that came with the zip file, but i guess you already noticed that :) Thanks a lot for clarification! Now, I am clear as mud. Quote Link to comment Share on other sites More sharing options...
RVB Posted June 25, 2010 Report Share Posted June 25, 2010 Thanks again, dinj...could you do the same for one of my favorite bots, A.I. Forex Robot? Quote Link to comment Share on other sites More sharing options...
dinj Posted June 25, 2010 Author Report Share Posted June 25, 2010 Thanks again, dinj...could you do the same for one of my favorite bots, A.I. Forex Robot? I'll do when i have some time, even though i don't recomend it at all. There are a lot of forward tests on the net around with great results, but sooner or later they will likely get a long time drawdown, blowing many accounts. Quote Link to comment Share on other sites More sharing options...
guymelloulyahoo.com Posted June 26, 2010 Report Share Posted June 26, 2010 hey there dinj, i am sorry if it´s a bother to you- it´s just that i can´t optimize the ea. i set the logic to 0 and all i want is to optimize the NN settings (would like to optimize the timed out settings as well). could you please give instructions how to optimize those settings? the strategy tester keeps on telling me that the resaults are insiginificant. thanks alot Quote Link to comment Share on other sites More sharing options...
dinj Posted June 26, 2010 Author Report Share Posted June 26, 2010 hey there dinj, i am sorry if it´s a bother to you- it´s just that i can´t optimize the ea. i set the logic to 0 and all i want is to optimize the NN settings (would like to optimize the timed out settings as well). could you please give instructions how to optimize those settings? the strategy tester keeps on telling me that the resaults are insiginificant. thanks alot Alright, it should be pretty simple and just like any other robot. As an example that I just did. I went to strategy tester, EURUSD M15, shocker... On the settings, I put money management off, and lot size to 0.1. I left all the values as default. Auto gmt off. GMT 2 (fxopen). Logic 0. I put ok on the dates, i put only to test it for 3 months to be fast, i ran it and got a pretty nice curve with 192 profit. Then I changed NN1 and NN2 to 50 and 45, respectively. Just random values, no reason. I tested again and luckily i now had 196 profit. This is a simple way of testing different settings and optimizing one by one. If you want to use the optimization, than it's a little more complicated and takes a lot of processor time. But basically you just tick optimization and on the options of the EA you choose on the parameters you want to optimize, which value to start and stop, and the intervals (step). I don't know if this helped, maybe it didn't, but I don't know how exactly what and how you tried, it would help. You should be able to optimize all those settings if you have time. Personally i'm not very experienced with using the optimization option. I use to do old school, value by value. Quote Link to comment Share on other sites More sharing options...
extra123 Posted June 26, 2010 Report Share Posted June 26, 2010 i have forward test this EA, but, there is no open trades. I use in USD/JPY TF 15, deposit 1500USD. can someone tell me whats wrong? 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.