alankw88 Posted May 8, 2011 Report Share Posted May 8, 2011 Do you let the BT complete? Mine runs for a long time even on my **** data before ever taking a trade. EDIT: Just ran the same BT on sig's 4 digit and 5 digit feed and got no errors and a few trades. I don't have the time to test out the dukas data on this. I'm not one that is big on BT. I am more about fwd test on demo or live cent account. EDIT2: Looking through the code and not seeing many division with variables in there. One place has to do with accounts that are not USD accounts. By any chance does your account fall under this category? double GetAccCurrToUSD() { double l_bid_0; if (gs_180 == "USD") return (1); if (gs_180 == "EUR") return (MarketInfo("EURUSD", MODE_BID)); if (gs_180 == "RUR") { l_bid_0 = MarketInfo("USDRUR", MODE_BID); if (l_bid_0 == 0.0) return (1 / gd_152); return (1 / l_bid_0); Here is another area that could cause this error double Get_RAVI(int a_timeframe_0, int a_period_4, int a_period_8, int a_ma_method_12, int a_applied_price_16, int ai_20) { double l_ima_24 = iMA(NULL, a_timeframe_0, a_period_4, 0, a_ma_method_12, a_applied_price_16, ai_20); double l_ima_32 = iMA(NULL, a_timeframe_0, a_period_8, 0, a_ma_method_12, a_applied_price_16, ai_20); double ld_ret_40 = 100.0 * ((l_ima_24 - l_ima_32) / l_ima_32); return (ld_ret_40); If the iMA returns a 0 then l_ima_32=0 and ld_ret_40 will create a zero divide error. Like I mentioned before, this would be caused by lack of data to calculate the iMA. Perhaps your dukas data was only created for 1 TF and this is using a diff TF to calculate the iMA. This would cause your error. To test, create the tick data for EVERY tf for EU and not just the M15. Then run the BT on M15 and see if you still get the error. I see...Yup, the tick data is only on M15. I will try the method you suggested. Thanks so much for your advice and time. Quote Link to comment Share on other sites More sharing options...
⭐ SHOWBABA1 Posted May 8, 2011 Report Share Posted May 8, 2011 it trades on my MT, i will post the BT later Quote Link to comment Share on other sites More sharing options...
halcyonn Posted May 8, 2011 Report Share Posted May 8, 2011 here is a multiupload link for the ea...a forum friend asked for it. http://www.multiupload.com/WNUH2CHYGO -- on a side note 30 m looks a bit better than 15 m for the ea. Tazz and fx4_ever 2 Quote Link to comment Share on other sites More sharing options...
Capella Posted May 8, 2011 Report Share Posted May 8, 2011 This EA has a very sinmple trend calculation. It simply compares two iMA. I don't recommend anyone to waste time on this EA. Quote Link to comment Share on other sites More sharing options...
50pips Posted May 8, 2011 Author Report Share Posted May 8, 2011 Yes capella..Dont waste your time with it..I use it live but i do like Money..It will only place trades around whole numbers so if you want more then look elsewhere Quote Link to comment Share on other sites More sharing options...
fx4_ever Posted May 9, 2011 Report Share Posted May 9, 2011 (edited) Today, Baila made 66 pips! :-bd Not bad at all. Edited May 9, 2011 by fx4_ever Quote Link to comment Share on other sites More sharing options...
⭐ Polleczko Posted May 9, 2011 Report Share Posted May 9, 2011 Today, Baila made 66 pips! :-bd Not bad at all. What broker do U use? On Fxpro = no trade Quote Link to comment Share on other sites More sharing options...
fx4_ever Posted May 10, 2011 Report Share Posted May 10, 2011 What broker do U use? On Fxpro = no trade Oanda, one trade today. Quote Link to comment Share on other sites More sharing options...
jessica_30 Posted May 10, 2011 Report Share Posted May 10, 2011 As I go over the thread, I can say that certain brokers have positive result and I am also grateful that my broker offer the same result. I am happy with what I have right now. http://imagicon.info/cat/3-4/1.gifhttp://imagicon.info/cat/3-8/1.gifhttp://imagicon.info/cat/3-5/1.gifhttp://imagicon.info/cat/3-1/1.gifhttp://imagicon.info/cat/3-6/1.gifhttp://imagicon.info/cat/3-2/1.gifhttp://imagicon.info/cat/3-3/1.gif Quote Link to comment Share on other sites More sharing options...
50pips Posted May 10, 2011 Author Report Share Posted May 10, 2011 well done Fx4_ever..i got same results as you Quote Link to comment Share on other sites More sharing options...
fx4_ever Posted May 10, 2011 Report Share Posted May 10, 2011 (edited) well done Fx4_ever..i got same results as you Another 66 pips! :D (132 pips in 2 days, from 2 trades) Edited May 10, 2011 by fx4_ever Quote Link to comment Share on other sites More sharing options...
fx4_ever Posted May 10, 2011 Report Share Posted May 10, 2011 50pips, I have a question about Baila. When I do the backtesting, EA closes TP = 18 and SL = 210 However, when I trade (forward test), EA actually put TP = 66 and SL = 210 Can you tell me why that is? Quote Link to comment Share on other sites More sharing options...
grooter Posted May 10, 2011 Report Share Posted May 10, 2011 About the zero divide: if you look at calcTrend() you see the timeframes used in SMA calculation: H1, H4 and D1. Without those, it can not backtest. It seems not completed, CheckExitCondition() function is empty :) Quote Link to comment Share on other sites More sharing options...
jdsim1 Posted May 11, 2011 Report Share Posted May 11, 2011 http://www.multiupload.com/WNZ22VFZIE yes stop is high..but have u done testing with it. If u dont want to risk $500 to make $60K yearly then dont use it any forward or backtests to show how this turns $500 into $60,000? Quote Link to comment Share on other sites More sharing options...
mister23 Posted May 11, 2011 Report Share Posted May 11, 2011 Under the Experts tab, I get the error 2011.05.11 12:30:49 Baila~ EURUSD,M15: Baila : Error opening BuyLIMIT order [baila : 2103 : EURUSD_PERIOD_M15]: (147) expirations are denied by broker /// for 1.4195 BAL :62.00000000 RAVI0_2_24_H4_0 :-0.59665063 RAVI0_2_24_H1 :-0.67038475 This is demo on broker MBTrading. Anyone know a fix? Quote Link to comment Share on other sites More sharing options...
50pips Posted May 12, 2011 Author Report Share Posted May 12, 2011 i think baila has a time limit that the pending order is open for and if its not filled within this time it gets cancelled. Your error sounds like the broker doesn't support this timer function mister23 1 Quote Link to comment Share on other sites More sharing options...
Guest Jayman007 Posted May 12, 2011 Report Share Posted May 12, 2011 To test if your broker supports order "expiration" function just place a pending order and check the expiration box and see if the order is accepted or not. I think that if you even have the ability to set the expiration in mt4 that your broker supports it. But place a pending order with expiration to test it. Quote Link to comment Share on other sites More sharing options...
50pips Posted May 12, 2011 Author Report Share Posted May 12, 2011 good one Jayman007..see this is what i love about forums..someone usually has something to try so you aren't alone..Let us know if that is your issue resolved Quote Link to comment Share on other sites More sharing options...
Guest Jayman007 Posted May 12, 2011 Report Share Posted May 12, 2011 By all means we have to work together in order to beat the brokers ;) TBH, this is why I hang out in this forum because I know there are plenty of good people that want to help make trading more profitable for all of us. When I just see all the taking and very little giving (even just basic info) I get a little dismayed. I'm sure everyone here has some info that others don't have. If we just share it all we will have a better stance to trade with. Thanks for your sharing of these EA's to the community. Maybe have come forward with surprise that you posted these gems. I for one am very happy that you did. Quote Link to comment Share on other sites More sharing options...
fx4_ever Posted May 12, 2011 Report Share Posted May 12, 2011 Just FYI. I am using Oanda and it execute perfectly. 240 pips 3 days trading (May 9th, 10th 12th) I didn't trade on May 11th (PC was down and MT4 was not on) 3 orders, 3 winners - awesome trading so far! :) Thanks again for sharing, 50pips! Quote Link to comment Share on other sites More sharing options...
mister23 Posted May 12, 2011 Report Share Posted May 12, 2011 Thanks for the help, I checked on my MBTrading demo and the box was all grayed out, not letting me set an expiration, even after I filled in the rest of the info. This also happened on my real MBTrading account, so it looks like they don't support expirations on pending orders. Quote Link to comment Share on other sites More sharing options...
50pips Posted May 13, 2011 Author Report Share Posted May 13, 2011 sorry to hear that..but the EA needs this expiration of pending orders so i have no solution but to change brokers mister23 1 Quote Link to comment Share on other sites More sharing options...
50pips Posted May 13, 2011 Author Report Share Posted May 13, 2011 Just FYI. I am using Oanda and it execute perfectly. 240 pips 3 days trading (May 9th, 10th 12th) I didn't trade on May 11th (PC was down and MT4 was not on) 3 orders, 3 winners - awesome trading so far! :) Thanks again for sharing, 50pips! Thanks for the feedback..I told you you would love this one..My pleasure..Enjoy! Quote Link to comment Share on other sites More sharing options...
waldorfxt Posted May 13, 2011 Report Share Posted May 13, 2011 gonna start trying this one today on Alpari, will post updates in a few days. Thanks 50pips, liking the usd basket one too . looks like some real good ea's here Quote Link to comment Share on other sites More sharing options...
bogdan11 Posted May 13, 2011 Report Share Posted May 13, 2011 Did anyone manage to do a backtest with 99% accuracy for this EA ? Would it be possble to post the results ? Regards, Bogdan 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.