I don't know formulating the indicator.. I think it will be "just" the same like Nonlag MA custom indicator for MT4, the difference only, in huill moving average indicator for VTtrader, the moving average can be adjusted as weighted, simple, ...