I used this structure to calculate the net profit of closed trades during the day. This works fine with demo accounts but on real accounts, the value becomes zero despite there are closed trades. Can someone tell me why?

I used this structure to calculate the net profit of closed trades during the day. This works fine with demo accounts but on real accounts, the value becomes zero despite there are closed trades. Can someone tell me why?

Can someone help me in converting this custom block to MT5?
https://fxdreema.com/shared/fSVRTgm1c
Hi, I am looking for someone with MQL coding knowledge who can create some custom blocks on fxdreema for me. Are there freelancers here?
Are there any coders here for fxdreema projects who can undertake custom block creation on fxdreema? It would be great if there is a freelancer section in this forum. I need some custom blocks created and I am not a coder. If there is any MQL4 programmer who can offer this kind of service, please contact me.