Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need help with Risk To Reward

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

    Need help with Risk To Reward

    Greetings,

    I was wondering if one of you Zen Master Code writers could help me with a SUPER simple thing. I've modified the Risk to Reward Indicator, and it almost does what I want, but not quite. I'm certain the modification needed is simple. The R/R indicator has three lines showing the entry exit and stop, and shows what the R/R is, I've added the actual dollar amount to what the risk is, BUT I don't know how to automatically get the price data for each security I'm trading. I now have it hard coded so obviously it only works for instruments with the same price per tick, but would very much like for this data to get passed along automatically.

    Would anyone like to help me and add this in or at least tell me what the variables are so I can try it myself?

    I would appreciate it.

    JimDog

    #2
    jimdog,

    Please see the following indicator.



    It adds a dataseries using the name/type/period.

    Are you trying to add dataseries on the fly or use them chart by chart?
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Ah! I already have that indicator in my "tool bag", good tip. The variable I needed was:

      Instrument.MasterInstrument.PointValue

      from here I was able to get things working as I wanted. I just drag my entry and stop lines and it shows me the dollar amount of risk automatically regardless of the instrument. Very surprised this hasn't been done already.

      Thanks for the follow up!

      Jim

      Comment


        #4
        Jimdog2

        I am looking for a $ Risk Reward tool for Ninjatrader.

        Is it possible to get a copy of the one you created?

        It would be highly appreciated

        Thanks!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        49 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        141 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        275 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X