Code Editor – Convert a number to real pips
1 replies
stearno
2 years 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
stearno
2 years 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.
Viewing 1 replies (of 1 total)