Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

macd based on (H+L+O+C)/4

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

    macd based on (H+L+O+C)/4

    Can I base my macd on macd based on (H+L+O+C)/4 rather than just C
    many thanks

    #2
    You could by custom coding a variation of the standard MACD in NinjaScript.
    DierkNinjaTrader Customer Service

    Comment


      #3
      Originally posted by zq655 View Post
      Can I base my macd on macd based on (H+L+O+C)/4 rather than just C many thanks
      Newbie NT coder here. But it looks like you can just replace Input[0] with
      Input[0] .... with
      (Open[0] + High[0] + Low[0] + Close[0]) / 4)
      Attached Files

      Comment


        #4
        THRUNNER


        Nice. Less noise.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jcbinks, Today, 03:32 PM
        2 responses
        14 views
        0 likes
        Last Post jcbinks
        by jcbinks
         
        Started by Stefan Mayer, Today, 03:09 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by M_ichel, Today, 03:18 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Started by ralett, Today, 02:43 PM
        2 responses
        15 views
        0 likes
        Last Post ralett
        by ralett
         
        Started by Nightmaregpu, Today, 02:18 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X