complete rms tools ea ...
This commit is contained in:
@@ -4531,6 +4531,22 @@ int GetDigits(
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Get Digits of Specified Double Value ...
|
||||
int GetDigits(double num)
|
||||
{
|
||||
//
|
||||
int d = 0;
|
||||
double p = 1;
|
||||
while (MathRound(num * p) / p != num)
|
||||
{
|
||||
p = MathPow(10, ++d);
|
||||
}
|
||||
|
||||
//
|
||||
return d;
|
||||
}
|
||||
|
||||
//
|
||||
// Retrieve Entry Price ...
|
||||
double GetEntry(
|
||||
|
||||
Reference in New Issue
Block a user