I have applied setComputeOnClose(true) to the _BlauDS_Stoch studies (found in the Library Function folder) and am not getting correct data on the chart.
Additionally, the chart does not update after each bar close , and needs constant refreshing to show correct bar data.
The chart on the right is with compute on close applied and the one on the left is without. My charts are set to compute tick by tick.
Does setting the compute on bar close not work with these indicators??
I also tried using getValue(-1) in the return to accomplish the same thing, but am not sure if the correct data is being shown by this method.
As you can see from the Data Box, a RSI indicator shows correct data, when one is set to computeonclose, and the other not. The RSI plots correctly also without having to refresh charts.
Any help on this matter would be appreciated.Thanks.
angelo
Additionally, the chart does not update after each bar close , and needs constant refreshing to show correct bar data.
The chart on the right is with compute on close applied and the one on the left is without. My charts are set to compute tick by tick.
Does setting the compute on bar close not work with these indicators??
I also tried using getValue(-1) in the return to accomplish the same thing, but am not sure if the correct data is being shown by this method.
As you can see from the Data Box, a RSI indicator shows correct data, when one is set to computeonclose, and the other not. The RSI plots correctly also without having to refresh charts.
Any help on this matter would be appreciated.Thanks.
angelo
Comment