Steve is actually using 0.07 lots for a lot of pairs with $1500 on his account. That's not $200 per pair.
Great traders asking newbies questions 31 replies
Questions for Prospective Broker Every Trader Can Ask Post your response 1 reply
Making Money and the Most Basic of All Basic Strategies 42 replies
Retail Sales? Trade Balance? What it means? Newbies ask here. Pros answer here. 9 replies
questions to ask your broker 2 replies
DislikedI managed to buy a few issues near the bottom of yesterday's plunge, and would like to hold on to them for a while (months?). Is there a way to keep them from closing if I reactivate TOB? Can I assign a comment or something?
Thanks.Ignored
DislikedHi, Steve
I can't post in your thread. I just post it here.
There is mainly two bugs in your EA the OLD Beast. Hope you could fix it.
1. IF at the beginning, there is no trade AccountMargin() will be zero, your code will be devide by zero and ea won't run.
Please change sth. as below
if (UseForexKiwi && AccountMargin() != 0)...Ignored
DislikedDid recent events tell us which hedge option is best?
Is no hedge the best option, with possible deletion of L1, etc.?
Opinions by seasoned traders are warmly received. I suspect that
the stock ATR hedge will calm the beast best, but it is a guess.
GlennIgnored
//Delete duplicate pending trades if (PendingTrades > 1) { [b][color="Red"]bool PrimaryFound;[/color][/b] for (cc = OrdersTotal() - 1; cc >= 0; cc--) { if (!OrderSelect(cc, SELECT_BY_POS) ) continue; if (OrderSymbol() == Symbol() && (OrderType() == OP_BUYSTOP || OrderType() == OP_SELLSTOP)) { if (!PrimaryFound) { PrimaryFound = true; cc--; if (!OrderSelect(cc, SELECT_BY_POS) ) continue; }//if (!PrimaryFound)
//Delete duplicate pending trades if (PendingTrades > 1) { [b][color="Green"]bool PrimaryFound=false;[/color][/b] for (cc = OrdersTotal() - 1; cc >= 0; cc--)
DislikedHi folks
Using the latest version of TOB some of us get "...waiting for the first tick".
I noticed that we can get around this by disabling the margin check...
Set UseForexKiwi = false.
Please note you may need to restart you session.
ThanksIgnored
Dislikedme too Evil
I'm using Scoobs Input at the moment
Kiwi doesn't work ( no offence intended Kiwi )Ignored
DislikedYou can post now, and are most welcome. Someone with your level of attention to detail is always welcome and valued.
On this occasion, you are wrong. bool variables declare automatically as false. All mql4 variables have default declaration values. int and double variables declare automatically as zero, for example.
Also, you will have seen that we are on top of this problem in the thread, courtesy of some seriously clever programmers, assuming you have read the latest posts.
Many thanks for this. On a different occasion, you may well have...Ignored
bool CleanUp() { bool success = true, result = true; int cc; //Delete duplicate pending trades if (PendingTrades > 1) { bool PrimaryFound=false; for (cc = OrdersTotal() - 1; cc >= 0; cc--) { if (!OrderSelect(cc, SELECT_BY_POS) ) continue; if (OrderSymbol() == Symbol() && (OrderType() == OP_BUYSTOP || OrderType() == OP_SELLSTOP)) { if (!PrimaryFound) { PrimaryFound = true; } else { if (PrimaryFound) { result = OrderDelete(OrderTicket()); Sleep(1000); if (result) { PendingTrades--; if (PendingTrades == 1) return(success); } else return(false); } } } } } else return(success); }//End bool CleanUp()
DislikedSteve,
Thank you for letting me join in the fun!
Yes, I'm rather new to MQL but have some experience with C/Java coding so it's quite simple to pick up the syntax of MQL....Ignored
Dislikedhello there everyone, i have some question about the maxopenpairsallowed, i have set it to 2. so the old beast should trade only two pairs.
TOB calculates to this waiting STOP orders, should it be possible that TOB calculate to this funkction only OPEN trades?
For example what i mean - i have 12 pairs open with TOB, from that i have 6 STOP orders activated. The market move to desired direction and from this 6 STOP orders are activated 2 open trades, which is now calculated to maxopenpairsallowed, other trading is impossible and the remaining 4...Ignored