Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

action when redrawing (updating) the PLOT line

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

    action when redrawing (updating) the PLOT line

    action when redrawing (updating) the PLOT line

    i need an easy way to get an action if the line is redrawn (updated)

    For example, play a sound if the line is redrawn

    Code:
    Values[0][0] = max.Key;
    how is it easier to implement?

    #2
    Hello memonolog,

    Thank you for writing in.

    PlaySound() could be used to play a sound when you redraw the plot line in your script. Something you could do is create a condition based on the plot line in your script followed by calling PlaySound().

    See the help guide documentation below for more information about PlaySound() and working with plots.
    PlaySound() - https://ninjatrader.com/support/help.../playsound.htm
    AddPlot() - https://ninjatrader.com/support/help...t8/addplot.htm

    Let us know if we may assist further.
    <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

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    169 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    328 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    252 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    353 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    181 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X