Save chart with all indicators/analysis via cBot

Created at 27 Jul 2020, 07:32
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SH

shrutigp2909

Joined 08.07.2019

Save chart with all indicators/analysis via cBot
27 Jul 2020, 07:32


Hi Everyone,

Is there anyway I can save the current chart( with all indicators/analysis drawn on chart) using my cBot programmatically when some conditions are met ?

I know about ChartShot but that is a manual thing and I am looking something via cAlgo Automate API or some native c# or some other library that can help.

Please help fellow traders.

 

-S

 


@shrutigp2909
Replies

firemyst
05 Sep 2020, 15:53

Yes.

Create a class inside your cBot with all the properties/values you want to save.

Serialize it to json and save it to a text file.

Or if you want it in excel, write to a CSV file and then manually import into excel.

 


@firemyst