Hello daniel.alzate,
Actually, Torch works only with Lua JIT.
You will be able to use Torch for indicators/strategies if you do the following steps:
1. Download the x86 branch from
https://github.com/hiili/WindowsTorch.
2. Copy all .dll files except libluajit.dll from WindowsTorch\bin\ to the root folder where FXTS is installed.
3. Copy the file FXTS\Lua5.1.jit.dll to FXTS\libluajit.dll.
4. Copy the WindowsTorch\lua folder to FXTS\lua.
5. In FXTS, select FXTS Options-> Marketscope 2.0 -> Lua Virtual Machine Type -> Lua Just-In-Time.
6. Restart FXTS.
For testing, you can use the attached indicator test_torch.lua.