Implementing substantial improvements to a plugin would indeed be worth a 3DGS Pro, but not for swap types because MT4 servers normally don't return different swap types anyway.
Re: Next contest?
[Re: jcl]
#475426 12/07/1814:1512/07/1814:15
I got a broker returning a number other than 0, this may require a unit conversion. Also why is you using this calculation? For the case 0, multiplying by tick value will get swap cost per lot. So after it should be divided by the number of contracts per lot, and if it is a currency multiplied by 10000.
Maybe it would also be necessary to convert tick value to point value.
Me neither, but maybe you get some idea when working with the software for a while.
The swap cost by MT4 is unguaranteed: Most servers return type 0, some return 1, none returns 2 or 3, the unit size is unknown since there is no function for it, and the returned type 0 is sometimes wrong. So, swap must be manually verified or entered anyway.
Re: Next contest?
[Re: jcl]
#475431 12/07/1815:3012/07/1815:30