Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
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

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-11-2007, 04:04 PM
Junior Member
 
Join Date: Jun 2007
Posts: 10
joc_06 is on a distinguished road
Strategy Tester - virtual chart not active chart?

Im writing an EA here that takes values from compiled indicators that i do not have the source for.

So i attempt to use iCustom and WindowPriceMax and WindowPriceMin to "scrape" values from these indicators.

Now i cant actually test my EA live today as the markets are closed so im using the strategy tester. But it doesnt seem to load my compiled indicators. Im using the WindowScreenshot function and WindowFind functions to see if my compiled indicators are actually loaded and the screenshots returned are just normal bar charts without any of my specialiased indies and the WindowFind just returns -1 which means it cant find my indies!

This thread here :
Problems with new Expert Advisor in MQL4 - Forex Trading Software Forum

Seems to suggest that the strategy tester uses a "virtual chart" and not the actual loaded chart.

This does fit with the little bit of live testing i did last night when the markets were open as the screenshots returned then were the shots of my real indies.

So the question is really what chart does the strategy tester use? and how do i get it to use my inides and not this "virtual chart"?
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!
Reply With Quote
  #2 (permalink)  
Old 08-11-2007, 04:32 PM
Senior Member
 
Join Date: Dec 2006
Location: Ukraine
Posts: 513
Shinigami is on a distinguished road
Get the source code for indies or use iCustom in the EA. If you don't know what buffers the indies have, you can't do anything. Compiled indies are only good for manual trading.
There is no way for you to write an EA that uses indies unless you know what buffers these indies have.
__________________
MQL4 programming is easy ^^
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!
Reply With Quote
  #3 (permalink)  
Old 08-11-2007, 04:49 PM
Junior Member
 
Join Date: Jun 2007
Posts: 10
joc_06 is on a distinguished road
the indie itself it pretty simple, just a moving average but it does *something* special that i cant fully replicate. I wont be getting the source for it anytime soon either.

But i do know what buffers it uses and i can extract them using iCustom sucessfully. Im using the WindowPricemin to help me analyse these values i extract.
So the compiled indie is fine if not ideal. I can work with it in live demo's i think.

It seems to be that i cant load this compiled indie in the stratey tester to allow me to use WindowPriceMin? Do you know anything about this?
What charts do the strategy tester use?
thanks for 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!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Strategy Tester pete36 Expert Advisors - Metatrader 4 0 11-25-2006 03:18 AM
Strategy Tester question Kaper Setup Questions 2 10-21-2006 06:57 AM
MT4 Strategy tester The_N Metatrader 4 1 05-06-2006 12:32 PM
strategy tester caldolegare Metatrader 4 2 03-02-2006 11:58 PM


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



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