Signal subcription : rounding to full integer.

To add comments, please log in or register
Sarotphan Kanlamphu
795
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.

Carl Schreiber
Moderator
7643
Carl Schreiber  
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