What kind of help you need
qjol:
What kind of help you need
Some help to make it trading. It's using TrendLord indicator and there are no compiler errors so i dont know whats wrong now.
OrderSelect(currentOrderTicket, SELECT_BY_TICKET, MODE_TRADES); if (OrderCloseTime() != 0) { currentOrderTicket = -1; }
If OrderSelect succeeds the order is open and OrderCloseTime is always zero.
If OrderSelect failed the order is closed and OrderCloseTime is invalid.
for(int cnt=0; cnt < total; cnt++) { OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); // Close all Buy or all Sell orders for current symbol if((OrderType() == orderType) && // check for opened position (OrderSymbol() == Symbol())) // check for symbolAlways test OrderSelect. You must count down when closing (multiple pairs, multiple orders, multiple EAs)
for(int cnt=OrdersTotal()-1; cnt >= 0; cnt--) if( OrderSelect(cnt, SELECT_BY_POS) && OrderSymbol() == Symbol() && OrderType() == orderType) {...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi. I'm from the forex-tsd forum and I am trying to make a scalping EA work, but i need some help.
I cant make it trading, could someone help me please? See Scalper_Code.txt.