disappearing trades

 

Hello,

I working on an EA that trades for breakouts. Learning lots.

Just recently, the trades get made, show up briefly on the chart and then disappear.

Have no idea what is going on.

If you could point me in the right direction for a problem determination procedure I'd appreciate it.

Thanks,

MM

 
Michael Miller:

Hello,

I working on an EA that trades for breakouts. Learning lots.

Just recently, the trades get made, show up briefly on the chart and then disappear.

Have no idea what is going on.

If you could point me in the right direction for a problem determination procedure I'd appreciate it.

Thanks,

MM

You have some bugs in your code. Check lines 100 to 123.
 
Alain Verleyen:
You have some bugs in your code. Check lines 100 to 123.
Only the paranormal can see his problem. ^_^
 
Roberto Jacobs:
Only the paranormal can see his problem. ^_^
 

Turns out the issue was presence of internet connection. The trades would get made in the terminal software and show up on the screen but when there was no internet to consummate the deal, the trade disappeared.


Thanks for everyone's help. 


mm