| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| MultiBob, a multi symbol NB10.2(a) autotrader https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=827 |
Page 17 of 53 |
| Author: | gaheitman [ Wed Sep 26, 2012 1:40 am ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
I think I found the issue. The procedures calculateTakeProfit() and calculateStopLoss() are being called before the order is sent, but are accessing OrderMagicNumber() to determine the magic number. That value will either be undefined or will match the previous entered trade. Probably not what we want... This causes the code to sometimes assign an incorrect take profit level because it thinks it's a different kind of trade. That profit level is on the wrong side of price, making the test I referenced earlier change the take profit to price (unless you have a large stop limit). George |
|
| Author: | Thunder123 [ Wed Sep 26, 2012 2:58 am ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
I had open close problem on AUDCHF. See attached screenshots. |
|
| Author: | fxarun [ Wed Sep 26, 2012 6:31 am ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
Thanks George. Spot on. Instead of using OrderMagicNumber(), I am using tradeorigin to differentiate trades and calculate stoploss and takeprofit accordingly.And I think Its working. Thanks Arun |
|
| Author: | Baluda [ Wed Sep 26, 2012 9:07 am ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
New version MultiBob v1.1.4 in post 1. Changes:
1. Users can now greatly influence the trading hours of the EA. The input string 'tradingHours' takes a comma delimited string of start and stop times for trading. Prefix start times with a '+' sign and stop times with a '-' sign. Use 24H format and a decimal point separator between the hours and minutes. Alternate between start and stop times. Some examples:
2. MultiBob now uses graphic symbols where possible. User inputs can disable this and set colors for those symbols. 3. Grid line separators are added for better readability. The 'gridLineCount' holds the number of lines between the separator lines. 0 disables the grid lines. Kicked minor version number. Enjoy! Paul |
|
| Author: | Eamonn [ Wed Sep 26, 2012 9:20 am ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
Thanks Paul will give it a Whirl !! |
|
| Author: | aworex [ Wed Sep 26, 2012 10:35 am ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
Thanks for Paul, been testing it since monday with on all the latest versions on Alpari & FXCM no issues However, is it possible to set a maximum number of opened trades such as a basket limit to avoid margin issues. |
|
| Author: | spotdespot [ Wed Sep 26, 2012 10:48 am ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
There already is one. Use the ForexKiwi settings - it will not open trades when margin is below the specified level. |
|
| Author: | aworex [ Wed Sep 26, 2012 10:58 am ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
Thanks |
|
| Author: | Baluda [ Wed Sep 26, 2012 12:00 pm ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
New version MultiBob v1.1.5 in post 1. Changes:
Pick up those pips! Paul |
|
| Author: | garyfritz [ Wed Sep 26, 2012 1:12 pm ] |
| Post subject: | Re: MultiBob, a multi symbol NB10.2(a) autotrader |
Still running v.1.0.2 OOTB, I got some odd errors this morning: a whole series of "Not enough money" errors. According to the alert box, this has been going on for hours. What in the world, I thought, did it blow up a $42k demo account?? No, it's down about $7k but there's still lots of money there. Current margin use is only $15k (with 4 open trades), free margin is $20k. I can only see the alerts for the last hour or two, but they're ALL for GBPAUD. Also, I thought it was my indi that was getting the "unknown subwindow number -1 for ObjectCreate function" errors in the Experts tab, but I removed that indi last night and the errors are still coming. I don't know how to tell what's causing them. I'm not 100% sure this setup didn't get them before I added MultiBob. (I have about 10 charts open with NB indicators on them -- DWMPivots, NT TMATrue SlopeHisto MTF, iExposure, Tickets, SlopeValues, NB 10.2_Dashboard, etc.) Guess I'd better update to v1.1.5 ... |
|
| All times are UTC | Page 17 of 53 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|