Hello,
When setComputeOnClose(), on daily chart, the last bar index is 0 while on intraday chart, the last bar index is -1. Does it mean in EFS, on daily chart, it would process the last daily bar without waiting it being finished?
- Clearpicks
function preMain()
{
setPriceStudy(true);
setStudyTitle("TestDailyComputeOnClose");
setComputeOnClose();
}
function main()
{
debugPrintln(getCurrentBarIndex());
}
When setComputeOnClose(), on daily chart, the last bar index is 0 while on intraday chart, the last bar index is -1. Does it mean in EFS, on daily chart, it would process the last daily bar without waiting it being finished?
- Clearpicks
function preMain()
{
setPriceStudy(true);
setStudyTitle("TestDailyComputeOnClose");
setComputeOnClose();
}
function main()
{
debugPrintln(getCurrentBarIndex());
}
Comment