the paper is in the thread somewhere i believe but yeah it was originally meant for stocks i believe i modified the hell out of it to make it work in FX
i have the MT4 code if you would like it as i dont know anything about ninjatrader
note its accurate as hell but accuracy isnt everything...