Forum

prevent loss positions?

Hello, m‌y EA is supposed to never put takeprofit/stopbuy/sellstop so it will close with a minus position but sometimes it still does it. Here is an example: http://imgur.com/a/xGWKq (i hope it's not too small). EA puts a buystop at 1.06285 and it bought at 1.06290. Is there a possibility to check

void onTick() vs int start()

are they the same? if I put my logic in start() it works just fine but void tick() doesn't seem to do anything. Also I realised that when the price spikes pretty quick, my EA can't really catch it in time with start() so I thought tick() might be a better use..but then I just read that they are the

Getting no error but ordersend returns -1

Hello, m‌y EA suddenly stopped placing orders so I am trying to debug and find out why not. OrderSend now seems to return -1 but when I add GetLastError() just after the OrderSend, nothing happens. What am I missing here

Editing taken image in Mt4

Hello, in MT4 there is a possibility to take a screenshot of the current chart. Now if I want to edit this image, add my ideas to it, analyse it...can I do that in MT4? Of course I could simply use a image editing software such as photoshop but maybe MT4 has a built in one which I couldn't find yet