- ago
About this strategy:
https://youtu.be/Jaxzh218vF0?si=qfjLGyHao-VRdEzH

I tried this in build 102 and ScaleInd returned NaN. Could this be a problem with the build or is it probably just my computer?
0
125
7 Replies

Reply

Bookmark

Sort
Cone8
 ( 6.17% )
- ago
#1
If you don't have data for the symbol, you'll get NaN (Not a Number).
Check the symbol you're using in ScaleInd in a chart. Does it return data?
0
- ago
#2
Interesting things happening here...

I tested in 2 situations.

Only 1 symbol:





And in DataSet:






Strange that it appears that I have no data for symbol T in DataSet Backtest, but when I do only 1 symbol backtest, it shows more data.
0
- ago
#3
Data Manager data:

0
Cone8
 ( 6.17% )
- ago
#4
Let's assume you programmed the strategy like Volker. ScaleInd was applied to $SPX, so I was asking you to produce a chart for $SPX.

Instead, maybe you should show us your strategy first.


0
- ago
#5


Although I haven't shown that the chart produced on 1 stock outside the backtest is working, it makes no difference. And yes, in chart, it's working.

Above, I showed that I ran the same strategy on 1 symbol and on the dataset.

I didn't change anything about the reference symbol for the block (which I used Spy). It should return values in both cases, since the symbol is the same
0
- ago
#6
And yes, I saw that I put 1 bar ago in the wrong block.

But even changing that, the result was the same
0
- ago
#7
Another strange thing that I just saw. The lack of data only happened in T symbol.

Could be some cache problem?
0

Reply

Bookmark

Sort