I would like a button from an efs to aid me in backtesting that when the button is clicked, the chart scrolls itself (in zero time, it jumps) to next trade of the backtest and centers that trade on the screen. Is this possible with an efs?
My idea of how to do it would be when a new trade is triggered when main() is calculating the backtest, that triggering bar's barcount would be added to an array via getCurrentBarCount(). When the next trade or previous trade button is then clicked, the chart would jump to that offset of bar count and center it on the screen. I looked through every efs function and there appears to be no functions which manipulate the scrolling behavior of eSignal charts (as expected).
If this functionality isn't possible with efs but is possible with the eSignal API, please tell me which functions of the eSignal API would be the ones to use to do this.
Thank you
My idea of how to do it would be when a new trade is triggered when main() is calculating the backtest, that triggering bar's barcount would be added to an array via getCurrentBarCount(). When the next trade or previous trade button is then clicked, the chart would jump to that offset of bar count and center it on the screen. I looked through every efs function and there appears to be no functions which manipulate the scrolling behavior of eSignal charts (as expected).
If this functionality isn't possible with efs but is possible with the eSignal API, please tell me which functions of the eSignal API would be the ones to use to do this.
Thank you
Comment