fxnew:
here's the question:
s,
how can a double (i.e. Bid, Close[0] ...) be converted to pips?
Let's say:
1)
double a= 1.0324 (and the last 3 pips should be used only)
now for example in order to use (by extracting or truncating et.) just the last 3 figures (=pips) ... here 324, how can this be done
2) how can this be done if one has the fractional pips format 1.03245 ! and want the (important) digits 324 extracted only (neglecting the fifth digit)??
3) I guess after getting a pips number/value by steps 1) or 2) a conversion to string could be by typecasting as follows:
string resulttext = b; // b should be the pips-result by steps 1) or 2)
thanks in advance
Thing is you can always get round any number related mumbo jumbo, but my question is, why go around it? Work with it, make it your friend! Stop thinking in 324 pips, think in 3240 (tenths of) pips * Digits.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register