Download MetaTrader 5

Signal subcription : rounding to full integer.

To add comments, please log in or register
Sarotphan Kanlamphu
689
Sarotphan Kanlamphu 2016.09.14 13:47 

I wonder if it make any sense, if MT4 signal setting, should provide option for fore rounding to Integer.

for ex. if copy ratio is 3.28, instead of using rate 320% (3.2 : 1), I like it to be exactly 300% (3 : 1)

This will help to preserve risk management volume of some signal provider more accurate.

Carl Schreiber
6670
Carl Schreiber 2016.10.16 19:56  
Sarotphan Kanlamphu:

I wonder if it make any sense, if MT4 signal setting, should provide option for fore rounding to Integer.

for ex. if copy ratio is 3.28, instead of using rate 320% (3.2 : 1), I like it to be exactly 300% (3 : 1)

This will help to preserve risk management volume of some signal provider more accurate.

I have no experience in using signals, in code one can use to get a full interest (commercially rounded):

double perCent = 321.24;
int rounded  = (int)(pct/100.0 + 0.5);
To add comments, please log in or register