There are many NT7 indicators that include a MAX or MIN statement. When converting these indicators to NT8 using the conversion tool on this forum the conversion will compile nicely. However, for some indicators, when the indicator is applied to a chart this error pops up and nothing happens.
" Value of property "Period" of NinjaScript"MAX" is 0 and not in valid range between 1 and 2147483647."
The attached converted Open Range Indicator is a simple example. There are already conditions to assure the value for "period" is not 0. The syntax for lines 137 and 140 is per documentation. Also, looking at trace and log file only the above error is repeated.
Could you please perhaps comment or see what causes this error?
Many Thanks.
Comment