Forex



Go Back   Forex Trading > Discussion Areas > Setup Questions
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

 
 
Thread Tools
 
Old 05-03-2007, 04:10 PM
resalin's Avatar
Junior Member
 
Join Date: Apr 2007
Posts: 19
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 05-03-2007, 04: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 05-03-2007, 05:35 PM
resalin's Avatar
Junior Member
 
Join Date: Apr 2007
Posts: 19
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 05-05-2007, 01: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 

Bookmarks
Thread Tools

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 12:52 PM
Debugging EA? anca Expert Advisors - Metatrader 4 3 01-09-2006 03:37 PM


All times are GMT. The time now is 11:54 AM.



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