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 Mindset, Today, 06:46 AM
    0 responses
    9 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    14 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    15 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    48 views
    0 likes
    Last Post PaulMohn  
    Working...
    X