I'm wondering if I call this indicator from inside a different indicator or strategy script (call this Indicator B), and I want to get each of the 3 public properties, does that mean the indicator is loaded in memory in a separate instance, or is the property value served from cache?
example:
Chart 1 - inst:CL, Interval 5 minutes.
Indicator B loaded on chart, Ind B gets 3 property values from Indicator A.
It seems Ind A would only have 1 instance in memory.
Chart 2 - inst:CL, Interval 60 minutes.
Indicator B loaded on chart, Ind B gets 3 property values from Indicator A.
It seems Ind A would now have 2 instances in memory, bcuz this chart is using a different interval...
Market Analyzer - inst: CL, column added for Indicator A, using Interval 5 minutes
Q1:
Does this MA object use the cache value of the indicator, since it is the same time interval as Chart 1?
Q2:
What would happen if Chart 1 interval was changed,but the market Analyzer column was kept at Interval of 5 minutes?
Q3:
If I duplicate this setup for 4 individual instruments, does the indicator memory usage increment?
Q4:
Is there a way to monitor how much memory is being used and send an email alert so strategies are not at risk if computer is unattended?
Thank you
Comment