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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    163 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    82 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    125 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    206 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X