View Single Post
  #2 (permalink)  
Old 11-09-2006, 06:11 AM
igorad's Avatar
igorad igorad is offline
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 800
igorad is on a distinguished road
Hi,
I've made some changes.
It works now.

Quote:
Originally Posted by SteveBrown
I need help getting my first Expert Advisor to work in Strategy Tester. The attached debugEA.mq4 is a short, simplified version which fails in the same manner. This version waits for a new hourly candle and the SMA8 crossing SMA24 to open and close trades. The problem is that when I run it in Strategy Tester, it opens the first trade at the appropriate time, but it does not close the trade nor open any new trades at subsequent MA crossovers. What am I doing wrong? I will be grateful to anyone who can find the problem and correct it.
Attached Files
File Type: mq4 debugEA_v1.mq4 (2.1 KB, 29 views)
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
Reply With Quote