| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| swingONE https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=217 |
Page 2 of 21 |
| Author: | markft [ Wed Jan 11, 2012 12:20 pm ] |
| Post subject: | Re: swingONE |
Hi Khalid, Thanks for the response. I am looking forward to guidelines on how to setup directional bias. I looked at the PDF docs on currency indices and I am guessing you have used the trend in the currency indices. I have looked into the code for the 1.3 version of the EAs. The only way this EA can place long trades when TradeLong is false is when there are pending lines on the chart. Presumably these lines could have been left over from running the EA earlier when TradeLong was set to true. I have done a small patch that does not place buy/sell trades if TradeLong/TradeShort is set to false. The changes are in the HasBuyFilled/HasSellFilled functions. Updated version attached. Edit: Attachment v1.3.1 removed as per Khalid's request. Khalid: Thank you markft; your kind cooperation is acknowledged and appreciated. |
|
| Author: | markft [ Wed Jan 11, 2012 11:24 pm ] |
| Post subject: | Re: swingONE |
No problem Khalid, I have found your posts inspirational and informative so looking forward to your other posts when you feel it is the right time. Hmm, apart from left over lines, I couldn't think of any other condition that would cause the 1.3 version to trade long when told not to; but obviously there must have been another reason. The 1.3.1 version I had posted only was supposed to address this case e.g. if there were left over lines it would not act on them and place buy/sell orders if buy/sell is disabled. |
|
| Author: | markft [ Wed Jan 11, 2012 11:39 pm ] |
| Post subject: | Re: swingONE |
Khalid, I found the reason why my patch would not close positions. I can post an updated EA if you wish; however I understand Steve sent you an updated version you have been testing. I didn't know at the time, hence I barged in to fix what I thought was the reason for the issue you reported. If you agree I think it would be best for me to wait for the new version and help if a bug fix or other improvement is required on the new version. Otherwise there could be different branched versions of the EA floating around which can be confusing for members. I am always happy to help with the development of your EA; please just let me know. You have been contributing so much with your ideas and happy to do what I can to help. Mark |
|
| Author: | markft [ Thu Jan 12, 2012 4:44 am ] |
| Post subject: | Re: swingONE |
I like your attitude No problem, will send you the updated version that should resolve the trade direction issue. |
|
| Author: | winsteadglenn [ Fri Jan 13, 2012 8:47 pm ] |
| Post subject: | Re: swingONE |
Khalid: Look at fourteen period and Twenty-one period Linear weighted, open/closed. Post Script: I was taking some fairly large losses due to the frequent crossing of the lines. Just for fun, I tried several different periods. Then I remembered Jiva's EA http://www.stevehopwoodforex.com/phpBB3 ... p?f=5&t=27 which used 21 SMA open/closed, a very similar system, coded by Mgft, George, and Steve. Transposing first 21 LWMA, and now 21 SMA open/closed, I see virtually no noise on the H4. There are only wonderful, smooth, sweeping arcs, and no chop. Jiva's EA thread has become quiet, but the error may have only been using a 5 min TF, rather than H4. I suspect Period One will do well on lower time frames, such as the 5/15. I will try to combine the two wonderful ideas. I really like the simplicity. Just starting to demo this on H4. Too early to say if this thinking is silly curve-fitting. Glenn |
|
| Author: | garyfritz [ Fri Jan 13, 2012 9:04 pm ] |
| Post subject: | Re: swingONE |
270 pips in 4 days? Not BAD, Khalid! I may have to pay closer attention to this EA... |
|
| Author: | markft [ Tue Jan 17, 2012 8:00 am ] |
| Post subject: | Re: swingONE |
I have used Mammoth VPS in Australia and Commercial Network Services in their NY datacentre. Both are very reliable and support has been great, though I would recommend Commercial Network Services as they are using Windows Hyper-V which is a better platform. |
|
| Author: | Marlin Man [ Tue Jan 17, 2012 11:14 am ] |
| Post subject: | Re: swingONE |
Kahlid, have had great success with Commercial Network Services. What part of the world are you in? |
|
| Author: | Marlin Man [ Wed Jan 18, 2012 11:39 am ] |
| Post subject: | Re: swingONE |
RE: would not describe very many countries: Pakistan. Haha, I'm currently in Tanzania and I understand it too well!! I've lived in Africa now for 8 years. Electricity supply is bad in every country I know of here. |
|
| Author: | fx800 [ Wed Jan 18, 2012 2:05 pm ] |
| Post subject: | Re: swingONE |
Hi Khalaad, Thanks very much to you and Steve Hopwood for creating this EA. It is trading currency pairs very nicely, but just does not send any trades for US30 index. The EA is installed in an FXCM Empty4 platform. I have made sure the lot size is minimum 1, increase the maximum spread artificially to 100 just in case this is the problem, increase buffer pips to 1, increased the hidden pips to 100, and the EA icon has a smiley face. No error messages in the EXPERTS or JOURNAL folder. After two days, still no trade. Any idea why this is so ? Thanking you in advance. Cheers, Peter |
|
| All times are UTC | Page 2 of 21 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|