- Code: Select all
local file = io.open("C:\Program Files (x86)\Candleworks\FXTS2\indicators\Custom\data.txt", "a+")
file:write("Hello World")
file:close()
However, it doesn't work at all! No errors, just no output. Any ideas what I'm doing wrong??
An alternative way to get round the problem - when I view a chart as a table, all the columns created by the indicator are integers - any idea how to display them to 2 decimal places like the OHLC data? On the chart itself the indicator values DO have 2 DP, so it's not that they don't exist. It would be useful to see those DPs in the table.
Thanks
Trickie