Is there a method, perhaps
similar to the getBarState method,
that allows an efs study to distinguish
between historic bars and live bars?
I have a study that draws input from global values that are written by other studies. It can only get those values when bars are coming in "live;" otherwise it gets null values. I would like my study to know when it is operating on historical bars or live bars. For the historical bars (i.e., the bars that populate the chart upon refresh), I'd have it do its calculations differently in a way that doesn't depend on global values.
similar to the getBarState method,
that allows an efs study to distinguish
between historic bars and live bars?
I have a study that draws input from global values that are written by other studies. It can only get those values when bars are coming in "live;" otherwise it gets null values. I would like my study to know when it is operating on historical bars or live bars. For the historical bars (i.e., the bars that populate the chart upon refresh), I'd have it do its calculations differently in a way that doesn't depend on global values.
Comment