tag:blogger.com,1999:blog-5375291312433129989.post9196687976369204074..comments2023-06-03T05:06:58.216-04:00Comments on The Lazy Trader: Amazing Crossover System. Expert AdvisorHenrikhttp://www.blogger.com/profile/05792195649092816606noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-5375291312433129989.post-8247696562144569952015-01-27T12:17:50.171-05:002015-01-27T12:17:50.171-05:00ok, thanks for the initial effort. I think the sys...ok, thanks for the initial effort. I think the system does have good prospects in as much as there is an explosive move every now and then. I wish i can run a thorough analysis like you do but i will simply settle for forward testing while i see if someone can make changes to the code. By the way i use an 100 pip SL as suggested by the system creator because i realised from visual backtesting that it produced far more profitable trades with the trade usually closing befor reachiing full SL.Taiwohttps://www.blogger.com/profile/04209985588301315298noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-43051933123614358222015-01-26T22:27:13.091-05:002015-01-26T22:27:13.091-05:00All that sounds like good suggestions but unfortun...All that sounds like good suggestions but unfortunately my time is limited that's why I share it for free so anyone can see the code and improve it. I didnt put too much effort as I think it is not a good strategy anyways. But thanks for the feedback so others can see.<br />LTThe Lazy Traderhttps://www.blogger.com/profile/08598866019359750526noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-79206121897438654842015-01-26T18:06:31.352-05:002015-01-26T18:06:31.352-05:00Your EA has 2 flaws 1. It opens a trade at the ope...Your EA has 2 flaws 1. It opens a trade at the open of the next candle once you place it on the chart. The trade is usually a stale one from a trade already in progress. This also occurs if the EA is disabled and enabled after a period of time. Kindly adjust the code so the EA starts looking for NEW trades once it is placed opn the chart. 2. The trailing stop does not sem to be working. many of the trades reversed more than 50 pips and the EA failed to close th trade. You need to recheck the TS coding. It would also be nice if you can add an option for choosing lotsize based % risk on account thanks in advanceTaiwohttps://www.blogger.com/profile/04209985588301315298noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-81494247106557435152014-09-02T06:43:19.021-04:002014-09-02T06:43:19.021-04:00Hey,
there is a new Version, with some new parame...Hey,<br /><br />there is a new Version, with some new parameters, tested by Robopip. Could someone maybe include these new features in the code?<br /><br />http://www.babypips.com/blogs/art-of-automation/forex-amazing-crossover-20140808.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-73631118209279036752014-08-31T00:45:31.513-04:002014-08-31T00:45:31.513-04:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/04944715983421121012noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-64777319409791694072012-07-19T23:02:54.573-04:002012-07-19T23:02:54.573-04:00Hey Ravee, can you please share how to get RSI out...Hey Ravee, can you please share how to get RSI out of the equation?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-72483664361098999702012-07-19T11:23:45.784-04:002012-07-19T11:23:45.784-04:00Hi, i have start the code from running, but my met...Hi, i have start the code from running, but my metatrader 4 keeps showing "Order Send Error #130". I have check online and the problem is stop-loss or take-profit levels are set to close to the current market price. I have change the stop loss to 30, and take profit level to 150. but they are still far from current market price. <br /><br />can you advise how to resolve the error?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-90847583493970830052012-07-02T05:19:34.732-04:002012-07-02T05:19:34.732-04:00THIS is what i want for long time .it works perfec...THIS is what i want for long time .it works perfectly . thank you .Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-22394985388817857232012-05-30T03:45:27.992-04:002012-05-30T03:45:27.992-04:00Hello Henrik - Many thanks for sharing your EA wit...Hello Henrik - Many thanks for sharing your EA with us. I would greatly appreciate if you could tell me how to activate the EA. I have installed it correctly ie .ex4 file & mq4 files both in the expert folder. I drag the EA on to my MT4 screen (demo account) and see the smiley face at the right hand corner of the screen but not alerts or trades are being seen.<br /><br />I have enabled auto trading.<br /><br />Please can you throw some lightAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-37914598554501814742012-04-25T05:46:19.226-04:002012-04-25T05:46:19.226-04:00I love it, thanks for programing it. I was wonderi...I love it, thanks for programing it. I was wondering how would you get the rsi off. so it just uses the crossover for entry?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-91350509078137156222012-03-26T16:00:07.582-04:002012-03-26T16:00:07.582-04:00Hey Ravee the problem with Opening during the form...Hey Ravee the problem with Opening during the formation of the bar is that the cross is not confirmed. the moving average at that point is going up and down constantly as the prices changes, and what is a crossover now, might stop being a crossover in 10 seconds. <br /><br />And the same thing for the close. You might be closing the trade on an unconfirmed cross, that later when the candle is complete results in no crossover in the chart.<br /><br />I understand your point that waiting for candles completion takes you out of the game with a bigger loss, but at the same time it lets you stay in the game and avoid fake temporary crosses that are formed constantly during the candle formation process. It is a trade off. In any case I just tried to automate Huckle's system as she had implemented it. And like you said, I don't put to much trust in it. I believe it doesn't have a real edge long term, but good to know you are working on it.<br /><br />And yes, you are right, the NewBarFlag condition is the one validating that a New Candle has just appeared.<br /><br />Regards,<br />HHenrikhttps://www.blogger.com/profile/05792195649092816606noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-75171798841495529982012-03-26T13:00:16.315-04:002012-03-26T13:00:16.315-04:00Hey Just look at this image...
http://img831.imag...Hey Just look at this image...<br /><br />http://img831.imageshack.us/img831/7712/tradeo.jpg<br /><br />the first arrow(red) indicates exactly where the EA opens a sell the green arrows(upward)is where the ea closes sell and makes a but...here is the twist..decieving the graphics shown..the EA closes the sell at the close bar of the buy signal...Drastic isnt it? So i presume that losses w'd be kept to minimum if it catches the trends at the right time...<br /><br />and yes this... <br /><br />if (NewBarFlag == true) // i feel this should be set to false?<br /><br />...must be set to false to avoid the disasters...i tested it on M1 & M5 charts..& its awesomeRaveenoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-67697208548166055132012-03-26T10:31:35.980-04:002012-03-26T10:31:35.980-04:00Sorry for making it all messed up....i was on abt ...Sorry for making it all messed up....i was on abt two things in my previous comment...<br /><br />1. Flaw: As you replied..yes! the EA needs to Close loserws early...as soon as the crossover happens..to be precise..<br /><br />2. An Improvement possibility of applying the prices to Highs and Lows instead of applying to close.We deploy two EMA Crossovers one for lows one for highs..obviously buying and selling & closing takes place at the respective crssovers...Raveenoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-24629768388570187932012-03-26T09:12:54.089-04:002012-03-26T09:12:54.089-04:00Let me see if I clearly understand.
You are saying...Let me see if I clearly understand.<br />You are saying that the EA should close the loser before the bar closes? is that it ?Henrikhttps://www.blogger.com/profile/05792195649092816606noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-20128318688273233002012-03-26T08:35:41.650-04:002012-03-26T08:35:41.650-04:00Hiya Henrik i've been doing lots of testing a...Hiya Henrik i've been doing lots of testing around this baby and found some annoying quirks of this EA...<br /><br />The EA as such(unmodified)Sadly, it enters trades at the the close of the bars..this can be very damaging ...lets say...the cross occurred at 0.8000 and it made a sell decision at the close of next bar (lets say 0.7995 with RSI favouring it)...and suddenly there is a spike in the counter direction...and the spike closed at 0.8050 (where the EA closes the trade and opens a buy position)<br /><br />So what could be the culprit do you think..?<br />a. Is it this <br /> /*Only enter new trades when there is a new bar*/<br /> AnalyzeNewBar(); <br /> <br /> if (NewBarFlag == true) // i feel this should be set to false? <br /> {<br /> AnalyzeNewOrderEntry();<br /> } <br /> <br /> return(0);<br />}<br /><br />OR<br /><br />b. the fact that the prices are applied to PRICE_CLOSE ???<br /><br />How can this be evaded?<br />-------------------------------------<br />IDEA<br /><br /> I also had a thought on this ...as the price always lingers b/w Highs/Lows... i feel its not really wise to apply them to O,C OR M for that matter...<br /><br />--------------------------------------<br />STRATEGY<br />What if the the EA buys at Crossovers at LOWS and closes at CROSSOVER Highs and vice versa<br />which demands the need of TWO crossovers the Bullish(applied to lows) and bearish(applied to highs) <br /><br />A buy position is opened at bullish crossover and closed at bearish crossover and vice versa..<br /><br />and the if CurrentSignalHasBeenPlayed() will become BullSignalHasBeenPlayed() and <br />BearCurrentSignalHasBeenPlayed() and correspondingly every internal bool and parameters change....<br /><br />I feel the losses will be minimised and profits will be optimized...nothing more nothing less..So what do you think? I'm on it atm..if i have any troubles..i'll let you know..<br /><br />RaveeRaveenoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-20702983544278367372012-03-22T15:04:59.746-04:002012-03-22T15:04:59.746-04:00yes, the problem in this case is you are putting i...yes, the problem in this case is you are putting it to close to current price.<br />It should be something like<br />Long at 0.8000<br />Hits TP at 0.8005, then you move SL to 0.8000, leaving five pips of spread, other wise you will get kicked out.<br />Then Hits 0.8010, SL moved to 0.8005. Always leaving 5 pips of distance. This distance should be customized as a parameter in the EA, so it is easy for you to change without having to change your code or recompile.Henrikhttps://www.blogger.com/profile/05792195649092816606noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-80192003818422882462012-03-22T14:36:45.026-04:002012-03-22T14:36:45.026-04:00Hey thx for the fast reply...you're very right...Hey thx for the fast reply...you're very right abt back testing on M1 & M5 and the rest of the periods too for that matter...i just dont back test myself...i'll let the strategy run monday/fridays all by itself on a vps which i monitor by an android device....anyways..its not abt the programming trailing stop..but abt the in built trailing stop options in the EA..<br />eg:<br />Long on 0.8000<br />hit profit target at 0.8005<br />Now stop loss becomes 0.8005<br />hit profit target at 0.8010<br />Now stop loss becomes 0.8010<br />I'm not quite sure that a Trailing stop value of 5 w'd do that? <br /><br />Everytime i set it up for 5 ..i end back at 0pip profit..:(Raveenoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-72590605823388884982012-03-22T12:53:23.884-04:002012-03-22T12:53:23.884-04:00Hey Ravee,
When you ask how to set trailing stop ...Hey Ravee,<br /><br />When you ask how to set trailing stop do you mean how to do it programatically? If, so I think I have some code which can help you programming a trailing stop.<br /><br />If you're asking about ideas on when to start trailing, and which distance to use, then I guess, there is no easy answer. You would have to end up programing a trailing strategy with an input parameter to set different distances, and different trailing start thresholds, and start running backtests.<br /><br />An running backtests on M1 and M5, is something I dont really like. The data is innacurate plus you start to introduce broker dependency on your EA. You will be backtesting your strategy with spreads way better than real trading spreads, and this will give you a false idea on the profitability or maximum drawdowns on your strategy while you design your system<br /><br />For some more comments on this:<br />http://www.the-lazy-trader.com/2012/03/how-to-review-expert-advisors.htmlHenrikhttps://www.blogger.com/profile/05792195649092816606noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-46872339017234289452012-03-22T12:34:53.402-04:002012-03-22T12:34:53.402-04:00Hi Henrik ... made some mods to scalp the M1 &...Hi Henrik ... made some mods to scalp the M1 & M5 charts ....i see a potential solid 5pips atleast everytime the crossover occurs...<br />Lets say the EMA1 range (1-10) EMA2 Range (2-50) <br />Removed RSI<br />Added CCI period 45 (CCI >0 long) (CCI <0 short)<br />Changed EMA X overs to Price_open instead of close...<br />The above settings give me freedom to scalp atleast 5-10 pips everytime there is a crossover...<br /><br />My question is how to set trailing stop once profit target of 5 pips is reached to surf the trends with Zero risk? ...<br />Lets say Once i reach my profit target of 5 pips..that'll eventualy become stop loss..throw some light on it please. thx in advance...Raveenoreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-70807499057772432282012-03-20T15:56:50.947-04:002012-03-20T15:56:50.947-04:00Thanks for your Comment Ravee!
Glad you used the c...Thanks for your Comment Ravee!<br />Glad you used the code. And I agree, definitely no holy grail. I believe it will suffer during non-trending environmentsHenrikhttps://www.blogger.com/profile/05792195649092816606noreply@blogger.comtag:blogger.com,1999:blog-5375291312433129989.post-52293827909951334222012-03-20T15:54:59.591-04:002012-03-20T15:54:59.591-04:00Hi I managed to get RSI out of equation ...then i ...Hi I managed to get RSI out of equation ...then i combined it with EMA Crossover alerts...to close open positions when there is a cross..so far good but not holy grailRaveenoreply@blogger.com