| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Gappy: trades The Gap at the start of the trading week https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=780 |
Page 1 of 1 |
| Author: | SteveHopwood [ Sat Aug 25, 2012 5:33 pm ] |
| Post subject: | Gappy: trades The Gap at the start of the trading week |
SERIOUS WARNING
DO NOT USE THIS EA ON A LIVE TRADING ACCOUNT. IT IS EXPERIMENTAL. Introduction Read the genesis of SS at http://www.stevehopwoodforex.com/phpBB3 ... 569#p18569 Put simply, the markets sometimes open considerably higher/lower on Sunday night than they closed on Friday night. There is then a tendency for the markets to retrace back towards that previous close. Gappy attempts to take advantage of this. Those of us in Europe and North America most notice this, as the markets open so far as we are concerned on Sunday night, about an hour after the crims kick their arses into gear. Here is a great example of the gap - see the highlighted area. Notice how the market moved back towards the close at the end of the previous week? I do not know if this applies to those of you who live in parts of the world where your markets open on Monday mornings. In any case, you need a criminal who opens for business at least one hour after market open. The inputs are the usual suspects, with these that are specific to Gappy:
The chart display will look a little odd for now, so ignore it. In code-testing back-testing in strategy tester, Gappy will trade once and then shut up shop. The chart display is intended to help me work out why, using visual mode. I have not been able to sort this out, but it hardly matters. Gappy will trade once a week only, and so will be shut down once any trade it generates is closed. Take profit is the distance between trade open price and last week's close. Stop loss is 50% of take profit. In conclusion Usual conclusion. Let's see if this Aardvark eats ants in decent quality. Matters of general interest Read this post: http://www.stevehopwoodforex.com/phpBB3 ... p=800#p800 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.stevehopwoodforex.com/phpBB3 ... p=516#p516 Account equity analyser: http://www.forexfactory.com/showthread. ... ost4693716Also 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=803#p803 |
|
| Author: | tex [ Sun Aug 26, 2012 9:27 am ] |
| Post subject: | Re: Gappy: trades The Gap at the start of the trading week |
Thanks for this one Steve !! I am trading the DAX future with CFD a lot these days. The Dax closes every day during the week at 10:00pm and continues the next day at 8:00 am. Will Gappy only trade on sunday/monday or will it trade when theres a gap on lets say tuesday to wednesday for example? |
|
| Author: | SteveHopwood [ Sun Aug 26, 2012 1:03 pm ] |
| Post subject: | Re: Gappy: trades The Gap at the start of the trading week |
Here you go Tex. V 1a is in post 1. I read yours just before going for a bath, so the timing was perfect. I have replaced the Sunday candle thingy with TradeSunday, TradeMonday etc. See if this does the trick for you. |
|
| Author: | SteveHopwood [ Sun Aug 26, 2012 10:33 pm ] |
| Post subject: | Re: Gappy: trades The Gap at the start of the trading week |
Nothing from Gappy this week on my demo. No surprise, given the time of year. Testing this baby could take a while. |
|
| Author: | tex [ Mon Aug 27, 2012 3:39 pm ] |
| Post subject: | Re: Gappy: trades The Gap at the start of the trading week |
Thanks again for the quick update Steve !! Will test it out. I hope there will be some gaps this week Edit : I dragged the EA to my Activtrades Dax Future CFD Chart and Gappy opened a Sell Trade right away. Even when there is no gap to trade at the moment. Do you think it has something to do with the digits my broker has got ? Theres only one digit after the comma. Perhaps the EA is detecting wrong gaps because of this ? Could be an issue. The last correct gap was on 2012-08-23 to 2012-08-24. It was a 11-Pip Gap and it has been closed already. I marked it on the screenshot. So in my point of view the EA shouldnt take a trade after i drag it on the chart at the moment. I tested it on Strategytester too. It opened a sell trade too in backtest. Attached is a screenshot and my setfile for gappy. |
|
| Author: | mlewis [ Tue Aug 28, 2012 1:02 pm ] |
| Post subject: | Re: Gappy: trades The Gap at the start of the trading week |
Amazing Steve! Great work. now all we need is a dramatic ECB related news event every friday evening!! MJL |
|
| Author: | SteveHopwood [ Sun Sep 02, 2012 10:22 pm ] |
| Post subject: | Re: Gappy: trades The Gap at the start of the trading week |
Gappy took 4 trades when the markets opened tonight. There is a problem with the take profit code. |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|