| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Alpenkorp's Grid Scalping EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=533 |
Page 1 of 5 |
| Author: | SteveHopwood [ Tue May 01, 2012 9:50 am ] |
| Post subject: | Alpenkorp's Grid Scalping EA |
SERIOUS WARNING
Ehup all Intro Alpenkorps sent me a pm recently, outlining a scalping system. The idea is to aim for a small cash profit target.
Or your account is blown. There is a high probability of this. For those of you who have not met it before, Martingale is simple. Every time a trade fails, double the lot size of the next one. Eventually, a trade closes at your take profit level and you recoup all the losses on previous trades. However:
Profit target The one redeeming feature in all this is the tiny cash profit target to aim for. The input for this is CashProfitTarget (gosh, you would never have guessed, would you?). I suggest setting this for whatever would be the equivalent of about 10 pips. I coded this on an Cowboy IBFX Aussie mini account, where 1 pip = stuff all, so a profit target of $0.10 makes sense. An Alpari pip is 10 times greater, so a profit target of $1 would be its equivalent. Work it out for yourselves and don't post asking how to do so, or I will shout at you. This target looks ludicrous once Martingale is a few levels deep, but a pip movement on a lot size of, say, 1.28 lots is a lot more than on the original 0.01 trade, so the actual profit is much more once the profit target is reached. Great fun on demo, but not a bundle of laughs live, I suspect. Attachments
I am going to pop this on demo, using the default inputs apart from enabling Rsi, so I can put the EA on an M15 chart. The timeframe possibilities are endless. So are the lot size combinations. It might be better, for example, to start with a larger lot size but a smaller multiplier. Have a play and see. There are other features I can add, should this turn out not to be an instant total disaster - we shall have to see. Just off the top of my head, we can have:
Matters of general interest Read this post: http://www.forexfactory.com/showthread. ... ost4923611 Newbie traders, read this for inspiration and warning. Those of you who have suffered losses, read it for inspiration. There is a thread devoted to Sam's trading method at http://www.forexfactory.com/showthre...25#post5118825 Masterly summary of hedging: http://www.forexfactory.com/showthread. ... ost4977179 EA coding I receive may requests to code EA's. Traders, if I code your EA for free, then I will share it here. If you want me to code your EA without sharing, then my fee is $100 payable into my paypal account. I explain why at http://www.stevehopwoodforex.com/phpBB3 ... p=803#p803, at the bottom of the post. Useful utilities/EA's/scripts Matt's chart-population script at http://www.stevehopwoodforex.com/phpBB3 ... 5733#p5733. Use this every time you start a fresh platform. MaryJane has posted a fabulous utility to allow us to resize EA input windows: http://www.forexfactory.com/showthread.php?t=299017 Multi purpose trade manager: http://www.forexfactory.com/showthread.php?t=89371 Account equity analyser: http://www.forexfactory.com/showthread. ... ost4693716 Also at http://www.forexfactory.com/showthread. ... ost4709098, which includes a template for both USD and the Euro. Past-trades display indi by squalou; shows a graphical display of the success/failure of trades in your History tab. Breathtaking piece of work. http://www.forexfactory.com/showthread. ... ost3830610 My shell EA – the code I use to produce EA's so quickly. http://www.stevehopwoodforex.com/phpBB3 ... p?f=5&t=15 |
|
| Author: | Sissia [ Tue May 01, 2012 12:12 pm ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
I will give it a try... let see |
|
| Author: | SteveHopwood [ Tue May 01, 2012 1:07 pm ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
Update in post 1 (V 1f). As soon as I turned on Rsi some holes in my logic emerged that I had not noticed in code-testing backtesting. Coders, replace hte void FirstTradeOpportunity() function with this: Code: Select all if (UseRsiTrendDetection && RsiTrend != down) {SendShort = false; return;} if (SlowkeyTrend != down) {SendShort = false; return;} if (UseRsiTrendDetection && RsiTrend != down) {SendShort = false; return;} if (SlowkeyTrend != down) {SendShort = false; return;} |
|
| Author: | ovisun [ Tue May 01, 2012 1:30 pm ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
Hello, Maybe would be better if the profit is in pips, not in cash. In back test I had same profit even after a string of 6-7 trades. Or as a percentage of balance/equity... |
|
| Author: | eddysukses [ Tue May 01, 2012 3:02 pm ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
will try it, thanks Steve |
|
| Author: | Alpenkorps [ Tue May 01, 2012 5:20 pm ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
Thanks a lot Steve for coding this, I am amazed to see your level of patience. I am sorry for being late to join, I got caught with some family thingy. I am still backtesting and comparing the results, once I am done, I'll post them one by one. The original idea is to scalp, but what do I know!! The bot works fine at 4H and daily too !! |
|
| Author: | SteveHopwood [ Tue May 01, 2012 5:33 pm ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
That is the great thing about an EA; it gives us scope to try out ideas quickly and easily. |
|
| Author: | bernard [ Tue May 01, 2012 11:33 pm ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
Hi Steve, The "coders" should replace the void FirstTradeOpportunity() function. What should the "non-coders" do? I managed to replace the function, but have no clue about the 4 lines that are to be added. Best, Bernard
|
|
| Author: | Dixpat [ Wed May 02, 2012 12:06 am ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
If you have replaced the function then that is all you need to do Steve has just listed the lines that were added within the function |
|
| Author: | kelisa [ Wed May 02, 2012 3:03 am ] |
| Post subject: | Re: Alpenkorp's Grid Scalping EA |
The logic of this EA does make good sense. How about the idea of allowing this EA to scan thru all available pairs and filter orders by MAX Spread settings? I hope Steve or other expert programmers can look into this idea. regards, kelisa |
|
| All times are UTC | Page 1 of 5 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|