Find number of long trades in strategy

Viewed 69

I was trying to access the number of long and short trades taken in a strategy separately but I could not find any function for this. We can find wintrades and losstrades by strategy.wintrades and strategy.losstrades. Is there a similar function for counting longwintrades and shortwintrades?

Tradingview does have this data separated for longs and shorts as it is shown in the performance summary tab.

1 Answers
Related