Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator uses 500 Volume DS, wanting to get distinct crossover and smooth out noise

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

    Indicator uses 500 Volume DS, wanting to get distinct crossover and smooth out noise

    my indicator uses a 500 Volume data series, on the chart it is flexing a lot especially during high volume and large price action moments, historically it has only one point on the chart that it crosses, but in live it is rapidly crossing above and below. what means could I use to smooth out the noise CrossAbove(sig1,sig2,3) should I use an SMA of sig1 or some other means to get the smoothed version of the signal

    #2
    Hello set2win,

    Our support can't specifically suggest if you should or should not do that but what you are asking is certainly possible to do. You can pass a series to a SMA or other averaging indicator to average its values.

    If your existing use was :
    Code:
    double myValue = MyIndicator()[0]
    it would become
    Code:
    double myValue = SMA(MyIndicator(), 12)[0]
    If you wanted to use that with a crossover that is another regular double value you would have to instead store the new value as a series in your script so you can use the series<T>, double overload of CrossAbove

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X