jiva34's BB Stop auto-trader
- jiva34
- Trader
- Posts: 49
- Joined: Tue Nov 15, 2011 1:26 pm
Re: jiva34's BB Stop auto-trader
curious to see how this is affected by FIFO.. for us inmates of the USA.
- Hitescape
- Posts: 2
- Joined: Thu Nov 17, 2011 1:14 am
- Location: Treasure Coast
Re: jiva34's BB Stop auto-trader
I'm using MB Traders and am getting an error 130 alert with every trade. I do have CriminallsECN set to true and none of the orders have TP or SL entries. I believe I am using jivas version with everything set to false but without version identification it is difficult to be sure. After losing over 300 pips on the M15 in 3 days last week I started on the M1 today but it is still losing. Am I the only one that is not getting profitable trades?
I don't know if I have a slitting headache or a split personality.
- jiva34
- Trader
- Posts: 49
- Joined: Tue Nov 15, 2011 1:26 pm
Re: jiva34's BB Stop auto-trader
I see what you mean... In the Empty4 tester no problem opens and closes just fine with stop 50, limit 50 jump 30, be 5 and 15Hitescape wrote:I'm using MB Traders and am getting an error 130 alert with every trade. I do have CriminallsECN set to true and none of the orders have TP or SL entries. I believe I am using jivas version with everything set to false but without version identification it is difficult to be sure. After losing over 300 pips on the M15 in 3 days last week I started on the M1 today but it is still losing. Am I the only one that is not getting profitable trades?
but live on demo invalid stop message, error 130.
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: jiva34's BB Stop auto-trader
I just dropped it on an Cowboy IBFX demo and it is taking orders correctly. I see the initial order without SL/TP, and then the modify order sets it correctly. Is the error coming after the initial order or the modify. Here is what I have in my logs for an order.
Do you want to send me your set file so I can make sure I have all the same settings?
George
Code: Select all
2011.11.21 02:34:05 '7085658': order #103914037 buy 0.02 AUDJPY at 76.593 was modified -> sl: 75.987 tp: 77.187
2011.11.21 02:34:05 '7085658': request in process
2011.11.21 02:34:05 '7085658': request was accepted by server
2011.11.21 02:34:04 '7085658': modify order #103914037 buy 0.02 AUDJPY at 76.593 sl: 0.000 tp: 0.000 -> sl: 75.987 tp: 77.187
2011.11.21 02:34:04 '7085658': order was opened : #103914037 buy 0.02 AUDJPY at 76.593 sl: 0.000 tp: 0.000
2011.11.21 02:34:04 '7085658': request in process
2011.11.21 02:34:04 '7085658': request was accepted by server
2011.11.21 02:34:04 '7085658': order buy market 0.02 AUDJPY sl: 0.000 tp: 0.000
George
jiva34 wrote:I see what you mean... In the Empty4 tester no problem opens and closes just fine with stop 50, limit 50 jump 30, be 5 and 15Hitescape wrote:I'm using MB Traders and am getting an error 130 alert with every trade. I do have CriminallsECN set to true and none of the orders have TP or SL entries. I believe I am using jivas version with everything set to false but without version identification it is difficult to be sure. After losing over 300 pips on the M15 in 3 days last week I started on the M1 today but it is still losing. Am I the only one that is not getting profitable trades?
but live on demo invalid stop message, error 130.
-
prakash.jj
- Posts: 5
- Joined: Wed Nov 16, 2011 1:32 am
Re: jiva34's BB Stop auto-trader
Hi,
I am experiencing a different issue, where I am getting trade context busy/time out errors using this EA.
I am trading this demo and have enabled ECN as well. Is there a way to increase the retry may be with few sec gap to make sure, it takes the trades.
Thanks,
Prakash
I am experiencing a different issue, where I am getting trade context busy/time out errors using this EA.
I am trading this demo and have enabled ECN as well. Is there a way to increase the retry may be with few sec gap to make sure, it takes the trades.
Thanks,
Prakash
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: jiva34's BB Stop auto-trader
Are you getting orders without SL/TP, or are they not getting placed at all?
prakash.jj wrote:Hi,
I am experiencing a different issue, where I am getting trade context busy/time out errors using this EA.
I am trading this demo and have enabled ECN as well. Is there a way to increase the retry may be with few sec gap to make sure, it takes the trades.
Thanks,
Prakash
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: jiva34's BB Stop auto-trader
Looking at the SendSingleTrade() code, it doesn't seem to be retrying to send on a failure. Near the bottom of the procedure is the error check:
The "return(false)" statement at the end of the loop effectively makes this a one and done call. Comment that out, and you should get up to 10 tries to send an order.
The retry exit code is just above this test, and it should probably be moved to after the test so that if we should happen to fail the max number of times, we'll still see the last error message. Which will no doubt be very similar to the previous messages :>.
If that doesn't help, let me know and I'll take another look.
George
Code: Select all
//Error trapping for both
if (ticket < 0)
{
string stype;
if (type == OP_BUY) stype = "OP_BUY";
if (type == OP_SELL) stype = "OP_SELL";
if (type == OP_BUYLIMIT) stype = "OP_BUYLIMIT";
if (type == OP_SELLLIMIT) stype = "OP_SELLLIMIT";
if (type == OP_BUYSTOP) stype = "OP_BUYSTOP";
if (type == OP_SELLSTOP) stype = "OP_SELLSTOP";
int err=GetLastError();
Alert(Symbol(), " ", WindowExpertName(), " ", stype," order send failed with error(",err,"): ",ErrorDescription(err));
Print(Symbol(), " ", WindowExpertName(), " ", stype," order send failed with error(",err,"): ",ErrorDescription(err));
return(false); //<-----
}//if (ticket < 0)
The retry exit code is just above this test, and it should probably be moved to after the test so that if we should happen to fail the max number of times, we'll still see the last error message. Which will no doubt be very similar to the previous messages :>.
If that doesn't help, let me know and I'll take another look.
George
gaheitman wrote:Are you getting orders without SL/TP, or are they not getting placed at all?
prakash.jj wrote:Hi,
I am experiencing a different issue, where I am getting trade context busy/time out errors using this EA.
I am trading this demo and have enabled ECN as well. Is there a way to increase the retry may be with few sec gap to make sure, it takes the trades.
Thanks,
Prakash
- bobasker
- Trader
- Posts: 60
- Joined: Tue Nov 15, 2011 10:12 pm
- Location: I come from the land Downunder...
-
Xfinity
- Trader
- Posts: 19
- Joined: Thu Nov 17, 2011 4:43 pm
- Location: Sweden
Re: jiva34's BB Stop auto-trader
Nice trades Bobasker. Love your setup/template. Care to share?
- bobasker
- Trader
- Posts: 60
- Joined: Tue Nov 15, 2011 10:12 pm
- Location: I come from the land Downunder...
Re: jiva34's BB Stop auto-trader
Sure, no problemXfinity wrote:Nice trades Bobasker. Love your setup/template. Care to share?
You do not have the required permissions to view the files attached to this post.