| 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 19 of 54 |
| Author: | SteveHopwood [ Tue May 22, 2012 8:48 pm ] |
| Post subject: | Re: TradeWeeklyPivotCross |
You are turning out to be a real star here, Philippe. Thanks again. I have slightly re-ordered the code, and I think the extra comments explain this ok: Code: Select all Version 1p is in post 1 with this change. |
|
| Author: | phil_trade [ Tue May 22, 2012 9:03 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
a star...hmmm i'm just reading your code I have try manually moving SL/TP line without any result and can't see why in code AdjustStopLoss() ? Is it OK with your Empty4 ? |
|
| Author: | phil_trade [ Tue May 22, 2012 9:07 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Steve, I just see that you force takeprofit =0 in CalculateTakeProfit() for D1SlopeTrade. so we need to adjust code to avoid systematic TP at StopLevel * point : Code: Select all |
|
| Author: | SteveHopwood [ Tue May 22, 2012 9:21 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Oops. I only meant to remove it temporarily. V 1q in post 1 with Stealth replaced. If you do not use Stealth,you do not need the update. |
|
| Author: | SteveHopwood [ Tue May 22, 2012 9:22 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Don't know. Haven't tried it yet. |
|
| Author: | SteveHopwood [ Tue May 22, 2012 9:33 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
I had a look at the code and saw logic bloops in both Adjust functions. V1r in post 1. |
|
| Author: | SteveHopwood [ Tue May 22, 2012 10:26 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Reading this and the following post http://www.forexfactory.com/showthread. ... ost5690933, I see my wpc logic is not quite correct. I will make the requisite changes tomorrow. |
|
| Author: | phil_trade [ Wed May 23, 2012 5:40 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Steve, I just see that you force takeprofit =0 in CalculateTakeProfit() for D1SlopeTrade. so we need to adjust code to avoid systematic TP at StopLevel * point : Code: Select all |
|
| Author: | phil_trade [ Wed May 23, 2012 5:41 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Yes... it's ok now ! Very good tools ! re ooops. It's OK when you manually move the line but after a jumping SL, SL is moved back to the line ! I suggest to move line within the JumpingSL like this : Code: Select all any other idea ? |
|
| Author: | SteveHopwood [ Wed May 23, 2012 7:32 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Thanks again Philippe. The jumping stop thingy was a bit of LUC kicking in. The function has evolved over time and I had some incorrect logic. Version 1s is in post 1. As well as the fixes to the two points Phil raised, I have adjusted the WPC Range trading code in light of Bob's post at http://www.forexfactory.com/showthread. ... ost5690923 - Trading conditions are:
|
|
| All times are UTC | Page 19 of 54 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|