Previously on the indicator thread i had enquired about the ordering of parameters in NT7 and was advised that is was in alphabetical order and that i could use the \t\t\t in the properties section to enable some control of appearance of parameters in indicator panel.
I have quite a few parameters for this indicator and the ordering is essential in order to call a third party library object which requires the parameters in a certain order.
When i now call this indicator from within the strategy code ..... the editor brought up the method inputs and order and for some the bid and ask order was flipped around - i have now in addition to the \t\t named the parameters to ensure an order. I needed to exit ninja and restart in order to see this and now the strategy editor reflects an order i would expect. The question is how does the strategy calling an indicator determine from the ninjascript engine the order of parameters and the naming - does it take the name from the indicator properties .... public xxtype bid_value1 .... ? all the values are for xxtype .. but i want to ensure i map the strategy inputs to the indicator called in the strategy which then calls the object. I realise i have several layers here but i was getting some inconsistent results to running the indicator in the chart (with visual markers).
I presume also the inidcator completely disregards visual and colour attributes and drawing inputs? Having now alphabeticised the parameters in the indicator the strategy editor now changes the order of the parameters - so i just want to ensure there wasnt something i was missing here. This kind of limitation (which i realise is being addressed in NT8) can introduce scope for unintended errors when calling indicators in a strategy where it happens to have a long sequence of inputs. Any confirmation on above would be appreciated thanks
Comment