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 CarlTrading, Yesterday, 09:41 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Today, 02:41 AM
    0 responses
    6 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, Yesterday, 11:44 PM
    0 responses
    12 views
    0 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    32 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    31 views
    0 likes
    Last Post CarlTrading  
    Working...
    X