Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to get PIP size

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to get PIP size

    Hi,

    i would like to calculate price which is 20pip far from actual price, is it possible please?
    Currently i'm developing strategy for 6E, so i would like to use ticksize,
    but tick is 0,00005 and pip is 0,0001 and i suggest this isn't same for each market.
    So is here any option how to get pip size which i could transform into price?

    Thank you
    Patrik

    #2
    Hello patriczek,

    Thanks for your post.

    TickSize may represent pip, half pip or tenth pip. You could perform some math on the currency pair to determine the pip size by multiplying the pip value by the lot size, and then to multiply by the conversion rate. This would be the pip size. Multiplying this by 20 would give the the size of 20 pips.

    Most pairs except Yen based FOREX pairs will have a pip value on 0.0001.

    There is not an immediate "pip size" property that can be used with NinjaScript and the math would have to be programmed into the strategy.

    More information on FOREX calculations can be referenced here - https://ninjatrader.com/support/help...latingPipValue.

    Please let us know if you have any additional questions.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by The_Sec, Yesterday, 03:37 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by vecnopus, Today, 06:15 AM
    0 responses
    1 view
    0 likes
    Last Post vecnopus  
    Started by Aviram Y, Today, 05:29 AM
    0 responses
    5 views
    0 likes
    Last Post Aviram Y  
    Started by quantismo, 04-17-2024, 05:13 PM
    3 responses
    27 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by ScottWalsh, 04-16-2024, 04:29 PM
    7 responses
    36 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X