AlertaScript / दस्तावेज़
निष्पादन मॉडल
अधूरी कैंडल को समझें।
यह कैसे काम करता है
ऐतिहासिक OHLCV पूरा है, वर्तमान कैंडल बदलती है। var आरंभ की गई स्थिति को कैंडल के बीच रखता है।
व्यवहार में
पुष्ट बंद चाहिए तो barstate.isconfirmed लें। प्रतीक या इनपुट बदलने से दोबारा गणना हो सकती है; मेमोरी स्थायी भंडारण नहीं।
कोड उदाहरण
AlertaScript
indicator("Confirmed close", overlay=true)value = barstate.isconfirmed ? close : naplot(value, "Confirmed close", style=plot.style_circles)