Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Anchoring Text Box

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

    Anchoring Text Box

    Hi Guys,
    I'm fairly new with NT8 but need following scripts/indicators which lets anchor a textbox or are a seperate indicator whre I can simply enter the text and anchor it:

    1. which would let me anchor text to particular price level so e.g it would be at the left of the screen at the price 4300 if I scroll too far down or up it would be gone if 4300 price level isn’t visible but would stay there if I’m at the price level of 4300 and just scroll left or right.
    2. Which would have a fixed position on the screen and would stay there all the time e.g bottom corner of the screen.


    Apreciate your help
    Thanks

    #2
    Hello Ludwik,

    Thank you for your note.

    For the first item you could use SharpDX and custom render text to the chart in OnRender that would stay at a specific position. This would be fairly advanced programming, however. I'm attaching an example based on the built in Sample Custom Render indicator that will draw text specified in the indicator parameters at a price specified and will stay on the right hand side of the screen as you scroll.

    You can get the Y value you want the text to be drawn at using GetYByValue:



    Here's a link to our help guide on using SharpDX for custom rendering:



    As for the second, I think the Chart Notes indicator may be close to what you're looking for. This indicator is publicly available on our NinjaTrader Ecosystem website:Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:

    Note — To import NinjaScripts you will need the original .zip file.

    To Import:
    1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
    2. From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
    3. Select the downloaded .zip file
    4. NinjaTrader will then confirm if the import has been successful.
    Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

    Once installed, you may add the indicator to a chart by:
    • Right-click your chart > Indicators... > Select the Indicator from the 'Available' list on the left > Add > OK
    Here is a short video demonstration of the import process:Please let me know if I can be of further assistance.
    Attached Files

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    368 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    571 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X