Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help! How to plot this

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

    Help! How to plot this

    Hi:
    I want to plot Y, How to do it.
    double Y= EMA(mydataseries, 20)[0];

    Thanks!

    #2
    Hello,

    Thank you for the question.

    Can you please clarify what you are trying to do?

    The code you have posted would assign a variable named Y with the value of the EMA using the settings you have provided.

    I look forward to being of further assistance.

    Comment


      #3
      Hi: I want to plot the the value from EMA.
      For example: double value = EMA(High,20)[0];

      Comment


        #4
        Originally posted by nw2011 View Post
        Hi: I want to plot the the value from EMA.
        For example: double value = EMA(High,20)[0];
        Whatever you want to plot, you assign to a Plot. For example,
        Code:
        Plot0.Set(Y);
        I assume that you have a Plot set up already, as the Indicator builder wizard would have set up Plots per specification?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        133 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        75 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        117 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        113 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        90 views
        0 likes
        Last Post CarlTrading  
        Working...
        X