I would love to see this new study added. It's the hull moving average which is simply a low lag moving average plotted on the price axis just as with a regular moving average. I attempted to use the wizard but got a bit lost trying to insert calcs within the weighted moving average.
Here is the TradeStation code:
Input: price(medianprice),period(10);
vars:Len1(IntPortion(0.5*Period)),Len2(IntPortion( Squareroot(Period))),HullMa(0);
HullMa=WAverage(2*WAverage(Price,Len1)-WAverage(Price,Period),Len2);
Plot1(HullMa,"HullMa");
Thanks in advance for any assistance.
Here is the TradeStation code:
Input: price(medianprice),period(10);
vars:Len1(IntPortion(0.5*Period)),Len2(IntPortion( Squareroot(Period))),HullMa(0);
HullMa=WAverage(2*WAverage(Price,Len1)-WAverage(Price,Period),Len2);
Plot1(HullMa,"HullMa");
Thanks in advance for any assistance.
Comment