the fequency for SMA and a few others. So when I try to get that information from the indicator like
localSMAPeriod = MyIndicator.SMAPeriod;
This fails. What I want to do is ultimately set the settings in the Indicator and then refence those in the Strategy so that I can plot those
values on the Chart to help make buying decisions.
The way I want to ultimately use it is:
localSMA = SMA(MyIndicator.SMAPeriod);
When I try to call the value from the Indicator I get an error. So clearly I am calling that value incorrectly.
Can anyone point me in the right direction? The indicator is setting the values correctly as I have seen in the
debug Print statement. This is my last hurdle and I will be happy.
Thanks.
Comment