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 Brevo, Today, 01:45 AM
        0 responses
        6 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X