count open trades.
-
Hello, I have used a trade cube to be able to count open trades. But it's not working.
Can someone correct the error for me?
thanks

In the photo, you can see that I have an open order, and in the comment, it does not appear.
"LONG = 0" should be 1,
"lot buy = 0" should be 0.01 (the sum of lots of all buy)
profit buy = 0, it should be the sum of all profits from buy operations.
Only profit is good for me, because it is not taken from the trade cube, this comment was configured from account / profit.thanks
-
@cesardefez Try this instead:

-
ok thanks it works
-
@cesardefez You're welcome.