by Nikolay.Gekht » Thu Jul 15, 2010 11:39 am
Hm... Never thought that it could be required.
Ok. I'll ask to remove this limitation in the next release.
Right now you can:
1) Copy mva.lua and mva.lua.rc from the C:\Program Files\Candleworks\FXTS2\indicators\Standard\
to C:\Program Files\Candleworks\FXTS2\indicators\Custom\
2) Rename mva.lua to mva1.lua and mva.lua.rc to mva1.lua.rc in the C:\Program Files\Candleworks\FXTS2\indicators\Custom\ folder.
3) Open mva.lua in notepad (rightclick on file, choose Open With..., then choose notepad).
4) Replace 2 with 1 the following line
indicator.parameters:addInteger("N", resources:get("param_N_name"), resources:get("param_N_description"), 14, 2, 1000);
After change it must look like:
indicator.parameters:addInteger("N", resources:get("param_N_name"), resources:get("param_N_description"), 14, 1, 1000);
5) Restart TS.
Voila. Now you have two indicators - MVA and MVA1. The second allows to choose 1 in N parameter.