Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi guys,
I hope you doing well, I want write code that show Max & Min profit value as comment on chart, but I'm confused.
for example profit grows up from $0 to $12 and fall in to $-7 and grows up again to $5.
in this case Max Profit is $12 and Min Profit is $-7, that I want show in chart comment.
appreciated if anyone can help me, and sorry for poor language.