Pip Value Calculation for cross currencies
Page 1 of 732 12 LastLast
Results 1 to 10 of 313

Thread: Pip Value Calculation for cross currencies

  1. #1
    Hello Guys
    I am having big time difficulty looking for out the formula for pip value for cross currencyexchange. Can any one give me an indiion of mt4 equivalent for this formula
    Account currency: GBP
    Cross intrested: USD/JPY, EUR/JPY and GBP/JPY

    I am attempting to make an indior that will let me tell the position size based on state 500 gbp risk on a trade on the above crosses?

    Would really appreciate


    Thanks

  2. #2
    Quote Originally Posted by ;
    Hello Guys
    I am having big time problem looking for out the formula for pip value for cross currencyexchange. Can any one give me a sign of mt4 equal for that formula
    Account currency: GBP
    Cross intrested: USD/JPY, EUR/JPY and GBP/JPY

    I am attempting to create an indior which will enable me to inform the exact position size based on state 500 gbp risk on a transaction on the above crosses?

    Would really appreciate


    Thanks
    Adler,

    Utilize

    double point_value = MarketInfo([currency pair],MODE_TICKVALUE);

    This should provide you the value, in whatever currency that your account is denominated in (GBP in your case), of a 1 point transfer in the [currency pair].

    In case your br0ker uses 5/3 digit quotes, then multiply this value by 10 to convert from GBP/point into GBP/pip.

    This will work differently depending upon the br0ker. It definitely works 100 percent for GoMarkets.

    David

  3. #3
    Quote Originally Posted by ;
    I think this is exactly what you are after.

    Double pips = MarketInfo(USDJPY, MODE_TICKSIZE);

    Recall the response is in pipettes for 5 digit broker, so that you need to multiple by 10.
    CM,

    Seems like our posts crossed. Great minds think alike.

    David

  4. #4
    Quote Originally Posted by ;
    CM,

    Seems like our posts crossed. Great minds think differently.

    David
    Except you didn't reply OP's question. He needs cross prices, not pairs.

  5. #5
    Quote Originally Posted by ;
    Except you still didn't reply OP's query. He needs cross prices, not pairs.
    Well, I did my best, given the way that I interpreted his query.

    What exactly is his question, then, and what is the correct answer?

  6. #6
    Quote Originally Posted by ;
    double pips = MarketInfo(USDJPY, MODE_TICKSIZE);

    Remember the response is in pipettes for 5 digit broker, so you want to multiple by 10.
    I utilized that formulae in my broker alpari uk then discovered the worth as 0.01

    pipvalue = MarketInfo(USDJPY, MODE_TICKSIZE)*10;
    Opinion (Value = pipvalue);

    Sorry thats isn't what I desire, if I use this calculator I get a different response. I want to do this response as under for PV

    http://www.earnforex.com/pip-value-calculator
    Account Currency = GBP
    Currency Pair = USD/JPY
    Current price = 80.15
    Position Units = 100000
    PV: 12.478163214374845

    What's the formulae for PV: 12.47

    I discovered a variant of formulae here however it does not work properly or I'm not able to code properly, Any help is fantastic thanks
    http://www.forexnewbies.com/pip-value-formula/

    Thanks guys again

  7. #7
    Quote Originally Posted by ;
    I utilized that formulae in my broker alpari uk and then discovered the worth since 0.01

    pipvalue = MarketInfo(USDJPY, MODE_TICKSIZE)*10;
    Opinion (Worth = pipvalue);

    Sorry thats is not exactly what I need, if I use this calculator I get another answer. I'd like to find this answer as below for PV

    http://www.earnforex.com/pip-value-calculator
    Account Currency = GBP
    Currency Pair = USD/JPY
    Current price = 80.15
    Ranking Units = 100000
    PV: 12.478163214374845

    what's your formulae for PV: 12.47

    I discovered a version of...
    Adler,

    Use MODE_TICKVALUE not MODE_TICKSIZE
    also, make sure your pipvalue is defined as dual

    Just tried it using GBP-denom acct Alpari UK and I get

    Worth = 7.71253827

    Not certain why you want to receive 12.47, as every pip USDJPY moves = #7.71 per full lot (100,000) traded

    to show this, I recommend that you try starting a 1 lot ranking in USDJPY, then closing it. Divide the gap (in pips) between the entry and exit prices in the terminal into the P/L worth (which will be in GBP): you will find that it is approx #7.71 each pip, not #12.47

    I am not certain how this calculation works off top of my mind, I simply understand that MODE_TICKVALUE (x 10) always gives the correct answer.

    [EDIT] Just discovered that in the Event That You divide 12.47 by the GBPUSD rate (1.6164), you receive ~7.71
    Hence movement in 1 pip of USDJPY equals USD 12.47, that equals GBP 7.71

    David

  8. #8
    Adler,

    Let us return to first principles.

    You wish to buy 1 lot USDJPY.
    OK, which means You Have to spend JPY to obtain USD
    Let's say that the current USDJPY price is 80.312

    So that you spend 80.312 x 100,000 yen = 8,031,200 yen (to buy 100,000 USD)

    Now let's say the USDJPY price rises 1 pip, i.e. 0.01, to 80.322

    So now you sell your 100,000 USD for 80.322 x 100,000 = 8,032,200 yen

    You have made 1,000 yen, which split by 80.322 = USD 12.45

    Consequently each pip USDJPY = USD 12.45 (per total lot traded)


    However, your account is denominated in GBP, so You Have to convert the USD to GBP:

    USD 12.45 split by 1.6161 GBPUSD equals GBP 7.70 approx


    Therefore, in short, the formulation for 1 lot USDJPY is:

    1,000 / USDJPY rate / GBPUSD rate

    David

  9. #9
    Adler,

    I attempted the internet link you provided, it provides the right response of 7.70

    1. Account currency = GBP
    2. Currency pair = USD/JPY
    3. Position dimensions, units = 100,000
    4. Current GBP/JPY Ask price = 129.84

    Results: price of pip = 7.701786814540974

    I presume you typed the USDJPY rate into step 4, rather than the GBPJPY exchange rate.

    Anyhow, in the event that you merely use MarketInfo([pair],MODE_TICKVALUE)*10, it must always work correctly (given the br0ker has set it up correctly ), no matter what currency the account is denominated in. It will spare you the hassle of having to work out the calculation for each different pair.

    David

  10. #10
    Hello david
    cant ask for more thanks thanks thats is perfecto

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.