PDA

View Full Version : Only one indicator instance


blarouche
08-01-2009, 08:18 AM
Hi everybody.


I know it is Sathurday but I have a question concerning creating only one instance of an indicator. Is it possible ? After reviewing the forum I couldn't find any good answers.

Here is my problem. I have created an indicator that is asking for a lot of memory and that indicator is used by many strategies. If I am not mistaken when I refer to this indicator with mutiple strategies I create many instances one with each strategy.

Is there a way to access this indicator with only one instance. Can I create this indicator ina static class ?

If so what is the process ?



Thank you very much for your help


Bernard

NinjaTrader_Bertrand
08-01-2009, 08:38 AM
blarouche, thanks for the post. NinjaTrader would add calculated indicator methods to an internal cache and access this if possible for a future call - http://www.ninjatrader-support2.com/vb/showthread.php?t=5940