|03-03-2012, 12:52 PM||#1|
Join Date: Jun 2011
Thanked 20 times in 19 posts
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Using StdDev in a formula||stocktraderbmp||Indicator Development||16||01-11-2012 03:22 AM|
|Formula of Slope||msamadov||General Programming||2||11-11-2011 05:34 AM|
|TSV: Time segmented volume formula conversion||skynetman||Indicator Development||11||04-28-2011 04:27 AM|
|Can I get the Formula?||un$ane||Strategy Development||1||06-26-2009 05:16 AM|
|CCI formula||pipsheker||General Programming||2||05-17-2008 06:57 AM|