run some code after closing all trades

Posted By: gamadeus

run some code after closing all trades - 05/31/19 17:51

I would like to run some code (essentially deleting trd and other status files) automatically after I stop trade mode and close all open trades.

is there any function or flag I can use that is triggered when I click Yes on that close trade prompt?
Posted By: Petra

Re: run some code after closing all trades - 06/01/19 06:13

A TMF is triggered when trades are closed. Maybe the evaluate function is also triggered at the end.
Posted By: gamadeus

Re: run some code after closing all trades - 06/01/19 11:44

that is a good idea and worth a try, but for this script I would like to work without TMFs if it can be helped
© 2024 lite-C Forums