Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How would it be this?

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

    How would it be this?

    I'm a newbie programmer and I'm trying to construct a MACD but using WMA instead of just EMA.

    I'd like to know hot to substitute these main lines:

    fastEma.Set((2.0 / (1 + Fast)) * Input[0] + (1 - (2.0 / (1 + Fast))) * fastEma[1]);
    slowEma.Set((2.0 / (1 + Slow)) * Input[0] + (1 - (2.0 / (1 + Slow))) * slowEma[1]);



    Any help would be highly appreciated

    #2
    Hello,

    Please take a look at the following thread and post #3 where a user has submitted his version of a MACD based on the WMA. This should give you an idea on how to accomplish your goal:

    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    185 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    344 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    266 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X