| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Pitbul: Brian's strategy automated https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=328 |
Page 19 of 19 |
| Author: | falsedave [ Mon Oct 01, 2012 2:54 pm ] |
| Post subject: | Re: Pitbul: Brian's strategy automated |
I think I have fixed the problem with not trading on TF less than 1H. I noted out a while loop in the int Start() routine Code: Select all Due to my non existant coding skills it might be a good idea if Steve or someone could look at it and just confirm that I have not completely cocked up his code by doing this. |
|
| Author: | falsedave [ Sun Oct 07, 2012 2:15 pm ] |
| Post subject: | Re: Pitbul: Brian's strategy automated |
Just like to confirm that the loop is there for a good reason. With the loop noted out it will only calculate the levels when a tick is received on that chart. Whereas with the loop left in it runs on a constant loop recalculating the levels as soon as a tick is received on any of the trading pairs. So whilst it does work it is not ideal its is more of a bodge than a fix. |
|
| All times are UTC | Page 19 of 19 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|