Hi Jason,
I have attached a study that calculates ATR. It was working fine, until suddenly the FunctionParameters didn't get initialized.
At first, a solution was to move all Global Variables into main() and the FunctionParameters were seen again.
I have done that in this attachment, and even that isn't working anymore.???
This study worked. The calculations are correct.
Load it into a chart and you will see no ATR in the study pane.
Right click, select Edit Studies, and you will see there are no Function Parameters available for you to edit...that's why there is no ATR line plotted.
I'm sending it "as is" for now because I have to leave and I wanted to get this in front of you. If necessary, I may be able to duplicate the problem on a very simple study, but since I don't know why it is happening, I don't know that I can duplicate it...NOTE THAT THIS HAPPENS FREQUENTLY WITH VARIOUS STUDIES AS I AM PROGRAMMING.
Thanks, Bob
I have attached a study that calculates ATR. It was working fine, until suddenly the FunctionParameters didn't get initialized.
At first, a solution was to move all Global Variables into main() and the FunctionParameters were seen again.
I have done that in this attachment, and even that isn't working anymore.???
This study worked. The calculations are correct.
Load it into a chart and you will see no ATR in the study pane.
Right click, select Edit Studies, and you will see there are no Function Parameters available for you to edit...that's why there is no ATR line plotted.
I'm sending it "as is" for now because I have to leave and I wanted to get this in front of you. If necessary, I may be able to duplicate the problem on a very simple study, but since I don't know why it is happening, I don't know that I can duplicate it...NOTE THAT THIS HAPPENS FREQUENTLY WITH VARIOUS STUDIES AS I AM PROGRAMMING.
Thanks, Bob
Comment