Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 03:06:48 +0000



Post From: SimpleMovAvg returns 0

[2020-06-20 21:23:05]
DonMattez - Posts: 8
I tried many diffferent attemps now. A strange thing I noticed is the following:

I placed a simple moving average at the begoinning of my code, just to see the results. And as i expected, the output-subgraph of the SMA never had 0 as a value.
Then I returned to the original state of the code - and while debugging I noticed that also I never had 0 as a value.

But the I opened up the chart studies windows, and as soon as I clicked on okay, without changing anything, the 0-values returned.

I noticed this because I am displaying my study, and the output changes from the correct expected result to a the wrong ones, caused by the 0 values in the output array of the SimpleMovAvg function.

Does anyone know why it would be like that?

Thank you.

Edit: I deleted every other study to explude any interferences, still the same...
Date Time Of Last Edit: 2020-06-20 21:30:05