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

calculation targets

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

    calculation targets

    Hi support team,

    I'm currently developing a strategy where the user is able to input the targets and the stops in different style. The user can choose between Price, Ticks, Money and Percent. (I do not use SetLimitTarget or StopLoss functions from NT-script). For the hole instruments it works easy except for the currency. There is the problem to scale the money amount to the specific tick count which to add to the entry price. If the PointValue is 100k like a standard it's perfect. In the case of currency pairs like USDJPY the point value is default by 1000. And now I need different algos to implement this correctly or I'm wrong?

    How do I calculate it in a generic manner.

    greeting
    cicondo

    #2
    cicondo, unfortunately you would need to custom code this for the different point values seen in the currency markets.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by casabella, Today, 04:12 AM
    0 responses
    5 views
    0 likes
    Last Post casabella  
    Started by Ludwik, Today, 03:52 AM
    0 responses
    6 views
    0 likes
    Last Post Ludwik
    by Ludwik
     
    Started by wuannetraam, Today, 02:40 AM
    0 responses
    10 views
    0 likes
    Last Post wuannetraam  
    Started by cyberpete76, 03-27-2023, 12:29 AM
    7 responses
    271 views
    1 like
    Last Post slightly  
    Started by renewsaltwater, Today, 01:15 AM
    0 responses
    4 views
    0 likes
    Last Post renewsaltwater  
    Working...
    X