| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Bob and Jem and Shelley's Pivot Basket auto-trader https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=658 |
Page 9 of 28 |
| Author: | Armen [ Thu Jul 05, 2012 8:31 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
Hi Phil, mine is 0.9839 AUDCHF is in BUY mode BJSPB |
|
| Author: | harry45 [ Thu Jul 05, 2012 8:36 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
Working fine,open 2 trades -EA-sell,ACHF-buy Daily Pivot0.98376(Cowboy Go Markets-NL). Thank You |
|
| Author: | KingOfCoolville [ Thu Jul 05, 2012 8:50 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
Phil_Trade, just loaded your version of the EA up on my Alpari demo account. It is refreshing every minute. When I load Steve's version on exactly the same system/account it loads initially but does not refresh. The issues that Phil_Trade has highlighted seem to be the answer to the problem for the users that seem to have problems with the original EA not refreshing. |
|
| Author: | Armen [ Thu Jul 05, 2012 9:04 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
I am running Cowboy IBFX Empty4 built 419 on HP mini - the BJS v1B refreshes. I have 10.2 indis (not 10.2A) on my charts. |
|
| Author: | Armen [ Thu Jul 05, 2012 9:27 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
I see A/F and E/A stall at previous H1 fractal. Closed all trades manually for some +56 pips. Will wait for EUR zone Minimum Bid Rate and US ADP Non-Farm Employment Change figures. |
|
| Author: | phil_trade [ Thu Jul 05, 2012 9:31 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
mmm, I'm running Empty4 build 432...may be we have to check this please, every one who experience this freeze problem, check and post your Empty4 version |
|
| Author: | SteveHopwood [ Thu Jul 05, 2012 9:31 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
Cheers Philippe. I am not aware of GlobalVariableSet needing a double rather than an integer; indeed, I successfully send integer values to a GV all the time. I have made the change though - no particular reason not to. Version 1c is in post 1. I copy this from the edit to the post as an explanation: - EndlessLoop: you will find the profit level of a large basket of trades changes rapidly, and it is desirable to have this calculated more often than by waiting for the next tick on the chart hosting bjs. To achieve this, bjs goes into an endless loop that checks the position twice a second. It turns out that this causes an EA freeze on some machines, so EndlessLoop allows you to cancel this feature. If your EA does not read the table once a minute, then set EndlessLoop to false. This reminded me to do something about those non-stop alerts that someone mentioned at the start of the week, so I have added code that I think stops this, but am not sure that this does not kill the Alert thingy stone dead. See how it goes, but I might need to rethink this; it is far more complicated that non-coders might imagine. |
|
| Author: | phil_trade [ Thu Jul 05, 2012 9:58 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
ooppss... no start() anymore if endlessloop = false ! you need to move the line at the end of start() Code: Select all |
|
| Author: | SteveHopwood [ Thu Jul 05, 2012 10:46 am ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
Good thing one of us has a firing brain-cell. 1d in post 1. I also remembered to move that static datetime declaration out of the loop. |
|
| Author: | spotdespot [ Thu Jul 05, 2012 12:01 pm ] |
| Post subject: | Re: Bob and Jem and Shelley's Pivot Basket auto-trader |
Steve - you know my MQL coding "skills" are limited so feel free to treat with disdain Anyway - there seems to be an issue with BJS when a successful basket is hit and the EA sleeps for whatever time specified (1 minute in my case) when endlessloop = false. What then happens is that BJS opens another basket (as it should if qualified) and then instantly closes it. I "suspect" that it is because the global variables are not being deleted so BJS thinks we have hit our profit target and closes the basket: Code: Select all |
|
| All times are UTC | Page 9 of 28 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|