dandawman Posted July 7, 2009 Report Share Posted July 7, 2009 Heres a expert that works on most pairs that i put together. it doesnt trade very often but in a backtest from jan-jul it made 40% with a high win % use the default settings on eurusd h1, edit the settings for other timeframes and pairs any help on improving it or ideas to make it trade more, while still safe is appreciated. *p://www*4shared*com/file/116822307/cc5cb38b/dansrealrobot.html its not really a grail but why not have fun with the naming process. Quote Link to comment Share on other sites More sharing options...
⭐ cowboy Posted July 7, 2009 Report Share Posted July 7, 2009 Re: high win% Expert i made! It's not excute any lot and has 9605 mismatch errors w/ IBFX. :-? Quote Link to comment Share on other sites More sharing options...
dandawman Posted July 7, 2009 Author Report Share Posted July 7, 2009 Re: high win% Expert i made! =)) lol well works for me.... on ibfx, maybe cause you are using 5 digits? im on 4 Quote Link to comment Share on other sites More sharing options...
myffxdonos Posted July 7, 2009 Report Share Posted July 7, 2009 Re: high win% Expert i made! good robot im testing it now on alpari i will let you know of results Quote http://www.sitetalk.com/myworld Link to comment Share on other sites More sharing options...
Meister_Propper Posted July 7, 2009 Report Share Posted July 7, 2009 Re: high win% Expert i made! Is it possible that you create a 5digit version? Thank you for your efforts! :) Quote Link to comment Share on other sites More sharing options...
myffxdonos Posted July 7, 2009 Report Share Posted July 7, 2009 Re: high win% Expert i made! doesnt work only looses Quote http://www.sitetalk.com/myworld Link to comment Share on other sites More sharing options...
wirastomo Posted July 8, 2009 Report Share Posted July 8, 2009 Re: high win% Expert i made! en Error,... and not open trade ? have a wrong. (test on 4digit and 5) Quote Link to comment Share on other sites More sharing options...
Hacker1713006064 Posted July 8, 2009 Report Share Posted July 8, 2009 Re: high win% Expert i made! en Error,... and not open trade ? have a wrong. (test on 4digit and 5) I Loaded EA on FXDD it takes trades but it get quotes sometimes wrong.. You need to put a RefreshRates(); command right before you do the ordersend function. Example: { if (total<1) if (MA > MAS) if (WPR < dnlimit) if (WPRL < dnlimit) if (WPRL2 > dnlimit+3) if (WPRL3 < 75) RefreshRates(); if (NewBar==1 && Bid == Close[1]) { OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-SL*Point,Ask+TP*Point,0,0,0,Blue); } and to get it working on 4 and 5 digit brokers you need something like this int init() { LocalPoint = Point*MathPow(10,Digits%2); } and then use LocalPoint instead built in points for all your calculations on lots.. I tried your EA on FXDD and FxPRo.. It ran on FXDD(4digit) but I get occasional order send error.. Thats the RefreshRates thing.. It wont run on FxPro(5digit) the way it is because you are calculating lots for 4 digit broker.. You got to get the ordersend functions working right every time before you worry about the entries and exits.. One last thing.. You should work in a routine that tries to place/close orders several times incase of Context Busy errors that do happen.. Here is a piece of code I use in my EAs to place orders.. Same basic code to close orders.. In order to work with bucket shops and ecn type brokers you need to place the order with NO TP & SL.. Then modify it after placement. RefreshRates(); double aAsk= Ask; double aTP, aSL; for(int cnt=1; cnt<=NumberOfTries; cnt++) { Tic = OrderSend(Symbol(),OP_BUY,Lots,aAsk,Slippage,0,0,VersionNumber,MagicNo,0,Blue); if (Tic > 0) { BuyFlag=True; break; } Error = GetLastError(); // put any error notification stuff here.. Sleep (SleepTime); }// end of loop if (BuyFlag) { RefreshRates(); aSL=Ask-(StopLoss*LocalPoint); aTP=Ask+(TakeProfit*LocalPoint); Result = OrderModify(Tic, OrderOpenPrice(), aSL, aTP, 0, CLR_NONE); if (Result == FALSE) Print("Error modifying BUY order : ", ErrorDescription(Error)); } Hope some of this helps.. Quote Link to comment Share on other sites More sharing options...
dandawman Posted July 8, 2009 Author Report Share Posted July 8, 2009 Re: high win% Expert i made! thank you very much i will add all that.. i didnt know it was having problems sending. did you at least find it profitable once you got it going? Quote Link to comment Share on other sites More sharing options...
Hacker1713006064 Posted July 8, 2009 Report Share Posted July 8, 2009 Re: high win% Expert i made! thank you very much i will add all that.. i didnt know it was having problems sending. did you at least find it profitable once you got it going? Have you NOT run this in the strategy tester?? Check the tester journal for errors... No way to tell about profit/loss until you get it placing/closing orders correctly.. Quote Link to comment Share on other sites More sharing options...
wirastomo Posted July 8, 2009 Report Share Posted July 8, 2009 Re: high win% Expert i made! thank you very much i will add all that.. i didnt know it was having problems sending. did you at least find it profitable once you got it going? hey dan, can you add a code from Hacker, so we get a clean code EA and can to be test.. smoothly... thank's :shand: Quote Link to comment Share on other sites More sharing options...
dandawman Posted July 8, 2009 Author Report Share Posted July 8, 2009 Re: high win% Expert i made! Here is the real thing should be working, im not even sure if the last one i posted was the same one, as i have a bunch named the same thing, but here it is, makes high win %, read original post for instructions p://www*4shared*com/file/116822307/cc5cb38b/dansrealrobot.html any further improvements are appreciated Quote Link to comment Share on other sites More sharing options...
awsl Posted July 9, 2009 Report Share Posted July 9, 2009 Re: high win% Expert i made! Hi Dan, you did not mention what setting to use. TP1, SL 30?? can you describe the EA entry condition with the RSI? extern int period = 14; extern int TP = 1; extern int SL = 30; extern int Lots = 1; extern int uplimit = 80; extern int dnlimit = 20; extern int upstart = 60; extern int dwnstart = 40; extern double TrailingStop = 30; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.