Jump to content

(REQ) ESC Enhanced Strategy Control_Ver355A


Recommended Posts

this is what I found by googleing regards the zero divide error:

 

"Zero divide error is exclusively a coding error. Metatrader does not provide a trap (or rather, that message is the trap, and since by definition divide by zero yields to undefined, they chose the terminate the code execution in such cases) for such errors, so if not dealt with within the code it will happen, sooner or later "

 

"Find in the code every occurrence of division and add before every division a zero condition checking

Something like this :

 

if (divisor!=0)

result = dividend/divisor;

else result = 0; // or whatever result you prefer here since the result

// of division by 0 by definition is undefined

 

............................

 

Coding gurus, plz jump in

Edited by pro
Link to comment
Share on other sites

backtest failed maybe because there is no value for MarketInfo(a_symbol_0, MODE_POINT) as market is closed over the weekend...maybe we can try to run the backtest on coming Mon when market is open...just my two cents...

 

Market is open, backtest doesnt work

Link to comment
Share on other sites

this is what I found by googleing regards the zero divide error:

 

"Zero divide error is exclusively a coding error. Metatrader does not provide a trap (or rather, that message is the trap, and since by definition divide by zero yields to undefined, they chose the terminate the code execution in such cases) for such errors, so if not dealt with within the code it will happen, sooner or later "

 

"Find in the code every occurrence of division and add before every division a zero condition checking

Something like this :

 

if (divisor!=0)

result = dividend/divisor;

else result = 0; // or whatever result you prefer here since the result

// of division by 0 by definition is undefined

 

............................

 

Coding gurus, plz jump in

 

 

 

Can one of the blessed coders here plz take a closer look at this issue and fix this baby. Thx.

Link to comment
Share on other sites

  • 4 weeks later...

Hi everybody,

 

I just found a backtesting results of X-47B EA on USDJPY from following link:

 

http://365ea.com/backtest/X47B/X47B_USDJPY_BuyA.htm

 

Low drawdown, but I wonder why this seller never posted his/her live forward-testing results on any of his EAs so far?

 

Hope somebody who has used any of the seller's ea can share experiences.

 

Thanks

Jennifer

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...