Forum: EasyLanguage Programming
June 5th, 2021, 06:50 AM
|
Replies: 2
Views: 2,947
|
Forum: EasyLanguage Programming
June 4th, 2021, 08:54 AM
|
Replies: 2
Views: 2,947
Check last trade PL
Hi
Is it possible to check if the last trade was a winner or loser?
Is there any code for this?
E.g. if PrevTradePL < 0 then BuyCtx = 1
else BuyCtx = 2
Thank you
|