CA
    
        
            Sum of profit/loss of bot and display in bot
            
                 21 May 2021, 10:13
            
                    
Hello,
how can I sum up the profit/loss in a bot over several trades (this I know how to do) and display the result in the chart window of the bot (or anywhere useful)?
Ideal would be an example :-)
Best wishes,
Mia

firemyst
22 May 2021, 10:15
Use either the Chart.DrawText method or Chart.DrawStaticText method depending on where/how you want to display the text on the chart.
@firemyst