I'm building an indicator and I also like to use this indicator inside a strategy.
Now I get all the values exported. However the order of the variables in the construtor changes every time I add a new variable??
Example:
1st version
double myValue = JWR_Ind(int b1, int b2, int b3).PubValue[0]
Now if I ad another variable say bool a. This variable is automatically added to the front in the function signature like this:
double myValue = JWR_Ind(bool a,int b1, int b2, int b3).PubValue[0]
I would like it to be added at the end. How do I do that?
So that the method would look like:
double myValue = JWR_Ind(int b1, int b2, int b3, bool a).PubValue[0]
These functions are automaticcally created by Ninja in the Section:
#region NinjaScript generated code. Neither change nor remove.
What is the best practice to fix my function signature?
Wessel
Comment