| 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 22 of 54 |
| Author: | spotdespot [ Thu May 24, 2012 8:23 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Thanks for your help with this Philippe. I am still getting the partial close issue - the same as highlighted above. I tried restoring the 2 lines you mentioned (each in 2 places?) but that didn't seem to do the trick. I have tried looking through the code but I am going round in circles.... The last fix for WeeklyDirection worked - thanks. |
|
| Author: | phil_trade [ Thu May 24, 2012 8:26 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Below my JumpingStopLoss routine Code: Select all |
|
| Author: | mackaozy [ Thu May 24, 2012 8:28 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
[/quote] Hmmm...It's up to steve to do that ! It's his home here but you can Cut and paste the code and compile it ![/quote] Yep I guess so |
|
| Author: | phil_trade [ Thu May 24, 2012 8:33 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Hmmm...It's up to steve to do that ! It's his home here but you can Cut and paste the code and compile it ![/quote] Yep I guess so just replace the JumpingStopLoss() routine |
|
| Author: | mackaozy [ Thu May 24, 2012 8:37 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Yep I guess so just replace the JumpingStopLoss() routine[/quote] Cheers |
|
| Author: | spotdespot [ Thu May 24, 2012 9:13 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Thanks again Philippe - all looking good now. |
|
| Author: | jjasper7 [ Thu May 24, 2012 6:16 pm ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
thank you, phil re:trend trades .... changing to ...Direction != up) return(false); instead of WeeklyDirection <= up) is subtle - i do not see the difference! is '<=' not valid in Empty4 or something? |
|
| Author: | phil_trade [ Fri May 25, 2012 5:52 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
for sure <= is valid in Empty4 but we are in routine "LookForLongTrend(int tf)" to see if Trend is Long so if you test "if (WeeklyDirection <= up) return(false);" then when WeeklyDirection is UP you return false.... it's not correct ! |
|
| Author: | spotdespot [ Fri May 25, 2012 8:33 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
WeeklyDirection is a string (text) <= doesn't work so well with text. != (not equal to) does. |
|
| Author: | alex_forex [ Sat May 26, 2012 9:17 am ] |
| Post subject: | Re: 10.2; the auto-trading EA is born. |
Hi all Some bugs on Friday with V1N (I'll update the EA on my VPS over the Week End) Broker Alpari UK Regards Alex |
|
| All times are UTC | Page 22 of 54 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|