OrderSend slippage with fractional pip pricing
Results 1 to 2 of 2

Thread: OrderSend slippage with fractional pip pricing

  1. #1
    Does anyone know if there's a standard way brokers deal with slippage in OrderSend and OrderClose when using pip pricing?

    For example, with EURUSD if it has 5 decimal place pricing and wanted a slippage of half a pip can I set slippage to 5 ?

    If yes, is that regular accross these sort of MT4 brokers?

  2. #2
    Quote Originally Posted by ;
    Does anyone know if there is a typical way MT4 brokers cope with slippage in OrderSend and OrderClose when using fractional pip pricing?

    For example, with EURUSD if it has 5 decimal place pricing and needed a slippage of half a pip can I set slippage to 5 ?

    If yes, is that standard accross these type of MT4 brokers?
    What we believed as Fractional Pip (ie, 1.28605 ) is not really 0.5 pip so far as the broker's server/platform is concern. It is still 5 pips!

    Therefore, if your purpose is to control the slippage at the last digit, yes, your slippage = 5 is correct.


    Better yet, It'd be ideal for your EA/Script to be self adjusting. Your EA can know it through the usage of this MQL's built in function Digits or Point.



    Digits yield you the number of digits of a currency pair

    Inserted Code int start() Print (Digits: , Digits);
    If your broker uses 5 digits for EURUSD, then executing this will provide you with 5.

    Point will return the tick size.
    Inserted Code int start() Print (Line: , Point); If your broker uses 5 digits for EURUSD (ie fractional pip), then executing this can provide you 0.00001

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.