Reply

Code Editor – Convert a number to real pips

1 replies

stearno

Customer, bbp_participant, community, 382 replies.

Visit profile

3 weeks ago #271031

I have written an indicator in SQ Code Editor.  I need to convert a number to real pips (for example, 63 to 0.0063).  How do I convert it?

 

I tried the below, but it gave errors when compiling.

MADiffinPips = 2PIP(“Current”,MADiff1);

MADiffinPips = 2PIP(MADiff1);

 

I appreciate the guidance.

-Stearno

0

stearno

Customer, bbp_participant, community, 382 replies.

Visit profile

3 weeks ago #271057

Anyone can help?  I checked other indicators, and could not find a reference to calculating to real pips.  If someone can just give me a snippet that already uses this, then that would be very helpful.

Thanks in advance.

0

Viewing 2 posts - 1 through 2 (of 2 total)