Hi, I have a question. I trade a futures strategy everyday, I usually stop trading if the daily loss has surpassed a predetermined amount. Currently I am running backtest from time to time during the day, I want to know if it can be down by Amibroker with some coding: to backtest the current day's strategy performance say, every 5 minutes, and give me a sound alert when the cumulative loss of that day has been greater than say USD500 ?
If I can, what function in AFL should I use ? Thanks.
