Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom price level blocks

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

    Custom price level blocks

    Hi folks! I’d like to be able to easily populate price level lines on the chart at particular levels. example - for every 100 handle block in NQ, let’s say I want a red like at every 6(20206), green at 16 (20216), red at 43 (20243). And these levels replicate every 100 point block. I.e - 20216, 20116, 20016, 19916…….

    as you can imagine, incredibly laborious to do this manually especially since I can’t seem to group drawings together to copy and paste.

    any suggestions if there is something already out there?
    I’m not opposed to figuring out a script or something but I’d need to be directed what would be the best way to do that as well.

    cheers!

    #2
    Hello,

    Thank you for your post.

    You can use Draw.Line() or Draw.HorizontalLine to draw lines at specific price levels.

    https://developer.ninjatrader.com/docs/desktop/draw_line

    Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.


    This thread will also remain open for any members of the community who may have suggestions of an existing script.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    128 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    73 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    116 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    109 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    88 views
    0 likes
    Last Post CarlTrading  
    Working...
    X