edgar1713006556 Posted April 13, 2012 Report Share Posted April 13, 2012 I have stopped all trades on forex contest because I had been on BUY EUR/USD Quote Link to comment Share on other sites More sharing options...
klod Posted April 13, 2012 Author Report Share Posted April 13, 2012 I have found the error ! ecart must be greater than StopLevel Quote Link to comment Share on other sites More sharing options...
klod Posted April 13, 2012 Author Report Share Posted April 13, 2012 I think the default distance from current open price, the TP and SL need to be adjusted for market conditions. I have had 5 successful trades and one loss from a retrace (all on demo account). I think this is a wonderful tool for deliberate placement - not a set and forget thing. It's also my advice. So i work on the volatility for ecart and i have found that ecart/volatility is good near 1 (with SL and TP fixed) daretolive 1 Quote Link to comment Share on other sites More sharing options...
klod Posted April 13, 2012 Author Report Share Posted April 13, 2012 (edited) The new version 15e (e=english !) but not the last. I am working on the TP and Trailingstop. Ecart and Stoploss are computed. https://www.asuswebstorage.com/navigate/share/GY4HSASV54 with backtest from 1/9/2011 to 14/4/2012 Edited April 14, 2012 by klod indo37, didier, smurf43 and 6 others 9 Quote Link to comment Share on other sites More sharing options...
FxNewbie Posted April 14, 2012 Report Share Posted April 14, 2012 Klod, I still think what you are doing is outstanding. I was wondering if you could make a settings option for Trailingstop (True/False) and a corresponding switch in the block whether to trail or not. I find an independent Trade Management EA (multi purppose trade manager) is superior to trade management in 99% of EA's out there as it can close partial order and use settings to move to B/E and trailing jump in gaps - much easier on the CPU too :-). Keep up the good work! Bravo Quote Link to comment Share on other sites More sharing options...
klod Posted April 14, 2012 Author Report Share Posted April 14, 2012 hello Fxnewbie, It's possible to turn off the trailingstop and the takeprofit: trailingstop = 0 and profit =0 in the parameters box Quote Link to comment Share on other sites More sharing options...
FxNewbie Posted April 15, 2012 Report Share Posted April 15, 2012 my apologies - I noticed too late. I should have edited the post and asked my other question: there is an EA called Apache Trader which is quite similar to Strat. It has a feature where you can enable additional pending orders "y" pips (intervals if more than one additional) above / below the original "x" pips. I guess the trade management would be getting quite complex though? I look forward to the market opening tomorrow for some more forward testing. Hope your weekend is going well. It's finished here in NZ lol Quote Link to comment Share on other sites More sharing options...
libiol Posted April 15, 2012 Report Share Posted April 15, 2012 Hi Klod! You EA is very impressive! I made some stress tests on back testing and EA stay solid!! Would you so kind to make 5 digit version of this great EA? Quote Link to comment Share on other sites More sharing options...
FxNewbie Posted April 16, 2012 Report Share Posted April 16, 2012 Klod, I hope you don't mind me asking questions. I have another: In the "ordersendm" section there are two references to "symb". I can't see any other references to symb and was wondering if it is meant to be symbole? I am a novice coder and am always keen to learn new techniques. I can't see the function of symb when normally I would expect to see Symbol() or your variable "symbole" Quote Link to comment Share on other sites More sharing options...
klod Posted April 16, 2012 Author Report Share Posted April 16, 2012 (edited) ordersendm is a procedure and the arguments in the definition are only symbolic (like avatar). It's at the call of the procedure that the real arguments are substituted. void OrderSendm(string symb, int op, double vol, double prx, int slip, double sl,double tp, string vers, int Magic, datetime expire, int couleur) ^procedure ^name ( definition of symbolic variables) { code } The code of ordersendm is only good for no ECN 4 digits brokers Edited April 16, 2012 by klod Quote Link to comment Share on other sites More sharing options...
FxNewbie Posted April 16, 2012 Report Share Posted April 16, 2012 thanks for answering. It's appreciated and I learned another new thing Quote Link to comment Share on other sites More sharing options...
didier Posted April 16, 2012 Report Share Posted April 16, 2012 Bonjour (Je crois bien qu'il n'y en a pas beaucoup qui parlent français ici...) . Non je n'ai pas essayé d'autres paires. Je précise qu'il semble préférable de mettre l'heure de trading à 13 plutôt que 9 h I suggest 13 h for the trading (backtest from 1/1/2012 to today). Hi Klod, Could you confirm please if it is 01 PM GMT +1 (13h) So if my broker is GMT +3 i have to set it to 03 PM (15h). Thanks for your reply , and congrats for your EA, great start again today at 1.3061 (buy order EURUSD). Friday sell order at 1.3104 closed at 1.3022, nice :) Quote Link to comment Share on other sites More sharing options...
klod Posted April 16, 2012 Author Report Share Posted April 16, 2012 Hi Klod, Could you confirm please if it is 01 PM GMT +1 (13h) So if my broker is GMT +3 i have to set it to 03 PM (15h). Thanks for your reply , and congrats for your EA, great start again today at 1.3061 (buy order EURUSD). Friday sell order at 1.3104 closed at 1.3022, nice :) yes, you are right. 13h in GMT+1 (France, me) = 15h GMT+3 Quote Link to comment Share on other sites More sharing options...
edgar1713006556 Posted April 17, 2012 Report Share Posted April 17, 2012 bonjour KLOD j'ai un robot qui ne cloture pas correctement les trades,peux tu le corriger? equinet10atyahoo.fr merci Quote Link to comment Share on other sites More sharing options...
klod Posted April 17, 2012 Author Report Share Posted April 17, 2012 Tu as le source ? Sans source ... Quote Link to comment Share on other sites More sharing options...
didier Posted April 23, 2012 Report Share Posted April 23, 2012 yes, you are right. 13h in GMT+1 (France, me) = 15h GMT+3 Hi, Sorry again, do you talk about broker's server time or country's time ? In France, it is GMT +2 actually Thanks for this point :) Quote Link to comment Share on other sites More sharing options...
klod Posted April 25, 2012 Author Report Share Posted April 25, 2012 (edited) I am in France. There is 03h55 AM. My broker is Activtrades in London. The server time is the same ! Edited April 25, 2012 by klod Quote Link to comment Share on other sites More sharing options...
cokhisaa Posted April 25, 2012 Report Share Posted April 25, 2012 I am in France. There is 03h55 AM. My broker is Activtrades in London. The server time is the same ! Hi klod ! To be good understand , could you shown for us this EA works on GMT+ ? I remember you talk about this EA works on GMT+ 1 ? Correct me if I am wrong please ! Many thanks Quote Link to comment Share on other sites More sharing options...
Acerinvest Posted April 26, 2012 Report Share Posted April 26, 2012 I have been backtesting and results seem very uncertain. No consistent gains. What settings are people finding to work best? Quote Link to comment Share on other sites More sharing options...
klod Posted April 27, 2012 Author Report Share Posted April 27, 2012 I am in France. There is 03h55 AM. My broker is Activtrades in London. The server time is the same ! But for FXCM demo it was 1h55 AM ?? If you see this page http://24timezones.com/horloge_mondiale.php , you see that time(Paris) = time(London)+1 But time(Paris) = universal time +2 in summer time and time(Paris)= universal time+1 in winter time I have backtested my ea on the metaquotes archives and i have suggested to set the hour to 13. I think that the metaquotes archives are in universal time, and so in France, the hour should be 15 in summer time and 14 in winter time. Your local time is not important, the important is your broker's time as the ea use it. You must set the hour to 13 h in universal time. Quote Link to comment Share on other sites More sharing options...
smurf43 Posted April 27, 2012 Report Share Posted April 27, 2012 (edited) But for FXCM demo it was 1h55 AM ?? If you see this page http://24timezones.com/horloge_mondiale.php , you see that time(Paris) = time(London)+1 But time(Paris) = universal time +2 in summer time and time(Paris)= universal time+1 in winter time I have backtested my ea on the metaquotes archives and i have suggested to set the hour to 13. I think that the metaquotes archives are in universal time, and so in France, the hour should be 15 in summer time and 14 in winter time. Your local time is not important, the important is your broker's time as the ea use it. You must set the hour to 13 h in universal time. Hi Klod, Would it be fair to say that the EA should be set to put two (1 Long and 1 Short) pending trades at 10 minutes after the London Open depending on your Brokers Platform time (no matter where you are located). Please confirm Thanks! Edited April 27, 2012 by smurf43 Quote Link to comment Share on other sites More sharing options...
klod Posted April 27, 2012 Author Report Share Posted April 27, 2012 Hi Klod, Would it be fair to say that the EA should be set to put two (1 Long and 1 Short) pending trades at 10 minutes after the London Open depending on your Brokers Platform time (no matter where you are located). Please confirm Thanks! 13 h in universal time is about the opening time of the NYSE ( http://wiki.answers.com/Q/What_time_does_the_New_York_Stock_exchange_open ) and not the london trading time (http://wiki.answers.com/Q/What_are_the_trading_hours_of_the_London_Stock_Exchange ) smurf43 1 Quote Link to comment Share on other sites More sharing options...
jsintl Posted May 2, 2012 Report Share Posted May 2, 2012 Anybody running this EA with success. Quote Link to comment Share on other sites More sharing options...
klod Posted May 21, 2012 Author Report Share Posted May 21, 2012 (edited) a new version here: https://www.asuswebstorage.com/navigate/share/GY49YNU9J4 Edited May 23, 2012 by klod version 16e1 with trailgap parameter smurf43, indo37, taipan and 3 others 6 Quote Link to comment Share on other sites More sharing options...
cokhisaa Posted May 21, 2012 Report Share Posted May 21, 2012 Hi klod ! I use broker GMT=0 so htrade = ? Many thanks a new version here: https://www.asuswebstorage.com/navigate/share/GY4X67JHJ4 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.