| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| James16: the EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=377 |
Page 6 of 8 |
| Author: | fxozgirl [ Sat Mar 17, 2012 3:00 am ] |
| Post subject: | Re: James16: the EA |
LOL Steve, not sure about a brain the size of Jupiter...some days I'm pretty sure it shrinks to the size of Pluto instead And.... the only way I would have picked up the error/misunderstanding was because of your comments...if you hadn't commented it, I would still have been sitting here with eyes glazed over completely oblivious Anyway, thanks for the fix, hopefully we shall see when markets open on Monday that all is well Thanks again |
|
| Author: | fxozgirl [ Sat Mar 17, 2012 3:04 am ] |
| Post subject: | Re: James16: the EA |
Yes, this is important...either trail too close and get closed out on a smallish retrace, and then have price push ahead on you or don't trail close enough and fail to lock in pips. So far on the Daily chart, I feel setting BE at 30 pips has been ideal, I have a JS set at 20, but still deliberating whether it would get more pips at JS30...just trial and error I guess. |
|
| Author: | fxozgirl [ Sat Mar 17, 2012 3:12 am ] |
| Post subject: | Re: James16: the EA |
The EA didn't take this trade, so I set up a pending buy order at 1.05601 (which was 5 pips above the high of the first candle), Buy order was triggered and break even has been set. At close of trading it was +27 pips |
|
| Author: | fxozgirl [ Sat Mar 17, 2012 3:17 am ] |
| Post subject: | Re: James16: the EA |
In addition to ignoring the TMHL commented trades for now, I have also been taking a few manual trades to help me learn and understand the strategy better, so the stats are getting a bit messy...sorry |
|
| Author: | MiTija [ Sat Mar 17, 2012 4:36 am ] |
| Post subject: | Re: James16: the EA |
No Worries!!! This is a work in progress. Rage on, someday it will be a ripper. Cheers, MiTija |
|
| Author: | garyfritz [ Sat Mar 17, 2012 5:35 pm ] |
| Post subject: | Re: James16: the EA |
Steve, if I understand the code right, I think you still have a problem. Note the two cases: Code: Select all The second one says "L[2] - L[1] must be <= 2 pips." The two tests are the same, but since one tests highs & one tests lows, they should be mirror images. Assuming "2nd bar" in your comment means bar #1 (the most recent bar, the second bar in the sequence), then I think the test on highs is backwards. Also: Shelley actually said the two highs/lows have to be "within 2 pips of each other." Right, Shelley? If so, then shouldn't the test be something like ? |
|
| Author: | SteveHopwood [ Sat Mar 17, 2012 7:03 pm ] |
| Post subject: | Re: James16: the EA |
Nice one again Gary, thanks. It is the High code that is wrong. It should be : Code: Select all |
|
| Author: | garyfritz [ Sun Mar 18, 2012 3:13 am ] |
| Post subject: | Re: James16: the EA |
So it shouldn't be the "within 2 pips" test using MathAbs? |
|
| Author: | fxozgirl [ Sun Mar 18, 2012 5:12 am ] |
| Post subject: | Re: James16: the EA |
That's correct |
|
| Author: | SteveHopwood [ Sun Mar 18, 2012 9:06 am ] |
| Post subject: | Re: James16: the EA |
Nice one again Gary. Thanks. My misunderstanding. My thread starters often include statements along the lines of, "I have coded my understanding of xxxxx. I may have misunderstood." I am not joking when I write this. Correction made to the latest update in post 1. Cheers |
|
| All times are UTC | Page 6 of 8 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|