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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X