| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Slopey Graeme: another pipEasy-inspired trend trading EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=223 |
Page 6 of 14 |
| Author: | gaheitman [ Tue Jan 17, 2012 11:01 pm ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
You'll actually need to call it for any time frame you are referencing. The user may have it on an hourly chart but using the daily RSI, so you'd want to call (in this care): Code: Select all |
|
| Author: | MichaelM [ Tue Jan 17, 2012 11:46 pm ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
mbkennel's script to force download all data works like a charm (check your PM from Steve) |
|
| Author: | SteveHopwood [ Wed Jan 18, 2012 12:18 am ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
Cheers George. It looks as though Matt might be ahead of all of us. I hope so. |
|
| Author: | MichaelM [ Wed Jan 18, 2012 1:06 am ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
Hi Steve, I've noticed today that quite a few of the pairs I've put Graeme on don't have the Pending Price Line drawn on the chart even though the Overall Trend says either "Up" or "Down". Looked in the Objects list on each chart and there's nothing there. Using Graeme OOTB EDIT: I figured it out... in LookForTradingOpportunities() it uses the RsiBuffer whereas in the TrendDetectionModule it does not. So you can either set the RsiBuffer = 0 or fix the TrendDetectionModule code as follows: Code: Select all |
|
| Author: | MichaelM [ Wed Jan 18, 2012 3:33 am ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
Another coding error in LookForTradingOpportunities(): Code: Select all Code: Select all |
|
| Author: | MichaelM [ Wed Jan 18, 2012 3:48 am ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
Another one in GetNextRoundNumbers(): Because High[0] could be above the real next High Round Number, but the market price is actually below it: //Finds the nearest big numbers to the market price. //Saves these in RoundNumberHigh and RoundNumberLow, BigNumberHigh and BigNumberLow. //George provided this code, so thanks again George. Code: Select all Code: Select all |
|
| Author: | scalpz [ Wed Jan 18, 2012 4:52 am ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
3 real good posts MichealM keep up the good work. Have updated my altered copy of Graeme. I have named my copy millimanual as that is what I am trying to get it to do. ie. nothing - until I spot some relavent price action, generally at reverses. Then build like hell with closer trades & sl's. Only 2 trades not in the green at once. cheers scalpz |
|
| Author: | MichaelM [ Wed Jan 18, 2012 4:57 am ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
Thanks scalpz... I'll try my best EDIT: That last suggested fix I posted might have broken G - I had heaps of AUDUSD trades triggered, while it was bouncing around the 1.04 area. Still doesn't explain why it didn't do it for the other pairs that were bouncing around their round numbers. So for now to get the best results leave the code as it was, but change your TF to M1 to get the most accurate next High/Low Round Numbers. |
|
| Author: | SteveHopwood [ Wed Jan 18, 2012 10:50 am ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
Thanks, but the Rsi used in trend detection detects the trend. The filter in LookForTradingOpps uses the extra filter to avoid chop. The change you describe is unnecessary. |
|
| Author: | SteveHopwood [ Wed Jan 18, 2012 10:53 am ] |
| Post subject: | Re: Graeme: another pipEasy-inspired trend trading EA |
Fabulous. Thanks. This is one of my famous copy/paste bloops. This is fixed in post 1, guys, and is an essential fix. |
|
| All times are UTC | Page 6 of 14 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|