Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Symbol Watermark

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

    Symbol Watermark

    Hi!

    I'm using this Symbol Watermark indicator developed by NT team: https://ninjatraderecosystem.com/use...bol-watermark/

    Is it possible to show the current time frame of the chart?

    Thanks!

    #2
    Hello eduardopoletto,

    Thanks for your post.

    The Symbol Watermark indicator from the Ecosystem User App Share will only draw the instrument name on the chart.

    You could consider modifying the code of the indicator to draw the chart's timeframe on the chart as well.

    The Symbol Watermark indicator uses SharpDX to custom render text on the chart. You could modify the textLayout in the Symbol Watermark indicator to draw the Instrument.FullName and the CharBars.BarsPeriod in order to drawing the instrument name and chart interval.

    For example:

    textLayout = new SharpDX.DirectWrite.TextLayout(Core.Globals.Direct WriteFactory, Instrument.FullName + " " + ChartControl.BarsPeriod, textFormat, 1000, textFormat.FontSize);

    See the help guide documentation below for more information.

    TextLayout: https://ninjatrader.com/support/help...sub=textlayout
    Working with SharpDX: https://ninjatrader.com/support/help...sub=textlayout
    OnRender: https://ninjatrader.com/support/help...8/onrender.htm
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Originally posted by NinjaTrader_BrandonH View Post
      Hello eduardopoletto,

      Thanks for your post.

      The Symbol Watermark indicator from the Ecosystem User App Share will only draw the instrument name on the chart.

      You could consider modifying the code of the indicator to draw the chart's timeframe on the chart as well.

      The Symbol Watermark indicator uses SharpDX to custom render text on the chart. You could modify the textLayout in the Symbol Watermark indicator to draw the Instrument.FullName and the CharBars.BarsPeriod in order to drawing the instrument name and chart interval.

      For example:

      textLayout = new SharpDX.DirectWrite.TextLayout(Core.Globals.Direct WriteFactory, Instrument.FullName + " " + ChartControl.BarsPeriod, textFormat, 1000, textFormat.FontSize);

      See the help guide documentation below for more information.

      TextLayout: https://ninjatrader.com/support/help...sub=textlayout
      Working with SharpDX: https://ninjatrader.com/support/help...sub=textlayout
      OnRender: https://ninjatrader.com/support/help...8/onrender.htm
      It works

      Thank you!!!

      Comment

      Latest Posts

      Collapse

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