I have below code which compiled succussfully and created DLL ,But if i try to create new indicator with same code it is giving complilation issue. Can u help me to solve.
[XmlIgnore]
[Browsable(false)]
public Series<double> Long_Stop => ((NinjaScriptBase) this).get_Values()[0];
[XmlIgnore]
[Browsable(false)]
public Series<double> Short_Stop => ((NinjaScriptBase) this).get_Values()[1];
Error is attached
NinjaScript File | Error | Code | ||||||
ShankarSTV1.cs | Floating-point constant is outside the range of type 'double' | CS0594 | ||||||
ShankarSTV1.cs | ; expected | CS1002 | ||||||
ShankarSTV1.cs | Invalid token ')' in class, struct, or interface member declaration | CS1519 | ||||||
ShankarSTV1.cs | Method must have a return type | CS1520 | ||||||
ShankarSTV1.cs | ; expected | CS1002 | ||||||
ShankarSTV1.cs | Identifier expected | CS1001 | ||||||
ShankarSTV1.cs | Invalid token '0' in class, struct, or interface member declaration | CS1519 | ||||||
ShankarSTV1.cs | ; expected | CS1002 | ||||||
ShankarSTV1.cs | Invalid token ')' in class, struct, or interface member declaration | CS1519 | ||||||
ShankarSTV1.cs | Method must have a return type | CS1520 | ||||||
ShankarSTV1.cs | ; expected | CS1002 | ||||||
ShankarSTV1.cs | Identifier expected | CS1001 | ||||||
ShankarSTV1.cs | Invalid token '1' in class, struct, or interface member declaration | CS1519 |
Comment