Open Yangshuang10010 opened 1 year ago
I also did some backtesting on 1-minute chart of FTM_USDT using 1M Candles strategy and seems like it has repainting because whenever I will refresh the page, it will add some positions on the chart which were not even available before. It uses request.security function which does the repaint thing. So it only shows lucerative results on backtesting but not on real charts.
I also did some backtesting on 1-minute chart of FTM_USDT using 1M Candles strategy and seems like it has repainting because whenever I will refresh the page, it will add some positions on the chart which were not even available before. It uses request.security function which does the repaint thing. So it only shows lucerative results on backtesting but not on real charts.
because he is using different timeframe variables which causes %90 repaint.
/request.security(symbol=syminfo.tickerid, timeframe="11", expression=avg_10m, lookahead=barmerge.lookahead_on)
download all types of premium tradingview indicators codes available on telegram - https://t.me/tradingview_premium_indicator
I conducted a test on the 1-minute chart of FTM_USDT using and added an alert. During the test, I found that the backtesting strategy involves repainting, resulting in inconsistent timing between trade lists and real-time signals. For example, at 23:20 on March 7, 2023, the chart generated a signal and triggered an alert, but a minute or two later, the trade signal disappeared, and it was not present in the backtesting list. However, the signal record still existed, leading to inconsistency between real-time and backtesting trades.