Hello,
I have the following strategy:@only_scripted() = true
@long() = {bearish_contrarian_any} and {bullish_catcher} and {bullish_neo} and {unix_ts} >= 1754864100000
@short() = {bullish_contrarian_any} and {bearish_catcher} and {bearish_neo} and {unix_ts} >= 1754864100000
@exit_all() = {contrarian_exits}
I would like to understand whether it is possible to test ideas that are not directly supported by LuxAlgoās backtester.
For example, I would like to test a time stop (closing a position after a fixed number of bars or a fixed amount of time). As far as I understand, this functionality is not currently available in LuxAlgo backtests.
Is there any way to implement or approximate a time stop within LuxAlgo?
If not, what would be the recommended way to test such concepts? For example, would it be possible to transfer the strategy logic to the TradingView strategy backtester (e.g., via Pine Script) and test it there?
In general, I am looking for a way to test additional hypotheses or strategy rules that are not natively supported by LuxAlgo.