Forum

detect the last order status

Hi All, Could anybody give me an idea about how to detect the last running transaction order status whether it is still running or has been closed (because it reach the TP or SL) ? where will i start from to reach this result ? Many thanks in advance. my apologize for my bad english. :)

ASK: Work on Strategy Tester, but not on Live

Hi all, i have a problem just with my very simple script int ticket = OrderSend(..); that i put it in OnTick() function This script works well when i run it on Strategy Tester, and that int ticket int ticket returns the ticket number when i print it (this means it works right?), but This script