Thread: Martingale EA
View Single Post
  #120 (permalink)  
Old 01-18-2008, 01:14 AM
wolfe's Avatar
wolfe wolfe is offline
Senior Member
 
Join Date: Jan 2006
Posts: 719
wolfe is on a distinguished road
Quote:
Originally Posted by omelette View Post
I figured out what this EA was doing last night, so I added a few lines to it to hopefully make it more 'robust'. Also, I was curious as to how 'martingaling' Buys and Sells independently would work (the original continues the doubling sequence on both Buys and Sells) so I played with that too. Only the 'main' EA code is altered - so everything is still basically the same...
Thanks for the code revisions Omelette! I knew we needed global variable sets, but wasn't sure how to go about it yet. That was something I haven't experienced coding yet. Now I just have to try and learn from your example. I assume that now, if the EA is switched off, or if power is lost, that when the EA resumes that it will pick up where it left off?

I also love the additional Comment() info that you have included.

Thanks again for the help!

Last edited by wolfe; 01-18-2008 at 01:18 AM.
Reply With Quote