0

I am trying understand the expression library NCalc.

http://ncalc.codeplex.com

If I have a script as below,

SET A = CLOSE - OPEN;
SET B = A>0.5 AND CLOSE > HIGH 
If(HIGH > 5, ROC(CLOSE), B)

CLOSE is a List of double, OPEN is a List of double, HIGH is a List of double

AND ROC is a custom function which takes any List of double as input parameter and returns a list as output.

Can someone advice me if I can use NCalc library to parse this script? I couldn't find any documentation at Codeplex website.

Is there any where I could obtain the help file or documentation for NCalc?

Thanks a million.

Daniel Mann
  • 57,011
  • 13
  • 100
  • 120
balan
  • 179
  • 1
  • 5
  • 11
  • The five pages linked under 'For documentation' at that site appear to cover everything you want? – AakashM Apr 17 '12 at 07:58

1 Answers1

1

yes you can. first two will be very straightforward for third you will just have to create your custom IF and ROC function

Brijesh Mishra
  • 2,738
  • 1
  • 21
  • 36