Can anybody help please,
I am, unfortunately, having to trade with the T4 platform for the next 2 weeks and am trying to write a code in xml.
I have the bulk of it but I am trying to convert the VMA indicator and dont understand the code text for the smoothing constant:
double sc = 2.0 / (double)(period + 1);
in xml I have got sc = 2.0/ ?what?(period + 1);
obviously I dont know what the ?what? should be.
Can anybody help please to explain what the 'double' is. I have looked it up in the C# ref guide on line but still don't understand - something to do with converting it to 1 decimal place or something I think.
Any help gratefully appreciated.
Ben
Comment