[Range(4, 50), NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name = "ADX threshold", GroupName = "NinjaScriptStrategyParameters", Order =6)]
public int adxthresh
{ get; set; }
if ( adxlongterm < adxthresh ) entertrades=false;
However, when I changed adxthresh to double using the code:
public double adxthresh

Comment