Please Help: Show Max & Min Profit Value on Chart as Comment

 

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.


 
I am not a coder so I can not help.
Hope - some coder will help you ..
 
Sergey Golubev:
I am not a coder so I can not help.
Hope - some coder will help you ..

dear Sergey,

Did I create new topic in wrong category?

Reason: