(Sigh) This bothers me a bit because I thought since I have methods I have objects. That doesn’t seem to be the case…
Anyway I’m going to change my code from flow chart to more OOP. I need the flexibility of being able to add new things as they come up. Also, being able to call objects as opposed to having multiple variables that do the same thing will serve me well.
Anyway, I was looking for confirmation, in my indicators code I was going to create different classes for the objects I have and go from there. I quickly created a blank class and it compiled without any issues.
Are people here with larger programs doing that?
The indicator itself obviously will always be the main class (public class MyClass: Indicator) with OnBarUpdate being where the action is. But if we can create methods anywhere we can do the same with classes and then create objects from them?
Thx
Irvin
https://github.com/sempf/CSharpForDummies
Comment