Hi I would like to be able to capture the Moving average value at the time of Order . I was using ibarshift to convert OrderOpenTime to a bar value to use in iMA, but I have noticed that the MA value continues to calculate until the bar of the
Hi My EA has used the icustom function to bring in the ZigZag values that i need. However the optimization testing takes forever. In an attempt to speed the optimisation up, I believe the EA may work quicker if I integrate the Zigzag indicator into
Hi When the ZigZag indicator was "fixed" from v600, it effectively made it difficult to use this indicator in an EA with strategy Tester and optimization, unless you isolate Backstep and don't include this in the optimization. I use Zigzag in my Ea
Hi, Recently started looking at my EA's after a few years break and struggling a little with some of my code. When I switched from using a Standard account to an ECN broker I remember having to add extra code into my Market Order process, where I
Hi Am i supposed to now be posting this in the mql5 forum? (not very clear as there doesn't seem to be a dedicated mt4 section) I have tried to write a function that will count the number of bars when a certain criteria is met. In this
Hi I am trying to create a signal where the entry bar must appear after a certain number of higher highs or lower lows. eg like an outside bar / inside bar / pin bar. So affectively i want a check to make sure the bar is in a good "location"
Hi I am trying to turn part of an indicator into an EA. At the moment i just want to see the the basic logic working before i add to it, but i can't seem to get the switch correct to reset the indicator. I just want to see the date/time printed for
Hi I am getting an error message - IgnoreArray - invalid array access - on this .mqh file, when trying to compile it. Is it possibly related to the changes that came with v600?I can't seem to find enough info on the eror message to help me
Hi I would like to add this indicator as a filter for trading - simply if trendline is blue then long positions, if red then short positions. I am used to using icustom to bring in the indicator values to my EA so that i can use them, but I am
Hi I have a summary report that gives me various results for each pass in an optimization that runs in DeINit(). Is there anyway to include the pass number in this report, as it appears in the Optimization tab. That way i can use it as a key to
Hi Is there a way to write the overall optimization settings and the dates used to a file? I have managed to write the inidividual parameters used for each pass in the to a file, but want an overview/summary of what was tested. thanks
Hi I am running an ea on a vps. The trace from vps to the broker reports about 70ms. I included the below code into my EA to check latency and slippage. The first time the ea traded it reported 375ms, which is about what I was getting at home, about
Hi I am using this process to create a WFA approach to backtesting. https://www.mql5.com/en/articles/1347 where there is an excel spreadsheet that creates set files to be loaded into Tester. Once i have reduced the parameter sets from the
Hi Essentially when running optimizations, you end up with a number of viable parameter sets that, and i am just looking for a better way to sift through these. I am currently running optimization by balance, by pf, by drwadown%, combining these in a
I am about to get a win 8 pc. With build 600 and above, should i still install mt4 outside of Program files? I currently have all my MT4 installs in c:/MetaTrader in Win7, so to avoid issues with UAC and Tickdatasuite and backtesting . With the new
hi guys i thought i had this correct, and now i am doubting myself. I know we enter a buy at ask and therefore close SL and TP at bid and enter short at bid and close SL and TP at Ask. However my entry line, SL line and TP line are calculated off the
I have been all over the forum and read all the articles in Tester, but I can't seem to find much about how others may be achieving Walk Forward Analysis for their EA's with MT4. I know there is a tool by Easy expert forex, but this tool
Hi I was forced onto build 600 by metaquotes - no warning. Fortunately I was working on my pc, and saw the cpu go through the roof due to all the error message processing. Log files hit 265mb in 10 mins per platform. I hate to think what would have
Hi I thought this would be easy, but after a whole day trying different options, i don't seem to be any closer :( I just want to have an external variable where I enter a list of the hours to exclude from trading. (just based on server time) I have