Hi,
I want to write a simple console application in VISUAL STUDIO that basically runs a code that is very much like a typical strategy code. (i.e. a code that basically does what a typical code-based strategy does: it captures Bars data, then performs certain calculations, and, finally, loops over the bar++ and generates Buy or Sells as a result).
I am not that competent about the .NET environment, and basically I simply could not figure out the way I can make the WealthScript methods and properties usable and callable from my Console Application.
I get the following error:
"Cannot create an instance of the abstract class or interface Wealthlab.Wealthscript"
My question is: how can I create an instance of WealthScript? I know that this question is about the very fundamentals of c# and confirms that I simply dont master the very logic of object programming. Nevertheless, the little tweak you provide now might help me learn and proceed further.
Thanks in advance for your help.
Aykut Saribiyik
I attach here a simplistic version of my code, and I think things will be much easier once I manage to create an instance of WealthScript.
CODE:
Please log in to see this code.