Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Setup Questions


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-03-2007, 03:10 PM
resalin's Avatar
Junior Member
 
Join Date: Apr 2007
Posts: 16
resalin is on a distinguished road
Debugging EA with printouts?

Is there a way to have print outs generated along with your strategy testing of an EA?

What I would like to do is to definite a section of a chart, then run my EA with it prinitng out some values as it runs. Then I would take the printout and compare what was calculated against the actual chart that I used.

This way I can verify my calculations.

How do I do that? I am not sure of the syntax to print out information and where will the information appear.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-03-2007, 03:56 PM
Junior Member
 
Join Date: Apr 2006
Posts: 7
tariq_rana is on a distinguished road
Print Out

Hello

If u r a programmer then it will not be a problem .

Just write it to a file and then u can print it out.

See :

int handle;
datetime orderOpen=OrderOpenTime();
handle=FileOpen("filename", FILE_CSV|FILE_WRITE, ';');
if(handle>0)
{
FileWrite(handle, Close[0], Open[0], High[0], Low[0], TimeToStr(orderOpen));
FileClose(handle);
}


Thank you.

Tariq
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-03-2007, 04:35 PM
resalin's Avatar
Junior Member
 
Join Date: Apr 2007
Posts: 16
resalin is on a distinguished road
Printouts for EA

Thanks.

That does make good sense. I will do it that way.

I appreciate your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-05-2007, 12:37 PM
Junior Member
 
Join Date: Apr 2006
Posts: 7
tariq_rana is on a distinguished road
:)

You are welcome.

Tariq
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging Q0paz Metatrader 4 3 11-09-2006 11:52 AM
Debugging EA? anca Expert Advisors - Metatrader 4 3 01-09-2006 02:37 PM


All times are GMT. The time now is 02:22 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.