Somebody has a ready solution for the preset / save robot's settings to a file?

Created at 08 Nov 2013, 12:22
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!
AN

anders

Joined 08.11.2013

Somebody has a ready solution for the preset / save robot's settings to a file?
08 Nov 2013, 12:22


Somebody has a ready solution for the preset/save robot's settings to a file?


@anders
Replies

hichem
08 Nov 2013, 12:51

RE:

You can Serialize/Deserialize the parameters of your robot in a file.

 

anders said:

Somebody has a ready solution for the preset/save robot's settings to a file?

 


@hichem

anders
08 Nov 2013, 13:27

RE: RE:

hichem said:

You can Serialize/Deserialize the parameters of your robot in a file.

 

anders said:

Somebody has a ready solution for the preset/save robot's settings to a file?

 

I made the save / restore settings to a file in the events onstop / onstart, everything is fine saving. But when set from file in event onstart, parameters set in new values, but not displayed in the panel robot. How to update the parameters of the robot in left panel from the code?


@anders

hichem
08 Nov 2013, 15:23

RE: RE: RE:

I don't think updating the displayed values of parameters in left panel is possible.

anders said:

hichem said:

You can Serialize/Deserialize the parameters of your robot in a file.

 

anders said:

Somebody has a ready solution for the preset/save robot's settings to a file?

 

I made the save / restore settings to a file in the events onstop / onstart, everything is fine saving. But when set from file in event onstart, parameters set in new values, but not displayed in the panel robot. How to update the parameters of the robot in left panel from the code?

 


@hichem

jhtrader
19 Nov 2013, 05:00

Can you please share...

I am interested if you can show how you modified the events to save the settings to a file..

Thanks in advance..