有人能告诉我如何修复重新喷漆吗?关于Pine编辑器中的传统视图Lookahead_off是否完全修复重绘?或者还有其他方法吗?我试过小的时间框架,它仍然会重新打印,但在更高的时间框架上,它比在更低的上更频繁地重新打印
请先阅读这篇文章,了解重新喷漆的原因。
然后您可以使用PineCooders提供的以下功能:
// Function to securely and simply call `security()` so that it never repaints and never looks ahead.
f_secureSecurity(_symbol, _res, _src) => security(_symbol, _res, _src[1], lookahead = barmerge.lookahead_on)