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.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    4 responses
    24 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Brevo, Today, 01:45 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by rjbtrade1, 11-30-2023, 04:38 PM
    2 responses
    74 views
    0 likes
    Last Post DavidHP
    by DavidHP
     
    Started by suroot, 04-10-2017, 02:18 AM
    5 responses
    3,022 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Stanfillirenfro, Today, 07:23 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X