Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > 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 (2) Thread Tools Display Modes
  #1251 (permalink)  
Old 08-06-2008, 08:57 PM
Junior Member
 
Join Date: Jul 2008
Posts: 2
fxkiss is on a distinguished road
Analysing forward testing

Hello to everybody,

in order to find out what an EA really does I did some back and then forwardtesting. When I compared the results there are differences in them. Two questions:

1. What might be reasons (parameters should be the same) and how to avoid this (MIG-Investments)

2. Where can I learn the meanings of the log files so that I can find out what is happening in forward testing?

Thanks

Fxkiss
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1252 (permalink)  
Old 08-07-2008, 01:38 AM
Senior Member
 
Join Date: Feb 2007
Posts: 947
FerruFx is on a distinguished road
Quote:
Originally Posted by fxkiss View Post
Hello to everybody,

in order to find out what an EA really does I did some back and then forwardtesting. When I compared the results there are differences in them. Two questions:

1. What might be reasons (parameters should be the same) and how to avoid this (MIG-Investments)

2. Where can I learn the meanings of the log files so that I can find out what is happening in forward testing?

Thanks

Fxkiss
EA did its job in both cases. The problem between back and forward test is the brokers manipulation.

FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1253 (permalink)  
Old 08-08-2008, 11:05 AM
Member
 
Join Date: Feb 2008
Posts: 56
dragosd1 is on a distinguished road
Hi, could someone help me to modify PipMaker to a version that acts "im the mirror", so when we have a BUY to make a SEL and viceversa? I know it has the "reverse" option, but it didn't act exactly reverse, so I need it to have a buy signal and make a sell in "reverse mode true". I think it's very simple, but didn't manage to do it myself....
Thank's a lot

see post #1245
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1254 (permalink)  
Old 08-10-2008, 09:36 AM
Junior Member
 
Join Date: Jul 2008
Posts: 2
ivanlopez1 is on a distinguished road
ea doesnt work

hi everybody , i hope someone could help me , im new in the coding feature and still learning, i just build an EA, it was working on my mt4 (MIG), then i switched to FxPro and they have fraccionary spread , and i keep getting the message 'orderSell error' ' error openning sell order' and then when i put my stop loss to 0.0 and my limit to 0.0 te EA will work , please any ideas to share?? sorry about my english , its not my first lenguaje. thanks.!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1255 (permalink)  
Old 08-10-2008, 12:45 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,174
matrixebiz is on a distinguished road
I have an EA that places a trade on the next close bar and if I set a small TP and the trade closes then the EA will re-enter another trade because previous bar trade conditions are still met. I don't want the EA to open another trade, I want it to wait an hour then check trade condition again to stop it doing these re-entry trades. What code can I add to my EA to fix this re-entry issue?
Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1256 (permalink)  
Old 08-10-2008, 07:33 PM
Junior Member
 
Join Date: Jul 2008
Posts: 2
ivanlopez1 is on a distinguished road
Quote:
Originally Posted by matrixebiz View Post
I have an EA that places a trade on the next close bar and if I set a small TP and the trade closes then the EA will re-enter another trade because previous bar trade conditions are still met. I don't want the EA to open another trade, I want it to wait an hour then check trade condition again to stop it doing these re-entry trades. What code can I add to my EA to fix this re-entry issue?
Thank you
try this after the start function , its set to check for a signal every 30minutes , just change the period time. it works for me .

if(timeprev!= /*Time[0]*/ iTime(Symbol(),PERIOD_M30,0)) { //---- Check signal only once a bar m30
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1257 (permalink)  
Old 08-10-2008, 08:35 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,174
matrixebiz is on a distinguished road
Quote:
Originally Posted by ivanlopez1 View Post
try this after the start function , its set to check for a signal every 30minutes , just change the period time. it works for me .

if(timeprev!= /*Time[0]*/ iTime(Symbol(),PERIOD_M30,0)) { //---- Check signal only once a bar m30
Ok, but if I set it to check every four hours then I could miss trades that happen in between that time. Like if a trade doesn't happen for a few days then a signal happens on a half hour that gets missed because of the four hour skip check that is not good either. Can I not use a mixture of OrderSelect and OrderCloseTime somehow? I just need it to detect when a trade for a specific magicnumber or symbol closes then wait only after that for four hours before checking trade condition criteria again. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1258 (permalink)  
Old 08-12-2008, 02:13 PM
willmalou's Avatar
Member
 
Join Date: Apr 2006
Posts: 36
willmalou is on a distinguished road
Icustom Question

This is what I have for the custom indy. When I use it the memory usage goes way up, am I doing it right.
Indy attached.

iCustom(NULL,PERIOD_T1,"RSI_Color_RSI_v1.01_Maxim" ,RSI_Daily_One,PRICE_CLOSE,PERIOD_T1,0,0,false,0,C urrent + 0);
Attached Files
File Type: mq4 RSI_Color_RSI_v1.01_Maxim.mq4 (14.0 KB, 1 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1259 (permalink)  
Old 08-15-2008, 01:23 AM
Senior Member
 
Join Date: Oct 2007
Posts: 223
Dave137 is on a distinguished road
Smile How Do I Erase Previous Display Names

PHP Code:
if(TrendUP==1)
  {
   
ObjectCreate("TrendUP [1]"OBJ_LABEL000);
   
ObjectSetText("TrendUP [1]""CONFIRMED TREND UP"10"Lucida Handwriting"Cyan);
   
ObjectSet("TrendUP [1]"OBJPROP_CORNER3);
   
ObjectSet("TrendUP [1]"OBJPROP_XDISTANCE2);
   
ObjectSet("TrendUP [1]"OBJPROP_YDISTANCE2);
  } 

I use the same location on the graph to denote display names whether a trend is up, down etc. etc. How do I "block out" using wingdings previous display names (Or make the area of the display name in black) so that the above Object Create Name shows up without overlapping other names?? I know it has to be something simple. About 7 names end up using the same graph location under specific trading conditions. Can you Help!!


Best Regards,

Dave

Anybody care to assist?? Help me if you can..!

Last edited by Dave137; 08-15-2008 at 10:45 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1260 (permalink)  
Old 08-15-2008, 05:28 AM
Senior Member
 
Join Date: Oct 2007
Posts: 223
Dave137 is on a distinguished road
Cool How Do I Get Label To Show Up In Indicator Window

PHP Code:
   ObjectCreate("Bears [1]"OBJ_LABEL100);
   
ObjectSetText("Bears  [1]""BEARS"14"Lucida Handwriting"Red);
   
ObjectSet("Bears  [1]"OBJPROP_CORNER3);
   
ObjectSet("Bears  [1]"OBJPROP_XDISTANCE10);
   
ObjectSet("Bears  [1]"OBJPROP_YDISTANCE30); 

Using this I get a Grey "LABEL" showing up indicator window. How do I get this above to show "BEARS" in the Lower Right Corner of the indicator window??

Thanks in Advance!

Dave

I found Out - You need to go to the Objects List in the overall graph and click on the label name to set placement of label - Very Strange way of doing this!

Last edited by Dave137; 08-15-2008 at 01:18 PM. Reason: Stumbled Upon Answer To Question
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
histogram, forex, ZUP_v1.mq4

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
Posted By For Type Date
OzFx System:) - Page 639 This thread Refback 06-21-2008 10:53 PM
Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart This thread Refback 12-08-2007 12:46 PM


All times are GMT. The time now is 03:35 AM.



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