View Single Post
  #1 (permalink)  
Old 08-11-2007, 04:04 PM
joc_06 joc_06 is offline
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
Reply With Quote