Hi guys,
I had the same issues than most of you, guys. Reading the posts helped, but there were missing steps.
So I thought it would help the community to summarize here the steps:
1- Have FXCM Trading Station / Marketscope installed
2- Download the file LuaLib:
http://fxcodebase.com/code/download/file.php?id=9231 (originaly in Post
http://fxcodebase.com/code/viewtopic.php?f=28&t=9753&p=20771#p207713- If when you launch it you get an error "Error opening file for writing: \LuaLib\commons.lua", go to your hardrive c:\ and create the directory C:\LuaLib, then launch it again. Now it should work fine
4- Now, go to your Trading Station directory. By default, it is C:\Program Files (x86)\Candleworks\FXTS2
5- Create a directory "lua" there
6- Move the LuaLib directory in this "lua" directory. You should now have the directory C:\Program Files (x86)\Candleworks\FXTS2\lua\LuaLib, with 3 files there: commons.lua, reportapi.lua, and reportcache.lua
7- Open Marketscope
8- Install the TradingHistory.lua attached to my post (it has the parameter "&report_name=REPORT_NAME_STATEMENT_SUMMARY" on line 110, as recommended by robocod). To install it: drag the TradingHistory.lua file into the Marketscope window
9- Add it to your chart --> it will display the trading history