Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

New Indicator to track price

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

    New Indicator to track price

    Hello,

    Is there a simple way to make an Indicator which tracks the closing price of a candle but a certain amount of Price level below or above the closing price? For example, if a candle closes at a price of 1750, then the indicator plots a point 30 points below at 1720. It draws a construing line like a MA, but based on a fixed distance from the closing price.

    If the closing prices are falling one next to the other, it plots the same line but above the closing price.

    Thank you for your support!
    Kailash

    #2
    Hello Kailash,

    You add a plot or draw an object at the price you would like.

    For example
    AddPlot(Brushes.Blue, "myPlot");

    Value[0] = Close[0] - 30 * TickSize;
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea, Unfortunately I am NinjaScript illiterate. Can you show me how to do this with Strategy Wizard in NT 8?

      I find that easier.

      Thanks,
      Kailash

      Comment


        #4
        Hello Kailash,

        Attached is a screenshot of how this would look for a drawing object in the Strategy Builder.

        Below is a link to a forum post with helpful information about getting started with NinjaScript.
        Attached Files
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        599 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        344 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        557 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X