READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

ConvertToRealPips() related

5 replies

TJ#

Customer, bbp_participant, community, 143 replies.

Visit profile

10 years ago #115102

I noticed that ConvertToRealPips() only converts the pips of whole number and kind of having problem handling the decimals. 

 

for instead AUDUSD pair,

 

ConvertToRealPips(1) ==> 0.0001 

ConvertToRealPips(0.4) ==> 0.00001

ConvertToRealPips(0.3) ==> 0.00001

 

 

 

When using the number function, the results were as expected.

 

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #136855

Yes, this function expects “integer” number as the input value. Maybe this could be modified. We will look into this

0

TJ#

Customer, bbp_participant, community, 143 replies.

Visit profile

10 years ago #136871

Thank you for the info.

 

Please update if there is a modification made to accept decimals. 

 

🙂  🙂

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #136894

ok, we will do it

Mark
StrategyQuant architect

0

TJ#

Customer, bbp_participant, community, 143 replies.

Visit profile

10 years ago #136897

Thank you very much… 

 

What is needed from our end to have the new feature in place? 

0

TJ#

Customer, bbp_participant, community, 143 replies.

Visit profile

10 years ago #137045

Thanks for the tip, managed to change it to “double”.

0

Viewing 5 replies - 1 through 5 (of 5 total)