[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

storing values across indicator input changes?



PureBytes Links

Trading Reference Links

Hi,

One of the guys has this really complicated method of trying to see what
a symbol is doing. Any change to the inputs requires the symbol be fully
recalculated. I'd like to save the most expensive parts of the calculations
somewhere so the indicator can ask if that value for that bar exists or
should the indicator re-calculate the value? Is there a way to do this?
The inputs that are changing are only for the plots, thresholds and such,
not inputs to the equation. Given that it is ok mathematically for me to
store and reuse the value.... but how?

If you are looking at 180 daily bars you have just exceeded the capacity
of pushpop. If you look at 5 days of 1 minute bars, that ~2020 bars,
you have really exceeded pushpop's limit. If the equation returns four
values that must be saved... and so on.

Any ideas?

Mike