View Single Post
  #19 (permalink)  
Old 12-14-2008, 03:10 PM
_rdb_ _rdb_ is offline
Senior Member
 
Join Date: Aug 2008
Location: INDONESIA
Posts: 294
_rdb_ is on a distinguished road
Quote:
Originally Posted by orihart View Post
rdb,

I tested your EA ( version 1c ) and it did work on demo account ( with ODL ) for 3 days now and it is so far profitable ( but it did take some loses on the way )

a small correction to your EA on on the section where you calculate myPoint - since the is no selected order , the orderSymbol will return nothing so you get a lot of "division by zero" and the EA dont really work

try the following code - ( Point is the currency value of a single pip on the current symbol )

mypoint=0;
if (Digits == 5 || Digits == 3)
mypoint=10* Point ;
else
mypoint=Point;


this new version works even better ( on back-testing ) will give it a run in the coming week and see how it plays

it looks very similar to what the leader of the meta quotes - Automated Trading Championship are doing ( albeiks and prizmal ) did you get your idea from them ?
Hello orihart,
Your_Lucky_v1c still many mistakes in the code and some senior citizens in this forum give to me instructions to fix the bug, the result is v1e now, please re-test, and sorry for errors in the previous version.
Reply With Quote