EA taking a trade I don't uderstand
mrchuckw:
Can someone help me understand why my ea took the following trade? Did I miss something? I have looked at this every way I can... going cross eyed. the Stoch is going up from the previous period. It still took the trade.
I don't know how to include the screen shot or I would...
Can someone help me understand why my ea took the following trade? Did I miss something? I have looked at this every way I can... going cross eyed. the Stoch is going up from the previous period. It still took the trade.
I don't know how to include the screen shot or I would...
- Nothing obvious, can't tell about stoch since no screen shot.

int total_trades=OrdersTotal(); if(total_trades > 0) return;
This makes the EA incompatable with every other including itself on other charts and manual trading. Use a magic number in the orderSend andint total_trades = 0; for(iPos = OrdersTotal()-1; iPos >= 0 ; iPos--) if ( OrderSelect(iPos, SELECT_BY_POS) // Only my orders w/ && OrderMagicNumber() == magic.number // my magic number && OrderSymbol() == Symbol() // and my pair. ){ total_trades++; } if (total_trades ...
int ticket2=OrderSend(Symbol(),OP_BUY ...
Always test return codes. Change to 'int ticket=' and delete the int from the sell's 'int ticket='
I get an error when I try to use the insert image.
I pasted a screen shot into a word doc. and tried to upload that... no luck either.
I'm trying to just attach that file. let me know if you get the screen shot that way. I don't see it.
y word use mspaint save as a jpg or gif

Can someone help me understand why my ea took the following trade?
Sell on July 1 @ 17:17 for 1.44657
My EA is telling it NOT to sell if the Stoch is going up.
Did I miss something? I have looked at this every way I can... going cross eyed.
This is on the 4 hour chart. I don't know how to include the screen shot or I would...
But suffice it to say, the Stoch is going up from the previous period. It still took the trade.