I happen to read an article where it tells to use a WMA indicator with period = 1. Is this a nonsence? This means no smoothing and it is the same as the price itself. Right?
input ENUM_APPLIED_PRICE Price = PRICE_CLOSE;
double price=iMA(NULL,0,1,0,MODE_SMA, Price, i);
line[i] = function(price);