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

marketdataevents and build sum

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

    marketdataevents and build sum

    hi,

    how can i build the sum of the "last traded contracts" (depending on triggered at bid or ask side) for each price?

    idea behind is to build a kind of footprint displaying for example '420 x 360' (at the priceline of '17.730'.

    can someone point me into the right direction?

    thx

    #2
    Hello,

    Thank you for the question.

    I am unsure I fully understand what you are trying to do.

    You said you are trying to SUM the Last Traded contracts, are you asking to get a running total of the Close Volumes?

    Can you provide more details on this question or an example of the equation you need to complete?

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      hi jesse,

      i'd like to build a kind of footprint indicator, running on the tick 35 chart.
      in a first step:
      - candles should be available
      - price should be displayed right sight from candle
      - per price (y-axis) i would like to see the cummulated trades, depending on triggered at bid or ask (green or red)
      step two:
      the price with the highest volume should be highlited
      screenshot attaced.
      ...something that'll be easy i think
      Attached Files
      Last edited by Tradexxx; 04-05-2016, 10:22 AM.

      Comment


        #4
        Hello,

        Thank you for the reply.

        Yes what is in the image is certainly possible but would by no means be a simple or easy task in which I could provide full instructions for.

        I could provide information on what items may be required in making this but it would be up to you to find the logic needed to complete what you see.

        In the image, likely the author is using the Plot override and doing custom drawings instead of using DrawingTools that are included with the platform. This is mainly for flexibility and performance but is also an advanced coding task.

        For a simple approach, you could use DrawingObjects such as DrawText to create text boxes with the values on each bar at specific locations.

        To get started, you could test using DrawText to see if the result is what you would like it as: http://ninjatrader.com/support/helpG...htsub=drawtext

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        41 views
        0 likes
        Last Post futtrader  
        Started by Option Whisperer, Today, 09:55 AM
        1 response
        11 views
        0 likes
        Last Post bltdavid  
        Started by port119, Today, 02:43 PM
        0 responses
        3 views
        0 likes
        Last Post port119
        by port119
         
        Started by Philippe56140, Today, 02:35 PM
        0 responses
        4 views
        0 likes
        Last Post Philippe56140  
        Started by 00nevest, Today, 02:27 PM
        0 responses
        2 views
        0 likes
        Last Post 00nevest  
        Working...
        X