The following is example of indicator in strategy where it is proper syntax
_ADXVMA_v01_5_2(5, true).Signal[1] == 1
The second time period also is using the same indicator but we need to index into second time period
_ADXVMA_v01_5_2(5, true).Signal[1][1] == 1
But I get compile error CS1995 and CS0021 error
I have tried BarsArray _ADXVMA_v01_5_2(5, true).Signal[BarsArray[1][1]] == 1
I have tried Closes[1][0]
_ADXVMA_v01_5_2(5, true).Signal[Closes[1][1] == 1
Any ideas?
Comment