Getting values from set files

Created at 07 May 2019, 13:26
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!
lec0456's avatar

lec0456

Joined 14.11.2012

Getting values from set files
07 May 2019, 13:26


are there any examples of a BOt that uses the set file to load values.  I would like to have a setting that can be modified while the Bot is still running.  So the set fiel will load the values at the start but then i would like to be able to manually change a value in the set file and have the bot check a parameter onBar so that if it has changed it uses the updated value with out having to stop.

 

Any code out there?


@lec0456