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 Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        4 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Started by alifarahani, Today, 09:40 AM
        6 responses
        41 views
        0 likes
        Last Post alifarahani  
        Started by Waxavi, Today, 02:10 AM
        1 response
        20 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Working...
        X