Are there ways to use FunctionParameter or other functions to make setComputeOnClose(); in preMain() to turn on or off? Just like changing line size or indicator input?
Billy
The setComputeOnClose() function sets this study property during the initialization process. Once the formula has been loaded on a chart you cannot programmatically change this property through a formula parameter
Alex
Comment