What is Pipsize?

Tagged: 

Viewing 15 posts - 16 through 30 (of 30 total)
  • #176971

    Problem solved.

    Actually, PRT seems to make a distinction between :

    PipSize, which is the “point” as per contract specification

    TickSize, which is the minimal increment in price.

    In the case of EUR/USD and BTC/USD with IG Markets, PipSize = 10 * TickSize.

    Nicolas

     

    #177159

    Problem solved ?
    1st attachment is PRT-IB. 2nd is PRT-IG.

    #177313

    @PeterSt, what is the issue?

    #197080

    Hi,

    I am lost. How to calcuate then the size of your position with all these pipsize etc… ?

    For stock market, easy

    myPositionSize = ((myInitialCapital + STRATEGYPROFIT) *(myRisk/100))/(myStopFactor*myATR))

    But for the forex ? e.g. EUS/USD, what would be the formula of myPositionSize including these variables ?

    once myTickSize=0.00001
    once myPipSize=PIPSIZE
    once myPipValue= PIPVALUE
    once myLotSize=1000 (1000 ??? mentioned by default in probacktests)

    Thank you

    #197083

    PIPSIZE should be used when you need to deal with both PRICE and PIPS in the same expression. It relieves you of having do do conversions yourself, as the system will take care of it.
    IF you want to exit at, say 20 pips less than current LOW, you will have to convert 20 (which is a numeric value) to a price, writing:

    because writing:

    would work for all instruments and assets with a price to pip ratio of 1:1, like indeces, but would fail for currencies (it would subract 20 from 1.01 on fx pair EurUsd).

    It should also be used with a division when you have to convert a price into pips:

    This code works fine with DAX (Daily chart), without using PIPSIZE; you cannot trade the sime size of CONTRACTS as you do with SHARES, though:

    #197084

    Thanks a lot Roberto I think this is what I am looking for.

    So I assume  that for currencies, I would just need to add /PIPSIZE at the end to get the right position size.

    myPositionSize = max(minLots,((myInitialCapital + STRATEGYPROFIT) *(myRisk/100))/(myStopFactor*myATR)/PIPSIZE)

     

     

    #197097

    Yes, that’s correct.

     

    #197100

    Thank you Roberto.

     

    Could you please explain me what is this LotSize in yellow (see attached)? is that 1000 for EUR/USD ?

    Should not we consider that LotSize in the formula ?

    myPositionSize = max(minLots,( (myInitialCapital + STRATEGYPROFIT*(myRisk/100))/(myStopFactor*myATR)/PIPSIZE/LotSize)

    or am I completely wrong ? 🙂

     

    #197107

    I don’t know, as I never used it.

    It’s not requested by IG (for CFDs), it is requested by PRT (Futures), instead.

    I have no idea what’s it all about.

     

    #197152

    OK Thank you Roberto

     

    BTW I have made some simulations, I think PIPSIZE should be placed here to get the right position size

    myPositionSize = PIPSIZE  * (myInitialCapital + STRATEGYPROFIT*(myRisk/100)/(myStopFactor*myATR)

     

    #197158

    Multiplying by PipSize is used to convert Pips into Price.

    I can’t spot any value expressed in pips in your code, though.

     

    #197162

    If i take a risk of 50 eur

    With a stop at 5 pips

    The initial formula gives

    Positionsize = 50/0.0005 = 100 000

    If the. i do BUY 100 000 he will buy 100 000 K so 100 000 000.

    So i thought to come back to an “acceptable” position size i needed to divide multiply by pipsize which is 0.0001

    Is it a mistake ?

    #197163

    Again :

     

    If i take a risk of 50 eur

    With a stop at 5 pips

    The initial formula gives

    Positionsize = 50/0.0005 = 100 000

    Then BUY 100 000 would buy 100 000 K so 100 000 000…

    So i thought to come back to an “acceptable” position size i needed to multiply by pipsize which is 0.0001

    Is it a mistake ?

    #197168

    PipSize is NOT meant to make thing “acceptable” of “most favourable” or the like. It’s meant to convert Pips into Price and viceversa.

    Anyway, if your formula yields what you expect, then it must be ok!

     

    #197189

    😀

    Sorry,  you know I am french and my English is…frenchy

    I meant “Consistent” instead of “acceptable” 😀

    i.e. the losses are indeed 50 Eur in backtests so consistent withe the risk I defined initially.

    I just hope this formula is then applicable to any forex pair.

    Thank you Roberto for all your support.

Viewing 15 posts - 16 through 30 (of 30 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login