I continued this from a previous thread
which I dont have an answer to as yet.
I have 2 indicators in my chart. Indy1 does some plots and price analysis and creates some dataseries (actually an array of floatseries). I want to access those dataseries from Indy2. I have checked the notes and suggestions in the previous thread, and there is still something I don't understand.
Indy1 has a LOT of parameters (about 150).
From what I gather in the methods mentioned in that thread, and the examples shown, Indy2 needs to Add() or call Indy1. Now thats fine if, as in the examples, Indy1 is something like SMA and all you have to do is call SMA(15) because SMA only has 1 parameter. In my own example I would have to call Indy1(param1, param2, param3.... param150). Thats a nightmare to code, and surely inefficient if for every call (on every price tick) there are 150 parameters pushed and popped from the stack.
Is there an easier way to access the dataseries of Indy1 from Indy2? I have coded the public get/set using the suggested method for exposing dataseries in Indy1, but what exactly do I have to do in Indy2 to access these dataseries?
Thanks,
Will.
Comment