How to Detect Order was Closed by stop loss??

 

hello, im just walking my firsts steps through programming in MQL4 and I have some questions that someone could answer.

Does anyone know how to detect if a position its closed when it reaches the StopLoss limit??

thanks in advance

 

A

Asked and answered :)

See 'Determining when Stop Loss is hit'

...

Good Luck

-BB-

 

hi BB,

thnx for your answer, i will test it

cheers

A