![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|
Hi,
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 |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please Add a 2nd "Draw Triangle" signature | David Lean | Suggestions And Feedback | 4 | 08-31-2011 10:41 PM |
| Can't use signature | cassb | Suggestions And Feedback | 3 | 04-14-2010 02:22 PM |
| Forum signature | tamas | Suggestions And Feedback | 7 | 01-14-2010 09:18 AM |
| Please Add a 3rd "Signature" to DrawRegion | David Lean | Suggestions And Feedback | 1 | 01-09-2010 10:17 AM |
| How to define the signature of indicator constructor? | ooppie | General Programming | 5 | 04-24-2008 02:26 AM |