hello
how to code this:
I need to extract some info from last closed trade,
and after use some info from this last trade
ex:
if last trade profit >0 'lasttradeprofit = 1'
and if last trade <=0 'lasttradeprofit = 0'
lasttradeprofit = 1 // if last trade >0
lasttradeprofit = 0 // if last trade <=0

thanks