Jump to content

Baila


Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 125
  • Created
  • Last Reply

Top Posters In This Topic

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Guest Jayman007

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.

Link to comment
Share on other sites

Guest Jayman007

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.

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...