I have the following function;

BBands(Price,100,2,2,MAType_MAMA);
Which results in the following compiler error.

Error 011: Function BBANDS called with invalid data
BBands called with wrong paramters.

BBands works when MAMA is replaced with SMA,EMA, and most of the other predefined moving averages.

So MAMA needs to be setup initially, but how?



Last edited by RTG; 03/15/15 11:46.