last closed trade status

 

hi all,


what codes can help me find out if my last closed trade is win or lose


thanks

[Deleted]  

use iteration loop

look in history pool

take notice of 'your' order

'your' = order with magic number you use when OrderSend()

IF looking in history pool AND OrderSelect() 'each' order

THEN use OrderMagicNumber() AND IF equal 'your' magic number THEN OrderProfit() will give u wat want

.

look editor help

goto "Trading functions" and c wat u can do ;)

.

maybe above ideas 4 u

Best

 
anyone can provide any sample codes?