| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Nanningbob 10.2 auto-trading EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=552 |
Page 18 of 54 |
| Author: | SteveHopwood [ Tue May 22, 2012 8:53 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Oops. We are up to version 1n now. Nice one again, Philippe. Thanks. |
|
| Author: | quanttraderjoe [ Tue May 22, 2012 8:56 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
thanks Steve, and also Nanningbob the man himself, n all the gurus involved, i think this is a superb bot for trend trades n i like the fact that it is rarely caught out in reversals since BE kicks in early enough not to mention the numerous safeguards that hopefully keep our trades inline with the whales. |
|
| Author: | spotdespot [ Tue May 22, 2012 10:13 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
I seem unable to edit this latest version for some reason? Is there an obvious setting I am missing. I can load it in the MetaEditor but cannot make any changes as I usually do with the default settings......am I about to receive a dummy award?? |
|
| Author: | SteveHopwood [ Tue May 22, 2012 10:42 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
You have to save it first, then reload it from within the platform. |
|
| Author: | spotdespot [ Tue May 22, 2012 10:47 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
EDIT: Actually it turns out I am a dummy after all - who knew. For some reason the EA saved with "Read Only" attributes - now that would have been a good place to start looking when I couldn't edit it....doh. |
|
| Author: | SteveHopwood [ Tue May 22, 2012 11:37 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Don't you just love it when something simple takes an hour and a half? When I download an mq4 file into the editor, it always arrives as read-only. It has never saved as read-only before. Aint the Empty4 and Windows combo fun? Hey ho. |
|
| Author: | alex_forex [ Tue May 22, 2012 3:52 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Fresh demo launched with V1N as you can see in my signature. Cheers Alex |
|
| Author: | phil_trade [ Tue May 22, 2012 5:49 pm ] |
| Post subject: | TradeWeeklyPivotCross |
Hi Steve You Described in post 1 the TradeWeeklyPivotCross - Trading conditions are: - either both Slopes must be ranging or any part of the D1 candle must be trading within the moving averages. and the code is Code: Select all This code line are not executed if (!NowRanging) { double Hma = GetHighestMovingAverage(PERIOD_D1); double Lma = GetLowestMovingAverage(PERIOD_D1); }//if (!NowRanging) -> Hma and Lma not declared and suppose = 0 ?? -> iLow(NULL, PERIOD_D1, 0) > Hma always true so if D1Slope and LtfSlope ranging, it's impossible to have WPC range Trade I suggest -> Always declare Variable at top of Function/Procedure and/or move code like this Code: Select all Am I right ? Philippe |
|
| Author: | phil_trade [ Tue May 22, 2012 7:22 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Steve I had from time to time error 130 on modifyOrder for SL and TP like for BUY EURCHF 22/05/2012 22H13 GMT WPCrange trade on SlopeRanging because SL and TP too near from Bid. Bid 1.20117 and R1 1.2011 R2 1.2013 S1 1.2003 S2 1.2001 So the trade was passed without SL and TP ! Some Broker and some pairs have very wide STOPLEVEL (40 pips minimum for EURCHF) so I suggest to modify code like below. This solve for EURCHF with a trade with SL at 1.20055 and TP 1.20157 but may be you will prefer not to trade when Bid too near calculated SL and TP. Philippe Code: Select all |
|
| Author: | SteveHopwood [ Tue May 22, 2012 8:37 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Or people can use HiddenPips to have their stop loss pretty much where they want. Still, better to have correct than incorrect code and I am not one to turn down free code, so V 1o in post 1 has this mod. Thanks again. |
|
| All times are UTC | Page 18 of 54 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|