Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.
I moved it from the French support forum. Thanks 🙂
The code above only works with assets/instruments that have a 1:1 price-to-pips ratio.
I suggest to make it portable across all assets by using PIPSIZE:
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue