Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I modify EMA indicators?

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

    How can I modify EMA indicators?

    Hi,

    I want to add a customized EMA indicator(named SuperEMA), which is compose of max value EMA (high), EMA(close) and min vaule EMA( Low).

    How can I add High and Low EMA indicator?

    Many thanks
    Thomson

    #2
    Hello Thomson,

    Thank you for your note.

    In your code you can define which Data Series the EMA is calculated off of.

    • EMA(High, period)[0];
    • EMA(Low, period)[0];


    By default the EMA will use the Close.

    EMA(period)[0] is the same as EMA(Close, period)[0];





    Additionally, you may be interested in the "Typical" data series which is the (High + Low + Close) / 3



    EMA(Typical, period)[0];
    CameronNinjaTrader Customer Service

    Comment


      #3
      Thanks for your quickly responded. I appreciate it.

      Best regards
      Thomson

      Comment


        #4
        Thomson,

        Glad to help out.

        Let me know if you have any further questions.
        CameronNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        160 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        307 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        244 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        348 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        178 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X