Forum

Problem calling an indicator from another indicator

I'm trying to get the values from the ATR to use with another indicator unfortunately I'm getting incorrect data (I'm unsure what I'm doing wrong). I've attached a snippet of the indicators code. Thanks

IndicatorParameters Bug

For some reason when I use IndicatorParameters(); on the ROC I get an extra input parameter when there is only 1 input parameter. It seems like a bug since all other indicators I have tested work. https://www.mql5.com/en/code/46