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 sjsj2732, Today, 04:31 AM
    0 responses
    20 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    280 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    279 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    130 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    90 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X