Help converting indicator to function | Forex Factory